/* ============================================================
   ASCENT — the luminous climb
   Athema landing variant. One continuous dawn, L0 → L5.
   ============================================================ */

/* ---------- fonts (self-hosted, OFL) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("fonts/Fraunces-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/Fraunces-var-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/HankenGrotesk-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/HankenGrotesk-var-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Spline Sans Mono";
  src: url("fonts/SplineSansMono-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  /* dawn family */
  --void: #04050e;
  --indigo: #0b0e28;
  --dusk: #241f4e;
  --mauve: #5d3d63;
  --ember-deep: #b84a2f;
  --ember: #e0704b;
  --rose: #e8927c;
  --amber: #f2a65a;
  --gold: #f7c97e;
  --cream: #fdf4e3;
  --warmwhite: #fffdf7;
  --sage: #a8c98a;
  --sage-deep: #5f7a4a;

  /* text */
  --ink-l: #efeaf7;            /* light ink (on dark sky) */
  --ink-l-soft: #cfc8e6;
  --ink-l-mut: #9d95c0;
  --ink-d: #38253f;            /* dark ink (on morning sky) */
  --ink-d-soft: #5d4a62;
  --ink-d-mut: #86738b;

  --f-display: "Fraunces", Georgia, serif;
  --f-ui: "Hanken Grotesk", -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Spline Sans Mono", "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(0.22, 0.9, 0.24, 1);
  --ease-soft: cubic-bezier(0.32, 0.72, 0, 1);

  --maxw: 1120px;
  --gutter: clamp(20px, 4vw, 44px);
}

/* ---------- reset-ish ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { width: 100%; }
body {
  font-family: var(--f-ui);
  font-optical-sizing: auto;
  background: var(--void);
  color: var(--ink-l);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: inherit; }
button { font: inherit; cursor: pointer; }
img, svg, canvas { display: block; max-width: 100%; }
::selection { background: rgba(224, 112, 75, 0.55); color: #fff; }
html[data-theme="light"] ::selection { background: rgba(224, 112, 75, 0.35); color: var(--ink-d); }

/* ============================================================
   THE SKY — fixed layered dawn, driven by scroll (assets/main.js)
   ============================================================ */
.sky { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: var(--void); }
.sky__l {
  position: absolute; inset: -2px;
  background-size: cover;
  background-position: 50% 72%;
  opacity: 0;
  will-change: opacity;
}
.sky__base {
  opacity: 1;
  background-image: linear-gradient(180deg, #04050e 0%, #0b0e28 46%, #241f4e 79%, #3a2a52 100%);
}
.sky__predawn { background-image: url("img/sky-predawn.jpg"); opacity: 1; }
.sky__dawn    { background-image: url("img/sky-dawn.jpg"); }
.sky__morning { background-image: url("img/sky-morning.jpg"); }
.sky__wash {
  background-image: linear-gradient(180deg, rgba(255, 250, 240, 0.5) 0%, rgba(255, 252, 246, 0.9) 68%, #fffdf7 100%);
}
.sky__sun {
  position: absolute;
  left: 50%; top: 0;
  width: 92vmin; height: 92vmin;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 222, 166, 0.95) 0%,
    rgba(247, 201, 126, 0.6) 26%,
    rgba(242, 166, 90, 0.3) 48%,
    rgba(224, 112, 75, 0.14) 62%,
    transparent 72%);
  mix-blend-mode: screen;
  transform: translate3d(-50%, 120vh, 0) scale(0.55);
  opacity: 0;
  will-change: transform, opacity;
  pointer-events: none;
}
.sky__stars { position: absolute; inset: 0; opacity: 1; will-change: opacity; }
.sky__stars canvas { width: 100%; height: 100%; }

/* film grain — fixed, constant, above sky below content */
.grain {
  position: fixed; inset: 0; z-index: 60;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}

/* ============================================================
   NAV — floating pill
   ============================================================ */
