/* =============================================================
   Psychic Senses :: sales page
   Design tokens extracted from the live reference page:
   https://series.yolessalawrinnce.com/ultra-intuitive
   Elevation pass: refined within the matched system. No copy,
   font, palette, or layout drift from the reference.
   ============================================================= */

:root {
  /* ---- Color (brand-matched, neutrals subtly tinted toward the
          velvet/magenta hue for cohesion) ---- */
  --bg:            #fdfcff;   /* page background */
  --ink:           #1a1a2e;   /* primary text */
  --muted:         #4a4a6a;   /* secondary body text (AAA on --bg) */
  --tint:          #f6eefe;   /* alternating light section */
  --hairline:      rgba(26, 14, 46, 0.10);

  --accent:        #e040a0;   /* magenta (decorative / large) */
  --accent-ink:    #ac1a79;   /* AA-safe magenta for small labels on light */
  --accent-2:      #9b4fcc;   /* purple */
  --pink:          #f9a8d4;   /* light pink, eyebrows / accents on dark */

  /* On-dark colors */
  --on-dark:       #ffffff;
  --on-dark-86:    rgba(255, 255, 255, 0.86);
  --on-dark-68:    rgba(255, 255, 255, 0.68);
  --on-dark-line:  rgba(255, 255, 255, 0.14);
  --on-dark-card:  rgba(255, 255, 255, 0.045);

  /* Velvet dark background (verbatim from reference) */
  --velvet:
    radial-gradient(at 35% 32%, rgba(155, 48, 120, 0.22) 0%, rgba(0,0,0,0) 55%),
    radial-gradient(at 76% 66%, rgba(110, 38, 156, 0.22) 0%, rgba(0,0,0,0) 60%),
    radial-gradient(rgba(232, 184, 96, 0.05) 0%, rgba(0,0,0,0) 60%),
    linear-gradient(135deg, #0e0421 0%, #170928 22%, #220f3e 44%, #1a0c33 66%, #0e0421 100%);

  /* ---- Type ---- */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Fluid modular type scale (~1.25 ratio, role-based, no one-offs) */
  --fs-eyebrow: 0.75rem;
  --fs-small:   0.9375rem;                          /* 15px */
  --fs-body:    1.0625rem;                           /* 17px (reference) */
  --fs-lead:    clamp(1.15rem, 0.95rem + 0.9vw, 1.4rem);
  --fs-quote:   clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem);
  --fs-h3:      clamp(1.5rem, 1.25rem + 1.1vw, 1.95rem);
  --fs-h2:      clamp(2.2rem, 1.4rem + 3.4vw, 3.75rem);
  --fs-sub:     clamp(1.5rem, 1.05rem + 2vw, 2.25rem);
  --fs-h1:      clamp(3rem, 1.7rem + 5.6vw, 5rem);
  --fs-display: clamp(2.4rem, 1.6rem + 3.4vw, 3.4rem);

  /* ---- Spacing: 4pt scale, semantic ---- */
  --space-2xs: 4px;
  --space-xs:  8px;
  --space-sm:  12px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --section-y: clamp(72px, 5rem + 4vw, 120px);

  --maxw:  1200px;     /* outer container */
  --readw: 66ch;       /* readable text column */

  /* ---- Radii & elevation ---- */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-sm: 0 6px 20px rgba(26, 10, 46, 0.06);
  --shadow-md: 0 18px 50px rgba(26, 10, 46, 0.08);
  --shadow-lg: 0 28px 70px rgba(26, 10, 46, 0.12);

  /* ---- Button ---- */
  --cta-grad: linear-gradient(120deg, #9b4fcc 0%, #e040a0 50%, #9b4fcc 100%);
  --cta-shadow:    0 10px 30px rgba(224,64,160,0.30), 0 2px 8px rgba(155,79,204,0.25);
  --cta-shadow-hi: 0 16px 40px rgba(224,64,160,0.42), 0 3px 10px rgba(155,79,204,0.30);

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);   /* ease-out-quint */
  --dur-fast: 180ms;
  --dur-mid:  320ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.62;
  font-weight: 400;
  font-optical-sizing: auto;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: rgba(224,64,160,0.22); }

