/* ============================================================
   Yieldpage — Stripe-inspired redesign
   Type: Inter (display) + IBM Plex Mono (data)
   Color: deep indigo/near-black, brand blue → indigo gradient,
          coral accent for "leak/critical" states.
============================================================ */

html { scroll-behavior: smooth; }

:root {
  /* Light surfaces */
  --white: #ffffff;
  --paper: #fafbff;
  --slate-100: #f1f5f9;
  --slate-200: #e6e8f0;
  --slate-300: #c8cde0;
  --slate-400: #8a91ad;
  --slate-500: #5b6280;
  --slate-700: #2c3354;
  --slate-800: #181c36;
  --slate-900: #0a0d24;

  /* Deep palette */
  --indigo-950: #050720;
  --indigo-900: #0a0d24;
  --indigo-800: #131841;
  --indigo-700: #1e2660;
  --indigo-500: #4b5bff;
  --indigo-400: #7a87ff;
  --indigo-300: #a3acff;

  /* Brand */
  --blue: #1e5bff;
  --blue-deep: #1845c4;
  --blue-soft: #ebf1ff;
  --violet: #635bff;       /* Stripe-ish purple-blue */
  --violet-deep: #4a3df0;

  /* Accents */
  --coral: #ff7a59;
  --coral-soft: #ffe6dd;
  --amber: #ffb547;
  --green: #2bd07f;

  /* Type */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  /* Layout */
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: var(--white);
  color: var(--slate-900);
}

::selection { background: var(--violet); color: var(--white); }

a { color: inherit; }
img { max-width: 100%; display: block; }

/* ============================================================
   HERO — kept visually similar (user said "no changes to hero")
============================================================ */
.hero-main {
  font-family: var(--sans);
  background: var(--white);
}
.hero-photo-fallback {
  background:
    radial-gradient(ellipse 60% 80% at 30% 30%, rgba(99, 91, 255, 0.55), transparent 60%),
    radial-gradient(ellipse 80% 60% at 80% 70%, rgba(30, 91, 255, 0.45), transparent 60%),
    linear-gradient(135deg, #0a0d24 0%, #131841 50%, #1e2660 100%);
}
.hero-photo-fallback::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle 1.4px at 12% 24%, rgba(255,255,255,0.55) 50%, transparent 51%),
    radial-gradient(circle 1px at 78% 18%, rgba(255,255,255,0.4) 50%, transparent 51%),
    radial-gradient(circle 1.6px at 33% 72%, rgba(255,255,255,0.45) 50%, transparent 51%),
    radial-gradient(circle 1px at 88% 64%, rgba(255,255,255,0.55) 50%, transparent 51%),
    radial-gradient(circle 1.2px at 56% 88%, rgba(255,255,255,0.35) 50%, transparent 51%),
    radial-gradient(circle 1px at 22% 50%, rgba(255,255,255,0.4) 50%, transparent 51%);
  pointer-events: none;
}
.hero-right { background: var(--white); }
.hero-wordmark {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 28px;
  color: var(--slate-900);
  margin-bottom: 80px;
}
.hero-h1 {
  font-size: 50px; font-weight: 800;
  letter-spacing: -0.028em; line-height: 1.05;
  margin: 0 0 20px;
  color: var(--slate-900);
}
@media (max-width: 720px) { .hero-h1 { font-size: 40px; } }
.hero-sub {
  font-size: 18px; line-height: 1.6;
  color: var(--slate-500);
  margin: 0 0 56px;
}
.hero-form {
  display: flex; gap: 12px;
}
.hero-form input {
  flex: 1; min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 150ms, box-shadow 150ms;
}
.hero-form input:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.15);
}
.hero-form button {
  padding: 14px 22px;
  background: var(--slate-900);
  color: var(--white);
  border: none; border-radius: 8px;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 150ms;
  white-space: nowrap;
}
.hero-form button:hover { background: var(--indigo-800); }
.hero-proof {
  margin-top: 48px;
  display: flex; flex-wrap: wrap;
  gap: 28px;
  align-items: center;
}
.hero-proof__logo {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--slate-400);
}
.hero-quote {
  margin: 48px 0 0;
  font-size: 13px; font-style: italic;
  color: var(--slate-500); line-height: 1.6;
}
.hero-quote footer {
  margin-top: 8px;
  font-style: normal;
  color: var(--slate-400);
  font-size: 12px;
}

/* Hero animations (kept) */
@keyframes hero-reveal {
  from { opacity: 0; filter: blur(24px) brightness(1.25); }
  to   { opacity: 1; filter: blur(0) brightness(1); }
}
@keyframes fade-blur {
  from { opacity: 0; transform: translateY(8px); filter: blur(8px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.hero-fade-in { animation: hero-reveal 2400ms cubic-bezier(0.22,1,0.36,1) 100ms both; }
.fade-rise { animation: fade-blur 1400ms cubic-bezier(0.22,1,0.36,1) both; }
.fade-delay-1 { animation-delay: 600ms; }
.fade-delay-2 { animation-delay: 1100ms; }

/* ============================================================
   PAGE FRAME
============================================================ */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
  z-index: 1;
}
@media (max-width: 720px) { .wrap { padding: 0 24px; } }

section.below {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
}
@media (max-width: 880px) { section.below { padding: 96px 0; } }

/* ============================================================
   TYPE TOKENS
============================================================ */
.display-lg {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.0;
  color: var(--slate-900);
  margin: 0;
}
@media (max-width: 880px) { .display-lg { font-size: 40px; line-height: 1.05; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-size: 13px; font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 28px;
}
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.18);
}
.eyebrow--dark { color: var(--slate-700); }
.eyebrow--light { color: var(--indigo-300); }
.eyebrow--light .eyebrow__dot {
  background: var(--violet);
  box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.28);
}

