/* ==========================================================================
   Dr. Ruth M. Geiman, PhD  |  General Processing Inventory (GPI)
   Site stylesheet. Plain CSS, no build step.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --bg: #f7f4ec;
  --surface: #fffdf8;
  --surface-2: #f1ecdf;
  --ink: #16213a;
  --muted: #505a70;
  --gold: #8a6a17;          /* gold for text on bg/surface (4.6:1 on bg) */
  --gold-deep: #7d5f12;     /* gold for text on surface-2 (5.1:1) */
  --gold-bright: #c9a24a;   /* gold for borders, fills, decorative */
  --line: #d9d2bf;
  --navy: #16213a;
  --navy-2: #0e1527;
  --on-navy: #f1ece0;
  --focus: #1f4fd8;
  --btn-navy-bg: #16213a;
  --btn-navy-fg: #f1ece0;
  --btn-navy-hover: #0e1527;
  --shadow: 0 1px 2px rgba(22,33,58,.06), 0 12px 32px -12px rgba(22,33,58,.22);
  --radius: 10px;
  --container: 1160px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-body: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --fs-sm: 0.9rem;
  --fs-xs: 0.8rem;
  --fs-h1: clamp(2.25rem, 1.6rem + 3.2vw, 4rem);
  --fs-h2: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem);
  --fs-h3: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --header-h: 72px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1527;
    --surface: #16213a;
    --surface-2: #1c2946;
    --ink: #f1ece0;
    --muted: #b9b3a3;
    --gold: #d6b25e;
    --gold-deep: #d6b25e;
    --gold-bright: #d6b25e;
    --line: #2b3a5c;
    --navy: #0a1020;
    --navy-2: #060a16;
    --on-navy: #f1ece0;
    --focus: #8fb0ff;
    --btn-navy-bg: #f1ece0;
    --btn-navy-fg: #0e1527;
    --btn-navy-hover: #ffffff;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1527;
  --surface: #16213a;
  --surface-2: #1c2946;
  --ink: #f1ece0;
  --muted: #b9b3a3;
  --gold: #d6b25e;
  --gold-deep: #d6b25e;
  --gold-bright: #d6b25e;
  --line: #2b3a5c;
  --navy: #0a1020;
  --navy-2: #060a16;
  --on-navy: #f1ece0;
  --focus: #8fb0ff;
  --btn-navy-bg: #f1ece0;
  --btn-navy-fg: #0e1527;
  --btn-navy-hover: #ffffff;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.6);
  color-scheme: dark;
}