.nav {
  position: fixed;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  display: flex; align-items: center; gap: 26px;
  padding: 10px 12px 10px 20px;
  border-radius: 999px;
  background: rgba(10, 10, 30, 0.42);
  border: 1px solid rgba(239, 234, 247, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px -22px rgba(2, 2, 12, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: background 0.7s var(--ease), border-color 0.7s var(--ease), box-shadow 0.7s var(--ease);
  white-space: nowrap;
}
html[data-theme="light"] .nav {
  background: rgba(255, 251, 243, 0.62);
  border-color: rgba(90, 60, 50, 0.14);
  box-shadow: 0 18px 50px -26px rgba(120, 70, 40, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__brand svg { width: 19px; height: 22px; }
.nav__word {
  font-family: var(--f-display);
  font-weight: 460;
  font-size: 15px;
  letter-spacing: 0.24em;
  color: var(--ink-l);
  transition: color 0.7s var(--ease);
  transform: translateY(-0.5px);
}
html[data-theme="light"] .nav__word { color: var(--ink-d); }
.nav__links { display: flex; gap: 20px; align-items: center; }
.nav__links a {
  font-size: 13.5px; font-weight: 500;
  text-decoration: none;
  color: var(--ink-l-soft);
  transition: color 0.4s var(--ease);
}
.nav__links a:hover { color: #fff; }
html[data-theme="light"] .nav__links a { color: var(--ink-d-soft); }
html[data-theme="light"] .nav__links a:hover { color: var(--ink-d); }
.nav__cta {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 650;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(120deg, var(--ember-deep), var(--ember) 55%, var(--amber));
  padding: 9px 7px 9px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 26px -12px rgba(224, 112, 75, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.5s var(--ease-soft), box-shadow 0.5s var(--ease-soft);
}
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 14px 32px -12px rgba(224, 112, 75, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.nav__cta:active { transform: scale(0.98); }
.nav__cta .bib {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px;
  transition: transform 0.5s var(--ease-soft);
}
.nav__cta:hover .bib { transform: translateX(2px); }

/* mobile top progress (rail replacement) */
.mprog {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 95;
  background: rgba(255, 255, 255, 0.06);
  display: none;
}
.mprog__fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--ember-deep), var(--ember), var(--amber), var(--gold));
  will-change: width;
}

/* ============================================================
   THE RAIL — the ladder itself (fixed, left; bead RISES as you scroll)
   ============================================================ */
.rail {
  position: fixed;
  left: clamp(18px, 2.6vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  height: min(62vh, 560px);
  display: flex;
  align-items: stretch;
}
.rail__track {
  position: relative;
  width: 2px; height: 100%;
  background: rgba(239, 234, 247, 0.14);
  border-radius: 2px;
  transition: background 0.7s var(--ease);
}
html[data-theme="light"] .rail__track { background: rgba(90, 60, 50, 0.18); }
.rail__fill {
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 0%;
  border-radius: 2px;
  background: linear-gradient(0deg, var(--ember-deep), var(--ember) 45%, var(--amber) 80%, var(--gold));
  box-shadow: 0 0 14px rgba(242, 166, 90, 0.55);
  will-change: height;
}
.rail__bead {
  position: absolute; left: 50%; bottom: 0%;
  width: 11px; height: 11px;
  border-radius: 50%;
  transform: translate(-50%, 50%);
  background: radial-gradient(circle at 35% 30%, #ffe9c4, var(--amber) 55%, var(--ember));
  box-shadow: 0 0 0 4px rgba(242, 166, 90, 0.18), 0 0 22px rgba(242, 166, 90, 0.85);
  will-change: bottom;
}
.rail__node {
  position: absolute; left: 50%;
  transform: translate(-50%, 50%);
  display: flex; align-items: center;
  text-decoration: none;
}
.rail__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(239, 234, 247, 0.28);
  border: 1px solid rgba(239, 234, 247, 0.25);
  transition: background 0.6s var(--ease), box-shadow 0.6s var(--ease), border-color 0.6s var(--ease);
}
html[data-theme="light"] .rail__dot { background: rgba(90, 60, 50, 0.22); border-color: rgba(90, 60, 50, 0.25); }
.rail__node.lit .rail__dot {
  background: var(--gold);
  border-color: rgba(255, 235, 190, 0.9);
  box-shadow: 0 0 10px rgba(247, 201, 126, 0.9);
}
.rail__tag {
  position: absolute; left: 18px; top: 50%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 1px;
  opacity: 0.45;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.rail__node:hover .rail__tag, .rail__node.now .rail__tag { opacity: 1; }
.rail__lab {
  font-family: var(--f-mono);
  font-size: 10px; letter-spacing: 0.18em;
  color: var(--ink-l-soft);
  transition: color 0.7s var(--ease);
}
html[data-theme="light"] .rail__lab { color: var(--ink-d-soft); }
.rail__name {
  font-family: var(--f-mono);
  font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-l-mut);
  transition: color 0.7s var(--ease);
  display: none;
}
.rail__node.now .rail__name { display: block; color: var(--amber); }
html[data-theme="light"] .rail__name, html[data-theme="light"] .rail__node.now .rail__name { color: var(--ember-deep); }

/* ============================================================
   SHARED CONTENT PRIMITIVES
   ============================================================ */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
section { position: relative; }

.lightink { color: var(--ink-d); }

.kicker {
  font-family: var(--f-mono);
  font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--amber);
  display: flex; align-items: center; gap: 12px 14px; flex-wrap: wrap;
}
.kicker .kt { white-space: nowrap; }
html[data-theme="light"] .lightink .kicker { color: var(--ember-deep); }
.kicker::before {
  content: ""; width: 26px; height: 1px;
  background: currentColor; opacity: 0.6;
}

/* rung meter — six segments, lit = rung */
.meter { display: inline-flex; gap: 4px; }
.meter i {
  width: 14px; height: 4px; border-radius: 2px;
  background: rgba(239, 234, 247, 0.16);
}
.lightink .meter i { background: rgba(90, 60, 50, 0.15); }
.meter i.on { background: linear-gradient(90deg, var(--ember), var(--amber)); box-shadow: 0 0 8px rgba(242, 166, 90, 0.5); }

.h-display {
  font-family: var(--f-display);
  font-weight: 430;
  line-height: 1.04;
  letter-spacing: -0.012em;
}
.chapter__head h2 {
  font-family: var(--f-display);
  font-weight: 435;
  font-size: clamp(33px, 4.4vw, 56px);
  line-height: 1.07;
  letter-spacing: -0.01em;
  margin: 22px 0 20px;
}
.chapter__head p.lede {
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.7;
  color: var(--ink-l-soft);
  max-width: 660px;
}
.lightink .chapter__head p.lede { color: var(--ink-d-soft); }

/* reveal */
.rv { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: translateY(0); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 15.5px; font-weight: 650;
  color: #fff; text-decoration: none;
  background: linear-gradient(120deg, var(--ember-deep), var(--ember) 55%, var(--amber));
  padding: 14px 10px 14px 24px;
  border-radius: 999px;
  border: none;
  box-shadow: 0 16px 40px -14px rgba(224, 112, 75, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.5s var(--ease-soft), box-shadow 0.5s var(--ease-soft);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 22px 48px -14px rgba(224, 112, 75, 1), inset 0 1px 0 rgba(255, 255, 255, 0.28); }
.btn:active { transform: scale(0.98); }
.btn .bib {
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: transform 0.5s var(--ease-soft);
}
.btn:hover .bib { transform: translateX(3px) translateY(-1px) scale(1.05); }
.btn--ghost {
  background: transparent;
  color: var(--ink-l-soft);
  border: 1px solid rgba(239, 234, 247, 0.22);
  box-shadow: none;
  padding: 13px 22px;
}
.btn--ghost:hover { color: #fff; border-color: rgba(239, 234, 247, 0.45); box-shadow: none; }
.lightink .btn--ghost { color: var(--ink-d-soft); border-color: rgba(90, 60, 50, 0.25); }
.lightink .btn--ghost:hover { color: var(--ink-d); border-color: rgba(90, 60, 50, 0.5); }

.microline {
  font-family: var(--f-mono);
  font-size: 11.5px; letter-spacing: 0.12em;
  color: var(--ink-l-mut);
}
.lightink .microline { color: var(--ink-d-mut); }

/* glass panels (dark chapters) */
.glass {
  background: linear-gradient(165deg, rgba(24, 22, 58, 0.62), rgba(12, 11, 34, 0.72));
  border: 1px solid rgba(239, 234, 247, 0.11);
  border-radius: 24px;
  box-shadow: 0 40px 90px -40px rgba(2, 2, 14, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
/* luminous panels (light chapters) */
.lumen {
  background: linear-gradient(165deg, rgba(255, 253, 247, 0.82), rgba(255, 248, 236, 0.66));
  border: 1px solid rgba(140, 90, 60, 0.14);
  border-radius: 24px;
  box-shadow: 0 46px 100px -48px rgba(140, 80, 45, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

/* ============================================================
   HERO — L0, pre-dawn
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 22vh 0 12vh;
}
.hero .kicker { justify-content: center; }
.hero .kicker::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.6; }
.hero__inner { text-align: center; max-width: 900px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(46px, 7vw, 92px);
  margin: 26px 0 8px;
  font-weight: 420;
}
.hero h1 .l2 {
  display: block;
  font-style: italic;
  font-weight: 390;
  background: linear-gradient(100deg, var(--rose) 10%, var(--amber) 55%, var(--gold) 90%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  padding-bottom: 0.09em;
}
.hero__lede {
  max-width: 640px;
  margin: 22px auto 38px;
  font-size: clamp(16px, 1.4vw, 18.5px);
  line-height: 1.7;
  color: var(--ink-l-soft);
}
.hero__lede strong { color: var(--ink-l); font-weight: 600; }
.hero__ctas { display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero__micro { margin-top: 20px; }

/* hero ladder mini-map */
.lmap {
  margin: 11vh auto 0;
  max-width: 720px;
  display: flex; flex-direction: column; gap: 14px;
}
.lmap__cap { display: flex; justify-content: space-between; align-items: baseline; }
.lmap__track { position: relative; height: 2px; background: rgba(239, 234, 247, 0.14); border-radius: 2px; }
.lmap__spark {
  position: absolute; left: 0; top: 0; height: 100%; width: 4%;
  background: linear-gradient(90deg, var(--ember-deep), var(--ember));
  box-shadow: 0 0 12px rgba(224, 112, 75, 0.9);
  border-radius: 2px;
}
.lmap__stops { display: flex; justify-content: space-between; }
.lmap__stop { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 60px; }
.lmap__stop i {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(239, 234, 247, 0.25);
  margin-top: -18px;
}
.lmap__stop:first-child i { background: var(--ember); box-shadow: 0 0 10px rgba(224, 112, 75, 0.9); }
.lmap__stop span { font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.14em; color: var(--ink-l-mut); text-transform: uppercase; }
.lmap__stop:first-child span { color: var(--rose); }
.lmap__stop:last-child span { color: var(--ink-l-soft); }
.lmap__you { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.2em; color: var(--rose); text-transform: uppercase; }
.lmap__end { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.2em; color: var(--ink-l-mut); text-transform: uppercase; }

/* ============================================================
   CHAPTERS
   ============================================================ */
.chapter { padding: 16vh 0; }
.chapter--veil::before {
  content: "";
  position: absolute; inset: -6% 0;
  background: radial-gradient(112% 82% at 50% 44%, rgba(8, 6, 26, 0.58), transparent 74%);
  pointer-events: none;
  z-index: 0;
}
.chapter > .wrap { position: relative; z-index: 1; }

/* -- the dark: quotes -- */
.qgrid {
  margin-top: 8vh;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.quote {
  padding: 30px 30px 24px;
  display: flex; flex-direction: column; gap: 16px;
  text-decoration: none;
  transition: transform 0.6s var(--ease), border-color 0.6s var(--ease);
}
.quote:hover { transform: translateY(-4px); border-color: rgba(232, 146, 124, 0.35); }
.quote p {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 380;
  font-size: clamp(18px, 1.8vw, 23px);
  line-height: 1.42;
  color: var(--ink-l);
}
.quote cite {
  font-family: var(--f-mono); font-style: normal;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-l-mut);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-top: auto;
}
.quote cite::before { content: "—"; color: var(--ember); }
.quote .src { margin-left: auto; font-size: 10px; color: var(--ink-l-mut); opacity: 0.8; border-bottom: 1px dotted currentColor; }
.quote:hover .src { color: var(--rose); }

/* -- the turn (anti-hype) -- */
.turn { text-align: center; max-width: 780px; margin: 0 auto; }
.turn h2 {
  font-family: var(--f-display);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 430; line-height: 1.12;
  margin: 22px 0 24px;
}
.turn h2 em {
  font-style: italic; font-weight: 400;
  color: var(--gold);
}
.turn p { font-size: clamp(16px, 1.35vw, 18px); line-height: 1.75; color: var(--ink-l-soft); margin-bottom: 18px; }
.turn p strong { color: var(--ink-l); font-weight: 600; }
.turn__down {
  margin-top: 44px;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--amber);
  text-decoration: none;
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
}
.turn__down::after { content: "↓"; font-size: 16px; animation: drift 2.6s var(--ease) infinite; }
@keyframes drift { 0%, 100% { transform: translateY(0); opacity: 0.7; } 50% { transform: translateY(6px); opacity: 1; } }

/* -- rung chapter layout -- */
.rung__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4.5vw, 72px);
  align-items: center;
}
.rung__grid.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.rung__grid.flip .rung__copy { order: 2; }
.rung__grid.flip .rung__stage { order: 1; }
.rung__copy h2 {
  font-family: var(--f-display);
  font-weight: 435;
  font-size: clamp(30px, 3.6vw, 47px);
  line-height: 1.09;
  margin: 20px 0 18px;
  letter-spacing: -0.01em;
}
.rung__copy h2 em { font-style: italic; font-weight: 395; color: var(--gold); }
.lightink .rung__copy h2 em { color: var(--ember-deep); }
.rung__copy > p { font-size: 16.5px; line-height: 1.72; color: var(--ink-l-soft); margin-bottom: 14px; max-width: 520px; }
.lightink .rung__copy > p { color: var(--ink-d-soft); }
.rung__copy > p strong { color: var(--ink-l); font-weight: 600; }
.lightink .rung__copy > p strong { color: var(--ink-d); }

.mech { margin-top: 26px; display: flex; flex-direction: column; gap: 11px; }
.mech li {
  list-style: none;
  position: relative;
  padding-left: 21px;
  font-size: 14.5px; line-height: 1.55;
  color: var(--ink-l-soft);
}
.lightink .mech li { color: var(--ink-d-soft); }
.mech li::before {
  content: "◆";
  position: absolute; left: 0; top: 5px;
  font-size: 8px; line-height: 1;
  color: var(--amber);
}
.lightink .mech li::before { color: var(--ember); }
.mech li strong { color: var(--ink-l); font-weight: 600; }
.lightink .mech li strong { color: var(--ink-d); }

.rung__note {
  margin-top: 26px;
  font-family: var(--f-display); font-style: italic;
  font-size: 16.5px; color: var(--gold);
  text-shadow: 0 1px 16px rgba(10, 6, 24, 0.7);
}
.lightink .rung__note { color: var(--ember-deep); text-shadow: none; }

/* ============================================================
   PRODUCT FRAMES — the double-bezel glass shells
   ============================================================ */
.frame {
  position: relative;
  border-radius: 30px;
  padding: 9px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(239, 234, 247, 0.13);
  box-shadow:
    0 60px 130px -50px rgba(2, 2, 16, 0.95),
    0 0 90px -30px rgba(242, 166, 90, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.lightink .frame,
.frame--light {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.6), rgba(255, 248, 236, 0.35));
  border-color: rgba(140, 90, 60, 0.16);
  box-shadow:
    0 60px 130px -55px rgba(140, 80, 45, 0.55),
    0 0 90px -30px rgba(247, 201, 126, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.frame__core {
  border-radius: 22px;
  background: linear-gradient(175deg, #14132f 0%, #0e0d26 100%);
  border: 1px solid rgba(239, 234, 247, 0.09);
  overflow: hidden;
}
.frame--light .frame__core {
  background: linear-gradient(175deg, #fffdf8 0%, #fbf3e4 100%);
  border-color: rgba(140, 90, 60, 0.12);
}
.frame__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px;
  border-bottom: 1px solid rgba(239, 234, 247, 0.08);
}
.frame--light .frame__bar { border-bottom-color: rgba(140, 90, 60, 0.1); }
.frame__dots { display: flex; gap: 5px; }
.frame__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(239, 234, 247, 0.16); }
.frame--light .frame__dots i { background: rgba(90, 60, 50, 0.18); }
.frame__addr {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--ink-l-mut);
  margin: 0 auto;
}
.frame--light .frame__addr { color: var(--ink-d-mut); }
.frame__tag {
  position: absolute; top: -12px; right: 26px;
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #2b1708;
  background: linear-gradient(100deg, var(--amber), var(--gold));
  padding: 5px 12px; border-radius: 999px;
  box-shadow: 0 8px 20px -8px rgba(242, 166, 90, 0.9);
}
.frame__body { padding: 22px 24px 24px; }
.fcap {
  margin-top: 16px;
  text-align: center;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--ink-l-soft); text-transform: uppercase;
  text-shadow: 0 1px 14px rgba(10, 6, 24, 0.75);
}
.lightink .fcap { color: var(--ink-d-mut); text-shadow: none; }

/* ---- wizard frame (L1) ---- */
.steps { display: flex; align-items: center; gap: 0; margin-bottom: 22px; }
.step { display: flex; align-items: center; flex: 1; min-width: 0; }
.step:last-child { flex: 0 0 auto; }
.step__dot {
  width: 22px; height: 22px; border-radius: 50%;
  flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  border: 1px solid rgba(239, 234, 247, 0.2);
  color: var(--ink-l-mut);
  background: rgba(239, 234, 247, 0.05);
  position: relative;
}
.step.done .step__dot { background: rgba(168, 201, 138, 0.14); border-color: rgba(168, 201, 138, 0.55); color: var(--sage); }
.step.now .step__dot { background: linear-gradient(120deg, var(--ember), var(--amber)); border-color: transparent; color: #fff; box-shadow: 0 0 16px rgba(242, 166, 90, 0.6); }
.step__lab {
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-l-mut);
  margin-left: 8px; white-space: nowrap;
}
.step.now .step__lab { color: var(--amber); }
.step.done .step__lab { color: var(--ink-l-soft); }
.step__line { flex: 1; height: 1px; background: rgba(239, 234, 247, 0.14); margin: 0 10px; min-width: 12px; }
.step.done .step__line { background: rgba(168, 201, 138, 0.4); }

.wiz h3 {
  font-family: var(--f-display); font-weight: 430;
  font-size: clamp(20px, 2vw, 25px); line-height: 1.2;
  margin-bottom: 6px;
}
.wiz__sub { font-size: 13px; color: var(--ink-l-mut); margin-bottom: 18px; }
.wrow {
  display: flex; gap: 14px;
  padding: 13px 14px;
  border-radius: 14px;
  background: rgba(239, 234, 247, 0.035);
  border: 1px solid rgba(239, 234, 247, 0.07);
  margin-bottom: 9px;
}
.wrow__tick {
  flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(168, 201, 138, 0.13);
  border: 1px solid rgba(168, 201, 138, 0.45);
  color: var(--sage);
  font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  transform: translateY(1px);
}
.wrow b { display: block; font-size: 14px; font-weight: 620; color: var(--ink-l); line-height: 1.35; }
.wrow p { font-size: 12.5px; line-height: 1.5; color: var(--ink-l-mut); margin-top: 2px; }
.wrow .verify {
  display: block;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.06em;
  color: var(--sage);
  margin-top: 6px;
}
.wrow .verify::before { content: "✓ "; }
.whonest {
  margin: 16px 0 18px;
  padding: 15px 16px;
  border-radius: 14px;
  border: 1px dashed rgba(242, 166, 90, 0.4);
  background: rgba(242, 166, 90, 0.05);
}
.whonest b {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--amber);
  display: block; margin-bottom: 7px;
}
.whonest p { font-size: 12.5px; line-height: 1.55; color: var(--ink-l-soft); }
.whonest ul { margin-top: 7px; padding-left: 16px; }
.whonest li { font-size: 12.5px; color: var(--ink-l-soft); line-height: 1.6; }
.wiz__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.wiz__approve {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 650; color: #fff;
  background: linear-gradient(120deg, var(--ember-deep), var(--ember));
  border: none; border-radius: 999px;
  padding: 11px 20px;
  box-shadow: 0 12px 28px -12px rgba(224, 112, 75, 0.9);
}
.wiz__alt { font-size: 12.5px; color: var(--ink-l-mut); text-decoration: underline dotted; }

/* ---- OS constellation (L2) ---- */
.osgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.oscell {
  padding: 18px 18px 16px;
  border-radius: 16px;
  background: rgba(239, 234, 247, 0.035);
  border: 1px solid rgba(239, 234, 247, 0.08);
  transition: border-color 0.5s var(--ease), transform 0.5s var(--ease), background 0.5s var(--ease);
}
.oscell:hover { border-color: rgba(242, 166, 90, 0.4); transform: translateY(-3px); background: rgba(242, 166, 90, 0.05); }
.oscell b {
  font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--amber);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
}
.oscell b::before { content: ""; width: 5px; height: 5px; border-radius: 2px; background: currentColor; box-shadow: 0 0 8px currentColor; }
.oscell p { font-size: 13px; line-height: 1.58; color: var(--ink-l-soft); }
.os__seal {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 14px;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-l-mut);
}
.os__seal svg { width: 15px; height: 17px; opacity: 0.9; }

/* ---- run board frame (L3) ---- */
.rb__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px 14px; margin-bottom: 4px; flex-wrap: wrap; }
.rb__eyebrow { white-space: nowrap; }
.rb__eyebrow { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-l-mut); }
.rb__pill {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  border: 1px solid rgba(242, 166, 90, 0.45);
  color: var(--amber);
  background: rgba(242, 166, 90, 0.07);
  display: inline-flex; align-items: center; gap: 7px;
  white-space: nowrap;
}
.rb__pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); animation: pulse 1.8s var(--ease) infinite; }
.rb__pill.ready { border-color: rgba(168, 201, 138, 0.5); color: var(--sage); background: rgba(168, 201, 138, 0.08); }
.rb__pill.ready i { background: var(--sage); animation: none; }
@keyframes pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(242, 166, 90, 0.5); } 50% { opacity: 0.6; box-shadow: 0 0 0 5px rgba(242, 166, 90, 0); } }
.rb__title { font-family: var(--f-display); font-weight: 430; font-size: clamp(19px, 2vw, 24px); margin: 6px 0 4px; }
.rb__ask { font-family: var(--f-display); font-style: italic; font-size: 13.5px; color: var(--ink-l-mut); margin-bottom: 18px; }

