/* ============================================================
   NEUROVA — neurovarehab.com
   Design system: ink #0C1220 · paper #F7F9F8 · mint #17B893
                  teal #0E7D66 · tint #E6F4EF
   Type: Plus Jakarta Sans (display) · Inter (body) · IBM Plex Mono (data)
   ============================================================ */

/* ---------- Self-hosted fonts (latin subsets, variable where possible) ---------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/assets/fonts/PlusJakartaSans-var.woff2") format("woff2");
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: italic;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/PlusJakartaSans-800i.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/Inter-var.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/IBMPlexMono-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/IBMPlexMono-500.woff2") format("woff2");
}

:root {
  --ink: #0C1220;
  --paper: #F7F9F8;
  --mint: #17B893;
  --teal: #0E7D66;
  --tint: #E6F4EF;
  --ink-60: rgba(12, 18, 32, .62);
  --ink-30: rgba(12, 18, 32, .30);
  --ink-12: rgba(12, 18, 32, .12);
  --paper-70: rgba(247, 249, 248, .70);
  --font-display: "Plus Jakarta Sans", "Inter", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-card: 0 18px 50px -18px rgba(12, 18, 32, .22);
  --shadow-pop: 0 24px 70px -20px rgba(14, 125, 102, .35);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 74px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, canvas, svg { display: block; max-width: 100%; }
img, video { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
::selection { background: var(--mint); color: #fff; }

:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* ---------- Utilities ---------- */
.container {
  width: min(100% - clamp(2.5rem, 8vw, 5rem), 1180px);
  margin-inline: auto;
}
.container--narrow { max-width: 820px; }
.mono {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.kicker {
  color: var(--teal);
  margin-bottom: 1.1rem;
}
.kicker--light { color: var(--mint); }
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.4vw, 3.1rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin-bottom: clamp(2rem, 5vw, 3.4rem);
  text-wrap: balance;
}
.section__title em {
  font-style: italic;
  background: linear-gradient(100deg, #3B82F6 0%, var(--mint) 55%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section__title--light { color: var(--paper); }
.br-desktop { display: none; }
@media (min-width: 900px) { .br-desktop { display: block; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .98rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out),
              background-color .25s, color .25s, border-color .25s;
}
.btn--primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 10px 30px -12px rgba(12, 18, 32, .5);
}
.btn--primary:hover {
  background: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-pop);
}
.btn--ghost {
  border-color: var(--ink-30);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}
