/* ============================================================================
   Aeterna — aeternahealth.ai landing page

   Palette, radii, shadows and control metrics are the same tokens the Expo app
   uses (longevity-frontend-webapp/src/theme), so the marketing site and the
   signed-in product read as one brand.
   ========================================================================= */

:root {
  /* --- Palette (src/theme/colors.ts) --- */
  --green-darkest: #0F2A1D;
  --green-dark:    #1B4332;
  --green:         #2D6A4F;
  --green-mid:     #40916C;
  --green-light:   #74C69D;
  --green-pale:    #B7E4C7;

  --ivory:         #FCFBF3;
  --ivory-deep:    #F2EEDF;
  --ivory-shadow:  #E6E1CC;
  --white:         #FFFFFF;

  --ink:           #1A2620;
  --ink-soft:      #54635B;
  --ink-faint:     #8A968F;

  --border:        #DAD6C3;
  --danger:        #B23A48;
  --danger-soft:   #F6E1E3;

  /* --- Radii (src/theme/index.ts) --- */
  --radius-sm:   8px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  28px;
  --radius-pill: 999px;

  /* --- Shadows --- */
  --shadow-card: 0 8px 18px rgba(15, 42, 29, .08);
  --shadow-soft: 0 2px 6px rgba(15, 42, 29, .06);
  --shadow-lift: 0 16px 34px rgba(15, 42, 29, .13);

  /* --- Type --- */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: Georgia, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;

  --gutter: clamp(1.25rem, 5vw, 5rem);
  --maxw: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Anchored sections must clear the fixed header. */
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.12; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
img, svg, canvas { display: block; max-width: 100%; }

::selection { background: var(--green-pale); color: var(--green-darkest); }

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 200;
  padding: .7rem 1.1rem; border-radius: var(--radius-md);
  background: var(--green); color: var(--white); font-weight: 700;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

:focus-visible {
  outline: 2px solid var(--green-mid);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Very fine film grain: keeps the large gradients from banding. */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: .022; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Buttons (mirrors src/components/Button.tsx) ─────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 54px;
  padding: 0 1.5rem;
  border: 1px solid transparent; border-radius: var(--radius-pill);
  font-family: inherit; font-size: 1rem; font-weight: 700; letter-spacing: .3px;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background .25s var(--ease),
              border-color .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
}
.btn--sm { min-height: 42px; padding: 0 1.15rem; font-size: .9375rem; }
.btn--block { display: flex; width: 100%; }
.btn:active { transform: scale(.99); opacity: .9; }

.btn--primary {
  background: var(--green);
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.btn--primary:hover { background: var(--green-dark); box-shadow: var(--shadow-card); }

.btn--ghost {
  background: var(--ivory-deep);
  border-color: var(--green-pale);
  color: var(--green-dark);
}
.btn--ghost:hover { background: var(--white); border-color: var(--green-mid); }

/* On the dark green surfaces the roles invert: the pale green carries the
   emphasis and the deep green becomes the label. */
.on-dark .btn--primary {
  background: var(--green-light);
  color: var(--green-darkest);
  box-shadow: 0 8px 22px rgba(15, 42, 29, .45);
}
.on-dark .btn--primary:hover { background: var(--green-pale); }

.on-dark .btn--ghost {
  background: rgba(252, 251, 243, .07);
  border-color: rgba(183, 228, 199, .38);
  color: var(--ivory);
}
.on-dark .btn--ghost:hover { background: rgba(252, 251, 243, .14); border-color: var(--green-light); }

/* ── Header ──────────────────────────────────────────────────────────── */

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 2rem;
  padding: 1.15rem var(--gutter);
  border-bottom: 1px solid transparent;
  color: var(--ivory);
  transition: background .35s var(--ease), border-color .35s var(--ease),
              padding .35s var(--ease), color .35s var(--ease);
}
.nav.is-stuck {
  padding-block: .8rem;
  background: rgba(252, 251, 243, .88);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
  color: var(--ink);
}

.nav__brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-style: italic; font-size: 1.5rem;
  letter-spacing: .5px;
}
.nav__mark {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: var(--green-light); stroke-width: 1.4; stroke-linecap: round;
  transition: stroke .35s var(--ease);
}
.nav.is-stuck .nav__mark { stroke: var(--green); }