/* ============================================================
   REVEAL ANIMATION (scroll-triggered)
============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 800ms cubic-bezier(0.22,1,0.36,1),
              transform 800ms cubic-bezier(0.22,1,0.36,1);
  will-change: opacity, transform;
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   GRID CANVAS — soft animated mesh on light sections
============================================================ */
.grid-canvas {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.grid-canvas__mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 50% 40% at 18% 30%, rgba(99, 91, 255, 0.10), transparent 55%),
    radial-gradient(ellipse 40% 35% at 82% 70%, rgba(30, 91, 255, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(122, 135, 255, 0.04), transparent 70%);
  filter: blur(40px);
  animation: drift 28s ease-in-out infinite alternate;
}
.grid-canvas__noise {
  position: absolute; inset: 0;
  opacity: 0.4;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.045 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

@keyframes drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(2%, -1%, 0) scale(1.05); }
  100% { transform: translate3d(-2%, 2%, 0) scale(1); }
}

/* ============================================================
   DARK CANVAS — Stripe-style flowing mesh on dark sections
============================================================ */
.dark-canvas {
  position: absolute; inset: 0;
  background: var(--indigo-950);
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.dark-canvas__mesh {
  position: absolute;
  inset: -25%;
  background:
    radial-gradient(ellipse 50% 45% at 20% 30%, rgba(99, 91, 255, 0.55), transparent 55%),
    radial-gradient(ellipse 45% 40% at 80% 70%, rgba(30, 91, 255, 0.4), transparent 60%),
    radial-gradient(ellipse 35% 30% at 60% 20%, rgba(255, 122, 89, 0.18), transparent 65%),
    radial-gradient(ellipse 55% 45% at 35% 80%, rgba(122, 135, 255, 0.25), transparent 70%);
  filter: blur(60px);
  animation: drift 22s ease-in-out infinite alternate;
}
.dark-canvas__mesh--cta {
  background:
    radial-gradient(ellipse 60% 50% at 25% 40%, rgba(99, 91, 255, 0.65), transparent 55%),
    radial-gradient(ellipse 50% 45% at 75% 65%, rgba(30, 91, 255, 0.5), transparent 60%),
    radial-gradient(ellipse 40% 35% at 60% 25%, rgba(255, 122, 89, 0.22), transparent 65%);
}
.dark-canvas__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 30%, transparent 75%);
}
.dark-canvas__noise {
  position: absolute; inset: 0;
  opacity: 0.5;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ============================================================
   SECTION 01 — Opening provocation
============================================================ */
.s-open { padding-top: 180px; }
.opener { max-width: 1080px; }
.opener__line {
  font-family: var(--sans);
  font-size: 76px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--slate-900);
  margin: 0 0 56px;
  text-wrap: balance;
}
.opener__line--muted { color: var(--slate-400); }
@media (max-width: 1080px) { .opener__line { font-size: 60px; } }
@media (max-width: 720px)  { .opener__line { font-size: 42px; } }

.opener__body {
  max-width: 640px;
  font-size: 19px;
  line-height: 1.65;
  color: var(--slate-700);
}
.opener__body p { margin: 0 0 20px; }
.opener__close {
  margin-top: 32px !important;
  font-size: 26px !important;
  font-weight: 600 !important;
  color: var(--slate-900) !important;
  letter-spacing: -0.018em;
  line-height: 1.3 !important;
}

/* ============================================================
   SECTION 02 — Getting + Report card
============================================================ */
.getting-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 80px;
  align-items: start;
}
@media (max-width: 1024px) {
  .getting-grid { grid-template-columns: 1fr; gap: 64px; }
}

.getting-side .display-lg { margin-bottom: 28px; }
.lede {
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate-500);
  margin: 0 0 16px;
  max-width: 460px;
}
.lede + .lede { margin-bottom: 48px; }

.deliverables {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: del;
}
.deliverables li {
  counter-increment: del;
  padding: 22px 0;
  border-top: 1px solid var(--slate-200);
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
}
.deliverables li:last-child { border-bottom: 1px solid var(--slate-200); }
.deliverables li::before {
  content: "0" counter(del);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--slate-400);
  padding-top: 4px;
  letter-spacing: 0.04em;
}
.deliverables__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--slate-900);
  letter-spacing: -0.012em;
  margin: 0 0 6px;
}
.deliverables__body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--slate-500);
  margin: 0;
}
.deliverables__footnote {
  margin-top: 28px;
  font-size: 13px;
  color: var(--slate-500);
  font-style: italic;
  line-height: 1.55;
  max-width: 460px;
}

