/* ═════════════════════════════════════════════════════════════════
   Kernly — landing v4
   Editorial. Calm. Single accent (surgical). Serif-for-emphasis only.
   ═════════════════════════════════════════════════════════════════ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
}

/* Anchor links shouldn't jump under the sticky topbar */
section[id] { scroll-margin-top: 72px; }

/* ─── Tokens ─── */
:root {
    --bg: #08080B;
    --bg-2: #0B0B0F;
    --surface: #0E0E13;
    --surface-2: #131319;
    --surface-3: #191921;
    --border: #1D1D26;
    --border-strong: #2A2A36;
    --hairline: rgba(255, 255, 255, 0.055);
    --hairline-strong: rgba(255, 255, 255, 0.09);

    --text: #F4F4F5;
    --text-muted: #9A9AA6;
    --text-dim: #565662;

    --accent: #E8B45F;
    --accent-soft: rgba(232, 180, 95, 0.10);
    --accent-border: rgba(232, 180, 95, 0.28);

    --weak: #E57A74;
    --weak-soft: rgba(229, 122, 116, 0.12);
    --ok: #9AD68A;

    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 22px;

    --f-display: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;
    --f-body: "Inter", system-ui, -apple-system, sans-serif;
    --f-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
    --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

    --container: 1200px;
    --container-narrow: 780px;
    --section-y: 144px;
}

/* ─── Body ─── */
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--f-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    letter-spacing: -0.005em;
}

/* ─── Backdrop ─── */
.grid-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 72px 72px, 72px 72px;
    mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 8%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 8%, transparent 75%);
}

/* ─── Shared ─── */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.container.narrow { max-width: var(--container-narrow); }

.mono {
    font-family: var(--f-mono);
    font-feature-settings: "tnum" 1, "ss01" 1;
    letter-spacing: 0;
}

.muted { color: var(--text-muted); }

/* ─── Chapter marker ─── */
.chapter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    letter-spacing: 0.02em;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.chapter-mark { color: var(--text-dim); }

.chapter-num {
    color: var(--text-dim);
    font-size: 11.5px;
    letter-spacing: 0.06em;
}

.chapter-name {
    color: var(--text-muted);
    font-weight: 500;
}

.chapter-sec { margin-bottom: 32px; }
.chapter-cta { margin-bottom: 24px; justify-content: center; }

/* ─── Headlines ─── */
.h-display {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(44px, 6.8vw, 88px);
    line-height: 0.98;
    letter-spacing: -0.042em;
    color: var(--text);
    margin-bottom: 32px;
}

.h-section {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(32px, 4.6vw, 54px);
    line-height: 1.04;
    letter-spacing: -0.034em;
    color: var(--text);
    margin-bottom: 28px;
    max-width: 940px;
}

.h-cta {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: clamp(34px, 5.2vw, 60px);
    line-height: 1.02;
    letter-spacing: -0.034em;
    margin-bottom: 20px;
}

/* Serif italic accents — the only place italic lives */
.h-display em,
.h-section em,
.h-cta em,
.manifesto-line em {
    font-family: var(--f-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--text);
    letter-spacing: -0.02em;
}

.h-display em { font-size: 0.96em; }
.h-section em { font-size: 0.98em; }

.lede {
    font-size: 19px;
    line-height: 1.55;
    color: var(--text-muted);
    max-width: 580px;
    margin-bottom: 44px;
    letter-spacing: -0.005em;
}

.section-lede {
    font-size: 18px;
    line-height: 1.55;
    color: var(--text-muted);
    max-width: 640px;
    margin-bottom: 72px;
}

/* ═════════════════════════════════════════════════════════════════
   TOPBAR
   ═════════════════════════════════════════════════════════════════ */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: max(16px, env(safe-area-inset-top)) 40px 16px;
    background: rgba(8, 8, 11, 0.72);
    backdrop-filter: saturate(140%) blur(16px);
    -webkit-backdrop-filter: saturate(140%) blur(16px);
    transition: background 200ms ease;
}

.topbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border) 20%, var(--border) 80%, transparent);
    opacity: 0;
    transition: opacity 220ms ease;
}

body.scrolled .topbar::after { opacity: 1; }

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-family: var(--f-display);
    font-size: 17px;
    letter-spacing: -0.018em;
}

/* Amber usage #1 of 3 — brand mark */
.brand-mark { color: var(--accent); }