.btn--small { padding: .55rem 1.15rem; font-size: .88rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.is-scrolled {
  background: rgba(247, 249, 248, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--ink-12);
}
.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
}
.nav__mark { border-radius: 9px; }
.nav__word {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .18em;
  font-size: .95rem;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2rem);
}
.nav__links a:not(.btn) {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .93rem;
  text-decoration: none;
  color: var(--ink-60);
  transition: color .2s;
}
.nav__links a:not(.btn):hover { color: var(--teal); }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  padding: .6rem .4rem;
  cursor: pointer;
}
.nav__burger span {
  width: 24px; height: 2px;
  background: var(--ink);
  transition: transform .3s var(--ease-out), opacity .3s;
}
@media (max-width: 760px) {
  .nav__burger { display: flex; }
  .nav__links {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1.2rem clamp(1.25rem, 6vw, 2.5rem) 1.6rem;
    background: rgba(247, 249, 248, .97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 40px -20px rgba(12, 18, 32, .25);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s var(--ease-out), opacity .3s, visibility .3s;
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a:not(.btn) { padding: .55rem 0; font-size: 1.05rem; }
  .nav__links .btn { margin-top: .6rem; }
  .nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 7vw, 5.5rem));
  overflow: clip;
}
.hero__silk {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(247,249,248,.25) 0%, rgba(247,249,248,.72) 68%, var(--paper) 100%),
    url("/assets/silk-light.jpg") center / cover no-repeat;
  z-index: -1;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem .95rem;
  border: 1px solid rgba(14, 125, 102, .35);
  border-radius: 999px;
  background: rgba(230, 244, 239, .6);
  margin-bottom: 1.6rem;
}
.eyebrow__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--mint);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(23, 184, 147, .5); }
  50% { box-shadow: 0 0 0 7px rgba(23, 184, 147, 0); }
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.55rem, 6.4vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -.03em;
  margin-bottom: 1.4rem;
}
.hero__title span { display: block; }
.hero__title em {
  font-style: italic;
  background: linear-gradient(100deg, #3B82F6 0%, var(--mint) 55%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  max-width: 34rem;
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  color: var(--ink-60);
  margin-bottom: 2rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2.6rem; }
.hero__stats {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-top: 1.6rem;
  border-top: 1px solid var(--ink-12);
}
.hero__stats dt { color: var(--ink-60); margin-bottom: .3rem; max-width: 15rem; }
.hero__stats dd {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -.02em;
}
.hero__stats .stat { font-variant-numeric: tabular-nums; }
.hero__source {
  margin-top: .9rem;
  color: var(--ink-30);
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: none;
}

.hero__media { position: relative; }
.hero__videoframe {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--tint);
  transform: rotate(1.2deg);
}
.hero__video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Sensor readout card */
.readout {
  position: absolute;
  left: clamp(-3rem, -4vw, -1.5rem);
  bottom: clamp(1rem, 3vw, 2.4rem);
  width: min(310px, 88%);
  background: rgba(247, 249, 248, .9);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.05rem 1.15rem .8rem;
  transform: rotate(-1deg);
}
.readout__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .85rem;
}
.readout__id { color: var(--ink-60); }
.readout__badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #0A6250; /* darker than --teal: keeps AA contrast on the tint chip */
  background: var(--tint);
  padding: .3rem .6rem;
  border-radius: 999px;
  font-size: .62rem;
}
.readout__pulse {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mint);
  animation: pulse 2.2s infinite;
}
.readout__row {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding-block: .5rem;
  border-top: 1px dashed var(--ink-12);
}
.readout__label { color: var(--ink-60); font-size: .6rem; flex: 0 0 auto; width: 5.4rem; }
.readout__val { margin-left: auto; font-size: .8rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.readout__fingers {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 30px;
  flex: 1;
}
.readout__fingers i {
  flex: 1;
  height: calc(var(--h) * 100%);
  background: linear-gradient(180deg, var(--mint), var(--teal));
  border-radius: 3px 3px 0 0;
  transition: height .6s var(--ease-out);
}
#roSpark { flex: 1; min-width: 0; }
.readout__row--meters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
}
.readout__row--meters > div { display: grid; gap: .4rem; }
.meter {
  height: 6px;
  background: var(--ink-12);
  border-radius: 999px;
  overflow: hidden;
}
.meter i {
  display: block;
  height: 100%;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mint), var(--teal));
  transition: width .8s var(--ease-out);
}
.readout__note {
  margin-top: .75rem;
  padding-top: .6rem;
  border-top: 1px solid var(--ink-12);
  color: var(--ink-60);
  font-size: .6rem;
  letter-spacing: .1em;
  text-transform: none;
}

/* Pipeline ticker */
.hero__ticker {
  margin-top: clamp(3rem, 7vw, 5rem);
  border-block: 1px solid var(--ink-12);
  padding-block: .85rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.hero__ticker-track {
  display: flex;
  gap: 2.2rem;
  width: max-content;
  color: var(--ink-60);
  font-size: .72rem;
  letter-spacing: .22em;
  animation: ticker 28s linear infinite;
}
.hero__ticker-track i { font-style: normal; color: var(--mint); }
@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ---------- Masalah ---------- */
.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.8rem);
}
.problem__card {
  background: #fff;
  border: 1px solid var(--ink-12);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
}
.problem__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(23, 184, 147, .45);
}
.problem__num {
  display: inline-block;
  color: var(--teal);
  background: var(--tint);
  border-radius: 999px;
  padding: .35rem .7rem;
  margin-bottom: 1.1rem;
}
.problem__card h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -.015em;
  margin-bottom: .5rem;
}
.problem__card p { color: var(--ink-60); font-size: .98rem; }
.problem__note {
  max-width: 46rem;
  margin-top: clamp(2rem, 5vw, 3rem);
  color: var(--ink-60);
  border-left: 3px solid var(--mint);
  padding-left: 1.2rem;
}

/* ---------- Cara kerja ---------- */
.how { background: linear-gradient(180deg, var(--paper), var(--tint) 55%, var(--paper)); }
.how__step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(2rem, 5vw, 3.6rem);
}
.how__step + .how__step { border-top: 1px dashed var(--ink-12); }
.how__step--flip .how__text { order: 2; }
.how__step--flip .how__media { order: 1; }
.how__num { color: var(--teal); display: block; margin-bottom: .9rem; }
.how__text h3 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: .8rem;
}
.how__text p { color: var(--ink-60); max-width: 30rem; }
.how__list {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  padding: 0;
  margin-top: 1.3rem;
}
.how__list li {
  border: 1px solid rgba(14, 125, 102, .35);
  color: var(--teal);
  border-radius: 999px;
  padding: .38rem .75rem;
  font-size: .62rem;
  background: rgba(255, 255, 255, .5);
}
.how__media img,
.how__video {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.how__video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--tint); }
.how__caption {
  margin-top: .8rem;
  color: var(--ink-60);
  font-size: .64rem;
  letter-spacing: .1em;
  text-transform: none;
}