/* ---------- Reset and base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: var(--fs-h1); font-weight: 500; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: .35em; }
strong { font-weight: 700; }
small { font-size: var(--fs-sm); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 700; font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: var(--surface-2); padding: .1em .35em; border-radius: 4px; }
blockquote { margin: 0 0 1em; padding: 1rem 1.25rem; border-left: 3px solid var(--gold-bright); background: var(--surface); font-family: var(--font-head); font-size: 1.15em; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 1000;
  background: var(--navy); color: var(--on-navy); padding: .6rem 1rem; border-radius: 6px;
  text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3rem, 6vw, 6rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
.section--surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy a { color: var(--gold-bright); }
.section--navy a:hover { color: #fff; }
.section--navy .eyebrow { color: var(--gold-bright); }
.section--navy .muted { color: #cfc9b8; }
.section-head { max-width: 760px; margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-head p { color: var(--muted); font-size: 1.05em; }
.narrow { max-width: 760px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }
.grid { display: grid; gap: clamp(1rem, 2.5vw, 2rem); }
.grid > *, .two-col > *, .pricing-grid > *, .author-block > * { min-width: 0; }
.prose, .card, .cite-box, .transcript { overflow-wrap: break-word; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 680px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.muted { color: var(--muted); }
.gold { color: var(--gold); }
.eyebrow {
  display: inline-block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: .9rem;
}
.summary {
  font-size: 1.1em; line-height: 1.55; color: var(--ink);
  border-left: 3px solid var(--gold-bright); padding-left: 1rem; margin-bottom: 1.5rem;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.25rem, 2.5vw, 1.75rem); box-shadow: var(--shadow);
}
.card h3 { margin-top: .25rem; }
.card--flat { box-shadow: none; }
.card-icon {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); color: var(--gold-deep); margin-bottom: 1rem;
  font-family: var(--font-head); font-size: 1.25rem; font-weight: 600;
  border: 1px solid var(--line);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.35rem; border-radius: 8px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
  font-family: var(--font-body);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--gold-bright); color: #16213a; border-color: var(--gold-bright); }
.btn--primary:hover { background: #b8913d; border-color: #b8913d; color: #16213a; }
.btn--navy { background: var(--btn-navy-bg); color: var(--btn-navy-fg); border-color: var(--btn-navy-bg); }
.btn--navy:hover { background: var(--btn-navy-hover); border-color: var(--btn-navy-hover); color: var(--btn-navy-fg); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--bg); }
.section--navy .btn--primary, .section--navy .btn--primary:hover { color: #16213a; }
.section--navy .btn--navy { background: var(--on-navy); color: var(--navy-2); border-color: var(--on-navy); }
.section--navy .btn--outline { color: var(--on-navy); border-color: var(--on-navy); }
.section--navy .btn--outline:hover { background: var(--on-navy); color: var(--navy); }
.btn--sm { padding: .5rem .9rem; font-size: var(--fs-sm); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  min-height: var(--header-h);
}
.site-header .container { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; line-height: 1.1; }
.brand .logo { width: 36px; height: 36px; flex: none; }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.nav { margin-left: auto; display: none; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nav a { display: block; padding: .5rem .8rem; text-decoration: none; color: var(--ink); font-weight: 500; border-radius: 6px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--surface-2); color: var(--ink); }
.nav a[aria-current="page"] { font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.nav + .header-actions { margin-left: 0; }
.header-actions .btn--enroll { display: none; }
.theme-toggle, .menu-toggle {
  width: 42px; height: 42px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); display: grid; place-items: center; cursor: pointer; padding: 0;
}
.theme-toggle svg, .menu-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--surface); }
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: .5rem var(--gutter) 1rem; }
.mobile-nav a { display: block; padding: .75rem .25rem; text-decoration: none; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav a[aria-current="page"] { color: var(--gold); }
@media (min-width: 900px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
  .header-actions .btn--enroll { display: inline-flex; }
  .mobile-nav { display: none !important; }
}

/* ---------- Mobile sticky bar ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--surface); border-top: 1px solid var(--line);
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  display: flex; gap: .6rem; align-items: center; justify-content: space-between;
  box-shadow: 0 -8px 24px -12px rgba(0,0,0,.25);
}
.sticky-bar .sticky-label { font-size: var(--fs-sm); line-height: 1.25; }
.sticky-bar .sticky-label strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.sticky-bar .btn { flex: none; }
body:has(.sticky-bar) { padding-bottom: 76px; }
@media (min-width: 900px) { .sticky-bar { display: none; } body:has(.sticky-bar) { padding-bottom: 0; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3rem, 7vw, 6.5rem); overflow: hidden; }
.hero .container { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .hero .container { grid-template-columns: 1.15fr .85fr; } }
.hero h1 { margin-bottom: 1rem; max-width: 14ch; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lede { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); color: var(--muted); max-width: 54ch; margin-bottom: 1.75rem; }
.hero-proof { margin-top: 1.5rem; font-size: var(--fs-sm); color: var(--muted); display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.hero-proof span::before { content: "•"; color: var(--gold-bright); margin-right: .5rem; }

/* CSS-drawn workbook cover */
.book-wrap { display: grid; place-items: center; perspective: 1600px; padding: 1.5rem 0; }
.book {
  position: relative; width: min(100%, 360px); aspect-ratio: 3 / 4;
  border-radius: 4px 10px 10px 4px;
  color: #f1ece0; padding: 11% 9% 9% 16%;
  display: flex; flex-direction: column; justify-content: space-between;
  transform: rotateY(-10deg) rotateX(3deg);
  transform-style: preserve-3d;
  /* cover material: deep navy with a soft spotlight and a fine cloth weave */
  background:
    radial-gradient(120% 90% at 30% 15%, rgba(255,255,255,.10), transparent 60%),
    radial-gradient(90% 70% at 90% 100%, rgba(0,0,0,.35), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, #1b2746 0%, #16213a 45%, #0f1830 100%);
  box-shadow:
    0 40px 70px -25px rgba(10,16,32,.65),
    0 12px 24px -12px rgba(10,16,32,.5),
    inset 0 1px 0 rgba(255,255,255,.08),
    inset -2px 0 0 rgba(0,0,0,.25);
}
/* page block behind the cover, visible at the right and bottom edges */
.book::after {
  content: ""; position: absolute; inset: 1.5% -2.4% -2.2% 3%; z-index: -1; border-radius: 3px 8px 8px 3px;
  background:
    repeating-linear-gradient(90deg, #efe8d6 0 1px, #d9d1bb 1px 2px),
    #e9e2cf;
  box-shadow: 0 10px 20px -10px rgba(10,16,32,.5);
  transform: translateZ(-6px);
}
/* double gold rule, thin outer and hairline inner, like a foil-stamped frame */
.book::before {
  content: ""; position: absolute; inset: 5.5% 5.5% 5.5% 12%; pointer-events: none; border-radius: 2px;
  border: 1.5px solid #c9a24a;
  box-shadow: inset 0 0 0 4px transparent, inset 0 0 0 5px rgba(201,162,74,.55), 0 0 0 1px rgba(0,0,0,.25);
}
/* coil binding: rings that wrap the spine edge */
.book-spiral {
  position: absolute; left: -2.2%; top: 5%; bottom: 5%; width: 9%;
  display: flex; flex-direction: column; justify-content: space-between; z-index: 2;
}
.book-spiral i {
  display: block; height: 7px; border-radius: 4px; position: relative;
  background: linear-gradient(180deg, #e8d49a 0%, #c9a24a 45%, #8a6a17 100%);
  box-shadow: 0 1px 2px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.5);
}
.book-spiral i::after { /* punched hole */
  content: ""; position: absolute; right: -2px; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #060a16, #0e1527 70%); box-shadow: inset 0 1px 2px rgba(0,0,0,.8);
}
/* gold foil title */
.book-title { position: relative; }
.book-title .book-gpi {
  font-family: var(--font-head); font-size: clamp(4.2rem, 15vw, 7rem); font-weight: 600; line-height: .88; letter-spacing: -.015em;
  background: linear-gradient(170deg, #f3e3b0 0%, #d9b65c 28%, #a9842a 52%, #e6cc85 72%, #b08c33 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255,240,200,.25)) drop-shadow(0 2px 3px rgba(0,0,0,.45));
}
.book-title .book-sub { margin-top: 1rem; font-size: clamp(.72rem, 2.6vw, .86rem); line-height: 1.45; color: #e9e3d3; max-width: 25ch; }
.book-title .book-sub strong { display: block; color: #d9b65c; letter-spacing: .16em; font-size: .7em; text-transform: uppercase; margin-bottom: .45rem; font-weight: 700; }
.book-foot { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem; padding-top: .75rem; border-top: 1px solid rgba(201,162,74,.35); }
.book-foot .book-author { font-family: var(--font-head); font-style: italic; font-size: clamp(.85rem, 2.9vw, 1rem); color: #f1ece0; }
.book-foot .book-author small { display: block; font-style: normal; font-family: var(--font-body); font-size: .6em; letter-spacing: .14em; text-transform: uppercase; color: #d9b65c; margin-top: .3rem; font-weight: 700; }
.book-foot .logo { width: 44px; height: 44px; color: #d9b65c; filter: drop-shadow(0 1px 1px rgba(0,0,0,.5)); }
/* glossy sheen across the cover */
.book-title::before {
  content: ""; position: absolute; inset: -40% -60% auto -60%; height: 120%; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.06) 50%, transparent 60%);
}
@media (prefers-reduced-motion: reduce) { .book { transform: none; } }

/* ---------- Clover logo ---------- */
.logo { color: var(--gold-bright); }

/* ---------- Method cards ---------- */
.method .card { position: relative; }
.method .step { font-family: var(--font-head); font-size: 2.75rem; line-height: 1; color: var(--gold-bright); opacity: .9; margin-bottom: .5rem; font-weight: 500; }

/* ---------- Session list ---------- */
.session-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; counter-reset: s; }
.session-list li { counter-increment: s; }
.session-list a, .session-list .session-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.25rem; text-decoration: none; color: var(--ink);
  transition: border-color .15s, transform .15s;
}
.session-list a:hover { border-color: var(--gold-bright); transform: translateX(2px); }
.session-list .num { font-family: var(--font-head); font-size: 1.5rem; color: var(--gold); min-width: 2.2ch; }
.session-list .title { font-weight: 700; }
.session-list .desc { display: block; color: var(--muted); font-size: var(--fs-sm); font-weight: 400; margin-top: .15rem; }
.session-list .badge { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold-bright); padding: .25rem .5rem; border-radius: 999px; white-space: nowrap; }
.session-list .badge--free { background: var(--gold-bright); color: #16213a; border-color: var(--gold-bright); }
@media (max-width: 520px) { .session-list a, .session-list .session-row { grid-template-columns: auto 1fr; } .session-list .badge { grid-column: 2; justify-self: start; } }

/* ---------- Accordion (details/summary) ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 0; font-weight: 700; font-size: 1.05rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+"; margin-left: auto; font-family: var(--font-head); font-size: 1.5rem; color: var(--gold); line-height: 1; flex: none;
}
.accordion details[open] summary::after { content: "−"; }
.accordion .acc-num { font-family: var(--font-head); color: var(--gold); font-size: 1.25rem; min-width: 2ch; }
.accordion .acc-body { padding: 0 0 1.25rem 0; color: var(--muted); }
.accordion .acc-body p:last-child { margin-bottom: 0; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 720px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .pricing-grid { grid-template-columns: repeat(4, 1fr); } }
.price-card { display: flex; flex-direction: column; position: relative; min-width: 0; }
.price-card .price, .compare td { overflow-wrap: anywhere; }
.price-card--featured { border-color: var(--gold-bright); box-shadow: 0 0 0 2px var(--gold-bright), var(--shadow); }
.price-card .ribbon { position: absolute; top: -.8rem; left: 1.25rem; background: var(--gold-bright); color: #16213a; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 999px; }
.price-card .price { font-family: var(--font-head); font-size: 2.25rem; line-height: 1; margin: .5rem 0 .25rem; }
.price-card .price small { font-family: var(--font-body); font-size: .9rem; color: var(--muted); }
.price-card .includes { list-style: none; padding: 0; margin: 1rem 0 1.5rem; flex: 1; }
.price-card .includes li { padding-left: 1.5rem; position: relative; margin-bottom: .5rem; font-size: var(--fs-sm); }
.price-card .includes li::before { content: ""; position: absolute; left: 0; top: .5em; width: .8rem; height: .45rem; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare { min-width: 680px; }
.compare td:first-child { font-weight: 600; }
.compare .yes { color: var(--gold); font-weight: 700; }
.compare .no { color: var(--muted); }
.guarantee { display: none; } /* shown by site.js only when REFUND_POLICY filled */
.guarantee[data-visible="true"] { display: block; }

/* ---------- Video ---------- */
.video-frame {
  position: relative; aspect-ratio: 16 / 9; background: var(--navy); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--line); color: var(--on-navy);
}
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame .video-poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-frame .video-poster + .video-placeholder { background: linear-gradient(to top, rgba(14,21,39,.75), rgba(14,21,39,.25)); }
.video-frame .video-poster + .video-placeholder .play { background: rgba(14,21,39,.55); }
.video-frame .video-poster + .video-placeholder p { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6); font-weight: 600; }
.video-frame .video-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1.5rem;
}
.video-frame .video-placeholder .play {
  width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--gold-bright); display: grid; place-items: center; margin: 0 auto .75rem; color: var(--gold-bright);
}
.video-frame .video-placeholder p { margin: 0; font-size: var(--fs-sm); color: #cfc9b8; }
.locked-note { background: var(--surface-2); border: 1px dashed var(--gold-bright); border-radius: var(--radius); padding: 1rem 1.25rem; font-size: var(--fs-sm); }

/* ---------- Chapters, transcript ---------- */
.chapters { list-style: none; padding: 0; margin: 0; }
.chapters li { display: flex; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.chapters time { font-variant-numeric: tabular-nums; color: var(--gold); font-weight: 700; min-width: 5ch; }
.transcript { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.transcript p { white-space: pre-wrap; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1rem; }
.form label { font-weight: 600; font-size: var(--fs-sm); display: block; margin-bottom: .35rem; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line);
  border-radius: 8px; padding: .75rem .9rem;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold-bright); }
.form textarea { min-height: 140px; resize: vertical; }
.form .check { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--fs-sm); font-weight: 400; }
.form .check input { margin-top: .3em; width: 1.1em; height: 1.1em; accent-color: var(--gold); flex: none; }
.form .row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.form .hp { position: absolute; left: -9999px; }
.form-note { font-size: var(--fs-xs); color: var(--muted); }