.nav {
    display: flex;
    gap: 36px;
}

.nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 160ms ease;
}

.nav a:hover { color: var(--text); }

.top-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switch {
    display: inline-flex;
    padding: 3px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
}

.lang-switch button {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    padding: 5px 10px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 160ms ease;
}

.lang-switch button:hover { color: var(--text); }

.lang-switch button.active {
    background: var(--surface-3);
    color: var(--text);
}

/* ═════════════════════════════════════════════════════════════════
   BUTTONS
   ═════════════════════════════════════════════════════════════════ */
.btn-primary,
.btn-ghost,
.btn-ghost-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-family: var(--f-body);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.005em;
    transition: transform 140ms ease, background 160ms ease, border-color 160ms ease, box-shadow 200ms ease;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--text);
    color: var(--bg);
    padding: 13px 22px;
    border-radius: 999px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 12px 36px rgba(0, 0, 0, 0.45);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) inset, 0 18px 48px rgba(0, 0, 0, 0.55);
}

.btn-primary:active,
.btn-ghost:active,
.btn-ghost-sm:active {
    transform: translateY(0);
    opacity: 0.92;
    transition-duration: 80ms;
}

.btn-primary.large { padding: 16px 28px; font-size: 16px; }
.btn-primary.full { width: 100%; }

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-strong);
    padding: 12px 20px;
    border-radius: 999px;
}

.btn-ghost:hover {
    background: var(--surface);
    border-color: var(--text-dim);
}

.btn-ghost.full { width: 100%; padding: 14px 20px; }

.btn-ghost-sm {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
}

.btn-ghost-sm:hover {
    border-color: var(--border-strong);
    background: var(--surface);
}

/* ═════════════════════════════════════════════════════════════════
   HERO
   ═════════════════════════════════════════════════════════════════ */
.hero {
    padding: 104px 0 120px;
    position: relative;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    gap: 84px;
    align-items: center;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.hero-copy { max-width: 640px; }

.hero-ctas {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hero-ctas.centered {
    justify-content: center;
    margin-bottom: 0;
}

.hero-micro {
    font-size: 11.5px;
    color: var(--text-dim);
    letter-spacing: 0.04em;
    margin-bottom: 0;
}

/* ─── Hero visual ─── */
.hero-visual {
    position: relative;
    min-height: 520px;
}

.panel {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent), var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    overflow: visible;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.03) inset,
        0 36px 96px rgba(0, 0, 0, 0.55),
        0 12px 28px rgba(0, 0, 0, 0.32);
}

.panel-frame {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--hairline);
    background: rgba(255, 255, 255, 0.008);
}

.panel-dots {
    display: inline-flex;
    gap: 6px;
}

.panel-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--surface-3);
}

.panel-tab {
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.02em;
}

.panel-meta {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 0 0 rgba(154, 214, 138, 0.6);
    animation: live-pulse 2.4s cubic-bezier(.2,.7,.3,1) infinite;
}

@keyframes live-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(154, 214, 138, 0); }
    50% { box-shadow: 0 0 0 6px rgba(154, 214, 138, 0); transform: scale(1.08); }
}

.panel-body { padding: 28px 28px 22px; }

.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 26px;
}

.panel-kicker {
    font-size: 10.5px;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.panel-title {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -0.02em;
    color: var(--text);
}

.panel-day {
    font-size: 11px;
    color: var(--text-muted);
    padding: 4px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.panel-topics {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 22px;
}

/* Topic rows */
.topic { display: flex; flex-direction: column; gap: 8px; }

.topic-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 13px;
}

.topic-name {
    color: var(--text);
    font-weight: 500;
    letter-spacing: -0.005em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.topic-score {
    font-size: 12px;
    color: var(--text-muted);
}

.topic-score span { font-size: 10px; margin-left: 1px; color: var(--text-dim); }
.topic-score.weak { color: var(--weak); }
.topic-score.weak span { color: var(--weak); opacity: 0.7; }

.bar {
    height: 3px;
    background: var(--surface-3);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.bar span {
    display: block;
    height: 100%;
    width: 0%;
    background: var(--text);
    border-radius: 999px;
    transition: width 1100ms cubic-bezier(.2, .7, .3, 1);
}

.bar.weak span { background: var(--weak); }

.in-view .bar span { width: var(--w, 0%); }

.pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--weak);
    box-shadow: 0 0 0 0 rgba(229, 122, 116, 0.6);
    animation: weak-pulse 1.8s cubic-bezier(.2,.7,.3,1) infinite;
}

@keyframes weak-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(229, 122, 116, 0); }
    50% { box-shadow: 0 0 0 8px rgba(229, 122, 116, 0); }
}