/* ---- Report card ---- */
.report-stage { position: relative; }
.report-stage__halo {
  position: absolute;
  inset: -60px;
  background:
    radial-gradient(ellipse 60% 60% at 50% 40%, rgba(99, 91, 255, 0.18), transparent 65%),
    radial-gradient(ellipse 70% 50% at 80% 80%, rgba(255, 122, 89, 0.10), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  animation: drift 18s ease-in-out infinite alternate;
}
.report-card {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--slate-200);
  box-shadow:
    0 1px 2px rgba(10, 13, 36, 0.04),
    0 12px 32px rgba(10, 13, 36, 0.06),
    0 32px 80px -20px rgba(75, 91, 255, 0.18);
  overflow: hidden;
}

.report-card__head {
  padding: 18px 24px;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--slate-200);
  background: linear-gradient(180deg, #fbfcff 0%, var(--white) 100%);
}
.report-card__brand {
  display: flex; align-items: center; gap: 12px;
}
.report-card__logo {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  color: var(--white);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.02em;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(99, 91, 255, 0.25);
}
.report-card__title {
  font-size: 14px; font-weight: 600;
  color: var(--slate-900);
  letter-spacing: -0.01em;
}
.report-card__id {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--slate-400);
  margin-top: 2px;
  letter-spacing: 0.02em;
}
.report-card__pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(43, 208, 127, 0.1);
  color: #1c8b56;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  font-weight: 500;
}
.report-card__pill::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(43, 208, 127, 0.2);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(43, 208, 127, 0.2); }
  50%      { box-shadow: 0 0 0 6px rgba(43, 208, 127, 0); }
}

/* Report hero (score + bands) */
.report-card__hero {
  padding: 28px 24px 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  border-bottom: 1px solid var(--slate-200);
}
@media (max-width: 560px) {
  .report-card__hero { grid-template-columns: 1fr; gap: 20px; }
}
.report-score__num {
  font-family: var(--sans);
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--slate-900);
  display: flex; align-items: baseline;
}
.report-score__den {
  font-size: 22px;
  color: var(--slate-400);
  font-weight: 600;
  margin-left: 4px;
}
.report-score__band {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--coral);
  letter-spacing: 0.03em;
  font-weight: 500;
}
.report-score__band-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 122, 89, 0.18);
}

