/* ============================================================
   Human Formulas — Design System
   Brand-confirmed palette and typography.
   ============================================================ */

/* Fonts — TEMPORARY: using Google Fonts import for soft launch so the site renders on-brand
   without requiring the download_fonts.py script to be run first. Once Claire is on the MBA
   and can populate /website/fonts/ locally, swap this back to the self-hosted @font-face
   declarations (kept below, commented out) and remove the @import. This removes the
   visitor-IP-to-Google data transfer that the self-hosted version was designed to avoid —
   revisit privacy notice cookies section language if we stay on Google Fonts long-term.
   Added 7 Sep 2026 for the soft launch. */

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=Lato:ital,wght@0,400;0,700;1,400&display=swap');

/* --- Self-hosted font declarations preserved below (commented out) for later swap-in ---

@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/quicksand-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/quicksand-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/quicksand-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/quicksand-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/lato-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/lato-400italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/lato-700.woff2') format('woff2');
}

--- end preserved self-hosted declarations --- */

:root {
  /* Confirmed brand palette */
  --deep-teal: #1A5F6B;
  --mid-teal:  #2A8A9A;
  --light-teal:#5BBCCC;
  --pale-teal: #D4EDEF;
  --pale-teal-tint: #EEF8F9;
  --warm-orange: #D4600A;
  --deep-purple: #5B3A8A;
  --navy: #1A3A6B;

  /* Functional */
  --white: #FFFFFF;
  --body-text: #2C2C2C;
  --muted: #6B6B6B;
  --rule: #E5EEF0;

  /* Type scale */
  --font-body: 'Lato', 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
  --font-mark: 'Quicksand', 'Lato', 'Trebuchet MS', sans-serif;

  /* Spacing */
  --section-pad-y: 96px;
  --section-pad-y-sm: 64px;
  --content-max: 1180px;
  --content-narrow: 880px;
}

/* ============================================================
   Reset + base
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body-text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--deep-teal); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--mid-teal); }

h1, h2, h3, h4 {
  font-family: var(--font-body);
  color: var(--deep-teal);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(28px, 3.5vw, 40px); }
h3 { font-size: clamp(20px, 2.2vw, 24px); }

p { margin: 0 0 1em; }

/* ============================================================
   Layout helpers
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: var(--content-narrow); }

.section { padding: var(--section-pad-y) 0; }
.section--sm { padding: var(--section-pad-y-sm) 0; }

.section--teal {
  background: var(--deep-teal);
  color: var(--white);
}
.section--teal h1, .section--teal h2, .section--teal h3 { color: var(--white); }
.section--teal a { color: var(--light-teal); }
.section--teal a:hover { color: var(--white); }

.section--pale { background: var(--pale-teal-tint); }

/* The gradient rule — confirmed brand element (teal → orange) */
.brand-rule {
  height: 4px;
  width: 120px;
  background: linear-gradient(90deg, var(--deep-teal) 0%, var(--warm-orange) 100%);
  border-radius: 2px;
  margin: 24px 0;
}

.brand-rule--center { margin: 24px auto; }

/* ============================================================
   Header / Nav
   ============================================================ */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.92);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--content-max);
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--deep-teal);
}

.brand__wordmark {
  font-family: var(--font-mark);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.01em;
  line-height: 1;
}

.brand__wordmark--small { font-size: 18px; }

.site-nav { display: flex; align-items: center; gap: 28px; }

.site-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--body-text);
}
.site-nav a:hover { color: var(--deep-teal); }

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .18s ease;
  text-decoration: none;
}

.btn--primary {
  background: var(--deep-teal);
  color: var(--white);
  border-color: var(--deep-teal);
}
.btn--primary:hover {
  background: var(--mid-teal);
  border-color: var(--mid-teal);
  color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--deep-teal);
  border-color: var(--deep-teal);
}
.btn--ghost:hover {
  background: var(--deep-teal);
  color: var(--white);
}