.panel-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    color: var(--text-muted);
    cursor: pointer;
    transition: color 160ms ease, border-color 160ms ease;
}

.panel-cta:hover { color: var(--text); border-color: var(--border-strong); }
.panel-cta svg { color: var(--text-muted); transition: transform 200ms ease, color 160ms ease; }
.panel-cta:hover svg { transform: translateX(3px); color: var(--text); }

.pc-label {
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 4px;
}

.pc-title {
    font-family: var(--f-display);
    font-weight: 600;
    color: var(--text);
    font-size: 14px;
    letter-spacing: -0.01em;
}

/* Floating correction chip — amber usage #2 of 3 (the ONE product highlight) */
.corr-chip {
    position: absolute;
    bottom: -36px;
    right: -28px;
    width: 310px;
    padding: 16px 18px;
    background: var(--surface);
    border: 1px solid var(--accent-border);
    border-radius: var(--r-lg);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.04) inset,
        0 22px 54px rgba(0, 0, 0, 0.55);
    transform: rotate(1.2deg);
    z-index: 3;
}

.chip-head {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.chip-body {
    font-size: 14px;
    color: var(--text);
    letter-spacing: -0.005em;
}

.chip-body b { color: var(--accent); font-weight: 600; }

.chip-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--hairline);
    line-height: 1.5;
}

/* ═════════════════════════════════════════════════════════════════
   TRUST STRIP
   ═════════════════════════════════════════════════════════════════ */
.trust {
    padding: 16px 0 0;
    position: relative;
    z-index: 1;
}

.trust-strip {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    padding: 28px 0;
}

.trust-strip li {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 0 24px;
    border-right: 1px solid var(--hairline);
    min-height: 28px;
}

.trust-strip li:last-child { border-right: none; }
.trust-strip li:first-child { padding-left: 0; }

.trust-k {
    font-size: 10.5px;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    flex-shrink: 0;
}

.trust-v {
    font-size: 13.5px;
    color: var(--text);
    letter-spacing: -0.005em;
    font-weight: 500;
    line-height: 1.3;
}

/* ═════════════════════════════════════════════════════════════════
   SECTION common
   ═════════════════════════════════════════════════════════════════ */
.section {
    padding: var(--section-y) 0;
    position: relative;
    z-index: 1;
}

/* ═════════════════════════════════════════════════════════════════
   THESIS (single manifesto)
   ═════════════════════════════════════════════════════════════════ */
.manifesto {
    padding: 120px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.manifesto-line {
    font-family: var(--f-display);
    font-weight: 500;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.14;
    letter-spacing: -0.03em;
    color: var(--text-muted);
}

.manifesto-line em {
    color: var(--text);
    font-weight: 400;
}

/* ═════════════════════════════════════════════════════════════════
   PRODUCT — unified surface
   ═════════════════════════════════════════════════════════════════ */
.product .h-section { margin-bottom: 28px; }

.loop {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px;
    margin-bottom: 80px;
    padding-top: 16px;
}

.loop-step {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 22px;
    border-top: 1px solid var(--hairline);
}

.loop-num {
    font-size: 11px;
    color: var(--text-dim);
    letter-spacing: 0.08em;
    margin-bottom: 6px;
}

.loop-title {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 19px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 6px;
}

.loop-body {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: -0.003em;
}

/* Stage — the one unified product surface */
.stage {
    max-width: 1120px;
    margin: 0 auto;
}

.stage-frame {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent), var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.035) inset,
        0 44px 110px rgba(0, 0, 0, 0.55),
        0 14px 32px rgba(0, 0, 0, 0.35);
}

.stage-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 32px;
    border-bottom: 1px solid var(--hairline);
    flex-wrap: wrap;
}

.stage-left { display: inline-flex; align-items: center; gap: 14px; }