.rb__stages { display: flex; align-items: center; margin: 0 0 6px; }
.rb__stage { display: flex; align-items: center; flex: 1; min-width: 0; }
.rb__stage:last-child { flex: 0 0 auto; }
.rb__snode {
  width: 10px; height: 10px; border-radius: 50%;
  flex: none;
  background: rgba(239, 234, 247, 0.12);
  border: 1px solid rgba(239, 234, 247, 0.2);
  position: relative;
}
.rb__stage.done .rb__snode { background: var(--sage); border-color: transparent; box-shadow: 0 0 8px rgba(168, 201, 138, 0.5); }
.rb__stage.now .rb__snode { background: linear-gradient(120deg, var(--ember), var(--amber)); border-color: transparent; box-shadow: 0 0 12px rgba(242, 166, 90, 0.8); }
.rb__slab {
  font-family: var(--f-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-l-mut);
  margin-left: 7px; white-space: nowrap;
}
.rb__stage.done .rb__slab { color: var(--ink-l-soft); }
.rb__stage.now .rb__slab { color: var(--amber); }
.rb__sline { flex: 1; height: 1px; background: rgba(239, 234, 247, 0.12); margin: 0 8px; min-width: 8px; }
.rb__stage.done .rb__sline { background: rgba(168, 201, 138, 0.35); }
.rb__cost {
  text-align: right;
  font-family: var(--f-mono);
  margin: 10px 0 16px;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-l-mut);
}
.rb__cost b { color: var(--gold); font-size: 13px; letter-spacing: 0.06em; margin-left: 8px; }