.nav__links {
  display: flex; gap: 2rem; margin-left: auto;
  font-size: .9375rem; font-weight: 500;
  color: inherit; opacity: .82;
}
.nav__links a { position: relative; padding-block: .2rem; transition: opacity .2s var(--ease); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px;
  background: currentColor; transition: width .3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }

@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
}

/* ── Dark surfaces ───────────────────────────────────────────────────── */

.on-dark { color: var(--ivory); }

/* ── Hero ────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 7rem var(--gutter) 5rem;
  background: var(--green-darkest);
  overflow: hidden;
  isolation: isolate;
}

.hero__canvas {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.hero__canvas.is-ready { opacity: 1; }

/* WebGL unavailable or three.js failed to load: keep a lit backdrop. */
.hero__canvas.is-fallback {
  opacity: 1;
  background:
    radial-gradient(ellipse 30% 55% at 50% 50%, rgba(116, 198, 157, .2), transparent 70%),
    radial-gradient(ellipse 55% 40% at 50% 40%, rgba(64, 145, 108, .16), transparent 75%);
}

/* Darkens the middle of the helix so the wordmark stays legible over it. */
.hero__veil {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 42% 46% at 50% 50%, rgba(15, 42, 29, .9) 0%, rgba(15, 42, 29, .5) 55%, transparent 78%),
    radial-gradient(ellipse 90% 60% at 50% 115%, rgba(64, 145, 108, .16), transparent 70%),
    linear-gradient(to bottom, rgba(15, 42, 29, .92) 0%, transparent 22%, transparent 66%, var(--green-darkest) 100%);
}

/* On phones the copy runs nearly edge to edge, so the strand needs to sit
   further back behind it. */
@media (max-width: 720px) {
  .hero__veil {
    background:
      radial-gradient(ellipse 80% 30% at 50% 46%, rgba(15, 42, 29, .95) 0%, rgba(15, 42, 29, .66) 62%, transparent 90%),
      radial-gradient(ellipse 90% 50% at 50% 112%, rgba(64, 145, 108, .16), transparent 70%),
      linear-gradient(to bottom, rgba(15, 42, 29, .93) 0%, transparent 18%, transparent 74%, var(--green-darkest) 100%);
  }
}

.hero__inner { position: relative; z-index: 2; max-width: 46rem; text-align: center; }

.hero__eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase;
  color: var(--green-light);
}

.hero__title {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 13vw, 9rem);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.01em;
  background: linear-gradient(172deg, var(--ivory) 10%, var(--green-pale) 62%, var(--green-mid) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero__tagline {
  margin-top: .6rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.2vw, 1.9rem);
  line-height: 1.3; color: var(--ivory);
}
.hero__tagline em { color: var(--green-light); }

.hero__sub {
  margin: 1.5rem auto 0; max-width: 34rem;
  color: var(--green-pale); font-size: 1rem; line-height: 1.7;
}

.hero__actions { margin-top: 2.4rem; display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; }

/* ── Orbiting phrases ────────────────────────────────────────────────── */

.orbit { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.orbit__item {
  position: absolute;
  max-width: 13rem;
  font-size: .8rem; font-weight: 600; line-height: 1.45;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-pale); opacity: 0;
  animation: orbit-in 1.1s var(--ease) forwards, orbit-drift 11s ease-in-out infinite;
}
.orbit__item::before {
  content: ""; display: block; width: 24px; height: 1.5px; margin-bottom: .6rem;
  background: linear-gradient(90deg, var(--green-light), transparent);
}