/* Amber usage #3 of 3 — the level pill in the stage head */
.level-pill {
    font-family: var(--f-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    background: var(--accent-soft);
    color: var(--accent);
    border: 1px solid var(--accent-border);
    padding: 4px 10px;
    border-radius: 6px;
}

.stage-title {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: -0.018em;
    color: var(--text);
}

.stage-right {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.stage-body {
    display: grid;
    grid-template-columns: 1.1fr 1fr 0.9fr;
    gap: 0;
}

.stage-col {
    padding: 28px 28px 32px;
    border-right: 1px solid var(--hairline);
    min-height: 340px;
}

.stage-col:last-child { border-right: none; }

.stage-kicker {
    font-size: 10.5px;
    color: var(--text-dim);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.stage-topics {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cp-topic { display: flex; flex-direction: column; gap: 8px; }

.cp-topic-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 13.5px;
    color: var(--text);
    letter-spacing: -0.005em;
}

.cp-topic-row .mono { color: var(--text-muted); font-size: 12px; }
.cp-topic-row .mono span { font-size: 10px; margin-left: 1px; color: var(--text-dim); }
.cp-topic-row .mono.weak { color: var(--weak); }
.cp-topic-row .mono.weak span { color: var(--weak); opacity: 0.7; }

.cp-topic .bar { height: 3px; }
.stage-topics.in-view .bar span { width: var(--w, 0%); }
/* When any ancestor with data-observe is in view */
[data-observe].in-view .bar span { width: var(--w, 0%); }

/* Stage correction column */
.stage-corr { display: flex; flex-direction: column; gap: 6px; }

.mp-wrong,
.mp-right {
    font-size: 15px;
    letter-spacing: -0.005em;
    line-height: 1.5;
}

.mp-wrong {
    color: var(--text-muted);
    margin-bottom: 2px;
}

.mp-wrong s { color: var(--weak); text-decoration: line-through; }

.mp-right {
    color: var(--text);
    margin-bottom: 18px;
}

.mp-right b { color: var(--accent); font-weight: 600; }

.mp-rules {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--hairline);
}

.mp-rule {
    display: flex;
    gap: 12px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-muted);
}

.mp-rule-tag {
    color: var(--text-dim);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    padding-top: 3px;
    flex-shrink: 0;
}

/* Stage path column */
.stage-path {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stage-path li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border: 1px solid var(--hairline);
    border-radius: var(--r-md);
    font-size: 13.5px;
    color: var(--text-muted);
}

.stage-path li.done { color: var(--text-dim); }
.stage-path li.done .path-tag { color: var(--text-dim); border-color: var(--hairline); }
.stage-path li.done > span:last-child { text-decoration: line-through; opacity: 0.6; }

.stage-path li.active {
    border-color: var(--border-strong);
    background: var(--surface-2);
    color: var(--text);
}

.stage-path li.active .path-tag { color: var(--text); border-color: var(--border-strong); }

.path-tag {
    font-size: 9.5px;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    padding: 3px 8px;
    border: 1px solid var(--border);
    border-radius: 999px;
    text-transform: uppercase;
    flex-shrink: 0;
}

/* ═════════════════════════════════════════════════════════════════
   OUTCOMES — 2x2 numbered tiles
   ═════════════════════════════════════════════════════════════════ */
.outcomes .h-section { margin-bottom: 64px; }

.cap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--hairline);
    border: 1px solid var(--hairline);
    border-radius: var(--r-lg);
    overflow: hidden;
}

.cap-tile {
    background: var(--bg);
    padding: 48px 44px 44px;
    transition: background 200ms ease;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 260px;
}

.cap-tile:hover { background: var(--surface); }

.cap-num {
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    margin-bottom: 8px;
}

.cap-tile h3 {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 23px;
    letter-spacing: -0.024em;
    color: var(--text);
    line-height: 1.18;
}

.cap-tile p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ═════════════════════════════════════════════════════════════════
   AUDIENCE
   ═════════════════════════════════════════════════════════════════ */
.audience .h-section { margin-bottom: 64px; }

.aud-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.aud-card {
    padding: 32px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color 200ms ease, transform 200ms ease;
}

.aud-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

.aud-tag {
    font-size: 10.5px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    align-self: flex-start;
}

.aud-card h3 {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 20px;
    letter-spacing: -0.022em;
    line-height: 1.2;
}

.aud-card p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.6;
}

/* ═════════════════════════════════════════════════════════════════
   PRICING
   ═════════════════════════════════════════════════════════════════ */