/* ---------- Layout ---------- */
.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(22px, 4vw, 40px);
}
.section { padding: var(--section-y) 0; }
.section--tint { background: var(--tint); }
.section--velvet {
  background: var(--velvet);
  color: var(--on-dark);
}
.section--velvet p { line-height: 1.7; }   /* light-on-dark breathes more */
.read {
  max-width: var(--readw);
  margin-inline: auto;
}
.center { text-align: center; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  margin: 0;
  letter-spacing: -0.028em;
  line-height: 1.0;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.035em; line-height: 0.96; }
h2 { font-size: var(--fs-h2); line-height: 0.98; }
h3 { font-size: var(--fs-h3); letter-spacing: -0.022em; line-height: 1.04; }
h4 { font-size: 1.5rem;       letter-spacing: -0.022em; }

p { margin: 0 0 1.1em; text-wrap: pretty; }
.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--muted);
}
.section--velvet .lead { color: var(--on-dark-86); }
.muted { color: var(--muted); }
.section--velvet .muted { color: var(--on-dark-68); }
em { font-style: italic; }

/* numbers align cleanly */
.stat__num, .stack td:last-child, .price, .price-big, .step__num, .phases .ph {
  font-feature-settings: "kern" 1, "tnum" 1, "lnum" 1;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 var(--space-lg);
  display: inline-flex;
  align-items: center;
  gap: 0.85em;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.center .eyebrow { justify-content: center; }
.section--velvet .eyebrow,
.hero .eyebrow { color: var(--pink); }   /* light pink on velvet (reference + AA) */

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  color: #fff;
  text-decoration: none;
  padding: 16px 38px;
  border-radius: var(--radius-pill);
  background: var(--cta-grad);
  background-size: 200% 100%;
  background-position: 0 0;
  box-shadow: var(--cta-shadow);
  border: none;
  cursor: pointer;
  will-change: transform;
  transition: background-position var(--dur-mid) var(--ease-out),
              transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out);
}
.btn:hover {
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: var(--cta-shadow-hi);
}
.btn:active { transform: translateY(0); }
.btn:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

/* Quiet secondary button: outline only, visually subordinate to .btn.
   Used for soft, "when you're ready" invitations (e.g. certification seed). */
.btn--ghost {
  background: none;
  background-color: transparent;
  color: var(--accent-ink);
  box-shadow: none;
  border: 1px solid rgba(172, 26, 121, 0.40);
  padding: 14px 32px;
  transition: color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              background-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.btn--ghost:hover {
  background-color: rgba(224, 64, 160, 0.06);
  border-color: rgba(172, 26, 121, 0.70);
  box-shadow: none;
  transform: translateY(-1px);
}
.section--velvet .btn--ghost {
  color: var(--pink);
  border-color: rgba(249, 168, 212, 0.40);
}
.section--velvet .btn--ghost:hover {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(249, 168, 212, 0.70);
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  padding: 26px 0;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.005em;
  color: var(--on-dark);
  text-decoration: none;
}
.site-header__tag {
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-68);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--velvet);
  color: var(--on-dark);
  padding: clamp(128px, 11vw, 176px) 0 clamp(72px, 7vw, 100px);
  text-align: center;
  overflow: hidden;
}
.hero::after { /* soft portal glow */
  content: "";
  position: absolute;
  top: 6%;
  left: 50%;
  width: min(640px, 84vw);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(224,64,160,0.20) 0%, rgba(155,79,204,0.10) 38%, rgba(0,0,0,0) 70%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 1rem + 4.6vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--on-dark);
  max-width: 15em;                 /* tuned so it falls to 3 lines on desktop */
  margin: 0 auto var(--space-xl);
  text-wrap: balance;
}
/* Retreat-close hero: larger, falls to three clean lines on desktop. */
.hero__title--xl {
  font-size: clamp(2.6rem, 1.2rem + 5.8vw, 4.6rem);
  max-width: 16ch;
}
.hero__title--xl .hbr { display: none; }          /* natural wrap on small screens */
@media (min-width: 992px) {
  .hero__title--xl { max-width: none; }
  .hero__title--xl .hbr { display: inline; }      /* force the 3-line break on desktop */
}
.hero__lead {
  color: var(--on-dark-86);
  font-size: var(--fs-lead);
  line-height: 1.62;
  max-width: 58ch;
  margin: 0 auto var(--space-xl);
}
.hero__meta {
  color: var(--on-dark-68);
  font-size: var(--fs-small);
  letter-spacing: 0.03em;
  margin-bottom: var(--space-xs);
}
.hero__price {
  color: var(--on-dark);
  font-weight: 500;
  margin-bottom: var(--space-xl);
}
.hero__price strong { color: var(--pink); font-weight: 600; }