.rb__story { border-top: 1px solid rgba(239, 234, 247, 0.08); padding-top: 14px; display: flex; flex-direction: column; gap: 0; }
.rb__storyhead {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-l-mut);
  margin-bottom: 10px;
}
.rb__storyhead .pw { color: var(--amber); }
.rline {
  display: flex; gap: 14px;
  padding: 7px 0;
  opacity: 0.25;
  transition: opacity 0.8s var(--ease);
}
.rline.on { opacity: 1; }
.rline time { font-family: var(--f-mono); font-size: 11px; color: var(--amber); flex: none; width: 38px; transform: translateY(2px); }
.rline p { font-size: 13.5px; line-height: 1.55; color: var(--ink-l-soft); }
.rline.on:last-child p { color: var(--ink-l); }
.rb__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.06em;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(168, 201, 138, 0.35);
  color: var(--sage);
  background: rgba(168, 201, 138, 0.06);
  white-space: nowrap;
}
.chip.never { border-color: rgba(232, 146, 124, 0.4); color: var(--rose); background: rgba(232, 146, 124, 0.06); }

/* ---- earned-step card (L4) ---- */
.earn { padding: 30px 30px 26px; position: relative; }
.earn__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #2b1708;
  background: linear-gradient(100deg, var(--amber), var(--gold));
  border-radius: 999px; padding: 6px 14px;
  box-shadow: 0 10px 26px -10px rgba(242, 166, 90, 0.9);
  margin-bottom: 18px;
}
.earn h3 {
  font-family: var(--f-display); font-weight: 430;
  font-size: clamp(21px, 2.2vw, 27px); line-height: 1.22;
  margin-bottom: 12px;
}
.earn > p { font-size: 14px; line-height: 1.65; color: var(--ink-l-soft); max-width: 560px; }
.earn__meters { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0; }
.emeter b {
  display: flex; justify-content: space-between;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-l-mut); font-weight: 500;
  margin-bottom: 8px;
}
.emeter b span { color: var(--gold); }
.emeter .bar { height: 5px; border-radius: 3px; background: rgba(239, 234, 247, 0.1); overflow: hidden; }
.emeter .bar i {
  display: block; height: 100%; width: 0%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--ember), var(--amber), var(--gold));
  transition: width 1.6s var(--ease);
}
.earn__acts { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.earn__yes {
  font-size: 13px; font-weight: 650; color: #fff;
  background: linear-gradient(120deg, var(--ember-deep), var(--ember));
  border: none; border-radius: 999px; padding: 10px 18px;
  box-shadow: 0 12px 26px -12px rgba(224, 112, 75, 0.9);
}
.earn__no {
  font-size: 13px; font-weight: 600; color: var(--ink-l-soft);
  background: transparent; border: 1px solid rgba(239, 234, 247, 0.2);
  border-radius: 999px; padding: 10px 18px;
}
.earn__meta { margin-top: 14px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--ink-l-mut); }