.btn--on-teal,
.section--teal a.btn--on-teal {
  background: var(--white);
  color: var(--deep-teal);
  border-color: var(--white);
}
.btn--on-teal:hover,
.section--teal a.btn--on-teal:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

/* Defensive: when any button sits inside a .section--teal, the generic
   `.section--teal a` link rule can win on specificity and force the button
   text to light-teal. Re-state the button text colours with stronger selectors
   so .btn--primary stays white and .btn--ghost on teal becomes white. */
.section--teal a.btn--primary { color: var(--white); }
.section--teal a.btn--ghost {
  color: var(--white);
  border-color: var(--white);
}
.section--teal a.btn--ghost:hover {
  background: var(--white);
  color: var(--deep-teal);
}

.btn__arrow { transition: transform .18s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ── Stacked button: two-line label (e.g. "Diagnostic tool" / "COMING SOON") ── */
.btn--stacked {
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 9px 18px;
  line-height: 1.15;
  text-align: center;
}
.btn--stacked .btn__main {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.btn--stacked .btn__sub {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  opacity: 0.85;
  margin-top: 1px;
}

/* Lock in colours regardless of cascade — white on .btn--primary, deep teal on .btn--on-teal,
   irrespective of which section the button sits in. */
.btn--primary,
.btn--primary .btn__main,
.btn--primary .btn__sub,
.section--teal a.btn--primary,
.section--teal a.btn--primary .btn__main,
.section--teal a.btn--primary .btn__sub { color: var(--white) !important; }

.btn--on-teal,
.btn--on-teal .btn__main,
.btn--on-teal .btn__sub,
.section--teal a.btn--on-teal,
.section--teal a.btn--on-teal .btn__main,
.section--teal a.btn--on-teal .btn__sub { color: var(--deep-teal) !important; }

.btn--on-teal:hover,
.btn--on-teal:hover .btn__main,
.btn--on-teal:hover .btn__sub,
.section--teal a.btn--on-teal:hover,
.section--teal a.btn--on-teal:hover .btn__main,
.section--teal a.btn--on-teal:hover .btn__sub { color: var(--white) !important; }

/* ============================================================
   Hero
   ============================================================ */

.hero {
  padding: 96px 0 64px;
  background: var(--white);
  position: relative;
}

.hero__inner { max-width: 920px; margin: 0 auto; padding: 0 24px; }

.hero__eyebrow {
  font-family: var(--font-mark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-teal);
  margin: 0 0 24px;
}

.hero__headline {
  font-size: clamp(38px, 5.6vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--deep-teal);
  margin: 0 0 28px;
  letter-spacing: -0.015em;
}

.hero__reveal {
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.5;
  color: var(--body-text);
  max-width: 780px;
  margin: 0 0 32px;
}

.hero__reveal strong { color: var(--deep-teal); }

.hero__cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

.hero__credo {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.hero__credo p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--body-text);
  max-width: 780px;
  margin: 0;
}

.hero__credo strong { color: var(--deep-teal); font-weight: 700; }

/* ============================================================
   Animated hero — letterform entrance + carousel
   ============================================================ */

.hero--anim {
  padding: 88px 0 72px;
  background: var(--white);
  overflow: hidden;          /* keep sliding glyphs from making page-level overflow */
  position: relative;
}

.hero__inner--anim {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Animated letterform — single SVG with two groups; F's left bar overlays H's right bar */
.anim-mark {
  display: block;
  margin: 0 0 22px;
  line-height: 0;            /* removes phantom descender space below the SVG */
}

.anim-mark__svg {
  height: clamp(110px, 18vw, 180px);
  width: auto;
  display: inline-block;
  overflow: visible;         /* let the groups slide outside the viewBox during entrance */
}

.anim-mark__h,
.anim-mark__f {
  opacity: 0;                /* hidden until the keyframes kick in */
  will-change: transform, opacity;
}

@keyframes hf-slide-in-left {
  from { transform: translate3d(-70vw, 0, 0); opacity: 0; }
  55%  { opacity: 1; }
  to   { transform: translate3d(0, 0, 0); opacity: 1; }
}
@keyframes hf-slide-in-right {
  from { transform: translate3d(70vw, 0, 0); opacity: 0; }
  55%  { opacity: 1; }
  to   { transform: translate3d(0, 0, 0); opacity: 1; }
}
@keyframes hf-fade-up {
  from { transform: translate3d(0, 14px, 0); opacity: 0; }
  to   { transform: translate3d(0, 0, 0); opacity: 1; }
}

/* H and F slide in simultaneously from opposite sides; they meet in the middle and the F's
   vertical lands ON TOP of the H's right vertical in the same instant (F is drawn after H).
   Slightly slower easing here — feels more deliberate than the previous 1100ms. */
.anim-mark__h { animation: hf-slide-in-left  1400ms cubic-bezier(.16,.84,.44,1) 250ms both; }
.anim-mark__f { animation: hf-slide-in-right 1400ms cubic-bezier(.16,.84,.44,1) 250ms both; }

/* Tagline halves slide in from opposite sides AT THE SAME TIME as the H and F.
   "Engagement Science." follows the H from the left. "Business Results." follows the F
   from the right. All four arrive in the same instant. Upright mid-teal — the gradient
   rule below carries the orange accent rather than the tagline itself. */
.anim-tagline {
  font-family: var(--font-body);
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--mid-teal);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 24px 0 6px;
  line-height: 1.2;
}
.anim-tagline__left,
.anim-tagline__right {
  display: inline-block;
  opacity: 0;
  will-change: transform, opacity;
}
.anim-tagline__left  { animation: hf-slide-in-left  1400ms cubic-bezier(.16,.84,.44,1) 250ms both; }
.anim-tagline__right { animation: hf-slide-in-right 1400ms cubic-bezier(.16,.84,.44,1) 250ms both; margin-left: 8px; }

.anim-rule  { opacity: 0; animation: hf-fade-up 700ms ease-out 1800ms both; }
.anim-carousel { opacity: 0; animation: hf-fade-up 900ms ease-out 2100ms both; }
.anim-ctas { opacity: 0; animation: hf-fade-up 900ms ease-out 2500ms both; }

.hero__cta-row--centered {
  justify-content: center;
  flex-wrap: wrap;
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

/* ============================================================
   Carousel
   ============================================================ */

.carousel {
  width: 100%;
  max-width: 820px;
  margin: 32px auto 4px;
}

.carousel__viewport {
  position: relative;
  min-height: 220px;
}

.carousel__slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 8px;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 6px, 0);
  transition: opacity .55s ease, transform .55s ease, visibility 0s linear .55s;
}
.carousel__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  transition: opacity .55s ease, transform .55s ease, visibility 0s linear 0s;
}