.report-bands { min-width: 0; }
.report-bands__row {
  display: flex; justify-content: space-between;
  margin-bottom: 6px;
}
.report-bands__cap {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--slate-400);
}
.report-bands__bar {
  position: relative;
  height: 8px;
  border-radius: 4px;
  background: var(--slate-100);
  overflow: visible;
}
.report-bands__band {
  position: absolute; top: 0; bottom: 0;
  height: 100%;
  border-radius: 0;
}
.report-bands__band:first-of-type { border-radius: 4px 0 0 4px; }
.report-bands__band:nth-of-type(4) { border-radius: 0 4px 4px 0; }
.report-bands__band--fail { background: linear-gradient(90deg, #ff7a59, #ffa37a); }
.report-bands__band--warn { background: linear-gradient(90deg, #ffb547, #ffcd6e); }
.report-bands__band--ok   { background: linear-gradient(90deg, #7a87ff, #a3acff); }
.report-bands__band--good { background: linear-gradient(90deg, #4b5bff, #635bff); }

.report-bands__marker {
  position: absolute;
  top: -4px; bottom: -4px;
  width: 2px;
  background: var(--slate-900);
  border-radius: 2px;
  transform: translateX(-1px);
  transition: left 1200ms cubic-bezier(0.22,1,0.36,1);
}
.is-revealed .report-bands__marker {
  /* re-applied via JS counter; just ensure visible */
}
.report-bands__marker-cap {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  color: var(--slate-900);
  background: var(--white);
  padding: 2px 6px;
  border: 1px solid var(--slate-200);
  border-radius: 4px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.report-bands__legend {
  margin-top: 14px;
  display: flex; flex-wrap: wrap;
  gap: 14px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--slate-500);
}
.report-bands__legend > span {
  display: inline-flex; align-items: center; gap: 6px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; }
.dot--fail { background: var(--coral); }
.dot--warn { background: var(--amber); }
.dot--ok   { background: var(--indigo-300); }
.dot--good { background: var(--violet); }

/* Report sections */
.report-section {
  padding: 22px 24px;
  border-bottom: 1px solid var(--slate-200);
}
.report-section:last-child { border-bottom: none; }
.report-section--projection {
  background: linear-gradient(180deg, #f8f9ff 0%, var(--white) 100%);
}
.report-section__head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 16px;
}
.report-section__kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-900);
}
.report-section__hint {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--slate-400);
  letter-spacing: 0.04em;
}

/* Culture code */
.culture {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px 0 12px;
}
.culture__cell {
  border-radius: 10px;
  padding: 18px 16px;
  text-align: center;
}
.culture__cell--expected {
  background: linear-gradient(180deg, rgba(99, 91, 255, 0.08), rgba(99, 91, 255, 0.02));
  border: 1px solid rgba(99, 91, 255, 0.15);
}
.culture__cell--actual {
  background: linear-gradient(180deg, rgba(255, 122, 89, 0.08), rgba(255, 122, 89, 0.02));
  border: 1px solid rgba(255, 122, 89, 0.18);
}
.culture__label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 8px;
}
.culture__cell--expected .culture__label { color: var(--violet-deep); }
.culture__cell--actual   .culture__label { color: var(--coral); }

.culture__word {
  display: block;
  font-family: var(--sans);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--slate-900);
}
.culture__cell--expected .culture__word {
  background: linear-gradient(135deg, var(--violet), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.culture__cell--actual .culture__word {
  background: linear-gradient(135deg, var(--coral), #ff9f7e);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.culture__gap {
  color: var(--slate-300);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.culture__gap svg {
  width: 80px; height: 24px;
}
.culture__gap-cap {
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--coral);
}

.culture__read {
  margin: 16px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--slate-700);
}
.culture__read em {
  font-style: normal;
  background: rgba(99, 91, 255, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
  color: var(--violet-deep);
  font-weight: 500;
}

/* Nine elements table */
.elements-table { display: flex; flex-direction: column; gap: 18px; padding-top: 8px; }
.elements-group {}
.elements-group__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 8px;
}
.elements-row {
  display: grid;
  grid-template-columns: 28px 110px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--slate-200);
}
.elements-row:first-of-type { border-top: 1px solid var(--slate-200); }
@media (max-width: 640px) {
  .elements-row {
    grid-template-columns: 24px 1fr auto;
    grid-template-areas: "n nm s" "n r r";
    row-gap: 4px;
  }
  .elements-row__num { grid-area: n; }
  .elements-row__name { grid-area: nm; }
  .elements-row__read { grid-area: r; padding-left: 0; }
  .elements-row__score { grid-area: s; }
}

.elements-row__num {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--slate-400);
  letter-spacing: 0.04em;
}
.elements-row__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-900);
  letter-spacing: -0.012em;
}
.elements-row__read {
  font-size: 12px;
  line-height: 1.5;
  color: var(--slate-500);
}
.elements-row__score {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  width: 28px; height: 28px;
  border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  letter-spacing: 0;
}
.elements-row__score.s-1 { background: rgba(255,122,89,0.15); color: var(--coral); }
.elements-row__score.s-2 { background: rgba(255,122,89,0.12); color: var(--coral); }
.elements-row__score.s-3 { background: rgba(255,181,71,0.15); color: #b87a1c; }
.elements-row__score.s-4 { background: rgba(99,91,255,0.12);  color: var(--violet-deep); }
.elements-row__score.s-5 { background: rgba(43,208,127,0.15); color: #1c8b56; }

/* Reframe */
.reframe {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: stretch;
  padding: 12px 0 8px;
}
@media (max-width: 640px) {
  .reframe { grid-template-columns: 1fr; }
  .reframe__arrow { transform: rotate(90deg); margin: -4px auto; }
}
.reframe__row {
  display: flex; flex-direction: column;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--slate-200);
}
.reframe__row--from {
  background: var(--paper);
}
.reframe__row--to {
  background: linear-gradient(180deg, rgba(99,91,255,0.08), rgba(30,91,255,0.04));
  border-color: rgba(99,91,255,0.25);
}
.reframe__label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 8px;
}
.reframe__row--to .reframe__label { color: var(--violet-deep); }
.reframe__line {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--slate-900);
  line-height: 1.35;
}
.reframe__row--from .reframe__line {
  color: var(--slate-500);
  text-decoration: line-through;
  text-decoration-color: rgba(255,122,89,0.5);
  text-decoration-thickness: 1.5px;
}
.reframe__arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--violet);
  width: 28px;
}
.reframe__arrow svg { width: 22px; height: 22px; }

/* Projection */
.projection {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px 0 4px;
}
@media (max-width: 560px) {
  .projection { grid-template-columns: 1fr; gap: 12px; }
  .projection__delta { transform: rotate(90deg); }
}
.projection__cell {
  display: flex; flex-direction: column;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  text-align: left;
}
.projection__cap {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 10px;
}
.projection__num {
  font-family: var(--sans);
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--slate-900);
  line-height: 1;
  display: flex; align-items: baseline;
}
.projection__num--to {
  background: linear-gradient(135deg, var(--violet), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.projection__den {
  font-size: 16px;
  color: var(--slate-400);
  font-weight: 600;
  margin-left: 3px;
  -webkit-text-fill-color: var(--slate-400);
}
.projection__band {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  font-weight: 500;
}
.projection__band--fail { color: var(--coral); }
.projection__band--warn { color: #b87a1c; }

.projection__delta {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  color: var(--violet);
}
.projection__plus {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.projection__delta-cap {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--slate-400);
}

/* ============================================================
   SECTION 03 — Marquee
============================================================ */
.s-marquee {
  padding: 80px 0;
}
.marquee-head { margin-bottom: 32px; text-align: center; }
.marquee-head .eyebrow { margin-bottom: 0; }
.marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  animation: marquee 50s linear infinite;
  padding-left: 36px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee__logo {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.04em;
  color: var(--slate-300);
  transition: color 200ms;
  flex-shrink: 0;
}
.marquee__logo:hover { color: var(--slate-700); }
.marquee__sep {
  color: var(--slate-200);
  font-size: 16px;
  flex-shrink: 0;
}

/* ============================================================
   SECTION 04 — How it works
============================================================ */
.how-head { margin-bottom: 80px; max-width: 720px; }
.how-head .display-lg { margin-bottom: 16px; }
.how-head__sub {
  font-size: 18px;
  color: var(--slate-500);
  margin: 0;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 880px) {
  .how-steps { grid-template-columns: 1fr; gap: 24px; }
}
.step {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  background: var(--white);
  display: flex; flex-direction: column;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
  overflow: hidden;
}
.step:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(10,13,36,0.06), 0 24px 64px -20px rgba(99,91,255,0.18);
  border-color: rgba(99,91,255,0.25);
}
.step__num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--slate-400);
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}
.step__title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--slate-900);
  margin: 0 0 10px;
  line-height: 1.25;
}
.step__body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--slate-500);
  margin: 0 0 24px;
}
.step__art {
  margin-top: auto;
  border-top: 1px solid var(--slate-200);
  padding-top: 20px;
}