/* ---------- Stats ---------- */
.stats {
  display: flex;
  justify-content: center;
  gap: clamp(2rem, 6vw, 5rem);
  margin-top: var(--space-2xl);
}
.stats > div { position: relative; }
.stats > div + div::before { /* hairline separators */
  content: "";
  position: absolute;
  left: calc(-1 * clamp(1rem, 3vw, 2.5rem));
  top: 50%;
  height: 38px;
  width: 1px;
  transform: translateY(-50%);
  background: var(--on-dark-line);
}
.stat__num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2rem, 1.4rem + 1.6vw, 2.5rem);
  line-height: 1;
  color: var(--on-dark);
}
.stat__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-68);
  margin-top: var(--space-xs);
}

/* ---------- Section heads ---------- */
.section__head { margin-bottom: var(--space-2xl); }
.section__head h2 + p,
.section__head h2 + .lead { margin-top: var(--space-lg); margin-bottom: 0; }

/* Story / prose blocks */
.prose p { margin-bottom: 1.25em; }
.prose p:last-child { margin-bottom: 0; }
.prose .signoff {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--accent-ink);
  margin-top: var(--space-lg);
}
.section--velvet .prose .signoff { color: var(--pink); }

.subhead { margin: var(--space-2xl) 0 var(--space-md); }

/* ---------- Pull-quote ---------- */
.pull {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: var(--fs-quote);
  line-height: 1.3;
  letter-spacing: -0.008em;
  color: var(--ink);
  text-align: center;
  max-width: 40ch;
  margin: var(--space-2xl) auto;
  padding: 0 var(--space-lg);
  position: relative;
  border: none;
  text-wrap: balance;
}
.pull::before {
  content: "\201C";
  display: block;
  font-size: 3.4rem;
  line-height: 0.2;
  margin-top: 0.45em;
  margin-bottom: 0.32em;
  color: var(--accent);
  opacity: 0.5;
}
.pull cite {
  display: block;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: var(--space-lg);
}
.section--velvet .pull { color: var(--on-dark); }
.section--velvet .pull::before { color: var(--pink); }
.section--velvet .pull cite { color: var(--on-dark-68); }

/* ---------- Case study card ---------- */
.case {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow-md);
  text-align: left;
  margin: var(--space-lg) 0;
  transition: transform var(--dur-mid) var(--ease-out),
              box-shadow var(--dur-mid) var(--ease-out);
}
.case:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.case__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: var(--space-md);
}
.case p:last-of-type { margin-bottom: 0; }
.case .pull {
  margin: var(--space-lg) 0 var(--space-lg);
  text-align: left;
  font-size: 1.25rem;
  max-width: none;
  padding: var(--space-lg) 0 0;
  border-top: 1px solid var(--hairline);
}
.case .pull::before { display: none; }

/* ---------- Five-step path ---------- */
.steps {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}
.step {
  position: relative;
  background: var(--on-dark-card);
  border: 1px solid var(--on-dark-line);
  border-radius: var(--radius-md);
  padding: clamp(26px, 3.5vw, 38px);
  text-align: left;
  transition: transform var(--dur-mid) var(--ease-out),
              border-color var(--dur-mid) var(--ease-out),
              background var(--dur-mid) var(--ease-out);
}
.step:hover {
  transform: translateY(-3px);
  border-color: rgba(249,168,212,0.35);
  background: rgba(255,255,255,0.06);
}
.step__num {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 1.6rem + 1.6vw, 2.8rem);
  font-weight: 300;
  line-height: 1;
  color: var(--pink);
  margin-bottom: var(--space-md);
}
/* Featured step (e.g. "start here"): accent edge, subtly raised. */
.step--primary {
  border-color: rgba(224, 64, 160, 0.45);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 1px rgba(224, 64, 160, 0.25) inset, var(--shadow-md);
}
.step--primary .step__tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: var(--space-sm);
}
.step h3 { color: var(--on-dark); margin-bottom: var(--space-sm); }
.step p { color: var(--on-dark-86); margin-bottom: 0.9em; }
.step .shift { color: var(--on-dark); font-weight: 500; margin-bottom: 0; }
.step .shift::before {
  content: "The shift";
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: var(--space-2xs);
}