.carousel__lead {
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 700;
  line-height: 1.18;
  color: var(--deep-teal);
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  max-width: 760px;
}

.carousel__sub {
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.55;
  color: var(--body-text);
  margin: 0;
  max-width: 660px;
}

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 18px;
}

.carousel__arrow {
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--mid-teal);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  transition: all .15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-family: var(--font-body);
}
.carousel__arrow:hover {
  background: var(--deep-teal);
  color: var(--white);
  border-color: var(--deep-teal);
}
.carousel__arrow:focus-visible {
  outline: 2px solid var(--mid-teal);
  outline-offset: 2px;
}

.carousel__dots {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.carousel__dot {
  background: transparent;
  border: 1.5px solid var(--mid-teal);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: all .2s ease;
}
.carousel__dot:hover { background: var(--mid-teal); }
.carousel__dot:focus-visible {
  outline: 2px solid var(--mid-teal);
  outline-offset: 3px;
}
.carousel__dot.is-active {
  background: var(--deep-teal);
  border-color: var(--deep-teal);
  width: 26px;
  border-radius: 5px;
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .anim-mark__h, .anim-mark__f,
  .anim-wordmark,
  .anim-tagline__left, .anim-tagline__right,
  .anim-rule, .anim-carousel, .anim-ctas {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .carousel__slide { transition: opacity .2s ease; }
}

/* ============================================================
   Indictment section
   ============================================================ */

.indictment {
  text-align: left;
}

.indictment__layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: center;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 24px;
}

.indictment__stat {
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 700;
  color: var(--white);
  line-height: 0.85;
  letter-spacing: -0.04em;
}

.indictment__stat-label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  margin-top: 16px;
  color: var(--light-teal);
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.indictment__body p { margin: 0 0 16px; color: var(--white); }
.indictment__body p:last-child { margin-bottom: 0; }
.indictment__body h2 { color: var(--white); margin-bottom: 20px; }

/* ============================================================
   Three-card section
   ============================================================ */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.card {
  padding: 32px 28px;
  background: var(--pale-teal-tint);
  border-radius: 6px;
  border-top: 3px solid var(--deep-teal);
}

.card h3 {
  font-size: 20px;
  color: var(--deep-teal);
  margin: 0 0 12px;
}

.card p { margin: 0; font-size: 16px; line-height: 1.55; }

.section-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 0;
}