/* Progress mock card */
.progress-card {
  background: #fff;
  border: 1px solid var(--ink-12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.4rem 1.5rem 1.1rem;
  transform: rotate(-1deg);
}
.progress-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink-60);
  margin-bottom: 1rem;
}
.progress-card__badge {
  color: var(--teal);
  background: var(--tint);
  padding: .3rem .65rem;
  border-radius: 999px;
  font-size: .6rem;
}
.progress-card__chart { width: 100%; height: auto; }
.js .progress-card__line {
  stroke-dasharray: 460;
  stroke-dashoffset: 460;
  transition: stroke-dashoffset 1.6s var(--ease-out) .2s;
}
.js .is-in .progress-card__line { stroke-dashoffset: 0; }
.progress-card__foot {
  margin-top: 1rem;
  padding-top: .8rem;
  border-top: 1px solid var(--ink-12);
  color: var(--ink-30);
  font-size: .58rem;
}

/* ---------- Teknologi ---------- */
.tech { position: relative; color: var(--paper); overflow: clip; }
.tech__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(12, 18, 32, .88), rgba(12, 18, 32, .68) 45%, rgba(12, 18, 32, .9)),
    url("/assets/silk-dark.jpg") center / cover no-repeat;
  background-color: var(--ink);
}
.tech__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.tech__media { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.tech__media img {
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -25px rgba(0, 0, 0, .6);
}
.tech__mediacap {
  margin-top: .9rem;
  color: rgba(247, 249, 248, .55);
  font-size: .6rem;
}
.tech__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2vw, 1.6rem);
}
.spec {
  border: 1px solid rgba(247, 249, 248, .14);
  background: rgba(247, 249, 248, .045);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  transition: border-color .3s, background-color .3s, transform .4s var(--ease-out);
}
.spec:hover {
  border-color: rgba(23, 184, 147, .55);
  background: rgba(23, 184, 147, .07);
  transform: translateY(-4px);
}
.spec__num { color: var(--mint); display: block; margin-bottom: .8rem; }
.spec h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .45rem;
  letter-spacing: -.01em;
}
.spec p { color: rgba(247, 249, 248, .66); font-size: .92rem; line-height: 1.55; }

.tech__pipeline {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .9rem;
  justify-content: center;
  color: rgba(247, 249, 248, .8);
  border: 1px dashed rgba(247, 249, 248, .25);
  border-radius: 999px;
  padding: 1rem 1.5rem;
}
.tech__pipeline i {
  flex: 0 0 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--mint), transparent);
}

/* ---------- Rencana harga ---------- */
.plan__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 2.5vw, 1.8rem);
  max-width: 60rem;
}
.plan__card {
  background: #fff;
  border: 1px solid var(--ink-12);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
}
.plan__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(23, 184, 147, .45);
}
.plan__label { color: var(--teal); }
.plan__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.7rem);
  letter-spacing: -.02em;
  margin-block: .7rem .5rem;
}
.plan__per {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-60);
  margin-left: .4rem;
  letter-spacing: 0;
}
.plan__desc { color: var(--ink-60); font-size: .97rem; }
.plan__note {
  max-width: 46rem;
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
  font-size: .93rem;
  color: var(--ink-60);
  background: var(--tint);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
}

/* ---------- FAQ ---------- */
.faq__item {
  border-bottom: 1px solid var(--ink-12);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem .2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  letter-spacing: -.01em;
  transition: color .2s;
}
.faq__item summary:hover { color: var(--teal); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 1.3rem;
  color: var(--mint);
  transition: transform .3s var(--ease-out);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  padding: 0 .2rem 1.4rem;
  color: var(--ink-60);
  max-width: 44rem;
}

