:root {
  --cream: #f3efe6;
  --cream-deep: #e8e2d4;
  --ink: #12141a;
  --ink-soft: #2a2f3a;
  --muted: #5c6470;
  --teal: #0f9e94;
  --teal-deep: #0b7f77;
  --line: rgba(18, 20, 26, 0.1);
  --dark: #0c0e12;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Sora", system-ui, sans-serif;
  --nav-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sticky-h: calc(72px + env(safe-area-inset-bottom, 0px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #000;
}

body {
  margin: 0;
  color: var(--ink);
  background: #000;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  padding-bottom: var(--sticky-h);
}

@media (min-width: 861px) {
  body {
    padding-bottom: 0;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
}

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: #fff;
  padding: 8px 12px;
}

/* —— Nav —— */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-h);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  padding-left: max(16px, env(safe-area-inset-left));
  padding-right: max(16px, env(safe-area-inset-right));
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

@media (min-width: 861px) {
  :root {
    --nav-h: 72px;
  }
  .nav {
    padding: 0 clamp(16px, 4vw, 48px);
  }
}

.nav.is-solid {
  background: rgba(243, 239, 230, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.nav.is-over-dark:not(.is-solid) .brand-cue,
.nav.is-over-dark:not(.is-solid) .nav-links a {
  color: #f5f5f5;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-cue {
  color: var(--ink);
}
.brand-drive {
  color: var(--teal);
}

.nav-links {
  display: none;
  gap: clamp(16px, 3vw, 36px);
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  opacity: 0.85;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-links a:hover {
  opacity: 1;
  color: var(--teal-deep);
}

@media (min-width: 861px) {
  .nav-links {
    display: flex;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-inline-start: auto;
}

.nav-wa {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
  background: rgba(15, 158, 148, 0.12);
  border: 1px solid rgba(15, 158, 148, 0.28);
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav-wa:hover {
  background: rgba(15, 158, 148, 0.2);
  border-color: rgba(15, 158, 148, 0.45);
  color: var(--teal-deep);
}
.nav-wa:active {
  transform: scale(0.96);
}
.nav.is-over-dark:not(.is-solid) .nav-wa {
  color: #7ee0d6;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}
.nav.is-over-dark:not(.is-solid) .nav-wa:hover {
  color: #fff;
  background: rgba(15, 158, 148, 0.45);
  border-color: rgba(126, 224, 214, 0.55);
}
.nav-wa svg {
  display: block;
  width: 22px;
  height: 22px;
}

.nav-cta {
  background: var(--teal);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.55rem 1.05rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  flex-shrink: 0;
}
.nav-cta:hover {
  background: var(--teal-deep);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  color: #f7f4ee;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 40%;
  transform: scale(1.08);
  will-change: transform;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 10, 14, 0.45) 0%, rgba(8, 10, 14, 0.2) 32%, rgba(8, 10, 14, 0.88) 100%),
    linear-gradient(90deg, rgba(8, 10, 14, 0.72) 0%, rgba(8, 10, 14, 0.2) 70%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-content: start;
  padding: calc(var(--nav-h) + 12px) 20px 28px;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}

.hero-content {
  max-width: 640px;
  order: 2;
}

.compat {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(126, 224, 214, 0.45);
  background: rgba(15, 158, 148, 0.18);
  color: #b7f3ec;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compat-on-dark {
  margin-bottom: 1rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 10vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 0.85rem;
}

.hero-brand .drive {
  color: var(--teal);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 6.2vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.hero h1 em {
  font-style: italic;
  color: #7ee0d6;
  font-weight: 450;
}

.hero-lead {
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  color: rgba(247, 244, 238, 0.9);
  max-width: 36ch;
  margin: 0 0 1.4rem;
}

.hero-lead em {
  font-style: normal;
  font-weight: 600;
  color: #fff;
}

.hero-phone {
  order: 1;
  justify-self: center;
  margin: 0 0 4px;
}

.hero-phone .phone {
  position: relative;
  width: min(52vw, 200px);
  aspect-ratio: 9 / 19.2;
  border-radius: 28px;
  padding: 8px;
  background: linear-gradient(160deg, #2a2f3a, #0a0c10);
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

@media (min-width: 861px) {
  .hero {
    min-height: 100svh;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.7fr);
    align-items: end;
    align-content: stretch;
    gap: 32px;
    min-height: 100svh;
    padding: calc(var(--nav-h) + 48px) clamp(24px, 5vw, 64px) clamp(36px, 6vh, 64px);
  }
  .hero-content {
    order: 1;
    align-self: end;
    padding-bottom: 1.5rem;
  }
  .hero-phone {
    order: 2;
    align-self: end;
    justify-self: end;
    padding-right: 2vw;
    margin: 0;
    /* Lower + size-cap so the full device sits below the nav (not clipped). */
    transform: translateY(clamp(40px, 11vh, 120px));
  }
  .hero-phone .phone {
    width: min(
      22vw,
      200px,
      calc((100svh - var(--nav-h) - 100px) * 9 / 19.2)
    );
    transform: rotate(2.5deg);
  }
  .hero-media img {
    object-position: center 35%;
  }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}

.cta-row-center {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  padding: 0.95rem 1.25rem;
  min-height: 52px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
}
.btn-primary:hover {
  background: var(--teal-deep);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn-soon {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.btn.is-shared {
  border-color: rgba(126, 224, 214, 0.55);
  color: #b7f3ec;
}

button.linkish {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

button.linkish:hover {
  color: var(--teal);
}

/* —— Marquee —— */
.marquee {
  background: var(--cream-deep);
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 0.85rem 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: marquee 32s linear infinite;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.marquee-track b {
  color: var(--teal-deep);
  font-weight: 700;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* —— Sections —— */
.section {
  padding: clamp(48px, 10vh, 120px) 20px;
  background: var(--cream);
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.section-head {
  text-align: left;
  max-width: 40ch;
  margin: 0 0 1.75rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section-head p {
  color: var(--muted);
  margin: 0;
  font-size: 1.05rem;
}

.sync-grid {
  display: grid;
  gap: 12px;
}

.sync-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.15rem 1.2rem;
}

.sync-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.sync-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (min-width: 700px) {
  .sync-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.section-cream-deep {
  background: var(--cream-deep);
}

.how-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.how-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.15rem 1.2rem 1.2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.85rem;
  row-gap: 0.35rem;
}

.how-num {
  grid-row: 1 / span 2;
  align-self: start;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-card h3 {
  margin: 0;
  font-size: 1.05rem;
  align-self: end;
}

.how-card p {
  margin: 0;
  grid-column: 2;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (min-width: 861px) {
  .how-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

.compare-block {
  max-width: 52ch;
}

.compare-block p {
  color: var(--ink-soft);
  margin: 0 0 1rem;
}

.compare-list {
  margin: 0 0 1.25rem;
  padding-left: 1.15rem;
  color: var(--ink-soft);
}

.compare-list li {
  margin: 0.35rem 0;
}

.compare-block .note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 720px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.15rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.95rem 0;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--teal);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 861px) {
  .section {
    padding: clamp(64px, 12vh, 120px) clamp(20px, 5vw, 64px);
  }
  .split {
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(28px, 5vw, 64px);
  }
  .split.reverse {
    grid-template-columns: 1fr 1.05fr;
  }
  .split.reverse .split-visual {
    order: 2;
  }
  .split.reverse .split-copy {
    order: 1;
  }
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin: 0 0 0.75rem;
}

.split-copy h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.8vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.split-copy p {
  color: var(--muted);
  margin: 0 0 1rem;
  max-width: 42ch;
  font-size: 1.05rem;
}

.note {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(15, 158, 148, 0.35);
  border-radius: 16px;
  background: rgba(15, 158, 148, 0.06);
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.note::before {
  content: "";
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--teal);
  margin-right: 0.65rem;
  vertical-align: 0.1rem;
}

.split-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 24px 60px rgba(18, 20, 26, 0.14);
}

@media (min-width: 861px) {
  .split-visual {
    border-radius: 28px;
  }
}

.split-visual > img,
.split-visual .stage-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.reveal.is-in .split-visual > img,
.reveal.is-in .split-visual .stage-bg {
  transform: scale(1.04);
}

.phone-stage {
  background: #1a1d24;
}

.phone-stage .stage-bg {
  position: absolute;
  inset: 0;
  filter: brightness(0.5) saturate(1.05);
}

.phone {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: min(52%, 220px);
  aspect-ratio: 9 / 19.2;
  border-radius: 28px;
  padding: 8px;
  background: linear-gradient(160deg, #2a2f3a, #0a0c10);
  box-shadow:
    0 28px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  z-index: 2;
}

@media (min-width: 861px) {
  .phone {
    width: min(58%, 260px);
  }
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: #07070f;
}

.phone-screen img,
.phone-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.section-dark {
  background: var(--dark);
  color: #f2efe8;
}

.section-dark .eyebrow {
  color: #5fd4cb;
}

.section-dark .split-copy p {
  color: rgba(242, 239, 232, 0.72);
}

.section-dark .note {
  background: rgba(15, 158, 148, 0.12);
  border-color: rgba(15, 158, 148, 0.4);
  color: rgba(242, 239, 232, 0.9);
}

/* —— Download —— */
.download-band {
  position: relative;
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  padding: 72px 20px;
}

.download-band .bg {
  position: absolute;
  inset: 0;
}

.download-band .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.42) saturate(1.05);
}

.download-band .shade {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(15, 158, 148, 0.28), transparent 55%),
    linear-gradient(180deg, rgba(8, 10, 14, 0.55), rgba(8, 10, 14, 0.88));
}

.download-inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
}

.download-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 500;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.download-inner p {
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 1.5rem;
}

.version {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.hint {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}

.hint a,
.beta-sideload a {
  color: #9fe8e0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.beta-lead {
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}

.beta-lead strong {
  color: #fff;
  font-weight: 600;
}

.beta-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto 0.5rem;
}

@media (min-width: 560px) {
  .beta-form {
    flex-direction: row;
    align-items: stretch;
  }
  .beta-form .btn {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

.beta-form input[type="email"] {
  flex: 1;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 10, 14, 0.55);
  color: #fff;
  padding: 0.9rem 1rem;
  font: inherit;
  font-size: 1rem;
}

.beta-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.beta-form input[type="email"]:focus {
  outline: 2px solid rgba(126, 224, 214, 0.65);
  outline-offset: 1px;
}

.beta-status {
  margin: 0.35rem auto 0.75rem;
  max-width: 40ch;
  font-size: 0.9rem;
  color: #ffb4a8;
}

.beta-status.is-ok {
  color: #9fe8e0;
}

.beta-success {
  margin-top: 0.5rem;
}

.beta-success-msg {
  margin-bottom: 0.75rem !important;
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1.05rem;
  line-height: 1.45;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}

.beta-success-next {
  margin-bottom: 1.25rem !important;
  max-width: 40ch;
}

.beta-success .btn {
  min-width: min(100%, 280px);
}

.download-band .btn-ghost.beta-play-secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  margin-top: 0.35rem;
}
.download-band .btn-ghost.beta-play-secondary:hover {
  background: rgba(15, 158, 148, 0.35);
  border-color: rgba(126, 224, 214, 0.5);
}

.beta-sideload {
  max-width: 42ch;
}

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

footer {
  padding: 28px 20px calc(20px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--cream);
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
}

@media (min-width: 700px) {
  footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 28px clamp(20px, 5vw, 64px);
  }
}

footer .brand {
  font-size: 1.1rem;
}

.footer-meta p {
  margin: 0 0 0.65rem;
}

.legal {
  max-width: 62ch;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #7a8190;
}

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

.footer-links a {
  color: var(--teal-deep);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

/* Sticky download — phone only, after leaving hero */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(12, 14, 18, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.sticky-cta .btn {
  width: 100%;
}

@media (min-width: 861px) {
  .sticky-cta {
    display: none !important;
  }
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .marquee-track,
  .hero-media img,
  .reveal {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
