/* ============================================================
   Everlight, Cold Traffic Funnel LP (v2)
   Dark-mode brand system.
   Headings: Cabinet Grotesk 700/800 (Fontshare)
   Body/UI:  Inter 400/500/600 (Google Fonts)
   Micro:    Fragment Mono 400 (Google Fonts), uppercase, letterspaced
   ============================================================ */

/* ---------- Tokens ---------- */

:root {
  --bg: #18181B;
  --surface: #202024;
  --surface-muted: #28282D;
  --charcoal: #D4D4D8;
  --ink: #F4F4F5;
  --text: #F4F4F5;
  --muted: #A1A1AA;
  --border: #313136;
  --accent: #00BFFF;
  --accent-tint: #0E2B33;
  --accent-text: #5AD1FF;      /* small accent text on dark, AA */
  --accent-text-tint: #8FE6FF; /* small accent text on --accent-tint, AA */
  --accent-heading: #3DCBFF;   /* large heading phrases on dark bg */
  --dark-bg: #0B0B0D;
  --dark-surface: #1C1C20;
  --dark-border: #2A2A2E;
  --dark-text: #F4F4F5;
  --dark-muted: #A1A1AA;
  --dark-faint: #7B7B84;
  --dark-glow-bg:
    radial-gradient(120% 140% at 50% 0%, rgba(0, 191, 255, 0.18), rgba(0, 191, 255, 0) 55%),
    linear-gradient(160deg, #1A1A1E 0%, #0D0D0F 60%, #050506 100%);

  --font-display: "Cabinet Grotesk", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Fragment Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --radius-card: 12px;
  --radius-btn: 8px;
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.24), 0 8px 28px rgba(0, 0, 0, 0.3);
  --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.28), 0 16px 44px rgba(0, 0, 0, 0.4);
  --accent-border-light: #8FDFFF;

  --section-pad: clamp(3.5rem, 6vw, 5.5rem);
  --container: 1160px;
}

/* ---------- Reset ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.125rem; /* 18px */
  font-weight: 400;
  line-height: 1.65;
  overflow-x: clip;
}

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

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

/* ---------- Focus + skip link ---------- */

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

.final :focus-visible,
.final *:focus-visible {
  outline-color: var(--accent);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.85rem 1.25rem;
  background: var(--charcoal);
  color: var(--bg);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--radius-btn);
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Layout primitives ---------- */

.container {
  width: min(100% - clamp(2rem, 6vw, 3rem), var(--container));
  margin-inline: auto;
}

.container-narrow {
  max-width: 880px;
}

.section {
  padding-block: var(--section-pad);
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(3.5rem, 6vw, 5.5rem);
  margin-inline: auto;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

.section-body {
  max-width: 62ch;
  margin-top: 1.5rem;
  margin-inline: auto;
  font-size: 1.125rem;
  color: var(--muted);
}

.accent {
  color: var(--accent-heading);
}

.accent-dark {
  color: var(--accent);
}

/* ---------- Micro-labels (Fragment Mono) ---------- */

.eyebrow {
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-text);
}

.eyebrow-dark {
  color: var(--accent);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.75rem;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--charcoal);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--ink);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--charcoal);
  background: var(--surface);
}

.btn-accent {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 0 rgba(0, 191, 255, 0);
}

.btn-accent:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(0, 191, 255, 0.35);
}

.btn-nav {
  min-height: 44px;
  padding: 0.6rem 1.25rem;
}

/* ---------- Nav pill ---------- */

.site-header {
  position: fixed;
  top: 1rem;
  left: 0;
  right: 0;
  z-index: 50;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, 1040px);
  margin-inline: auto;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  background: rgba(24, 24, 27, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 44px;
  border-radius: 999px;
  text-decoration: none;
}

.logo-mark {
  width: 22px;
  height: 22px;
  flex: none;
}

.logo-mark path {
  fill: var(--accent);
  filter: drop-shadow(0 0 6px rgba(0, 191, 255, 0.4));
}

.logo-primary {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--surface-muted);
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: clamp(8rem, 16vw, 11rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  overflow: clip;
}