.pricing .h-section { margin-bottom: 64px; }

.price-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 880px;
    margin: 0 auto;
}

.price-card {
    position: relative;
    padding: 34px 32px 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.price-card.featured {
    border-color: var(--border-strong);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.012), transparent 40%), var(--surface);
}

.price-featured-tag {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--f-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: var(--text);
    color: var(--bg);
    padding: 5px 12px;
    border-radius: 6px;
}

.price-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.price-tier {
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -0.02em;
}

.price-amount { display: inline-flex; align-items: baseline; gap: 4px; }

.price-num {
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 34px;
    letter-spacing: -0.032em;
    color: var(--text);
}

.price-per {
    color: var(--text-muted);
    font-size: 13px;
}

.price-lede {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.55;
}

.price-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-list li {
    position: relative;
    padding-left: 22px;
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
}

.price-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 12px;
    height: 7px;
    border-left: 1.6px solid var(--text);
    border-bottom: 1.6px solid var(--text);
    transform: rotate(-45deg);
}

.price-card.featured .price-list li::before {
    border-left-color: var(--text);
    border-bottom-color: var(--text);
}

.price-foot {
    text-align: center;
    font-size: 13px;
    margin-top: 28px;
    color: var(--text-muted);
}

/* ═════════════════════════════════════════════════════════════════
   FAQ
   ═════════════════════════════════════════════════════════════════ */
.faq .h-section { margin-bottom: 24px; }

.faq-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--hairline);
}

.faq-item { border-bottom: 1px solid var(--hairline); }

.faq-item summary {
    list-style: none;
    padding: 26px 0;
    cursor: pointer;
    font-family: var(--f-display);
    font-weight: 600;
    font-size: 19px;
    letter-spacing: -0.02em;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    transition: color 160ms ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    font-family: var(--f-mono);
    color: var(--text-muted);
    font-size: 22px;
    font-weight: 400;
    transition: transform 220ms ease, color 160ms ease;
    flex-shrink: 0;
    line-height: 1;
}

.faq-item[open] summary::after { content: "−"; color: var(--text); }

.faq-item p {
    color: var(--text-muted);
    font-size: 15.5px;
    line-height: 1.65;
    padding: 0 0 26px;
    max-width: 640px;
}

/* ═════════════════════════════════════════════════════════════════
   FINAL CTA
   ═════════════════════════════════════════════════════════════════ */
.final-cta {
    padding: 96px 0 144px;
}

.cta-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 80px 48px 64px;
    border: 1px solid var(--border);
    border-radius: 28px;
    text-align: center;
    background:
        radial-gradient(ellipse 80% 100% at 50% 0%, rgba(232, 180, 95, 0.07), transparent 58%),
        var(--surface);
    position: relative;
    overflow: hidden;
}

.cta-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
    opacity: 0.45;
}

.cta-wrap .chapter-cta { display: inline-flex; }

.cta-sub {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.55;
    margin: 0 auto 36px;
    max-width: 560px;
}

.cta-micro {
    margin-top: 18px;
    font-size: 11.5px;
    color: var(--text-dim);
    letter-spacing: 0.06em;
}

/* ═════════════════════════════════════════════════════════════════
   FOOTER
   ═════════════════════════════════════════════════════════════════ */
.footer {
    border-top: 1px solid var(--hairline);
    padding: 40px 0 52px;
    position: relative;
    z-index: 1;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-weight: 600;
    font-family: var(--f-display);
    font-size: 15px;
}

.footer-brand svg { color: var(--text-muted); }

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13.5px;
    transition: color 160ms ease;
}

.footer-links a:hover { color: var(--text); }

.footer-copy { font-size: 13px; color: var(--text-muted); }

/* ═════════════════════════════════════════════════════════════════
   RESPONSIVE — tablet (≤ 980px)
   ═════════════════════════════════════════════════════════════════ */