.step-input {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: var(--paper);
  border: 1px solid var(--slate-200);
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--slate-700);
}
.step-input__caret {
  width: 1px; height: 14px;
  background: var(--violet);
  animation: caret 1s steps(2) infinite;
}
@keyframes caret { 0%,50% { opacity: 1; } 51%,100% { opacity: 0; } }

.scan-stack { position: relative; display: flex; flex-direction: column; gap: 6px; }
.scan-stack__row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px; align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--slate-500);
}
.scan-stack__bar {
  height: 4px;
  border-radius: 2px;
  background: var(--slate-100);
  position: relative; overflow: hidden;
}
.scan-stack__bar i {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  border-radius: 2px;
  width: var(--w);
  transform-origin: left;
  animation: barIn 1.4s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes barIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.scan-stack__sweep {
  position: absolute; left: -20%; top: 0; bottom: 0;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(99,91,255,0.18), transparent);
  animation: sweep 3s linear infinite;
  pointer-events: none;
}
@keyframes sweep {
  from { transform: translateX(0); }
  to   { transform: translateX(450%); }
}

.step-read {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
}
.step-read__from {
  padding: 5px 9px; border-radius: 6px;
  background: rgba(255,122,89,0.1);
  color: var(--coral);
  text-decoration: line-through;
  text-decoration-color: rgba(255,122,89,0.5);
}
.step-read__arrow { width: 28px; height: 12px; color: var(--slate-400); }
.step-read__to {
  padding: 5px 9px; border-radius: 6px;
  background: rgba(99,91,255,0.1);
  color: var(--violet-deep);
  font-weight: 500;
}

/* ============================================================
   SECTION 05 — Framework
============================================================ */
.nine-head { margin-bottom: 64px; }
.nine-head .display-lg { margin-bottom: 40px; }
.nine-head__cols {
  columns: 2;
  column-gap: 56px;
  max-width: 920px;
}
@media (max-width: 720px) { .nine-head__cols { columns: 1; } }
.nine-head__cols p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--slate-500);
  margin: 0 0 16px;
  break-inside: avoid;
}
.nine-head__cols p strong { color: var(--slate-900); }