.hero-glow {
  position: absolute;
  top: -22rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(72rem, 120vw);
  height: 44rem;
  background: radial-gradient(closest-side, rgba(0, 191, 255, 0.14), rgba(0, 191, 255, 0));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-title {
  max-width: 32ch;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

.hero-lead {
  max-width: 60ch;
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  line-height: 1.35;
  color: var(--muted);
  text-wrap: balance;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* ---------- VSL placeholder ---------- */

.vsl-frame {
  width: min(100%, 880px);
  margin-top: clamp(3.5rem, 6vw, 5rem);
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lift);
}

.vsl-poster {
  position: relative;
  aspect-ratio: 1.9104477611940298;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--dark-glow-bg);
  overflow: hidden;
}

.vsl-poster wistia-player {
  width: 100%;
  height: 100%;
  display: block;
}

.vsl-star {
  width: clamp(64px, 10vw, 96px);
  height: auto;
  opacity: 0.9;
}

.vsl-star path {
  fill: var(--accent);
  filter: drop-shadow(0 0 24px rgba(0, 191, 255, 0.55));
}

.vsl-caption {
  margin-top: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* ---------- Cards (shared) ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

/* ---------- Problem grid ---------- */

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.problem-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
}

.problem-card-wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}

.problem-wide-copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1 1 auto;
  min-width: 0;
}

.problem-wide-stats {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3rem);
  flex: none;
  padding-left: clamp(1.5rem, 3vw, 3rem);
  border-left: 1px solid var(--border);
}

.card-index {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.card-body {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 62ch;
}

.card-chip-row {
  margin-top: auto;
  padding-top: 1.25rem;
}

.card-stat {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

.problem-wide-stats .card-stat {
  margin-top: 0;
  padding-top: 0;
}

.stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--ink);
  white-space: nowrap;
}

.stat-arrow {
  color: var(--accent-heading);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

@media (max-width: 860px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .problem-card-wide {
    flex-direction: column;
    align-items: stretch;
  }

  .problem-wide-stats {
    padding-left: 0;
    padding-top: 1.5rem;
    border-left: none;
    border-top: 1px solid var(--border);
  }
}

/* ---------- Bridge fold: closing statement (nested in problem section) ---------- */

.bridge-fold {
  max-width: 720px;
  margin: clamp(3.5rem, 6vw, 5rem) auto 0;
}

.section-body-center {
  margin-inline: auto;
  text-align: center;
}

/* ---------- System: icon diagram ---------- */

.diagram {
  --diagram-gap: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: var(--diagram-gap);
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.diagram-node {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.diagram-icon {
  position: relative;
  z-index: 1;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  color: var(--muted);
  box-shadow: var(--shadow-soft);
}

.diagram-icon svg {
  width: 24px;
  height: 24px;
}

.diagram-icon::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(var(--diagram-gap) + 28px);
  background: var(--border);
}

.diagram-node:last-child .diagram-icon::after {
  display: none;
}

.diagram-icon-accent {
  border-color: var(--accent);
  color: var(--accent-text);
  box-shadow: 0 0 0 4px rgba(0, 191, 255, 0.08), var(--shadow-soft);
}

.diagram-content {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 0.6rem;
}

.diagram-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

.flow-tag {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--accent-tint);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-text-tint);
  white-space: nowrap;
}

.diagram-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.diagram-sub {
  margin-top: 0.35rem;
  font-size: 1rem;
  color: var(--muted);
}

.flow-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.flow-chip-list li {
  padding: 0.5rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--charcoal);
}

.gate-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.gate-chips li {
  padding: 0.4rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--charcoal);
}

/* ---------- Included: what's included card grid ---------- */

.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.included-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.5rem, 2.5vw, 2rem);
}

@media (max-width: 860px) {
  .included-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Differentiation + gate card ---------- */

.diff-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

.gate-panel {
  flex: none;
  width: min(280px, 100%);
  padding-left: clamp(1.5rem, 3vw, 3rem);
  border-left: 1px solid var(--accent);
}

.gate-list {
  display: flex;
  flex-direction: column;
}

.gate-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--charcoal);
}

.gate-list li + li {
  border-top: 1px solid var(--border);
}

.gate-check {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-text);
}