@media (max-width: 980px) {
    :root { --section-y: 96px; }

    .hero { padding: 72px 0 104px; }
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 72px;
        padding: 0 32px;
    }
    .hero-copy { max-width: none; }
    .hero-visual { min-height: auto; max-width: 520px; margin: 0 auto; width: 100%; }

    .corr-chip { right: -8px; width: 280px; bottom: -28px; }

    .trust-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
    }
    .trust-strip li {
        padding: 12px 20px;
        border-bottom: 1px solid var(--hairline);
    }
    .trust-strip li:nth-child(2) { border-right: none; }
    .trust-strip li:nth-child(3),
    .trust-strip li:nth-child(4) { border-bottom: none; }
    .trust-strip li:first-child { padding-left: 0; }
    .trust-strip li:nth-child(3) { padding-left: 0; }

    .manifesto { padding: 80px 0; }

    .loop { grid-template-columns: 1fr; gap: 28px; margin-bottom: 56px; }
    .loop-step { padding-top: 20px; }

    .stage-body { grid-template-columns: 1fr; }
    .stage-col {
        border-right: none;
        border-bottom: 1px solid var(--hairline);
        min-height: auto;
        padding: 24px 26px 28px;
    }
    .stage-col:last-child { border-bottom: none; }
    .stage-head { padding: 18px 24px; }

    .cap-grid { grid-template-columns: 1fr; }
    .cap-tile { padding: 40px 32px 36px; min-height: auto; }

    .aud-grid { grid-template-columns: 1fr; }

    .price-grid { grid-template-columns: 1fr; max-width: 520px; }

    .nav { display: none; }

    .cta-wrap { padding: 64px 32px 52px; }
}

/* ═════════════════════════════════════════════════════════════════
   RESPONSIVE — phone (≤ 720px)
   ═════════════════════════════════════════════════════════════════ */
@media (max-width: 720px) {
    :root { --section-y: 80px; }

    .topbar { padding: max(12px, env(safe-area-inset-top)) 20px 12px; }
    .container { padding: 0 20px; }

    .hero { padding: 32px 0 104px; }
    .hero-inner { padding: 0 20px; gap: 64px; }

    .top-right .btn-ghost-sm { display: none; }
    .lang-switch { padding: 2px; }
    .lang-switch button { padding: 5px 9px; font-size: 10.5px; }

    .h-display {
        font-size: clamp(34px, 9.6vw, 50px);
        letter-spacing: -0.036em;
        line-height: 1.02;
    }
    .h-section {
        font-size: clamp(26px, 7.6vw, 40px);
        margin-bottom: 24px;
        line-height: 1.08;
    }
    .h-cta {
        font-size: clamp(28px, 8.2vw, 44px);
        line-height: 1.06;
    }
    .lede { font-size: 16.5px; margin-bottom: 32px; }
    .section-lede { font-size: 16px; margin-bottom: 52px; }

    .chapter { margin-bottom: 18px; font-size: 12px; }
    .chapter-sec { margin-bottom: 20px; }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .hero-ctas.centered { flex-direction: column; }
    /* Give the primary CTA breathing room — the Russian copy is long */
    .btn-primary,
    .btn-ghost {
        justify-content: center;
        padding: 14px 18px;
        font-size: 14.5px;
        letter-spacing: -0.008em;
    }
    .btn-primary.large { padding: 16px 20px; font-size: 15px; }

    .trust-strip {
        grid-template-columns: 1fr;
        padding: 8px 0;
    }
    .trust-strip li {
        padding: 14px 0;
        border-right: none;
        border-bottom: 1px solid var(--hairline);
    }
    .trust-strip li:last-child { border-bottom: none; }
    .trust-v { font-size: 13px; }

    .panel-body { padding: 22px 20px 20px; }
    .panel-topics { gap: 14px; margin-bottom: 18px; }
    .panel-title { font-size: 16px; }
    .panel-head { margin-bottom: 20px; }
    .panel-frame { padding: 11px 14px; }

    /* Chip on mobile: sit flush under panel, no tilt, calmer shadow */
    .corr-chip {
        width: calc(100% - 24px);
        right: 12px;
        bottom: -28px;
        padding: 14px 16px;
        transform: rotate(0deg);
        box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
    }
    .chip-body { font-size: 13.5px; }
    .chip-note { font-size: 11.5px; }

    .manifesto { padding: 56px 0; }
    .manifesto-line {
        font-size: clamp(22px, 6.4vw, 32px);
        line-height: 1.22;
    }

    .loop { gap: 22px; margin-bottom: 44px; }
    .loop-step { padding-top: 16px; gap: 10px; }
    .loop-title { font-size: 17.5px; }
    .loop-body { font-size: 14.5px; }

    .stage-frame { border-radius: 18px; }
    .stage-head { padding: 16px 18px; gap: 10px; }
    .stage-title { font-size: 14.5px; }
    .stage-right { font-size: 10.5px; }
    .stage-col { padding: 22px 18px 24px; }
    .stage-kicker { margin-bottom: 16px; }
    .mp-wrong, .mp-right { font-size: 14px; line-height: 1.55; }
    .mp-rule { font-size: 12.5px; }
    .stage-path li { padding: 10px 12px; font-size: 13px; gap: 10px; }

    .cap-tile { padding: 32px 22px 28px; gap: 10px; }
    .cap-tile h3 { font-size: 19.5px; }
    .cap-tile p { font-size: 14.5px; }

    .aud-card { padding: 26px 22px; gap: 12px; }
    .aud-card h3 { font-size: 18px; }
    .aud-card p { font-size: 14px; }

    .price-card { padding: 28px 22px 24px; gap: 20px; }
    .price-top { gap: 8px; }
    .price-num { font-size: 30px; }
    .price-per { font-size: 12.5px; }
    .price-list li { font-size: 13.5px; }

    .faq-item summary {
        font-size: 16px;
        padding: 22px 0;
        min-height: 58px;
        gap: 16px;
    }
    .faq-item summary::after { font-size: 20px; }
    .faq-item p { font-size: 14.5px; padding-bottom: 22px; }

    .final-cta { padding: 64px 0 88px; }
    .cta-wrap {
        padding: 48px 22px 36px;
        border-radius: 20px;
    }
    .cta-sub { font-size: 15px; margin-bottom: 28px; }
    .cta-micro { font-size: 10.5px; margin-top: 16px; letter-spacing: 0.04em; }

    /* Footer: clean vertical stack, no flex-wrap awkwardness */
    .footer {
        padding: 28px 0 max(32px, env(safe-area-inset-bottom));
        border-top-width: 1px;
    }
    .footer-row {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 16px;
    }
    .footer-brand { font-size: 14.5px; }
    .footer-links {
        gap: 18px;
        padding-top: 4px;
        border-top: 1px solid var(--hairline);
        width: 100%;
        padding-top: 18px;
    }
    .footer-links a { font-size: 13px; }
    .footer-copy {
        font-size: 12px;
        line-height: 1.5;
        padding-top: 16px;
        border-top: 1px solid var(--hairline);
        width: 100%;
    }
}