.framework-pullquote {
  position: relative;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--slate-900);
  margin: 0 0 80px;
  max-width: 920px;
  padding-left: 48px;
}
@media (max-width: 720px) { .framework-pullquote { font-size: 20px; padding-left: 32px; } }
.framework-pullquote em {
  font-style: normal;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.framework-pullquote__mark {
  position: absolute;
  left: 0; top: -16px;
  font-size: 80px;
  line-height: 1;
  color: var(--violet);
  opacity: 0.4;
  font-family: var(--sans);
  font-weight: 800;
}

.bands-strip { max-width: 1080px; }
.bands-strip__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--slate-200);
}
@media (max-width: 720px) { .bands-strip__row { grid-template-columns: 1fr 1fr; } }
.bands-strip__band {
  padding: 24px 22px;
  display: flex; flex-direction: column; gap: 6px;
  position: relative;
  color: var(--white);
}
.bands-strip__band--fail { background: linear-gradient(135deg, #ff7a59, #ff9c7a); }
.bands-strip__band--warn { background: linear-gradient(135deg, #ffb547, #ffce72); color: #4a2e00; }
.bands-strip__band--ok   { background: linear-gradient(135deg, #7a87ff, #a3acff); }
.bands-strip__band--good { background: linear-gradient(135deg, #4b5bff, #635bff); }
.bands-strip__cap {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  opacity: 0.85;
}
.bands-strip__name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.018em;
}
.bands-strip__caption {
  margin-top: 16px;
  font-size: 13px;
  color: var(--slate-500);
  font-family: var(--mono);
  letter-spacing: 0;
}

/* ============================================================
   SECTION 06 — Yieldpage Pro (DARK)
============================================================ */
.s-yp-ai {
  padding: 160px 0;
  color: var(--white);
}
.yp-ai-head {
  max-width: 920px;
  margin-bottom: 80px;
  position: relative; z-index: 1;
}
.yp-ai-title {
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--white);
  margin: 0 0 28px;
  text-wrap: balance;
}
@media (max-width: 720px) { .yp-ai-title { font-size: 38px; } }
.yp-ai-title-accent {
  background: linear-gradient(135deg, #a3acff 0%, #ff9c7a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.yp-ai-lede {
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  color: var(--indigo-300);
  margin: 0;
  max-width: 640px;
}

.yp-ai-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 64px;
  margin-bottom: 96px;
  position: relative; z-index: 1;
}
@media (max-width: 1024px) {
  .yp-ai-grid { grid-template-columns: 1fr; gap: 48px; }
}
.yp-ai-prose p {
  font-size: 18px;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
  margin: 0 0 22px;
}
.yp-ai-prose p:last-child { margin-bottom: 0; }
.yp-ai-prose strong { color: var(--white); font-weight: 600; }

.yp-ai-variants {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.yp-ai-variants__head { margin-bottom: 20px; }
.yp-ai-variants__kicker {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}
.yp-ai-variants__sub {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--indigo-300);
}

.variant {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.variant:last-child { padding-bottom: 0; }
.variant__tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.variant--performance .variant__tag { background: rgba(99,91,255,0.18); color: var(--indigo-300); }
.variant--identity    .variant__tag { background: rgba(255,181,71,0.18); color: #ffd185; }
.variant--tribal      .variant__tag { background: rgba(255,122,89,0.18); color: #ffae93; }
.variant__line {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.016em;
  color: var(--white);
  margin: 0 0 6px;
  line-height: 1.3;
}
.variant__hint {
  font-size: 12px;
  color: var(--indigo-300);
}

.yp-ai-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 880px) { .yp-ai-features { grid-template-columns: 1fr; } }
.yp-ai-feature {
  padding: 32px 24px 0 0;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.yp-ai-feature:last-child { border-right: none; padding-right: 0; }
.yp-ai-feature + .yp-ai-feature { padding-left: 24px; }
@media (max-width: 880px) {
  .yp-ai-feature { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 28px 0; }
  .yp-ai-feature:last-child { border-bottom: none; }
  .yp-ai-feature + .yp-ai-feature { padding-left: 0; }
}
.yp-ai-feature__num {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--indigo-300);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.yp-ai-feature h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: var(--white);
  margin: 0 0 10px;
}
.yp-ai-feature p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

/* ============================================================
   SECTION 07 — Pricing
============================================================ */
.pricing-head { margin-bottom: 80px; max-width: 720px; }
.pricing-head .display-lg { margin-bottom: 16px; }
.pricing-head__sub {
  font-size: 18px;
  color: var(--slate-500);
  margin: 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .pricing-grid { grid-template-columns: 1fr; } }

.tier {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  background: var(--white);
  display: flex; flex-direction: column;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
  overflow: hidden;
}
.tier:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(10,13,36,0.06);
}
.tier--featured {
  background: linear-gradient(180deg, #0a0d24 0%, #131841 100%);
  border-color: transparent;
  color: var(--white);
}
.tier--featured .tier__halo {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(99,91,255,0.6), transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(255,122,89,0.25), transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.tier > * { position: relative; z-index: 1; }

.tier__top { margin-bottom: 28px; }
.tier__badge {
  display: inline-block;
  background: rgba(255,255,255,0.95);
  color: var(--slate-900);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.tier__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-500);
  margin-bottom: 14px;
  letter-spacing: -0.005em;
}
.tier__label--bright { color: var(--white); }
.tier__price {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 12px;
}
.tier__price-num {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--slate-900);
}
.tier--featured .tier__price-num { color: var(--white); }
.tier__price-suffix, .tier__price-unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-500);
}
.tier--featured .tier__price-unit { color: rgba(255,255,255,0.65); }
.tier__note {
  font-size: 13px;
  color: var(--slate-500);
  line-height: 1.55;
  margin: 0;
}
.tier--featured .tier__note { color: rgba(255,255,255,0.7); }
.tier__annual {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--indigo-300);
  margin-top: 6px;
}

.tier__includes {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  flex: 1;
}
.tier__includes li {
  font-size: 13px;
  line-height: 1.5;
  color: var(--slate-700);
  padding: 10px 0 10px 22px;
  border-top: 1px solid var(--slate-200);
  position: relative;
}
.tier__includes li:last-child { border-bottom: 1px solid var(--slate-200); }
.tier__includes li::before {
  content: "";
  position: absolute;
  left: 0; top: 16px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--violet);
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2 6 L5 9 L10 3' stroke='black' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2 6 L5 9 L10 3' stroke='black' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background: linear-gradient(135deg, var(--violet), var(--blue));
}
.tier--featured .tier__includes li {
  color: rgba(255,255,255,0.85);
  border-top-color: rgba(255,255,255,0.1);
}
.tier--featured .tier__includes li:last-child { border-bottom-color: rgba(255,255,255,0.1); }
.tier__trial {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  margin: 0 0 16px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background 200ms, color 200ms, transform 200ms;
  border: 1px solid transparent;
}
.btn--ghost {
  background: var(--white);
  color: var(--slate-900);
  border-color: var(--slate-200);
}
.btn--ghost:hover { background: var(--paper); border-color: var(--slate-300); }
.btn--primary {
  background: linear-gradient(135deg, var(--violet) 0%, var(--blue) 100%);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(99,91,255,0.4);
}
.btn--primary:hover { transform: translateY(-1px); }

.pricing-self-select {
  text-align: center;
  font-size: 14px;
  font-style: italic;
  color: var(--slate-500);
  max-width: 700px;
  margin: 56px auto 0;
  line-height: 1.6;
}

/* ============================================================
   SECTION 08 — Methodology / Book
============================================================ */
.method-head { margin-bottom: 80px; max-width: 760px; }
.method-grid {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 96px;
  align-items: start;
}
@media (max-width: 880px) { .method-grid { grid-template-columns: 1fr; gap: 48px; } }

.book-stage {
  position: relative;
  padding: 32px 0;
  display: flex; flex-direction: column;
  align-items: center; gap: 32px;
}
.book-stage__halo {
  position: absolute; inset: -40px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(99,91,255,0.18), transparent 65%),
    radial-gradient(ellipse 70% 50% at 60% 80%, rgba(30,91,255,0.10), transparent 70%);
  filter: blur(30px);
  z-index: 0;
}
.book-cover {
  position: relative;
  z-index: 1;
  width: 280px;
  aspect-ratio: 3/4;
  display: flex;
  border-radius: 4px;
  overflow: hidden;
  box-shadow:
    0 1px 2px rgba(10,13,36,0.06),
    0 24px 48px -12px rgba(10,13,36,0.25),
    0 32px 80px -20px rgba(99,91,255,0.30);
  transform: rotate(-2deg);
  transition: transform 400ms cubic-bezier(0.22,1,0.36,1);
}
.book-cover:hover { transform: rotate(0) translateY(-4px); }
.book-cover__spine {
  width: 18px;
  background: linear-gradient(90deg, #050720, #131841);
}
.book-cover__face {
  flex: 1;
  background: linear-gradient(160deg, #0a0d24 0%, #131841 60%, #1e2660 100%);
  padding: 28px 24px;
  color: var(--white);
  position: relative;
  display: flex; flex-direction: column;
}
.book-cover__face::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(99,91,255,0.4), transparent 60%);
}
.book-cover__face > * { position: relative; z-index: 1; }
.book-cover__kicker {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo-300);
  margin-bottom: 24px;
}
.book-cover__title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 42px;
  letter-spacing: -0.035em;
  line-height: 0.95;
  color: var(--white);
  margin: 0 0 28px;
}
.book-cover__rule {
  width: 32px; height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--blue));
  margin-bottom: 16px;
}
.book-cover__author {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--indigo-300);
  margin-top: auto;
}