.section-intro h2 { margin-bottom: 16px; }
.section-intro p { color: var(--body-text); font-size: 17px; }

/* ============================================================
   Model — four-layer flow
   ============================================================ */

.model {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.model__step {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 28px 22px;
  position: relative;
}

.model__step--input { border-top: 4px solid var(--deep-teal); }
.model__step--launchpad { border-top: 4px solid var(--mid-teal); }
.model__step--champions { border-top: 4px solid var(--warm-orange); }
.model__step--results { border-top: 4px solid var(--deep-teal); }

.model__step-num {
  font-family: var(--font-mark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid-teal);
  margin-bottom: 10px;
}

.model__step h3 {
  font-size: 20px;
  color: var(--deep-teal);
  margin: 0 0 10px;
}

.model__step p {
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  color: var(--body-text);
}

.model__step-icon {
  font-size: 22px;
  margin-bottom: 8px;
  display: block;
}

/* ============================================================
   Diagnostic block
   ============================================================ */

.diagnostic-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.diagnostic-block h2 { color: var(--white); }
.diagnostic-block p { color: var(--white); margin-bottom: 18px; }

.phases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.phase {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 18px 18px;
  border-radius: 6px;
}

.phase__num {
  font-family: var(--font-mark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--light-teal);
  margin-bottom: 6px;
}

.phase__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 6px;
}

.phase__desc { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.85); margin: 0; }

/* ============================================================
   Founder block
   ============================================================ */

.founder {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: start;
}

.founder__photo {
  width: 320px;
  height: 380px;
  background: linear-gradient(135deg, var(--pale-teal) 0%, var(--pale-teal-tint) 100%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.founder__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder__photo-placeholder {
  text-align: center;
  color: var(--mid-teal);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 24px;
}

.founder__photo-monogram {
  font-family: var(--font-mark);
  font-size: 64px;
  font-weight: 700;
  color: var(--deep-teal);
  opacity: 0.18;
  margin-bottom: 8px;
}

.founder__body h2 { margin-bottom: 12px; }
.founder__role {
  font-family: var(--font-mark);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-teal);
  margin: 0 0 16px;
}

/* ============================================================
   Email capture
   ============================================================ */

.email-capture {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.email-capture h2 { color: var(--white); }
.email-capture p { color: rgba(255,255,255,0.85); margin-bottom: 28px; }

.email-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
}

.email-form input[type="email"] {
  flex: 1;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 16px;
  border: 2px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-radius: 4px;
  outline: none;
  transition: border-color .15s ease;
}

.email-form input[type="email"]::placeholder { color: rgba(255,255,255,0.55); }
.email-form input[type="email"]:focus { border-color: var(--light-teal); }

/* ============================================================
   Diagnostic interest page
   ============================================================ */

.interest-page {
  padding: 72px 0 96px;
  background: var(--white);
}

.interest-page h1 {
  font-size: clamp(34px, 4.4vw, 48px);
  letter-spacing: -0.01em;
  margin: 8px 0 16px;
}

.interest-page__lead {
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.55;
  color: var(--body-text);
  margin: 24px 0 18px;
  text-align: center;
}

.interest-page p {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 18px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--body-text);
}