/* ---------- Daftar minat ---------- */
.signup { position: relative; overflow: clip; }
.signup__silk {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--paper) 0%, rgba(247,249,248,.55) 40%, rgba(247,249,248,.85) 100%),
    url("/assets/silk-light.jpg") center / cover no-repeat;
}
.signup__card {
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: clamp(1.8rem, 5vw, 3.2rem);
}
.signup__card .section__title { margin-bottom: .6rem; }
.signup__sub { color: var(--ink-60); margin-bottom: 2rem; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
.form__field { margin-bottom: 1.1rem; }
.form__field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .4rem;
}
.form__opt { color: var(--ink-30); font-weight: 500; }
.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  border: 1.5px solid var(--ink-12);
  border-radius: 12px;
  background: #fff;
  padding: .8rem .95rem;
  font-size: .98rem;
  transition: border-color .2s, box-shadow .2s;
}
.form__field textarea { resize: vertical; min-height: 90px; }
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 4px rgba(23, 184, 147, .18);
}
.form__field.is-invalid input,
.form__field.is-invalid select { border-color: #D64545; }
.form__err {
  color: #B93838;
  font-size: .8rem;
  margin-top: .35rem;
  min-height: 1em;
}
.form__privacy {
  margin-top: 1rem;
  text-align: center;
  color: var(--ink-30);
  font-size: .62rem;
  text-transform: none;
  letter-spacing: .08em;
}
.form__success { text-align: center; padding: 2.5rem 1rem 1.5rem; }
.form__success svg { margin: 0 auto 1.2rem; }
.form__success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: .5rem;
}
.form__success p { color: var(--ink-60); max-width: 28rem; margin-inline: auto; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.footer__inner { display: grid; gap: 1.8rem; }
.footer__brand { display: flex; align-items: center; gap: .8rem; }
.footer__brand svg { border-radius: 8px; box-shadow: 0 0 0 1px rgba(247,249,248,.2); }
.footer__word {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .18em;
  font-size: .95rem;
}
.footer__tag { color: var(--mint); font-size: .6rem; }
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}
.footer__links a {
  color: rgba(247, 249, 248, .72);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .92rem;
  transition: color .2s;
}
.footer__links a:hover { color: var(--mint); }
.footer__legal {
  color: rgba(247, 249, 248, .62);
  font-size: .85rem;
  max-width: 52rem;
  line-height: 1.6;
}
.footer__legal strong { color: rgba(247, 249, 248, .75); }
.footer__copy {
  color: rgba(247, 249, 248, .66);
  font-size: .62rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(247, 249, 248, .12);
}

/* ---------- Reveal animations (gated on .js so no-JS users see everything) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* Hero enters via CSS animation the moment styles apply — no JS/IO dependency,
   so the LCP paragraph paints early. */
/* Starts at .35 opacity, not 0: content whose first paint is fully transparent
   is excluded from LCP, which would misreport the page as slow. */
@keyframes heroRise {
  from { opacity: .35; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
.js .hero .reveal {
  opacity: 1;
  transform: none;
  transition: none;
  animation: heroRise .7s var(--ease-out) both;
}
.js .eyebrow.reveal { animation-delay: .02s; }
.js .hero__title span.reveal:nth-child(1) { animation-delay: .08s; }
.js .hero__title span.reveal:nth-child(2) { animation-delay: .16s; }
.js .hero__title span.reveal:nth-child(3) { animation-delay: .24s; }
.js .hero__sub.reveal { animation-delay: .3s; }
.js .hero__cta.reveal { animation-delay: .38s; }
.js .hero__stats.reveal { animation-delay: .46s; }
/* Media slides in WITHOUT fading: its first paint stays visible, so the video
   poster remains a valid LCP candidate (fade-ins are excluded from LCP). */
@keyframes heroRiseSolid {
  from { transform: translateY(26px); }
  to { transform: none; }
}
.js .hero__media.reveal { animation-name: heroRiseSolid; animation-delay: .2s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 480px; }
  .tech__grid { grid-template-columns: 1fr; }
  .tech__media { position: static; max-width: 440px; }
}
@media (max-width: 760px) {
  .problem__grid { grid-template-columns: 1fr; }
  .how__step { grid-template-columns: 1fr; gap: 1.6rem; }
  .how__step--flip .how__text { order: 1; }
  .how__step--flip .how__media { order: 2; }
  .tech__specs { grid-template-columns: 1fr; }
  .plan__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 560px) {
  .readout {
    position: static;
    width: 100%;
    margin-top: 1rem;
    transform: none;
  }
  .hero__videoframe { transform: none; }
  .hero__stats { flex-direction: column; gap: 1.2rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .reveal, .js .reveal { opacity: 1; transform: none; }
  .hero__ticker-track { animation: none; transform: none; }
  .progress-card__line, .js .progress-card__line { stroke-dashoffset: 0; }
}
