:root {
  --bg: #ffffff;
  --text: #14161a;
  --muted: #6d7684;
  --line: #e9edf2;
  --accent: #2c6bed;
  --card: #f6f8fb;
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

img,
video {
  width: 100%;
  display: block;
}

.container {
  width: min(1040px, 92%);
  margin: 0 auto;
}

.hero {
  padding: 88px 0 52px;
  border-bottom: 1px solid var(--line);
}

.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.brand-logo {
  width: 168px;
  height: auto;
  margin-bottom: 0;
}

.hero-get-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  height: 42px;
  border-radius: 999px;
  background: #eaebf0;
  color: #0a67e8;
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-weight: 600;
}

h1 {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 22ch;
}

.subtitle {
  margin: 18px 0 0;
  color: var(--muted);
  max-width: 56ch;
}

.section {
  padding: 56px 0;
}

h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.section-text {
  margin: 10px 0 24px;
  color: var(--muted);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 420px));
  gap: 104px;
  justify-content: center;
}

.video-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 12px;
  aspect-ratio: 833 / 1667;
}

.video-shell video {
  border-radius: 12px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
}

.section-cta {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-wrap {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.appstore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--text);
  color: #fff;
  min-width: 220px;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
}

.early-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.early-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.early-email {
  width: 320px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.early-email:focus {
  outline: none;
  border-color: #9eb9f6;
}

.consent-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  max-width: 550px;
  font-size: 13px;
  color: var(--muted);
  text-align: left;
}

.consent-line a {
  color: var(--accent);
  text-decoration: none;
}

.form-message {
  margin: 0;
  width: 100%;
  max-width: 550px;
  min-height: 20px;
  font-size: 13px;
  color: var(--muted);
  text-align: left;
}

.form-message.success {
  color: #1f8f52;
}

.form-message.error {
  color: #cb3a31;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.carousel {
  position: relative;
}

.carousel-track {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  overflow: hidden;
  padding: 12px;
  aspect-ratio: 833 / 1667;
  touch-action: pan-y;
}

.carousel-strip {
  display: flex;
  height: 100%;
  transition: transform 320ms ease;
  will-change: transform;
}

.slide {
  min-width: 100%;
  height: 100%;
  user-select: none;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  background: #ffffff;
}

.carousel-nav {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.carousel-nav.prev {
  left: -70px;
}

.carousel-nav.next {
  right: -70px;
}

.carousel-nav:hover {
  border-color: #d3dce7;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 30px 0 44px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

.legal-page {
  padding-top: 70px;
}

.legal-doc {
  max-width: 760px;
}

.legal-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.legal-updated {
  margin: 16px 0 28px;
  color: var(--muted);
}

.legal-doc h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

.legal-doc p {
  margin: 0 0 14px;
  color: #232831;
}

.legal-doc hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 28px 0;
}

.legal-note {
  font-weight: 600;
}

@media (max-width: 900px) {
  .media-grid {
    grid-template-columns: minmax(280px, 420px);
    gap: 24px;
  }
}

@media (max-width: 700px) {
  .hero {
    padding-top: 70px;
  }

  .hero-top {
    margin-bottom: 8px;
  }

  .hero-get-btn {
    min-width: 112px;
    height: 38px;
    font-size: 16px;
  }

  .section {
    padding: 46px 0;
  }

  .early-form {
    align-items: stretch;
    width: 100%;
  }

  .early-row {
    flex-direction: column;
    align-items: stretch;
  }

  .early-email,
  .consent-line,
  .form-message {
    width: 100%;
    max-width: none;
  }

  .appstore-btn {
    width: 100%;
  }

  .carousel {
    position: static;
  }

  .carousel-nav {
    display: none;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}