/* ---------- Trust ---------- */
.testimonials, .featured-in, .guarantee-block { display: none; }
.testimonials[data-visible="true"], .featured-in[data-visible="true"], .guarantee-block[data-visible="true"] { display: block; }
.author-block { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 820px) { .author-block { grid-template-columns: 320px 1fr; } }
.portrait {
  aspect-ratio: 1 / 1; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; place-items: center; color: var(--muted); font-size: var(--fs-sm); text-align: center; padding: 1rem; overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.cred-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.cred-list li { padding-left: 1.6rem; position: relative; }
.cred-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: .9rem; height: .5rem; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }

/* ---------- Notice ---------- */
.notice {
  background: var(--surface-2); border: 1px solid var(--line); border-left: 4px solid var(--gold-bright);
  border-radius: 8px; padding: 1rem 1.25rem; font-size: var(--fs-sm); color: var(--ink);
}
.notice strong { color: var(--gold-deep); }

/* ---------- Cite box ---------- */
.cite-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.cite-box dl { display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.25rem; margin: 0; }
.cite-box dt { font-weight: 700; font-size: var(--fs-sm); color: var(--muted); }
.cite-box dd { margin: 0; }
@media (max-width: 560px) { .cite-box dl { grid-template-columns: 1fr; } .cite-box dd { margin-bottom: .5rem; } }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: var(--fs-sm); color: var(--muted); padding-top: 1.25rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; color: var(--line); }
.breadcrumb a { color: var(--muted); }