/* ---- dashboard frame (L5) ---- */
.db { color: var(--ink-d); }
.db__status {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.1em;
  color: var(--ink-d-mut);
  margin-bottom: 12px;
}
.db__status .ok { color: var(--sage-deep); }
.db__status .ok::before { content: "● "; }
.db h3 {
  font-family: var(--f-display); font-weight: 430;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15;
  color: var(--ink-d);
  margin-bottom: 8px;
}
.db h3 em { font-style: italic; color: var(--ember-deep); }
.db__sub { font-size: 13.5px; line-height: 1.6; color: var(--ink-d-soft); margin-bottom: 20px; max-width: 560px; }
.db__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px; }
.db__card {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(140, 90, 60, 0.13);
  box-shadow: 0 18px 40px -26px rgba(140, 80, 45, 0.4);
  padding: 18px;
}
.db__seal { border: 1px solid rgba(224, 112, 75, 0.35); background: linear-gradient(160deg, rgba(255, 245, 232, 0.9), rgba(255, 236, 214, 0.6)); margin-bottom: 14px; }
.db__label {
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ember-deep);
  margin-bottom: 9px; display: block;
}
.db__seal b { font-size: 15.5px; font-weight: 650; color: var(--ink-d); display: block; margin-bottom: 7px; }
.db__seal .meta { font-size: 12px; line-height: 1.6; color: var(--ink-d-soft); margin-bottom: 13px; }
.db__ship {
  font-size: 12.5px; font-weight: 650; color: #fff;
  background: linear-gradient(120deg, var(--ember-deep), var(--ember));
  border: none; border-radius: 999px; padding: 9px 17px;
  box-shadow: 0 10px 22px -10px rgba(224, 112, 75, 0.8);
}
.db__acthead {
  display: flex; justify-content: space-between;
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-d-mut);
  margin-bottom: 4px;
}
.arow {
  display: flex; align-items: baseline; gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(140, 90, 60, 0.09);
  font-size: 12.5px;
}
.arow:last-child { border-bottom: none; }
.arow i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--sage-deep); transform: translateY(-1px); }
.arow b { font-weight: 600; color: var(--ink-d); }
.arow span { color: var(--ink-d-mut); font-size: 11.5px; }
.arow .cost { margin-left: auto; font-family: var(--f-mono); font-size: 11px; color: var(--ink-d-soft); }