.book-stat {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 18px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(10,13,36,0.04);
}
.book-stat__num {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.book-stat__cap {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--slate-500);
  letter-spacing: 0.02em;
}

.method-prose .book-pull {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
  color: var(--slate-900);
  margin: 0 0 32px;
  max-width: 580px;
}
@media (max-width: 720px) { .method-prose .book-pull { font-size: 22px; } }
.method-prose p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate-700);
  margin: 0 0 20px;
  max-width: 580px;
}
.method-link { margin-top: 28px; }
.link {
  color: var(--violet-deep);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(99,91,255,0.3);
  transition: border-color 200ms;
}
.link:hover { border-color: var(--violet); }

/* ============================================================
   SECTION 09 — Thesis
============================================================ */
.thesis-col { max-width: 680px; }
.thesis-head { margin-bottom: 64px; }
.thesis-prose p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--slate-700);
  margin: 0 0 24px;
}
.thesis-stake {
  font-size: 30px !important;
  font-weight: 700 !important;
  color: var(--slate-900) !important;
  letter-spacing: -0.022em;
  line-height: 1.3 !important;
  margin: 32px 0 32px !important;
  max-width: 580px;
}
.thesis-prose .thesis-stake:first-of-type { margin-top: 0 !important; }
@media (max-width: 720px) { .thesis-stake { font-size: 24px !important; } }

.thesis-final {
  margin-top: 56px !important;
  font-size: 36px !important;
  font-weight: 700 !important;
  letter-spacing: -0.028em;
  line-height: 1.15 !important;
  background: linear-gradient(135deg, var(--violet) 0%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent !important;
  max-width: 580px;
}
@media (max-width: 720px) { .thesis-final { font-size: 26px !important; } }

/* ============================================================
   SECTION 10 — Final CTA (DARK)
============================================================ */
.s-cta {
  padding: 180px 0;
  color: var(--white);
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
}
.cta-h2 {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.0;
  color: var(--slate-900);
  margin: 0 0 32px;
  text-wrap: balance;
}
@media (max-width: 720px) { .cta-h2 { font-size: 42px; } }
.cta-body {
  font-size: 19px;
  line-height: 1.6;
  color: var(--slate-500);
  margin: 0 0 18px;
  max-width: 560px;
}
.cta-body--punch {
  margin-bottom: 48px;
  color: var(--slate-900);
  font-weight: 500;
}
.cta-form {
  display: flex;
  max-width: 520px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 6px;
  gap: 6px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 14px;
}
.cta-form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 16px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--white);
  outline: none;
}
.cta-form input::placeholder { color: rgba(255,255,255,0.45); }
.cta-form button {
  border: none;
  background: linear-gradient(135deg, var(--violet) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 0 22px;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 200ms, box-shadow 200ms;
  box-shadow: 0 8px 24px rgba(99,91,255,0.4);
}
.cta-form button:hover { transform: translateY(-1px); }
.cta-micro {
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin: 0;
  letter-spacing: 0.02em;
}

/* Microlead above the scan form — subhead role between H2 and form */
.cta-microlead {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  color: var(--slate-500);
  margin: 0 0 28px;
  letter-spacing: 0;
}

/* Dark-mode scan form — mirrors hero pill, inverted for dark canvas */
.cta-scanform {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 8px;
  max-width: 520px;
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}
.cta-scanform:focus-within {
  border-color: rgba(30, 91, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(30, 91, 255, 0.18), 0 0 32px rgba(30, 91, 255, 0.25);
  background: rgba(255,255,255,0.08);
}
.cta-scanform__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 14px;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--white);
}
.cta-scanform__input::placeholder {
  color: rgba(255,255,255,0.45);
}
.cta-scanform__btn {
  flex-shrink: 0;
  padding: 12px 22px;
  background: var(--white);
  color: var(--slate-900);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}