/* ---------- Three truths ---------- */
.truth { margin-top: var(--space-3xl); }
.truth:first-of-type { margin-top: var(--space-2xl); }
.truth__claim {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.35;
  color: var(--muted);
  margin: var(--space-lg) 0;
  padding-left: var(--space-lg);
  position: relative;
  text-wrap: pretty;
}
.truth__claim::before {
  content: "\201C";
  position: absolute;
  left: -0.05em;
  top: 0.12em;
  font-size: 2rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.55;
}

/* ---------- Value stack ---------- */
.stack {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-xl);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--on-dark-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.stack th, .stack td {
  text-align: left;
  padding: 16px clamp(16px, 2.4vw, 26px);
  border-bottom: 1px solid var(--on-dark-line);
  font-size: 1rem;
}
.stack thead th {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-68);
}
.stack tbody td { color: var(--on-dark-86); }
.stack td:last-child, .stack th:last-child {
  text-align: right;
  white-space: nowrap;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--on-dark);
}
.stack tbody tr { transition: background var(--dur-fast) var(--ease-out); }
.stack tbody tr:hover { background: rgba(255,255,255,0.04); }
.stack tr:last-child td { border-bottom: none; }
.stack .total td {
  background: rgba(224,64,160,0.12);
  font-weight: 600;
  color: var(--on-dark);
  font-size: 1.05rem;
}
.stack .total td:last-child { color: var(--pink); font-weight: 600; }

.receive-detail { margin-top: var(--space-2xl); text-align: left; }
.receive-detail .item { margin-bottom: var(--space-lg); }
.receive-detail .item:last-child { margin-bottom: 0; }
.receive-detail h4 { color: var(--on-dark); margin-bottom: var(--space-2xs); }
.receive-detail .price {
  color: var(--pink);
  font-weight: 600;
  font-family: var(--sans);
  font-size: 0.95rem;
  margin-bottom: var(--space-xs);
}
.receive-detail p { color: var(--on-dark-86); margin-bottom: 0; }

.invest-box {
  text-align: center;
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid var(--on-dark-line);
}
.invest-box .price-big {
  font-family: var(--serif);
  font-size: var(--fs-display);
  font-weight: 300;
  color: var(--on-dark);
  margin: 0 0 var(--space-xs);
}
.invest-box .cta-row { margin-top: var(--space-xl); }

/* ---------- Phase ladder ---------- */
.phases {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-xl);
  text-align: left;
}
.phases td {
  padding: 20px clamp(16px, 2.4vw, 26px);
  border-bottom: 1px solid var(--on-dark-line);
  vertical-align: baseline;
}
.phases tr:last-child td { border-bottom: none; }
.phases tr { transition: background var(--dur-fast) var(--ease-out); }
.phases tr:hover { background: rgba(255,255,255,0.04); }
.phases .ph {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--pink);
  white-space: nowrap;
  width: 1%;
  padding-right: var(--space-xl);
}
.phases .ph-name { color: var(--on-dark); font-weight: 600; }
.phases .ph-desc { color: var(--on-dark-86); }

/* ---------- Objections / FAQ ---------- */
.objections {
  list-style: none;
  padding: 0;
  margin: var(--space-xl) auto 0;
  max-width: var(--readw);
  text-align: left;
}
.objections li {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--ink);
  padding: 20px 0;
  border-bottom: 1px solid var(--hairline);
}
.objections li:last-child { border-bottom: none; }
.objections li::before { content: "\201C"; color: var(--accent); }
.objections li::after  { content: "\201D"; color: var(--accent); }

/* ---------- Guarantee ---------- */
.guarantee-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-md);
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}
.guarantee-card .pull { margin-bottom: 0; }
.guarantee-card p:first-child { margin-top: 0; }

/* ---------- Decision paths ---------- */
.paths {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr 1fr;
  margin-top: var(--space-2xl);
  text-align: left;
}
.path {
  border-radius: var(--radius-md);
  padding: clamp(26px, 3vw, 34px);
  border: 1px solid var(--on-dark-line);
  background: var(--on-dark-card);
}
.path h4 { color: var(--on-dark); margin-bottom: var(--space-sm); }
.path p { color: var(--on-dark-86); margin: 0; line-height: 1.7; }
.path--two {
  border-color: rgba(224,64,160,0.45);
  box-shadow: 0 0 0 1px rgba(224,64,160,0.25) inset, var(--shadow-md);
}