.db__rail { display: flex; flex-direction: column; gap: 14px; }
.gauge { text-align: center; }
.gauge svg { margin: 0 auto; }
.gauge .g-track { stroke: rgba(140, 90, 60, 0.15); }
.gauge .g-fill { stroke: url(#gaugeGrad); stroke-linecap: round; }
.gauge__val { font-family: var(--f-display); font-weight: 460; font-size: 27px; fill: var(--ink-d); }
.gauge__of { font-family: var(--f-mono); font-size: 8.5px; letter-spacing: 0.18em; fill: var(--ink-d-mut); text-transform: uppercase; }
.gauge b { display: block; font-size: 13px; font-weight: 650; color: var(--ink-d); margin-top: 8px; }
.gauge p { font-size: 11.5px; line-height: 1.55; color: var(--ink-d-mut); margin-top: 4px; }
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat .db__label { margin-bottom: 0; color: var(--ink-d-mut); }
.stat__val { font-family: var(--f-mono); font-size: 21px; font-weight: 500; color: var(--ink-d); }
.stat__val .down { color: var(--sage-deep); font-size: 12px; }
.stat p { font-size: 11.5px; color: var(--ink-d-mut); line-height: 1.5; }
.stat .bar { height: 5px; border-radius: 3px; background: rgba(140, 90, 60, 0.13); overflow: hidden; }
.stat .bar i { display: block; height: 100%; width: 0%; border-radius: 3px; background: linear-gradient(90deg, var(--ember), var(--amber)); transition: width 1.6s var(--ease); }

/* ============================================================
   BRIDGE — rescue economics
   ============================================================ */
.bridge { text-align: center; }
.bridge .wrap { max-width: 860px; }
.bridge h2 {
  font-family: var(--f-display); font-weight: 430;
  font-size: clamp(30px, 4.2vw, 52px); line-height: 1.1;
  color: var(--ink-d);
  margin: 22px 0 22px;
}
.bridge h2 em { font-style: italic; font-weight: 400; color: var(--ember-deep); }
.bridge p { font-size: clamp(15.5px, 1.3vw, 17.5px); line-height: 1.75; color: var(--ink-d-soft); max-width: 700px; margin: 0 auto 14px; }
.bridge p strong { color: var(--ink-d); font-weight: 650; }
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 7vh; text-align: left; }
.vs__col { padding: 28px 30px; }
.vs__col .k {
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase;
  display: block; margin-bottom: 14px;
}
.vs__col.rescue .k { color: var(--ink-d-mut); }
.vs__col.athema .k { color: var(--ember-deep); }
.vs__col li { list-style: none; font-size: 14.5px; line-height: 1.6; color: var(--ink-d-soft); padding: 7px 0 7px 24px; border-bottom: 1px solid rgba(140, 90, 60, 0.1); position: relative; }
.vs__col li:last-child { border-bottom: none; }
.vs__col li b { color: var(--ink-d); font-weight: 650; }
.vs__col.rescue li::before { content: "—"; position: absolute; left: 0; top: 7px; color: var(--ink-d-mut); }
.vs__col.athema li::before { content: "◆"; position: absolute; left: 2px; top: 14px; font-size: 8px; line-height: 1; color: var(--ember); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing__head { max-width: 640px; margin-bottom: 6vh; }
.pricing__head h2 {
  font-family: var(--f-display); font-weight: 430;
  font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08;
  color: var(--ink-d);
  margin: 20px 0 14px;
}
.pricing__head p { font-size: 16.5px; line-height: 1.65; color: var(--ink-d-soft); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { padding: 30px 28px; display: flex; flex-direction: column; position: relative; }
.plan--hero {
  background: linear-gradient(170deg, #1c1638, #241f4e 60%, #33254f);
  border: 1px solid rgba(242, 166, 90, 0.25);
  border-radius: 24px;
  box-shadow: 0 50px 110px -45px rgba(36, 26, 60, 0.85), 0 0 70px -30px rgba(242, 166, 90, 0.45);
  color: var(--ink-l);
}
.plan__badge {
  position: absolute; top: -12px; left: 28px;
  font-family: var(--f-mono); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #2b1708;
  background: linear-gradient(100deg, var(--amber), var(--gold));
  padding: 5px 13px; border-radius: 999px;
  box-shadow: 0 8px 20px -8px rgba(242, 166, 90, 0.9);
}
.plan h3 { font-family: var(--f-display); font-weight: 440; font-size: 26px; color: var(--ink-d); margin-bottom: 4px; }
.plan--hero h3 { color: var(--warmwhite); }
.plan__for { font-size: 13.5px; color: var(--ink-d-mut); margin-bottom: 22px; }
.plan--hero .plan__for { color: var(--ink-l-mut); }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 6px; }
.plan__price b { font-family: var(--f-mono); font-size: 38px; font-weight: 500; color: var(--ink-d); letter-spacing: -0.02em; }
.plan--hero .plan__price b { color: var(--warmwhite); }
.plan__price span { font-size: 13.5px; color: var(--ink-d-mut); }
.plan--hero .plan__price span { color: var(--ink-l-mut); }
.plan__unit { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--ember-deep); margin-bottom: 24px; }
.plan--hero .plan__unit { color: var(--gold); }
.plan__feats { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan__feats span { font-size: 14px; line-height: 1.5; color: var(--ink-d-soft); position: relative; padding-left: 18px; }
.plan--hero .plan__feats span { color: var(--ink-l-soft); }
.plan__feats span::before { content: "◆"; position: absolute; left: 0; top: 6px; font-size: 7px; line-height: 1; color: var(--ember); }
.plan--hero .plan__feats span::before { color: var(--amber); }
.plan__cta {
  margin-top: auto;
  text-align: center;
  font-size: 14px; font-weight: 650;
  text-decoration: none;
  color: var(--ink-d);
  border: 1px solid rgba(140, 90, 60, 0.3);
  border-radius: 999px;
  padding: 12px;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), transform 0.4s var(--ease);
}
.plan__cta:hover { border-color: var(--ember); transform: translateY(-1px); }
.plan__cta--fill {
  color: #fff; border: none;
  background: linear-gradient(120deg, var(--ember-deep), var(--ember) 60%, var(--amber));
  box-shadow: 0 14px 32px -12px rgba(224, 112, 75, 0.85);
}
.plan__cta--fill:hover { box-shadow: 0 18px 40px -12px rgba(224, 112, 75, 1); }
.pricing__note { margin-top: 24px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: 0.08em; color: var(--ink-d-mut); }

/* ============================================================
   FINAL CTA + FOOTER
   ============================================================ */
.cta { text-align: center; padding: 20vh 0 0; }
.cta__seal {
  width: 62px; height: 72px;
  margin: 0 auto 30px;
  filter: drop-shadow(0 0 26px rgba(242, 166, 90, 0.75)) drop-shadow(0 0 70px rgba(224, 112, 75, 0.4));
}
.cta .kicker { justify-content: center; }
.cta .kicker::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.6; }
.cta h2 {
  font-family: var(--f-display); font-weight: 420;
  font-size: clamp(38px, 5.6vw, 74px); line-height: 1.05;
  color: var(--ink-d);
  margin: 26px auto 20px;
  max-width: 820px;
  letter-spacing: -0.014em;
}
.cta h2 em { font-style: italic; font-weight: 390; color: var(--ember-deep); }
.cta > .wrap > p { font-size: clamp(16px, 1.35vw, 18px); line-height: 1.7; color: var(--ink-d-soft); max-width: 600px; margin: 0 auto 36px; }
.cta__acts { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.cta__micro { margin-top: 20px; }

.footer { margin-top: 20vh; padding: 34px 0 40px; border-top: 1px solid rgba(140, 90, 60, 0.15); }
.footer .wrap { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__brand svg { width: 17px; height: 20px; }
.footer__brand b { font-family: var(--f-display); font-weight: 460; font-size: 13.5px; letter-spacing: 0.24em; color: var(--ink-d); }
.footer__brand span { font-size: 12.5px; color: var(--ink-d-mut); margin-left: 8px; }
.footer__links { display: flex; gap: 22px; }
.footer__links a { font-size: 13px; color: var(--ink-d-soft); text-decoration: none; }
.footer__links a:hover { color: var(--ember-deep); }
.footer__note { width: 100%; font-size: 11.5px; line-height: 1.65; color: var(--ink-d-mut); max-width: 620px; }
.footer__note a { color: inherit; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1140px) {
  .rail { display: none; }
  .mprog { display: block; }
}
@media (max-width: 920px) {
  .nav__links { display: none; }
  .rung__grid, .rung__grid.flip { grid-template-columns: 1fr; gap: 40px; }
  .rung__grid.flip .rung__copy { order: 1; }
  .rung__grid.flip .rung__stage { order: 2; }
  .qgrid { grid-template-columns: 1fr; }
  .db__grid { grid-template-columns: 1fr; }
  .vs { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan--hero { order: -1; }
  .earn__meters { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .chapter { padding: 15vh 0; }
  .hero { padding-top: 18vh; }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .step__lab { display: none; }
  .step.now .step__lab { display: inline; }
  .rb__slab { display: none; }
  .rb__stage.now .rb__slab { display: inline; }
  .osgrid { grid-template-columns: 1fr; }
  .lmap__stop { width: auto; }
  .lmap__stop span { display: none; }
  .lmap__stop:first-child span, .lmap__stop:last-child span { display: block; }
  .frame__body { padding: 16px 14px 18px; }
  .frame { border-radius: 24px; padding: 7px; }
  .frame__core { border-radius: 18px; }
  .earn { padding: 24px 20px 22px; }
  .footer .wrap { flex-direction: column; }
}

/* ============================================================
   REDUCED MOTION — a still, fully legible dawn
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .rv { opacity: 1; transform: none; }
  .rline { opacity: 1; }
  .sky__sun { display: none; }
  .turn__down::after { animation: none; }
}
/* ?still=1 — the same still page, forced via JS (audits + capture) */
html.still { scroll-behavior: auto; }
html.still .rv { opacity: 1; transform: none; transition: none; }
html.still .rline { opacity: 1; }
html.still .sky__sun { display: none; }
html.still .turn__down::after { animation: none; }
html.still .rb__pill i { animation: none; }