.interest-page__reassurance {
  background: var(--pale-teal-tint);
  border-left: 3px solid var(--mid-teal);
  padding: 14px 20px;
  margin: 24px auto 36px !important;
  text-align: left !important;
  border-radius: 4px;
  max-width: 720px;
}

.interest-page__next {
  margin: 56px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  max-width: 720px;
}

.interest-page__next h2 {
  font-size: 22px;
  color: var(--deep-teal);
  margin-bottom: 16px;
}

.interest-page__next ol {
  padding-left: 0;
  margin: 0;
  list-style: none;
  counter-reset: step;
}

.interest-page__next li {
  counter-increment: step;
  padding-left: 44px;
  position: relative;
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.6;
}

.interest-page__next li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mark);
  font-size: 14px;
  font-weight: 700;
  color: var(--mid-teal);
  letter-spacing: 0.08em;
}

/* ============================================================
   Interest form
   ============================================================ */

.interest-form {
  display: grid;
  gap: 18px;
  max-width: 600px;
  margin: 36px auto 32px;
  padding: 36px 36px 32px;
  background: var(--pale-teal-tint);
  border-radius: 8px;
  border: 1px solid var(--rule);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-size: 14px;
  font-weight: 600;
  color: var(--deep-teal);
  letter-spacing: 0.01em;
}

.form-row .req {
  color: var(--warm-orange);
  margin-left: 4px;
  font-weight: 700;
}

.form-row__hint {
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
  margin-left: 4px;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row select,
.form-row textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 11px 14px;
  border: 1.5px solid var(--rule);
  border-radius: 4px;
  background: var(--white);
  color: var(--body-text);
  transition: border-color .15s ease, box-shadow .15s ease;
  outline: none;
  width: 100%;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--mid-teal);
  box-shadow: 0 0 0 3px rgba(42,138,154,0.12);
}

.form-row textarea {
  resize: vertical;
  min-height: 96px;
  font-family: var(--font-body);
}

.interest-form button[type="submit"] {
  margin-top: 8px;
  justify-self: start;
  padding: 14px 28px;
  font-size: 16px;
}

.interest-form__privacy {
  text-align: left !important;
  font-size: 13px !important;
  color: var(--muted);
  margin: 0 !important;
  line-height: 1.5;
}

@media (max-width: 560px) {
  .interest-form { padding: 24px 20px 20px; }
  .interest-page { padding: 48px 0 72px; }
  .interest-page__reassurance { margin: 20px 0 28px !important; }
}

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--deep-teal);
  color: var(--white);
  padding: 64px 0 32px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer__col h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 8px; }
.footer__col a { color: rgba(255,255,255,0.75); font-size: 15px; }
.footer__col a:hover { color: var(--white); }

.footer__brand-line {
  font-family: var(--font-mark);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  margin-top: 12px;
  letter-spacing: 0.04em;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 960px) {
  .site-nav { display: none; }
  .indictment__layout,
  .diagnostic-block,
  .founder { grid-template-columns: 1fr; gap: 32px; }
  .indictment__stat { font-size: 100px; }
  .cards { grid-template-columns: 1fr; }
  .model { grid-template-columns: 1fr 1fr; }
  .phases { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .founder__photo { width: 100%; max-width: 360px; }
  :root {
    --section-pad-y: 64px;
    --section-pad-y-sm: 48px;
  }
}

@media (max-width: 560px) {
  .model { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .email-form { flex-direction: column; }
  body { font-size: 16px; }

  /* Animated hero on phones */
  .hero--anim { padding: 56px 0 56px; }
  .anim-mark { height: clamp(90px, 28vw, 120px); margin-bottom: 18px; }
  .carousel__viewport { min-height: 280px; }
  .carousel__controls { gap: 14px; }
  .anim-tagline { display: flex; flex-direction: column; gap: 0; }
  .anim-tagline__right { margin-left: 0; }
}