.orbit__item--tl { top: 20%;  left: 6%;  animation-delay: .7s, 1.8s; }
.orbit__item--tr { top: 20%;  right: 6%; text-align: right; animation-delay: .9s, 2.4s; }
.orbit__item--ml { top: 47%;  left: 3%;  animation-delay: 1.1s, 3.0s; }
.orbit__item--mr { top: 47%;  right: 3%; text-align: right; animation-delay: 1.3s, 2.1s; }
.orbit__item--bl { bottom: 22%; left: 6%;  animation-delay: 1.5s, 2.7s; }
.orbit__item--br { bottom: 22%; right: 6%; text-align: right; animation-delay: 1.7s, 3.3s; }

.orbit__item--tr::before, .orbit__item--mr::before, .orbit__item--br::before {
  margin-left: auto; background: linear-gradient(270deg, var(--green-light), transparent);
}

@keyframes orbit-in {
  from { opacity: 0; transform: translateY(14px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}
@keyframes orbit-drift {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}

@media (max-width: 1100px) {
  .orbit__item { max-width: 9.5rem; font-size: .68rem; letter-spacing: .1em; }
  .orbit__item--ml, .orbit__item--mr { display: none; }
}
@media (max-width: 720px) {
  .orbit { display: none; }
}

/* ── Scroll cue ──────────────────────────────────────────────────────── */

.scroll-cue {
  position: absolute; bottom: 2rem; left: 50%; translate: -50% 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  color: var(--green-light); opacity: .75;
  font-size: .68rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  transition: opacity .3s var(--ease);
}
.scroll-cue:hover { opacity: 1; }
.scroll-cue__line {
  width: 1.5px; height: 46px;
  background: linear-gradient(to bottom, transparent, rgba(183, 228, 199, .45));
  position: relative; overflow: hidden;
}
.scroll-cue__line::after {
  content: ""; position: absolute; inset-inline: 0; height: 14px;
  background: var(--green-light);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
  0%       { top: -14px; opacity: 0; }
  35%, 65% { opacity: 1; }
  100%     { top: 46px; opacity: 0; }
}

/* ── Statement band ──────────────────────────────────────────────────── */

.statement {
  padding: clamp(6rem, 14vw, 11rem) var(--gutter);
  background: var(--green-dark);
}
.statement__text {
  max-width: 54rem; margin-inline: auto;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.9vw, 2rem);
  line-height: 1.45;
  color: var(--green-pale); text-wrap: balance;
}
.statement__text em { color: var(--green-light); }
.statement__text strong { color: var(--ivory); font-weight: 500; }

/* ── Section scaffolding ─────────────────────────────────────────────── */

.section {
  position: relative;
  max-width: var(--maxw); margin-inline: auto;
  padding: clamp(6rem, 13vw, 10rem) var(--gutter);
}

.section__head { max-width: 42rem; margin-bottom: clamp(3.5rem, 7vw, 5.5rem); }
.section__eyebrow {
  font-size: .75rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  color: var(--green);
}
.section__title {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: var(--green-dark);
}
.section__lead { margin-top: 1.25rem; color: var(--ink-soft); font-size: 1.0625rem; }
.section__lead em { color: var(--ink); font-style: italic; }

/* ── Services ────────────────────────────────────────────────────────── */

.services { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }

@media (min-width: 900px) {
  .services { grid-template-columns: repeat(3, 1fr); }
}

.service {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.service::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(65% 45% at 18% 0%, rgba(183, 228, 199, .34), transparent 72%);
  opacity: 0; transition: opacity .45s var(--ease);
}
.service:hover {
  transform: translateY(-6px);
  border-color: var(--green-pale);
  box-shadow: var(--shadow-lift);
}
.service:hover::before { opacity: 1; }

/* The numeral is the shadowed element: a large ghosted figure behind the copy. */
.service__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 9vw, 6.5rem);
  line-height: .85;
  color: transparent;
  background: linear-gradient(168deg, var(--green) 8%, var(--green-mid) 48%, rgba(183, 228, 199, .35) 100%);
  -webkit-background-clip: text; background-clip: text;
  text-shadow: 0 16px 30px rgba(45, 106, 79, .28);
  transition: text-shadow .45s var(--ease);
}
.service:hover .service__num { text-shadow: 0 18px 38px rgba(45, 106, 79, .42); }