/* ---------- Final CTA tail ---------- */
.cta-tail { margin-top: var(--space-2xl); }
.cta-tail .closing {
  font-family: var(--serif);
  font-size: var(--fs-quote);
  font-weight: 300;
  line-height: 1.25;
  color: var(--on-dark);
  max-width: 30ch;
  margin: var(--space-xl) auto var(--space-xs);
  text-wrap: balance;
}
.cta-tail .terms { color: var(--on-dark-68); font-size: var(--fs-small); margin: 0; }

/* ---------- Fine print (disclaimers under CTAs) ---------- */
.fineprint {
  font-size: var(--fs-small);
  color: var(--muted);
  max-width: 52ch;
  margin-inline: auto;
}
.section--velvet .fineprint,
.hero .fineprint { color: var(--on-dark-68); }
.cta-tail .fineprint { margin-top: var(--space-md); }
.invest-box .fineprint { margin-top: var(--space-sm); }

/* ---------- Certification seed (quiet, subordinate invitation) ---------- */
.seed {
  text-align: center;
  max-width: 60ch;
}
.seed .eyebrow { justify-content: center; }
.seed h3 { margin-bottom: var(--space-lg); }
.seed p { color: var(--muted); }
.seed__cta { margin: var(--space-xl) 0 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0b0418;
  color: var(--on-dark-68);
  text-align: center;
  padding: var(--space-2xl) 0;
  font-size: var(--fs-small);
}
.site-footer .footer-note {
  max-width: 60ch;
  margin: 0 auto var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--on-dark-line);
  color: var(--on-dark-68);
  line-height: 1.7;
  text-align: center;
}
.site-footer p { margin: 0; }
.site-footer a {
  display: inline-block;
  color: var(--on-dark-86);
  text-decoration: none;
  text-underline-offset: 3px;
  text-decoration-color: transparent;
  margin: 0 4px;
  padding: 10px 6px;          /* generous tap area */
  transition: color var(--dur-fast) var(--ease-out),
              text-decoration-color var(--dur-fast) var(--ease-out);
}
.site-footer a:hover {
  color: var(--pink);
  text-decoration: underline;
  text-decoration-color: rgba(249,168,212,0.6);
}
.site-footer .legal { margin-top: var(--space-xs); }

/* ---------- Accessibility helpers ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 16px; top: 16px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* =============================================================
   Scroll reveal (progressive enhancement, opt-in via JS)
   Content is fully visible without JS or with reduced motion.
   ============================================================= */
@media (prefers-reduced-motion: no-preference) {
  html.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  }
  html.reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 860px) {
  .paths { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  :root { --fs-body: 1rem; }
  .site-header__tag { display: none; }
  .stats { gap: 1.4rem; flex-wrap: wrap; row-gap: var(--space-lg); }
  .stats > div + div::before { display: none; }
  .stack th, .stack td { padding: 13px 16px; font-size: 0.95rem; }
  .stack td:last-child, .stack th:last-child { font-size: 1.05rem; }
  .phases .ph { white-space: normal; padding-right: var(--space-md); }
  .objections li { font-size: 1.25rem; }
  .truth__claim { font-size: 1.25rem; }
}
@media (min-width: 1500px) {
  :root { --maxw: 1240px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =============================================================
   Application modal (certification page)
   Shares the site's tokens; light premium surface, velvet accents.
   ============================================================= */
.app-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 32px);
  background: rgba(8, 4, 24, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity var(--dur-mid) var(--ease-out);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.app-overlay[hidden] { display: none; }
.app-overlay.is-open { opacity: 1; }

.app-modal {
  position: relative;
  width: min(580px, 100%);
  margin: auto;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - clamp(24px, 6vw, 64px));
  overflow: hidden;
  transform: translateY(14px) scale(0.985);
  transition: transform var(--dur-mid) var(--ease-out);
}
.app-overlay.is-open .app-modal { transform: none; }

/* a thin brand bar along the very top of the card */
.app-modal::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--cta-grad);
}

.app-modal__head {
  padding: clamp(24px, 4vw, 36px) clamp(22px, 4vw, 38px) var(--space-md);
}
.app-modal__eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 var(--space-xs);
}
.app-modal__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin: 0;
}
.app-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: none;
  background: transparent;
  color: var(--muted);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.app-modal__close:hover { background: var(--tint); color: var(--ink); }

