/* ============================================================================
   Tau Square Academy — public site design system (pairs with styles.css).

   Bands set the tone. Every component reads the tone's variables (--fg,
   --body, --muted, --line, --card, --accent), so any component works on
   any band: ink (navy, the brand) or paper (ivory, for reading).

   Readability rules this file enforces:
   - body text 17px, weight 400, line-height 1.65, lines kept under ~68ch;
   - every text colour passes WCAG AA on its band (body text passes AAA);
   - one gold button per screen: gold means "the next step".

   Every band is navy by default; html[data-look="paper"] makes the reading
   bands ivory instead.
   ========================================================================== */

:root {
    --ink-950: #03070C;
    --ink-900: #070B14;
    --ink-850: #0B1220;
    --ink-800: #111A2C;
    --paper: #F6F1E7;
    --paper-2: #EEE7D9;
    --paper-card: #FFFCF6;
    --gold: #C8A96B;
    --gold-hi: #D9BE85;
    --gold-ink: #7A5B22;

    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;

    --wrap: 1180px;
    --gutter: 20px;
    --read: 68ch;
    --nav-h: 72px;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* ── Tones ─────────────────────────────────────────────────────────────── */
.site, .tone-ink {
    --bg: var(--ink-950);
    --fg: #F5F6F8;
    --body: #C9D0DB;
    --muted: #9AA3B2;
    --line: rgba(255, 255, 255, .12);
    --line-strong: rgba(255, 255, 255, .28);
    --card: var(--ink-900);
    --card-line: rgba(255, 255, 255, .10);
    --accent: var(--gold);
    --chip: rgba(255, 255, 255, .06);
}
.tone-ink-2 {
    --bg: var(--ink-900);
    --fg: #F5F6F8;
    --body: #C9D0DB;
    --muted: #9AA3B2;
    --line: rgba(255, 255, 255, .12);
    --line-strong: rgba(255, 255, 255, .28);
    --card: var(--ink-850);
    --card-line: rgba(255, 255, 255, .10);
    --accent: var(--gold);
    --chip: rgba(255, 255, 255, .06);
}
/* Navy everywhere by default: the brand, and the owner's choice (2026-10-26).
   The "paper" bands are the reading sections; html[data-look="paper"] turns
   them ivory if that's ever wanted again. */
.tone-paper, .tone-paper-2 {
    --bg: var(--ink-950);
    --fg: #F5F6F8;
    --body: #C9D0DB;
    --muted: #9AA3B2;
    --line: rgba(255, 255, 255, .12);
    --line-strong: rgba(255, 255, 255, .28);
    --card: var(--ink-900);
    --card-line: rgba(255, 255, 255, .10);
    --accent: var(--gold);
    --chip: rgba(255, 255, 255, .06);
}
.tone-paper-2 { --bg: var(--ink-900); --card: var(--ink-850); }

html[data-look="paper"] .tone-paper,
html[data-look="paper"] .tone-paper-2 {
    --bg: var(--paper);
    --fg: #10151F;
    --body: #2D3341;
    --muted: #5A6170;
    --line: rgba(16, 21, 31, .14);
    --line-strong: rgba(16, 21, 31, .32);
    --card: var(--paper-card);
    --card-line: rgba(16, 21, 31, .10);
    --accent: var(--gold-ink);
    --chip: rgba(16, 21, 31, .05);
}
html[data-look="paper"] .tone-paper-2 { --bg: var(--paper-2); --card: #FBF7EF; }

/* ── Base ──────────────────────────────────────────────────────────────── */
.site {
    margin: 0;
    background: var(--ink-950);
    color: var(--body);
    font: 400 17px/1.65 var(--sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
@media (max-width: 380px) { .site { font-size: 16px; } }
.site img { max-width: 100%; height: auto; }
.site ::selection { background: rgba(200, 169, 107, .35); }

.band {
    background: var(--bg);
    color: var(--body);
    padding: clamp(64px, 9vw, 112px) 0;
    position: relative;
}
.band-tight { padding: clamp(40px, 5vw, 64px) 0; }
.band + .band { border-top: 1px solid rgba(255, 255, 255, .06); }
.band-first { padding-top: calc(var(--nav-h) + clamp(48px, 8vw, 96px)); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-read { max-width: calc(760px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ── Type ──────────────────────────────────────────────────────────────── */
.h1, .h2, .h3, .h4 { color: var(--fg); font-variant-numeric: lining-nums; margin: 0; }
.h1 {
    font: 400 clamp(2.3rem, 1.3rem + 3.3vw, 3.9rem)/1.08 var(--serif);
    letter-spacing: -.015em;
}
.h2 {
    font: 400 clamp(1.95rem, 1.4rem + 2.1vw, 3rem)/1.12 var(--serif);
    letter-spacing: -.01em;
}
.h3 { font: 500 clamp(1.3rem, 1.15rem + .5vw, 1.6rem)/1.25 var(--serif); }
.h4 { font: 600 1.08rem/1.35 var(--sans); }
.h1 em, .h2 em, .h3 em { font-style: italic; color: var(--accent); }
.h1 .dim, .h2 .dim { color: var(--muted); }

.eyebrow {
    display: block;
    font: 500 12.5px/1.3 var(--mono);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 16px;
}
.lead {
    font-size: clamp(1.08rem, 1rem + .35vw, 1.28rem);
    line-height: 1.6;
    color: var(--body);
    max-width: 62ch;
    margin: 20px 0 0;
}
:where(.site) p { margin: 0; }
:where(.site) p + p { margin-top: 1em; }
.muted { color: var(--muted); }
.small { font-size: .92rem; line-height: 1.55; }
.fine { font-size: .84rem; line-height: 1.5; color: var(--muted); }
.strong, .site b, .site strong { color: var(--fg); font-weight: 600; }
.center { text-align: center; }
.center .lead, .center .sec-sub { margin-left: auto; margin-right: auto; }

.prose { max-width: var(--read); }
.prose p, .prose ul, .prose ol { margin: 0 0 1.05em; }
.prose a, .tlink {
    color: var(--fg);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
}
.prose a:hover, .tlink:hover { color: var(--accent); }

/* Section head: eyebrow, heading, one line of context. */
.sec-head { max-width: 780px; margin: 0 0 clamp(36px, 5vw, 56px); }
.sec-head.center { margin-left: auto; margin-right: auto; }
.sec-sub { color: var(--body); font-size: 1.08rem; line-height: 1.6; max-width: 62ch; margin-top: 16px; }

/* ── Buttons and links ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    min-height: 52px; padding: 0 26px;
    font: 600 15.5px/1.1 var(--sans); letter-spacing: .005em;
    text-decoration: none; text-align: center;
    border: 1px solid transparent; border-radius: 2px;
    cursor: pointer;
    transition: background-color .18s, border-color .18s, color .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gold); color: var(--ink-950); }
.btn-primary:hover { background: var(--gold-hi); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--fg); }
.btn-light { background: #fff; color: var(--ink-950); }
.btn-light:hover { background: #E9ECF1; }
.btn-sm { min-height: 42px; padding: 0 16px; font-size: 14.5px; }
.btn-block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.center .btn-row { justify-content: center; }
@media (max-width: 520px) { .btn-row .btn { flex: 1 1 100%; } }
.btn-note { margin-top: 14px; font-size: .9rem; color: var(--muted); }

.more {
    display: inline-flex; align-items: center; gap: .45em;
    font-weight: 600; color: var(--fg); text-decoration: none;
    border-bottom: 1.5px solid var(--accent);
    padding-bottom: 2px;
}
.more::after { content: '→'; transition: transform .18s; }
.more:hover::after { transform: translateX(3px); }
.more-row { margin-top: 36px; }

/* ── Grids ─────────────────────────────────────────────────────────────── */
.g2, .g3, .g4 { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .g2, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gap-lg { gap: 28px; }

.split { display: grid; gap: clamp(36px, 6vw, 72px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 960px) {
    .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
    .split.flip > :first-child { order: 2; }
    .split.top { align-items: start; }
    .split.hero { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
}

/* ── Cards ─────────────────────────────────────────────────────────────── */
.card {
    background: var(--card);
    border: 1px solid var(--card-line);
    padding: clamp(24px, 3vw, 32px);
}
.card .h3, .card .h4 { margin-bottom: 10px; }
.card-gold { border-color: rgba(200, 169, 107, .55); }
.card p { color: var(--body); }

/* Numbered steps (How it works in three steps). */
.step-n {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; margin-bottom: 18px;
    border: 1px solid var(--accent); color: var(--accent);
    font: 500 15px/1 var(--mono);
}

/* Bulleted lists with a mark. */
.ticks, .crosses { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li, .crosses li { position: relative; padding-left: 34px; }
.ticks li::before, .crosses li::before {
    position: absolute; left: 0; top: .1em;
    width: 22px; height: 22px; display: grid; place-items: center;
    font: 700 13px/1 var(--sans); border-radius: 50%;
}
.ticks li::before { content: '✓'; color: var(--ink-950); background: var(--gold); }
.crosses li::before { content: '✕'; color: var(--muted); border: 1px solid var(--line-strong); }

.dash { list-style: none; margin: 0; padding: 0; }
.dash li { padding: 14px 0; border-top: 1px solid var(--line); }
.dash li:last-child { border-bottom: 1px solid var(--line); }

/* ── Header ────────────────────────────────────────────────────────────── */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; }
.site-nav {
    background: rgba(3, 7, 12, .92);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.nav-row { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; flex: none; }
.brand img { width: 30px; height: 30px; }
.brand-name { font: 400 17px/1 var(--serif); letter-spacing: .14em; text-transform: uppercase; }
.brand-name i { color: var(--gold); font-size: 13px; letter-spacing: .04em; text-transform: lowercase; margin-left: 4px; }
@media (max-width: 400px) { .brand-name i { display: none; } }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 26px; }
.nav-links a, .nav-signin {
    color: #C3CAD6; text-decoration: none; font: 500 15px/1 var(--sans);
    padding: 10px 0; transition: color .15s;
}
.nav-links a:hover, .nav-signin:hover { color: #fff; }
.nav-links a[aria-current="page"] {
    color: #fff;
    text-decoration: underline; text-decoration-color: var(--gold);
    text-decoration-thickness: 2px; text-underline-offset: 9px;
}
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-signin { display: none; }
.menu-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; color: #fff; background: transparent;
    border: 1px solid rgba(255, 255, 255, .22); cursor: pointer;
}
.menu-btn svg { width: 20px; height: 20px; }
@media (min-width: 640px) { .nav-signin { display: inline-block; } }
@media (min-width: 1100px) {
    .nav-links { display: flex; }
    .menu-btn { display: none; }
}
.mobile-menu { border-top: 1px solid rgba(255, 255, 255, .07); background: var(--ink-950); max-height: calc(100vh - var(--nav-h)); overflow-y: auto; }
.mobile-menu ul { list-style: none; margin: 0; padding: 8px var(--gutter) 4px; }
.mobile-menu li a {
    display: block; padding: 15px 2px; color: #E3E7ED; text-decoration: none;
    font: 500 17px/1.2 var(--sans); border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.mobile-menu li a[aria-current="page"] { color: var(--gold); }
.mobile-menu .mm-foot { padding: 16px var(--gutter) 24px; display: grid; gap: 10px; }
@media (min-width: 1100px) { .mobile-menu { display: none !important; } }

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer { background: var(--ink-950); border-top: 1px solid rgba(255, 255, 255, .08); color: #AEB6C3; padding: 64px 0 calc(40px + env(safe-area-inset-bottom)); }
.foot-grid { display: grid; gap: 40px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.foot-brand { grid-column: 1 / -1; }
.foot-brand p { margin-top: 14px; max-width: 34ch; font-size: .95rem; line-height: 1.6; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .foot-brand { grid-column: auto; } }
.foot-h { font: 500 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 14px; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-list a { display: inline-block; padding: 6px 0; color: #C3CAD6; text-decoration: none; font-size: .97rem; }
.foot-list a:hover { color: #fff; }
.foot-legal {
    margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08);
    display: grid; gap: 14px; font-size: .84rem; line-height: 1.6; color: #9AA3B2;
}
.foot-legal a { color: inherit; }
@media (min-width: 900px) { .foot-legal { grid-template-columns: 1fr 1fr; } .foot-legal p:last-child { text-align: right; } }

/* WhatsApp button and the phone's bottom action bar. */
.wa-fab {
    position: fixed; right: 18px; bottom: 22px; z-index: 40;
    display: flex; align-items: center; gap: 10px;
    background: var(--ink-900); color: var(--gold);
    border: 1px solid rgba(200, 169, 107, .45); border-radius: 999px;
    padding: 12px 18px; text-decoration: none;
    font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
    transition: border-color .2s, transform .2s, bottom .25s;
}
.wa-fab:hover { border-color: var(--gold); transform: translateY(-2px); }
.wa-fab svg { width: 18px; height: 18px; flex: none; }
@media (max-width: 767px) { .wa-fab { padding: 13px; } .wa-fab span { display: none; } }

.m-cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: rgba(3, 7, 12, .96); border-top: 1px solid rgba(255, 255, 255, .1);
    transform: translateY(110%); transition: transform .28s ease;
}
.m-cta p { font-size: .9rem; line-height: 1.3; color: #C9D0DB; }
.m-cta p b { color: #fff; display: block; }
.m-cta.on { transform: none; }
.m-cta.on ~ .wa-fab { bottom: 92px; }
@media (min-width: 768px) { .m-cta { display: none; } }

/* ── Page parts ────────────────────────────────────────────────────────── */

/* Hero with the book collection. */
.hero-figure { margin: 0; }
.hero-figure img { display: block; width: 100%; height: auto; }
.cap { margin-top: 12px; font-size: .84rem; line-height: 1.5; color: var(--muted); text-align: center; }

/* Conference names. */
.confs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; margin: 0; padding: 0; list-style: none; }
.confs li { font: 600 clamp(1.15rem, 1rem + .6vw, 1.5rem)/1.2 var(--serif); color: var(--fg); opacity: .82; }
.confs-label { text-align: center; color: var(--muted); font-size: .95rem; margin-bottom: 18px; }

/* Chips: a short in-page table of contents. */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 28px 0 0; padding: 0; }
.chips a {
    display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
    background: var(--chip); border: 1px solid var(--line); color: var(--fg);
    text-decoration: none; font-size: .93rem; font-weight: 500;
}
.chips a:hover { border-color: var(--accent); }

/* The 100-hour bar: one segment per phase, width = hours. */
.hours { margin-top: 8px; }
.hours-bar { display: flex; gap: 3px; height: 54px; }
.hours-bar > span {
    flex: var(--h) 1 0; min-width: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--c, var(--gold)); color: #fff;
    font: 500 13px/1 var(--mono);
}
.hours-legend { display: grid; gap: 0; margin-top: 18px; list-style: none; padding: 0; }
.hours-legend li { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--line); }
.hours-legend li:last-child { border-bottom: 1px solid var(--line); }
.hours-legend .n { font: 500 13px/1 var(--mono); color: var(--accent); }
.hours-legend .t { color: var(--fg); font-weight: 500; }
.hours-legend .h { font: 500 13px/1 var(--mono); color: var(--muted); }
@media (min-width: 900px) { .hours-legend { grid-template-columns: 1fr 1fr 1fr; column-gap: 32px; } }
.hours-total { margin-top: 14px; display: flex; justify-content: space-between; font: 500 13px/1.4 var(--mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }

/* Phase cards (How it works). */
.phase { border-top: 2px solid var(--c, var(--accent)); padding-top: 18px; }
.phase-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.phase-n { font: 500 13px/1 var(--mono); color: var(--accent); letter-spacing: .08em; }
.phase-h { font: 500 13px/1 var(--mono); color: var(--muted); }
.phase .h4 { margin-bottom: 6px; }
.phase p { font-size: .98rem; line-height: 1.6; }

/* Product rows (textbook, course, tokens). */
.product { display: grid; gap: 28px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 760px) { .product { grid-template-columns: 220px minmax(0, 1fr); gap: 44px; } }
.product img { width: 100%; max-width: 240px; height: auto; display: block; margin: 0 auto; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; list-style: none; padding: 0; }
.facts li { padding: 7px 12px; border: 1px solid var(--line); font-size: .9rem; color: var(--fg); background: var(--chip); }

/* Playbook tiles, grouped by stage. */
.shelf + .shelf { margin-top: 52px; }
.shelf-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; padding-bottom: 14px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.shelf-head .h3 { margin: 0; }
.shelf-head span { color: var(--muted); font-size: .95rem; }
.books { display: grid; gap: 34px 26px; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
@media (min-width: 760px) { .books { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .books { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.book img { display: block; width: 100%; max-width: 190px; height: auto; margin: 0 auto 14px; }
.book .stage { display: block; font: 500 11.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.book .h4 { font-size: 1.02rem; margin-bottom: 6px; }
.book p { font-size: .94rem; line-height: 1.55; color: var(--body); }
.book p b { font-weight: 600; color: var(--fg); }

/* Doubt Token counts. */
.tok-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tok-row > div { border: 1px solid var(--line); background: var(--card); padding: 16px 10px; text-align: center; }
.tok-row .rec { border-color: var(--gold); }
.tok-n { display: block; font: 400 2.4rem/1 var(--serif); color: var(--fg); font-variant-numeric: lining-nums; }
.tok-l { display: block; margin-top: 8px; font: 500 12px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* Plan rows (home + what you get): who it adds, price, one link. */
.plans { display: grid; gap: 14px; }
.plan-row {
    display: grid; grid-template-columns: 1fr; gap: 6px 24px; align-items: center;
    background: var(--card); border: 1px solid var(--card-line); padding: 22px 24px;
    color: inherit; text-decoration: none; transition: border-color .18s;
}
.plan-row:hover { border-color: var(--accent); }
.plan-row.rec { border-color: rgba(200, 169, 107, .6); }
@media (min-width: 760px) { .plan-row { grid-template-columns: 200px minmax(0, 1fr) auto; } }
.plan-name { font: 400 1.45rem/1.2 var(--serif); color: var(--fg); }
.plan-name small { display: block; margin-top: 4px; font: 500 11.5px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.plan-what { color: var(--body); font-size: .98rem; line-height: 1.55; }
.plan-price { font: 400 1.6rem/1 var(--serif); color: var(--fg); font-variant-numeric: lining-nums; white-space: nowrap; }
.plan-price small { font: 400 .8rem/1 var(--sans); color: var(--muted); margin-left: 4px; }

/* Stories and quotes. */
.story { display: grid; gap: 22px; }
.story-tag { display: inline-block; font: 500 12px/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.story-beat .h4 { color: var(--accent); font: 500 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.story-close { font: italic 400 1.3rem/1.45 var(--serif); color: var(--fg); border-top: 1px solid var(--line); padding-top: 22px; }
/* Acceptance letters: framed like the original proof wall. */
.letter { margin: 0; background: var(--card); border: 1px solid var(--line); padding: 12px; transition: border-color .2s, transform .2s; }
.letter img { display: block; width: 100%; height: auto; }
.letter figcaption { margin-top: 12px; font: 500 11.5px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); text-align: center; }
a:hover > .letter { border-color: var(--line-strong); }

.quotes { columns: 1; column-gap: 20px; }
@media (min-width: 760px) { .quotes { columns: 2; } }
@media (min-width: 1100px) { .quotes { columns: 3; } }
.quote { break-inside: avoid; margin: 0 0 20px; background: var(--card); border: 1px solid var(--card-line); padding: 26px 26px 22px; }
.quote blockquote { margin: 0; color: var(--body); font-size: 1rem; line-height: 1.65; }
.quote blockquote p + p { margin-top: .8em; }
.quote figcaption { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--fg); font-weight: 600; font-size: .95rem; }
.quote figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; margin-top: 2px; }
.quote.feature { border-color: rgba(200, 169, 107, .6); }

.pull { margin: 0; }
.pull blockquote { margin: 0; font: italic 400 clamp(1.2rem, 1.05rem + .5vw, 1.45rem)/1.45 var(--serif); color: var(--fg); }
.pull figcaption { margin-top: 14px; font-size: .92rem; color: var(--muted); }

/* Letters wall. */
.wall { columns: 1; column-gap: 18px; }
@media (min-width: 560px) { .wall { columns: 2; } }
@media (min-width: 1000px) { .wall { columns: 3; } }
@media (min-width: 1100px) { .wall-4 { columns: 4; } }
.wall .letter { break-inside: avoid; margin-bottom: 18px; display: block; }

/* People. */
.person { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .person { grid-template-columns: 340px minmax(0, 1fr); gap: 56px; } }
.person-photo { margin: 0; }
.person-photo img { display: block; width: 100%; height: auto; filter: grayscale(.25) contrast(1.05); }
.person-photo figcaption { margin-top: 12px; }
.person-photo figcaption b { display: block; font: 400 1.3rem/1.3 var(--serif); color: var(--fg); }
.person-photo figcaption span { font: 500 11.5px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; }
.tags li { padding: 7px 12px; border: 1px solid var(--line); font-size: .88rem; color: var(--fg); }

.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.timeline > li { position: relative; padding: 0 0 36px 28px; }
.timeline > li::before { content: ''; position: absolute; left: -5px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--accent); }
.timeline > li:last-child { padding-bottom: 0; }
.timeline .when { font: 500 12px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.timeline .h4 { margin: 6px 0 10px; font: 500 1.25rem/1.3 var(--serif); }
.timeline figure { margin: 14px 0; }
.timeline figure img { display: block; width: 100%; height: auto; border: 1px solid var(--card-line); }
.timeline figcaption { margin-top: 8px; font-size: .84rem; color: var(--muted); }
.tl-photos { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .tl-photos { grid-template-columns: 1fr 1fr; } .tl-photos img { aspect-ratio: 3 / 2; object-fit: cover; } }

/* Callout band: one closing step. */
.cta-band { text-align: center; }
.cta-band .h2 { max-width: 20ch; margin: 0 auto; }
.cta-band .lead { margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; }

/* FAQ accordion. */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    list-style: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: flex-start; gap: 20px;
    padding: 20px 0; color: var(--fg); font: 600 1.05rem/1.45 var(--sans);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font: 400 1.5rem/1 var(--sans); color: var(--accent); transition: transform .2s; margin-top: -1px; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-a { padding: 0 0 22px; max-width: var(--read); color: var(--body); }
.faq .faq-a a { color: var(--fg); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group > .h3 { margin-bottom: 8px; }

/* Keyboard focus, everywhere. */
.site a:focus-visible, .site button:focus-visible, .site summary:focus-visible {
    outline: 2px solid var(--gold); outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .site *, .site *::before, .site *::after { transition: none !important; animation: none !important; }
}
.faq-q { font: inherit; color: inherit; margin: 0; }

/* Playfair's default figures are old-style, so "100" reads "1oo" and "0" reads
   "o". Lining figures everywhere; !important because every `font` shorthand
   above resets font-variant-numeric. */
.site, .site *, .site-header *, .site-footer * { font-variant-numeric: lining-nums !important; }

/* Small screens: the hours bar keeps only its middle caption; people cards
   get a smaller photo so the text column stays readable. */
@media (max-width: 599px) {
    .hours-total span:first-child, .hours-total span:last-child { display: none; }
    .hours-total { justify-content: center; }
}

/* pricing.html keeps its own phone CTA bar; lift the WhatsApp button above it. */
@media (max-width: 767px) { body:has(.mobile-sticky-cta.visible) .wa-fab { bottom: 92px; } }

/* Testimonial carousel (site-slider.js): a scroll-snap filmstrip. */
.slider-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; }
.slider-head .h2 { margin: 0; }
.slider-ctrl { display: flex; align-items: center; gap: 10px; }
.slider-count { font: 500 13px/1 var(--mono); letter-spacing: .1em; color: var(--muted); margin-right: 6px; }
.slider-btn {
    width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer;
    background: transparent; border: 1px solid var(--line-strong); color: var(--fg); font: 400 18px/1 var(--sans);
    transition: border-color .18s, color .18s;
}
.slider-btn:hover { border-color: var(--accent); color: var(--accent); }
.slider {
    display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    scrollbar-width: none; -ms-overflow-style: none; padding-bottom: 4px; outline-offset: 6px;
}
.slider::-webkit-scrollbar { display: none; }
.slide {
    flex: 0 0 88%; scroll-snap-align: start; margin: 0;
    display: flex; flex-direction: column;
    background: var(--card); border: 1px solid var(--card-line); padding: 30px 30px 26px;
}
@media (min-width: 760px) { .slide { flex-basis: calc((100% - 20px) / 2); } }
@media (min-width: 1100px) { .slide { flex-basis: calc((100% - 40px) / 3); } }
.slide.feature { border-color: rgba(200, 169, 107, .6); }
.slide-mark { display: block; height: 30px; font: 400 4.2rem/1 var(--serif); color: var(--accent); opacity: .55; }
.slide blockquote { margin: 10px 0 0; color: var(--body); font-size: 1.02rem; line-height: 1.7; }
.slide blockquote p + p { margin-top: .8em; }
.slide blockquote.clamped { max-height: 20.4em; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent); }
.slide-more {
    align-self: flex-start; margin-top: 12px; padding: 0 0 2px; cursor: pointer;
    background: none; border: 0; border-bottom: 1.5px solid var(--accent);
    color: var(--fg); font: 600 .9rem/1.4 var(--sans);
}
.slide figcaption { margin-top: auto; padding-top: 22px; }
.slide figcaption::before { content: ''; display: block; height: 1px; background: var(--line); margin-bottom: 16px; }
.slide figcaption b { display: block; color: var(--fg); font-weight: 600; }
.slide figcaption span { display: block; color: var(--muted); font-size: .9rem; margin-top: 2px; }
.slide-tag { display: inline-block; margin-top: 10px; font: 500 11.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
@media print { .slide blockquote.clamped { max-height: none; overflow: visible; -webkit-mask-image: none; mask-image: none; } }
/* The ACC letter is a tall phone screenshot: show its top, link to the whole. */
.wall .letter img { max-height: 460px; object-fit: cover; object-position: top; }

/* Letter gallery (home + results): a tidy grid, each letter on a white sheet.
   Wide letters fit whole; tall screenshots (.tall) show their top. Tap opens
   the full image. */
.letters { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .letters { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.letters > a { display: block; text-decoration: none; }
.letters .letter { height: 100%; display: flex; flex-direction: column; }
.letters .sheet { display: block; aspect-ratio: 16 / 10; background: #fff; overflow: hidden; }
.letters .sheet img { width: 100%; height: 100%; object-fit: contain; }
.letters .tall .sheet img { object-fit: cover; object-position: top; }
.letters .letter figcaption { margin-top: auto; padding-top: 12px; }
@media (max-width: 520px) { .letters { gap: 12px; } .letters .letter { padding: 8px; } .letters .letter figcaption { font-size: 10px; letter-spacing: .08em; } }

/* Conference names, scrolling (home). Two identical sets slide one set-width
   and loop; hover pauses; reduced motion shows one static, wrapped row. */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: tsq-marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; gap: 56px; padding: 0 56px 0 0; margin: 0; list-style: none; }
.marquee-set li { font: 600 clamp(1.2rem, 1rem + .7vw, 1.6rem)/1.3 var(--serif); color: var(--fg); opacity: .82; white-space: nowrap; cursor: help; }
@keyframes tsq-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .marquee { -webkit-mask-image: none; mask-image: none; }
    .marquee-track { width: auto; justify-content: center; }
    .marquee-set { flex-wrap: wrap; justify-content: center; gap: 10px 30px; padding: 0; }
    .marquee-set[aria-hidden] { display: none; }
}

/* Home hero: the original two-line composition, centred, with air.
   Each sentence on its own line; a soft gold light behind the headline. */
.hero-home { background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(200, 169, 107, .11), transparent 70%), var(--bg); }
.hero-title { font-size: clamp(2.5rem, 1.2rem + 4.3vw, 4.7rem); line-height: 1.14; letter-spacing: -.02em; margin: 6px auto 0; text-wrap: balance; }
.hero-home .lead { margin-top: 28px; max-width: 58ch; }
.hero-home .btn-row { margin-top: 36px; }
.hero-books { max-width: 920px; margin: clamp(48px, 7vw, 80px) auto 0; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .shimmer {
        background: linear-gradient(100deg, #C8A96B 20%, #F1DFAE 42%, #D4AF37 55%, #C8A96B 80%);
        background-size: 220% 100%;
        -webkit-background-clip: text; background-clip: text; color: transparent;
        padding-right: .08em;
        animation: tsq-shimmer 6s ease-in-out infinite;
    }
}
@keyframes tsq-shimmer { 0%, 100% { background-position: 110% 0; } 50% { background-position: -10% 0; } }

/* No orphaned last words, on every page that loads this file (guides,
   legal and pricing included): headings balance their lines, and running
   text avoids ending on a lone word. Older browsers just wrap as before. */
h1, h2, h3, h4, .h1, .h2, .h3, .h4 { text-wrap: balance; }
p, li, blockquote, figcaption, dd, td { text-wrap: pretty; }
/* A heading's forced break before its last phrase starts a new block, so
   each sentence balances on its own (pricing's headings included). The .nb
   spans are site-nav.js keeping a last word pair together; never a phrase. */
:is(h1, h2, h3) > br:has(+ :is(span:not(.nb), em):last-child) { display: none; }
:is(h1, h2, h3) > br + :is(span:not(.nb), em):last-child { display: block; }
@media (max-width: 480px) { .book .h4 { font-size: .94rem; } }

/* ── Tau Square Studio ─────────────────────────────────────────────────────
   studio.html, and the Studio bands on the home page and What you get.
   Softer than the rest of the site on purpose: glass, light and round
   corners say "software"; the navy and gold say Tau Square. */
/* Seven menu items: a little tighter until there's room. */
@media (min-width: 1100px) and (max-width: 1259px) { .nav-links { gap: 19px; } .nav-actions { gap: 14px; } }

.glass {
    position: relative; border-radius: 18px; padding: clamp(22px, 3vw, 30px);
    background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
    border: 1px solid rgba(255, 255, 255, .09);
}
.glass.gold { border-color: rgba(200, 169, 107, .5); box-shadow: 0 30px 90px -40px rgba(200, 169, 107, .35); }

/* The steps, joined by one gold line. */
.line-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.line-steps::before { content: ''; position: absolute; left: 13px; top: 14px; bottom: 14px; width: 2px; background: linear-gradient(var(--gold), rgba(200, 169, 107, .15)); }
.line-steps li { position: relative; padding: 9px 0 9px 42px; color: var(--fg); font-weight: 500; line-height: 1.4; }
.line-steps li::before {
    content: '✓'; position: absolute; left: 0; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 28px; height: 28px;
    border-radius: 50%; background: var(--ink-950); border: 1.5px solid var(--gold); color: var(--gold); font: 700 12px/1 var(--sans);
}
.line-steps .sub { color: var(--muted); font-weight: 400; font-size: .92rem; }

/* τ² in a slowly turning ring of light. */
.tau-orb { position: relative; display: inline-grid; place-items: center; width: 96px; height: 96px; }
.tau-orb::before {
    content: ''; position: absolute; inset: 0; border-radius: 50%;
    background: conic-gradient(from 0deg, transparent, rgba(200, 169, 107, .85), transparent 40%, rgba(15, 106, 120, .8), transparent 75%);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
    animation: tsq-spin 9s linear infinite;
}
.tau-orb::after { content: ''; position: absolute; inset: 14px; border-radius: 50%; background: radial-gradient(circle, rgba(200, 169, 107, .28), transparent 70%); filter: blur(6px); }
.tau-orb span {
    position: relative; z-index: 1; font: italic 500 2.6rem/1 var(--serif);
    background: linear-gradient(120deg, #F1DFAE, #C8A96B 60%, #D4AF37); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tau-orb.lg { width: 140px; height: 140px; }
.tau-orb.lg span { font-size: 3.8rem; }
@keyframes tsq-spin { to { transform: rotate(360deg); } }

/* A Studio band elsewhere on the site: the words, then the steps. */
.studio-band { overflow: hidden; isolation: isolate; }
.studio-band::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(ellipse 50% 60% at 85% 50%, rgba(15, 106, 120, .2), transparent 70%), radial-gradient(ellipse 45% 55% at 10% 20%, rgba(200, 169, 107, .1), transparent 70%);
}
.studio-band .tau-orb { margin-bottom: 18px; }
/* Tau, the face of τ² AI (tau-bot.svg): hovers gently beside its section. */
.tau-bot { display: block; width: 150px; height: auto; margin: -18px 0 4px -14px; filter: drop-shadow(0 18px 30px rgba(200, 169, 107, .25)); animation: tsq-hover 5.5s ease-in-out infinite; }
.tau-bot-lg { width: 230px; margin: -30px 0 0 -26px; }
.tau-hello { margin: 0 0 18px; font: italic 400 1.15rem/1.4 var(--serif); color: var(--gold); }
@keyframes tsq-hover { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .tau-bot { animation: none; } }
@media (prefers-reduced-motion: reduce) { .tau-orb::before { animation: none; } }

/* ── Basic or Premium: one step done both ways (studio.html, accelerator.html).
      Drawn, never a screenshot. The two time bars fill at the same speed; Premium
      stops at a tenth: up to 90% less time (the owner's figure, 2026-11-12). */
.ab { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 820px) { .ab { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ab-lane { min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 20px; border: 1px solid var(--line); background: var(--card); }
.ab-prem { position: relative; border-color: rgba(200, 169, 107, .55); background: linear-gradient(180deg, rgba(200, 169, 107, .08), transparent 55%), var(--card); box-shadow: 0 30px 80px -44px rgba(200, 169, 107, .5); animation: abHalo 4s ease-in-out infinite; }
.ab-prem::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: linear-gradient(90deg, transparent, #F1DFAE, transparent) no-repeat; background-size: 40% 100%; animation: abEdge 3.5s linear infinite; }
.ab-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0; }
.ab-head b { font: 400 1.4rem/1.2 var(--serif); color: var(--fg); }
.ab-head span { font: 500 11px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ab-prem .ab-head span { color: var(--gold); }
.ab-screen { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); height: 156px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 10px; overflow: hidden; background: #EEF1F6; }
.ab-pdf { position: relative; overflow: hidden; background: #fff; border-right: 1px solid #DCE2EC; }
.ab-strip { position: absolute; left: 0; right: 0; top: 0; animation: abScroll 9s linear infinite; }
.ab-strip i { display: block; height: 156px; border-bottom: 1px dashed #DCE2EC; background: repeating-linear-gradient(180deg, #CDD3DE 0 4px, transparent 4px 12px) 14px 18px / calc(100% - 28px) 118px no-repeat, #fff; }
.ab-mag { position: absolute; left: 18%; top: 22%; width: 26px; height: 26px; border: 2.5px solid #141B2B; border-radius: 50%; background: rgba(255, 255, 255, .35); animation: abMag 3.4s ease-in-out infinite alternate; }
.ab-mag::after { content: ''; position: absolute; right: -9px; bottom: -5px; width: 11px; height: 3px; background: #141B2B; transform: rotate(45deg); }
.ab-sheet { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: center; gap: 8px 10px; padding: 12px; font: 500 11px/1.2 var(--sans); color: #4B5563; }
.ab-lbl { align-self: center; }
.ab-in { display: flex; align-items: center; height: 26px; padding: 0 8px; border: 1px solid #C9D0DB; border-radius: 4px; background: #fff; font: 600 13px/1 var(--mono); color: #141B2B; }
.ab-in.on { border-color: #C8A96B; background: #FFF6DE; }
.ab-caret { width: 1.5px; height: 14px; background: #141B2B; animation: abBlink 1s steps(1) infinite; }
.ab-type { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; width: 3ch; animation: abType 3s steps(3, end) infinite; }
.ab-p6 { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; }
.ab-p6::after { content: ''; position: absolute; left: 0; right: 0; top: -30%; height: 30%; background: linear-gradient(180deg, transparent, rgba(200, 169, 107, .32), transparent); pointer-events: none; animation: abSweep 3s ease-in-out infinite; }
.ab-ttl { font: 600 10px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #6B7280; }
.ab-tbl { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #C9D0DB; border-width: 1px 0 0 1px; }
.ab-tbl i { height: 26px; border: 1px solid #DCE2EC; border-width: 0 1px 1px 0; background: linear-gradient(#CDD3DE, #CDD3DE) 8px center / 55% 4px no-repeat; }
.ab-tbl i.hit { padding-left: 8px; background: rgba(200, 169, 107, .42); box-shadow: inset 0 0 0 2px #C8A96B; font: 700 12px/26px var(--mono); font-style: normal; color: #141B2B; animation: abGlow 2.4s ease-in-out infinite; }
.ab-steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: ab; }
.ab-steps li { counter-increment: ab; position: relative; min-height: 22px; padding-left: 34px; font-size: .95rem; line-height: 1.45; color: var(--body); }
.ab-steps li::before { content: counter(ab); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; font: 600 11px/1 var(--sans); color: var(--muted); }
.ab-prem .ab-steps li::before { border-color: rgba(200, 169, 107, .7); color: var(--gold); }
.ab-run { display: grid; gap: 8px; }
.ab-run-k { display: flex; align-items: center; gap: 8px; margin: 0; font: 500 10.5px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ab-prem .ab-run-k { color: var(--gold); }
.ab-run-k .orb { flex: none; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F1DFAE, #C8A96B 55%, #7A5B22); box-shadow: 0 0 10px rgba(200, 169, 107, .7); animation: abOrb 2s ease-in-out infinite; }
.ab-run ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.ab-run li { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 7px 9px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); font-size: .82rem; line-height: 1.3; color: var(--muted); }
.ab-run li::before { content: ''; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ab-lane:not(.ab-prem) .ab-run li { animation: abWork 9s infinite; animation-delay: calc(var(--i) * 1.935s); }
.ab-gains { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ab-gains li { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 11px 13px; border: 1px solid rgba(200, 169, 107, .3); background: linear-gradient(100deg, transparent 35%, rgba(241, 223, 174, .16) 50%, transparent 65%) no-repeat, rgba(200, 169, 107, .05); background-size: 300% 100%, auto; background-position: 150% 0, 0 0; animation: abShine 5s ease-in-out infinite; animation-delay: calc(var(--i) * .45s); }
.ab-gains b { font: 600 11px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.ab-gains span { font-size: .98rem; color: var(--fg); }
.ab-pulse { display: flex; align-items: center; gap: 5px; }
.ab-pulse i { flex: 1 1 0; height: 10px; border-radius: 3px; background: rgba(255, 255, 255, .08); animation: abSeg 3s infinite; animation-delay: calc(var(--i) * .1s); }
.ab-clear { flex: none; margin-left: 8px; font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #8FD07F; opacity: 0; animation: abClear 3s infinite; }
.ab-time { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; margin-top: auto; }
.ab-bar { grid-column: 1 / -1; position: relative; height: 10px; border-radius: 5px; overflow: hidden; background: rgba(255, 255, 255, .07); }
.ab-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: 5px; background: #6B7385; transform-origin: left center; animation: abRaceB 9s linear infinite; }
.ab-prem .ab-bar i { width: 10%; background: linear-gradient(90deg, #AA8C56, #E6C98A); animation-name: abRaceP; }
.ab-t { font: 500 11.5px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ab-prem .ab-t { color: var(--gold); }
.ab-done { font: 600 11.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #8FD07F; opacity: 0; animation: abDoneB 9s linear infinite; }
.ab-prem .ab-done { animation-name: abDoneP; }
.ab-both { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; margin: 0; padding: 14px 18px; border: 1px solid rgba(200, 169, 107, .45); background: rgba(200, 169, 107, .07); color: var(--body); }
.ab-both .tau { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F1DFAE, #C8A96B 55%, #7A5B22); color: #03070C; font: italic 500 14px/1 var(--serif); }
.ab-both b { color: var(--fg); }
.ab-note { margin: 10px 0 0; font-size: .8rem; color: var(--muted); }
.ab-block { margin-top: clamp(64px, 9vw, 104px); }
#basic-vs-premium { scroll-margin-top: 80px; }
.ab-cols { display: grid; gap: 16px; margin-top: 22px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .ab-cols { grid-template-columns: 1fr 1fr; } }
.ab-cols .h4 { margin-bottom: 14px; }
.ab-indep { margin: 24px 0 0; max-width: 60ch; font: italic 400 clamp(1.1rem, 1rem + .4vw, 1.3rem)/1.5 var(--serif); color: var(--fg); }
.ab-wrap { margin-top: clamp(44px, 6vw, 64px); }
.ab-intro { margin: 0 0 18px; max-width: 66ch; color: var(--body); }
.ab-intro b { color: var(--fg); }
.ab-more { margin: 14px 0 0; }
.ab-more a { color: var(--gold); font-size: .95rem; text-decoration: underline; text-underline-offset: 3px; }
.pp-diff { display: block; text-align: center; font-size: 12px; color: #9AA3B2; text-decoration: underline; text-underline-offset: 3px; }
.pp-diff:hover { color: #C8A96B; }
@keyframes abScroll { to { transform: translateY(-50%); } }
@keyframes abMag { 0% { transform: translate(0, 0); } 33% { transform: translate(58px, 14px); } 66% { transform: translate(8px, 52px); } 100% { transform: translate(66px, 70px); } }
@keyframes abBlink { 50% { opacity: 0; } }
@keyframes abType { 0% { width: 0; } 40%, 100% { width: 3ch; } }
@keyframes abWork { 0%, 21.4% { color: var(--fg); border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .08); } 21.5%, 100% { color: var(--muted); border-color: var(--line); background: rgba(255, 255, 255, .03); } }
@keyframes abShine { 0%, 55% { background-position: 150% 0, 0 0; } 85%, 100% { background-position: -50% 0, 0 0; } }
@keyframes abSeg { 0%, 15% { background: rgba(255, 255, 255, .08); box-shadow: none; } 25%, 85% { background: #6CC46A; box-shadow: 0 0 8px rgba(108, 196, 106, .55); } 100% { background: rgba(255, 255, 255, .08); box-shadow: none; } }
@keyframes abClear { 0%, 52% { opacity: 0; transform: translateX(-4px); } 60%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes abSweep { 0% { top: -30%; } 45%, 100% { top: 100%; } }
@keyframes abOrb { 0%, 100% { transform: scale(1); box-shadow: 0 0 8px rgba(200, 169, 107, .6); } 50% { transform: scale(1.12); box-shadow: 0 0 16px rgba(200, 169, 107, .95); } }
@keyframes abHalo { 0%, 100% { box-shadow: 0 30px 80px -44px rgba(200, 169, 107, .5); } 50% { box-shadow: 0 30px 90px -36px rgba(200, 169, 107, .75); } }
@keyframes abEdge { from { background-position: -40% 0; } to { background-position: 140% 0; } }
@keyframes abGlow { 0%, 100% { box-shadow: inset 0 0 0 2px #C8A96B; } 50% { box-shadow: inset 0 0 0 2px #C8A96B, 0 0 14px rgba(200, 169, 107, .9); } }
@keyframes abRaceB { 0% { transform: scaleX(0); } 85%, 100% { transform: scaleX(1); } }
@keyframes abRaceP { 0% { transform: scaleX(0); } 8.5%, 100% { transform: scaleX(1); } }
@keyframes abDoneB { 0%, 85.9% { opacity: 0; } 86%, 100% { opacity: 1; } }
@keyframes abDoneP { 0%, 8.9% { opacity: 0; } 9%, 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .ab-strip, .ab-mag, .ab-caret, .ab-type, .ab-tbl i.hit, .ab-bar i, .ab-done, .ab-run li, .ab-run-k .orb, .ab-prem, .ab-prem::before, .ab-p6::after, .ab-gains li, .ab-pulse i, .ab-clear { animation: none; }
    .ab-p6::after, .ab-prem::before { display: none; }
    .ab-done { opacity: 1; }
    .ab-pulse i { background: #6CC46A; }
    .ab-clear { opacity: 1; }
}