.service__body { position: relative; margin-top: 1.4rem; }
.service__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.3vw, 1.65rem);
  line-height: 1.22;
  color: var(--green-dark);
}
.service__caption {
  margin-top: .9rem;
  color: var(--ink-soft);
  font-size: .9375rem; line-height: 1.7;
}

/* Side by side, reserve the tallest title so all three captions share a
   baseline instead of stepping with the headline wrap. */
@media (min-width: 900px) {
  .service__title { min-height: 3.66em; }
}

/* ── Pipeline ribbon ─────────────────────────────────────────────────── */

.pipeline {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding: 1.75rem clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--ivory-deep);
}
.pipeline__label {
  font-size: .7rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 1.1rem;
}
.pipeline__steps {
  display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 0;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-dark);
}
.pipeline__steps li { display: flex; align-items: center; }
.pipeline__steps li::after {
  content: ""; width: clamp(14px, 3vw, 40px); height: 1.5px; margin-inline: .75rem;
  background: linear-gradient(90deg, var(--green-mid), rgba(64, 145, 108, .2));
}
.pipeline__steps li:last-child { color: var(--green); }
.pipeline__steps li:last-child::after { display: none; }

/* ── Plans ───────────────────────────────────────────────────────────── */

/* Full-bleed tint behind a section that stays width-constrained. Painting it
   with a pseudo-element avoids re-centering every child. */
.section--plans::before {
  content: ""; position: absolute; z-index: -1;
  inset-block: 0; left: 50%; translate: -50% 0; width: 100vw;
  background: var(--ivory-deep);
}

.plans { display: grid; gap: clamp(1rem, 2vw, 1.5rem); align-items: start; }

@media (min-width: 960px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
}

.plan {
  display: flex; flex-direction: column;
  padding: clamp(1.75rem, 2.6vw, 2.4rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.plan:hover { transform: translateY(-4px); border-color: var(--green-pale); box-shadow: var(--shadow-lift); }

.plan--hero {
  position: relative;
  border-color: var(--green-mid);
  background: linear-gradient(180deg, rgba(183, 228, 199, .3), var(--white) 42%);
  box-shadow: 0 18px 40px rgba(15, 42, 29, .14);
}
@media (min-width: 960px) {
  .plan--hero { transform: scale(1.035); }
  .plan--hero:hover { transform: scale(1.035) translateY(-4px); }
}

.plan__badge {
  position: absolute; top: -.8rem; left: 50%; translate: -50% 0;
  padding: .35rem .9rem; border-radius: var(--radius-pill);
  background: var(--green);
  color: var(--white); font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}

.plan__name { font-family: var(--font-display); font-size: 2rem; color: var(--green-dark); }
.plan__pitch { margin-top: .5rem; color: var(--ink-soft); font-size: .9375rem; }
.plan__price {
  margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--border);
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--green);
}

.plan__specs { margin: 1.5rem 0 2rem; display: grid; gap: .9rem; }
.plan__specs > div {
  display: grid; gap: .15rem;
  padding-bottom: .9rem; border-bottom: 1px dashed var(--border);
}
.plan__specs > div:last-child { border-bottom: 0; padding-bottom: 0; }
.plan__specs dt {
  font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-faint);
}
.plan__specs dd { font-size: .9375rem; color: var(--ink); }

.plan > .btn { margin-top: auto; }

/* Side by side the three cards must read as one table: reserve two lines for
   every value so equivalent levers stay on the same baseline across columns. */
@media (min-width: 960px) {
  .plan__pitch { min-height: 3.4em; }
  .plan__specs dd { min-height: 3.1em; }
}