.gate-check svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 860px) {
  .diff-layout {
    grid-template-columns: 1fr;
  }

  .gate-panel {
    width: 100%;
    padding-left: 0;
    padding-top: 1.5rem;
    border-left: none;
    border-top: 1px solid var(--accent);
  }
}

.included-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 560px;
  margin: clamp(1.5rem, 2.5vw, 2rem) auto 0;
  text-align: center;
}

/* ---------- Founder story ---------- */

.founder-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.founder-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.founder-photo-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.founder-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-card);
  background: var(--dark-glow-bg);
  overflow: hidden;
}

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

.founder-photo-name {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.founder-name {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

@media (max-width: 760px) {
  .founder-layout {
    grid-template-columns: 1fr;
  }

  .founder-photos {
    max-width: 320px;
    margin-inline: auto;
  }
}

/* ---------- FAQ ---------- */

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 0.25rem;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

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

.faq-item summary:hover .faq-q {
  color: var(--accent-text);
}

.faq-q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--ink);
  transition: color 0.2s ease;
}

.faq-icon {
  flex: none;
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--charcoal);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.faq-icon::before {
  width: 12px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.faq-item[open] .faq-icon {
  background: var(--accent-tint);
  border-color: var(--accent-border-light);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.faq-answer {
  padding: 0 0.25rem 1.9rem;
}

.faq-answer p {
  max-width: 62ch;
  font-size: 1.125rem;
  color: var(--muted);
}

/* ---------- Final CTA (dark band) ---------- */

.final {
  position: relative;
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(0, 191, 255, 0.12), rgba(0, 191, 255, 0) 60%),
    var(--dark-bg);
  color: var(--dark-text);
  overflow: clip;
}

.final-star {
  position: absolute;
  right: -6rem;
  bottom: -6rem;
  width: clamp(18rem, 30vw, 26rem);
  height: auto;
  opacity: 0.05;
  pointer-events: none;
}

.final-star path {
  fill: var(--accent);
}

.final-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.final-title {
  color: var(--dark-text);
  max-width: 20ch;
}

.calendly-frame {
  width: min(100%, 800px);
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding: 10px;
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  border-radius: 16px;
}

.calendly-inline-widget {
  width: 100%;
  min-width: 280px;
  height: 700px;
  border-radius: 10px;
  overflow: hidden;
}

.calendly-inline-widget iframe {
  width: 100% !important;
}

.final-cta {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

.final-cta .btn-accent {
  min-height: 56px;
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: clamp(3.5rem, 6vw, 5rem) 0 2.5rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.footer-logo {
  min-height: 0;
}

.footer-logo .logo-mark {
  width: 26px;
  height: 26px;
}

.footer-logo .logo-primary {
  font-size: 1.1875rem;
}

.footer-note {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  color: var(--accent-text);
  text-decoration: none;
}

.footer-email:hover {
  text-decoration: underline;
}

.footer-legal {
  padding-top: 2rem;
  font-size: 1rem;
  color: var(--muted);
}

/* ---------- Motion: hero load stagger + scroll reveals ----------
   All initial hidden states are gated behind the .js class (added by
   main.js), so content is fully visible when JS is disabled. */

.js .fade-up {
  opacity: 0;
  animation: fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--d, 0) * 110ms);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--d, 0) * 90ms);
}

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

/* ---------- Reduced motion: everything static ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .fade-up {
    animation: none;
    opacity: 1;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .skip-link,
  .btn,
  .faq-item summary,
  .faq-q,
  .faq-icon,
  .faq-icon::before,
  .faq-icon::after,
  .nav-links a,
  .footer-nav a {
    transition: none;
  }

  .btn-primary:hover,
  .btn-accent:hover {
    transform: none;
  }
}

/* ---------- Small screens: keep body readable, no overflow ---------- */

@media (max-width: 480px) {
  body {
    font-size: 1.0625rem; /* 17px, never below 16px */
  }

  .hero-ctas {
    width: 100%;
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .nav-pill {
    padding-left: 1rem;
  }

  .stat-duo {
    flex-direction: column;
  }

  .stat-value {
    white-space: normal;
  }
}