/* ═════════════════════════════════════════════════════════════════
   RESPONSIVE — narrow phone (≤ 380px)
   ═════════════════════════════════════════════════════════════════ */
@media (max-width: 380px) {
    :root { --section-y: 68px; }

    .topbar { padding: max(10px, env(safe-area-inset-top)) 16px 10px; }
    .container { padding: 0 16px; }
    .hero-inner { padding: 0 16px; gap: 56px; }

    .brand { font-size: 15.5px; gap: 8px; }

    .h-display { font-size: clamp(30px, 9.2vw, 40px); letter-spacing: -0.032em; }
    .h-section { font-size: clamp(24px, 7.6vw, 32px); }
    .h-cta { font-size: clamp(26px, 8.4vw, 36px); }
    .lede { font-size: 15.5px; }

    .btn-primary,
    .btn-ghost {
        padding: 13px 14px;
        font-size: 14px;
    }
    .btn-primary.large { padding: 15px 16px; font-size: 14.5px; }

    .panel-body { padding: 20px 16px 18px; }
    .panel-title { font-size: 15px; }
    .corr-chip { padding: 13px 14px; }

    .stage-head { padding: 14px 14px; }
    .stage-col { padding: 20px 14px 22px; }

    .cap-tile { padding: 28px 18px 24px; }
    .cap-tile h3 { font-size: 18.5px; }

    .aud-card { padding: 22px 18px; }

    .price-card { padding: 24px 18px 22px; }
    .price-num { font-size: 26px; }

    .faq-item summary { font-size: 15.5px; padding: 20px 0; gap: 12px; }

    .cta-wrap { padding: 40px 18px 32px; }
    .cta-sub { font-size: 14.5px; }
}

/* ═════════════════════════════════════════════════════════════════
   REDUCED MOTION
   ═════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .in-view .bar span { width: var(--w, 0%) !important; }
}

/* Selection */
::selection {
    background: var(--accent);
    color: #1a1208;
}