/* ---------- Page header ---------- */
.page-head { padding-block: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem); }
.page-head h1 { max-width: 20ch; }

/* ---------- FAQ ---------- */
.faq-group { margin-bottom: 2.5rem; }
.faq-group h2 { font-size: 1.35rem; margin-bottom: .5rem; }

/* ---------- Glossary ---------- */
.glossary dt { font-weight: 700; font-family: var(--font-head); font-size: 1.15rem; margin-top: 1.25rem; }
.glossary dd { margin: .25rem 0 0; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding-block: 3rem 2rem; font-size: var(--fs-sm); color: var(--muted); }
.site-footer .container { display: grid; gap: 2rem; }
@media (min-width: 820px) { .site-footer .container { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h4 { color: var(--ink); margin-bottom: .6rem; font-size: var(--fs-sm); letter-spacing: .08em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--ink); }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; }
.site-footer .brand { font-size: 1rem; margin-bottom: .75rem; }

/* ---------- Fade-up on scroll ---------- */
.fade-up { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade-up { opacity: 1; transform: none; transition: none; } }
.no-js .fade-up { opacity: 1; transform: none; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; }
.center { text-align: center; }
.flow > * + * { margin-top: 1rem; }
.two-col { display: grid; gap: 2rem; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; } }
.stat { font-family: var(--font-head); font-size: 2rem; color: var(--gold); line-height: 1; }
.pill { display: inline-block; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold-bright); padding: .25rem .6rem; border-radius: 999px; }

/* 404 */
.big-404 { font-family: var(--font-head); font-size: clamp(5rem, 20vw, 10rem); line-height: 1; color: var(--gold-bright); }

@media print {
  .site-header, .sticky-bar, .theme-toggle, .menu-toggle, .mobile-nav { display: none !important; }
  body { background: #fff; color: #000; }
}