/* progress */
.app-progress { margin-top: var(--space-lg); }
.app-progress__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 var(--space-xs);
}
.app-progress__track {
  display: flex;
  gap: 6px;
}
.app-progress__seg {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--hairline);
  transition: background var(--dur-mid) var(--ease-out);
}
.app-progress__seg.is-done { background: var(--accent); }

.app-modal__body {
  padding: var(--space-md) clamp(22px, 4vw, 38px) var(--space-lg);
  overflow-y: auto;
}

/* steps */
.app-step { display: none; }
.app-step.is-active { display: block; animation: appFade var(--dur-mid) var(--ease-out); }
@keyframes appFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.app-step__intro { color: var(--muted); font-size: var(--fs-small); margin: 0 0 var(--space-lg); }

/* fields */
.field { margin-bottom: var(--space-lg); }
.field:last-child { margin-bottom: 0; }
.field__label {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: var(--space-xs);
  line-height: 1.4;
}
.field__req { color: var(--accent-ink); }
.field__help { font-size: var(--fs-small); color: var(--muted); margin: 0 0 var(--space-xs); }
.input {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
textarea.input { min-height: 96px; resize: vertical; line-height: 1.5; }
.input::placeholder { color: #9a93ad; }
.input:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(224, 64, 160, 0.18);
}

/* single-select choices (radio rows) */
.choices { display: grid; gap: 8px; }
.choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  font-size: 0.98rem;
  line-height: 1.35;
  transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);
}
.choice:hover { border-color: rgba(224, 64, 160, 0.45); background: var(--tint); }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice__dot {
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--hairline);
  display: grid;
  place-items: center;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.choice__dot::after {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition: transform var(--dur-fast) var(--ease-out);
}
.choice input:checked + .choice__dot { border-color: var(--accent); }
.choice input:checked + .choice__dot::after { transform: scale(1); }
.choice:has(input:checked) {
  border-color: var(--accent);
  background: rgba(224, 64, 160, 0.06);
}
.choice input:focus-visible + .choice__dot {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* validation */
.field--error .input { border-color: #c0392b; }
.field--error .choices { outline: 1px solid rgba(192, 57, 43, 0.5); outline-offset: 6px; border-radius: var(--radius-sm); }
.field__error {
  display: none;
  color: #c0392b;
  font-size: var(--fs-small);
  margin-top: 6px;
}
.field--error .field__error { display: block; }

/* footer nav */
.app-modal__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) clamp(22px, 4vw, 38px);
  border-top: 1px solid var(--hairline);
  background: var(--bg);
}
.app-back {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 6px;
  border-radius: var(--radius-pill);
  transition: color var(--dur-fast) var(--ease-out);
}
.app-back:hover { color: var(--ink); }
.app-back[hidden] { visibility: hidden; }
.app-modal__nav .btn { padding: 13px 30px; }
/* .btn sets display:inline-block, which defeats the native [hidden]; restore it */
.app-modal__nav .btn[hidden] { display: none; }
.app-formerror {
  display: none;
  color: #c0392b;
  font-size: var(--fs-small);
  padding: 0 clamp(22px, 4vw, 38px) var(--space-md);
}
.app-formerror.is-shown { display: block; }
.app-formerror a { color: var(--accent-ink); }

/* success state */
.app-success { display: none; padding: clamp(32px, 6vw, 56px) clamp(22px, 4vw, 38px); text-align: center; }
/* focused programmatically for screen readers (role=status); no visible outline needed */
.app-success:focus, .app-success:focus-visible { outline: none; }
.app-success.is-shown { display: block; animation: appFade var(--dur-mid) var(--ease-out); }
.app-success__mark {
  width: 64px; height: 64px;
  margin: 0 auto var(--space-lg);
  border-radius: 50%;
  background: var(--cta-grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.9rem;
  box-shadow: var(--cta-shadow);
}
.app-success h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem);
  margin: 0 0 var(--space-md);
}
.app-success p { color: var(--muted); margin: 0 auto; max-width: 40ch; }

body.app-open { overflow: hidden; }

@media (max-width: 560px) {
  .app-overlay { padding: 0; align-items: stretch; }
  .app-modal {
    width: 100%;
    max-height: 100%;
    min-height: 100%;
    border-radius: 0;
    border: none;
  }
}