.cta-scanform__btn:hover {
  background: var(--slate-100);
  transform: translateY(-1px);
}
.cta-scanform:focus-within .cta-scanform__btn {
  background: var(--blue);
  color: var(--white);
}
.cta-scanform:focus-within .cta-scanform__btn:hover {
  background: var(--blue-deep);
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  border-top: 1px solid var(--slate-200);
  padding: 32px 0;
  background: var(--white);
}
.site-footer__row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer__mark {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 16px;
  color: var(--slate-900);
}
.site-footer__line {
  font-size: 13px;
  color: var(--slate-500);
  margin: 0;
}
.site-footer__line a {
  color: var(--slate-500);
  text-decoration: none;
  transition: color 150ms;
}
.site-footer__line a:hover { color: var(--slate-900); }
.site-footer__line span {
  margin: 0 8px;
  color: var(--slate-300);
}

/* ============================================================
   VS. THE ALTERNATIVES (competitive comparison)
============================================================ */
.s-versus {
  position: relative;
  padding: 120px 0;
  background: var(--paper);
  overflow: hidden;
}
@media (max-width: 720px) {
  .s-versus { padding: 64px 0; }
}

.versus-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}
.versus-h2 {
  font-family: var(--sans);
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--slate-900);
  margin: 14px 0 18px;
  text-wrap: balance;
}
@media (max-width: 1080px) { .versus-h2 { font-size: 52px; } }
@media (max-width: 720px)  { .versus-h2 { font-size: 36px; } }
.versus-h2--muted { color: var(--slate-400); }
.versus-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--slate-500);
  margin: 0 auto;
  max-width: 640px;
}

.versus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
@media (max-width: 900px) {
  .versus-grid { grid-template-columns: 1fr; }
}
.versus-grid--in-premise {
  margin: 0 0 48px;
}
.versus-leadin {
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.5;
  color: var(--slate-500);
  margin: -32px 0 28px;
  max-width: 640px;
  font-style: italic;
}

.versus-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 28px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(10, 13, 36, 0.04);
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}
.versus-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--slate-200);
  transition: background 220ms ease;
}
.versus-card:hover {
  border-color: var(--slate-300);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -12px rgba(10, 13, 36, 0.14);
}
.versus-card:hover::before {
  background: var(--blue);
}
.versus-card__verb {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-bottom: 4px;
}
.versus-card__cat {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--slate-900);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0;
}
.versus-card__ex {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--slate-400);
  letter-spacing: 0.04em;
  margin: 0 0 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--slate-100);
  line-height: 1.55;
}
.versus-card__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.versus-card__label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate-500);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.versus-card__label::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--slate-300);
}
/* ASKS row dot stays muted (what they do); MISSES dot is brand-blue (the gap = Yieldpage's space) */
.versus-card__row:nth-of-type(2) .versus-card__label::before {
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 91, 255, 0.15);
}
.versus-card__row:nth-of-type(2) .versus-card__label {
  color: var(--blue);
}
.versus-card__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--slate-700);
  margin: 0;
}

/* Yieldpage punchline card */
.versus-yieldpage {
  background: var(--white);
  border: 1px solid var(--blue);
  border-radius: 14px;
  padding: 36px 36px 40px;
  position: relative;
  box-shadow: 0 12px 32px rgba(30, 91, 255, 0.10);
  overflow: hidden;
}
.versus-yieldpage::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(30, 91, 255, 0.05) 0%, transparent 55%);
}
@media (max-width: 720px) {
  .versus-yieldpage { padding: 28px 24px 30px; }
}
.versus-yieldpage__inner { position: relative; z-index: 1; }
.versus-yieldpage__cat {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 12px;
}
.versus-yieldpage__h3 {
  font-family: var(--sans);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--slate-900);
  margin: 0 0 18px;
}
@media (max-width: 720px) { .versus-yieldpage__h3 { font-size: 26px; } }
.versus-yieldpage__body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--slate-700);
  margin: 0;
  max-width: 760px;
}
.versus-yieldpage__body em {
  font-style: italic;
  color: var(--slate-900);
}
.versus-yieldpage__link {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-500);
  text-decoration: none;
  border-bottom: 1px solid var(--slate-200);
  padding-bottom: 2px;
  transition: color 180ms ease, border-color 180ms ease;
}
.versus-yieldpage__link:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.versus-yieldpage__link span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 180ms ease;
}
.versus-yieldpage__link:hover span {
  transform: translateX(2px);
}