.plans__note {
  margin-top: 2.5rem; max-width: 46rem;
  color: var(--ink-soft); font-size: .9375rem;
}
.plans__note strong { color: var(--green-dark); font-weight: 700; }
.plans__note--muted { margin-top: 1rem; color: var(--ink-faint); font-size: .85rem; }

/* ── Contact ─────────────────────────────────────────────────────────── */

.contact { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
@media (min-width: 940px) {
  .contact { grid-template-columns: 1fr 1.05fr; align-items: start; }
}

.contact__facts { margin-top: 2.5rem; display: grid; gap: 1.1rem; }
.contact__facts li {
  display: grid; gap: .15rem;
  padding-left: 1rem; border-left: 2px solid var(--green-pale);
  color: var(--ink-soft); font-size: .9375rem;
}
.contact__facts span {
  font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--green);
}

.form {
  display: grid; gap: 1.25rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }

/* Field metrics mirror src/components/TextField.tsx. */
.field { display: grid; gap: .3rem; }
.field label {
  font-size: .8125rem; font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
  color: var(--green-dark);
}
.field__opt { text-transform: none; letter-spacing: 0; color: var(--ink-faint); font-weight: 400; font-size: .75rem; }

.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-md);
  background: var(--white);
  color: var(--ink); font-family: inherit; font-size: 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 7.5rem; line-height: 1.6; }
.field select {
  appearance: none; cursor: pointer; padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%232D6A4F' stroke-width='1.8'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}

.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(116, 198, 157, .28);
}
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select {
  border-color: var(--danger); background: var(--danger-soft);
}

/* Honeypot: removed from flow without display:none, which some bots detect. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.check {
  display: flex; gap: .7rem; align-items: flex-start;
  color: var(--ink-soft); font-size: .875rem; line-height: 1.5; cursor: pointer;
}
.check input {
  appearance: none; flex: none;
  width: 20px; height: 20px; margin-top: .12rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--white); cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.check input:checked {
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' fill='none' stroke='%23FFFFFF' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 5l3.5 3.5L11 1.5'/%3E%3C/svg%3E") center / 12px no-repeat;
  border-color: var(--green);
}
.check.is-invalid input { border-color: var(--danger); }

.btn[disabled] { opacity: .5; cursor: progress; transform: none; }

.form__status { min-height: 1.4rem; font-size: .875rem; font-weight: 600; }
.form__status.is-ok { color: var(--green); }
.form__status.is-error { color: var(--danger); }

/* ── Footer ──────────────────────────────────────────────────────────── */

.footer {
  background: var(--green-darkest);
  color: var(--ivory);
  padding: clamp(3.5rem, 8vw, 5.5rem) var(--gutter) 2.5rem;
}
.footer__top {
  max-width: var(--maxw); margin-inline: auto;
  display: grid; gap: 3rem;
}
@media (min-width: 860px) {
  .footer__top { grid-template-columns: 1.3fr 2fr; }
}
.footer__pitch { margin-top: 1rem; max-width: 26rem; color: var(--green-pale); font-size: .9375rem; }

.footer__cols { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); }
.footer__col { display: grid; gap: .7rem; align-content: start; }
.footer__col h4 {
  font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--green-light); margin-bottom: .2rem;
}
.footer__col a { color: var(--green-pale); font-size: .9375rem; transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--white); }

.footer__bottom {
  max-width: var(--maxw); margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  padding-top: 1.75rem; border-top: 1px solid rgba(183, 228, 199, .18);
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between;
  color: rgba(183, 228, 199, .72); font-size: .8125rem;
}
.footer__disclaimer { max-width: 34rem; }

/* ── Scroll reveal ───────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition:
    opacity .9s var(--ease) var(--reveal-delay, 0ms),
    transform .9s var(--ease) var(--reveal-delay, 0ms),
    filter .9s var(--ease) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
  .orbit__item { opacity: 1; }
}
