/* Tradee standalone landing - baked to app theming defaults (Dark / Large text / Medium corners / Large spacing). */
@font-face { font-family: "Mona Sans"; src: url("fonts/mona-sans.woff2") format("woff2"); font-style: normal; font-weight: 200 900; font-stretch: 75% 125%; font-display: swap; }
:root {
    --brand-paper: #f4f4f3;
    --brand-surface: #ffffff;
    --brand-surface-quiet: #ececeb;
    --brand-ink: #0b0b0b;
    --brand-ink-muted: #5c5c5c;
    --brand-border: #d4d4d2;
    --brand-border-strong: #a8a8a6;
    --brand-primary: #2756c7;
    --brand-primary-hover: #1e439d;
    --brand-trust: #27684d;
    --brand-radius-sm: 2px;
    --brand-radius-md: 4px;
    --brand-radius-lg: 6px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-pill: 8px;
    --page-pad: 22px;
    --control-height: 36px;
    --paper: var(--brand-paper);
    --surface: var(--brand-surface);
    --quiet: var(--brand-surface-quiet);
    --ink: var(--brand-ink);
    --muted: var(--brand-ink-muted);
    --line: var(--brand-border);
    --line-strong: var(--brand-border-strong);
    --blue: var(--brand-primary);
    --blue-hover: var(--brand-primary-hover);
    --green: var(--brand-trust);
    --warning: #a86116;
    --blue-soft: #e8edfa;
    --green-soft: #e2eee7;
    --font-ui: "Mona Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: var(--font-ui);
    --max: 1220px;
    --section-pad-y: clamp(72px, 9vw, 120px);
    --section-heading-gap: clamp(32px, 4vw, 48px);
    --shadow: none;
    --shadow-focus: 0 0 0 2px color-mix(in srgb, var(--brand-primary) 35%, transparent);
    --transition-speed: 0.16s;
    --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}
:root {
    --brand-paper: #0b0b0b;
    --brand-surface: #101010;
    --brand-surface-quiet: #181818;
    --brand-ink: #f2f2f2;
    --brand-ink-muted: #a3a3a3;
    --brand-border: #2a2a2a;
    --brand-border-strong: #3f3f3f;
    --brand-primary: #5b8def;
    --brand-primary-hover: #7aa3f5;
    --brand-trust: #72b894;
    --warning: #e0a458;
    --blue-soft: #1a2438;
    --green-soft: #1a2e24;
    --shadow: none;
    --shadow-focus: 0 0 0 2px color-mix(in srgb, var(--brand-primary) 35%, transparent);
    --transition-speed: 0.16s;
    --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
    --lightbox-speed: 170ms;
    color-scheme: dark;
}
@media (prefers-reduced-motion: reduce) {
    :root { --lightbox-speed: 1ms; }
}
* { box-sizing: border-box; }
html { min-width: 320px; overflow-anchor: none; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { min-width: 320px; margin: 0; overflow-x: clip; background: var(--paper); color: var(--ink); font-family: var(--font-ui); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
button, a { font: inherit; }
a { color: inherit; }
img, svg, iframe { max-width: 100%; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--blue) 48%, transparent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; transform: translateY(-160%); padding: 10px 14px; border-radius: var(--radius-sm); background: var(--ink); color: var(--surface); text-decoration: none; }
.skip-link:focus { transform: translateY(0); }
.section { width: min(calc(100% - (2 * var(--page-pad))), var(--max)); margin-inline: auto; }

.site-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid color-mix(in srgb, var(--line-strong) 68%, transparent); background: color-mix(in srgb, var(--paper) 93%, transparent); backdrop-filter: blur(16px); }
.header-inner { position: relative; width: min(calc(100% - (2 * var(--page-pad))), var(--max)); min-height: 60px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { position: relative; z-index: 60; display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.header-inner > .brand { min-height: 44px; }
.brand-wordmark, .demo-brand-wordmark { font-family: var(--font-ui); font-size: .92rem; font-weight: 820; letter-spacing: .1em; line-height: 1; }
.header-nav { display: contents; }
.header-links { position: absolute; left: 50%; z-index: 1; display: flex; align-items: center; gap: 22px; transform: translateX(-50%); }
.header-links > a { color: var(--muted); font-size: .84rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: color 160ms ease; }
.header-links > a:hover { color: var(--ink); }
.header-actions { position: relative; z-index: 2; display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-left: auto; }
.menu-toggle { display: none; }

.btn { min-height: var(--control-height); display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 14px; border: 1px solid transparent; border-radius: var(--radius-md); cursor: pointer; font-size: .85rem; font-weight: 700; line-height: 1.2; text-decoration: none; transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease; }
.btn:hover { transform: none; }
.btn-primary { border-color: transparent; background: var(--ink); color: var(--surface); }
.btn-primary:hover { border-color: transparent; background: color-mix(in srgb, var(--ink) 88%, var(--surface)); color: var(--surface); }
.btn-secondary { border-color: var(--line-strong); background: transparent; color: var(--ink); }
.btn-secondary:hover { border-color: var(--ink); background: var(--surface); }
.btn-quiet { border-color: transparent; background: #333333; color: var(--ink); }
.btn-quiet:hover { background: #404040; color: var(--ink); }
.btn-large { min-height: 44px; padding: 10px 16px; }
.text-link { color: var(--muted); font-weight: 650; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--ink); }

.fields { display: flex; flex-direction: column; gap: 14px; }
.fields-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-label { color: var(--ink); font-size: .78rem; font-weight: 650; letter-spacing: .01em; }
.field-hint { color: var(--muted); font-size: .75rem; line-height: 1.45; }
.input, .select {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-height: var(--control-height);
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background-color: var(--surface);
    color: var(--ink);
    font: inherit;
    font-size: .88rem;
    font-weight: 500;
    line-height: 1.3;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color var(--transition-speed) var(--ease-out), box-shadow var(--transition-speed) var(--ease-out), background-color var(--transition-speed) var(--ease-out), color var(--transition-speed) var(--ease-out);
}
.input::placeholder, .select::placeholder { color: var(--muted); opacity: .8; }
.input:hover:not(:focus):not(:disabled):not([readonly]),
.select:hover:not(:focus):not(:disabled) { border-color: var(--line-strong); }
.input:focus, .select:focus { outline: none; border-color: var(--blue); box-shadow: var(--shadow-focus); }
.input:disabled, .input[readonly], .select:disabled {
    background-color: var(--quiet);
    color: var(--muted);
    cursor: not-allowed;
    opacity: .72;
    box-shadow: none;
}
textarea.input { min-height: 104px; resize: vertical; line-height: 1.5; }
.select, select.input {
    -webkit-appearance: none;
    appearance: none;
    padding-right: 28px;
    cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
    background-position: calc(100% - 12px) calc(50% + 1px), calc(100% - 7px) calc(50% + 1px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}
.select:disabled, select.input:disabled { cursor: not-allowed; }
@media (max-width: 720px) {
    .fields-grid { grid-template-columns: 1fr; }
}
.eyebrow { margin: 0 0 12px; color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
h1, h2 { font-family: var(--font-ui); font-weight: 650; letter-spacing: -.03em; line-height: 1.08; }

.hero { padding-block: clamp(44px, 6vw, 72px) clamp(48px, 7vw, 80px); }
.hero-copy { max-width: 720px; margin-inline: auto; text-align: center; }
.hero h1 { margin: 0; font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 580; letter-spacing: -.04em; }
.hero-lead { max-width: 540px; margin: 16px auto 0; color: var(--muted); font-size: clamp(.95rem, 1.2vw, 1.05rem); }
.hero-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.fine-print { margin: 12px 0 0; color: var(--muted); font-size: .75rem; }
.demo-stage { margin-top: clamp(28px, 4vw, 44px); overflow: hidden; overflow-anchor: none; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--surface); box-shadow: none; }
.demo-chrome { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .74rem; font-weight: 650; }
.demo-chrome-title { display: flex; align-items: center; gap: 9px; }
.demo-chrome-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.demo-chrome-action { appearance: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--blue); font: inherit; font-size: .74rem; font-weight: 650; cursor: pointer; text-align: right; white-space: nowrap; }
.demo-chrome-action:hover { color: var(--blue-hover); }
.demo-chrome-action:focus-visible { outline: 2px solid color-mix(in srgb, var(--blue) 55%, transparent); outline-offset: 3px; border-radius: 2px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.demo-viewport { position: relative; aspect-ratio: 16 / 9; min-height: 430px; background: var(--quiet); }
.demo-frame { width: 100%; height: 100%; display: block; border: 0; background: var(--surface); }
.demo-activate { display: none; }
.demo-poster { position: absolute; inset: 0; z-index: 2; place-content: center; max-width: none; padding: clamp(28px, 7vw, 90px); background: var(--quiet); text-align: center; }
.demo-poster:not([hidden]) { display: grid; }
.demo-brand-wordmark { display: block; margin-inline: auto; color: var(--ink); }
.demo-poster p { max-width: 620px; margin: 10px auto 0; color: var(--muted); }
.demo-poster strong { color: var(--ink); font-size: 1.1rem; }
.demo-fallback-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.no-js-note { margin: 0; padding: 10px 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.demo-stage.is-fullscreen { position: fixed; inset: 0; z-index: 120; margin: 0; width: 100%; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0; display: flex; flex-direction: column; background: var(--surface); }
.demo-stage.is-fullscreen .demo-chrome { flex: 0 0 auto; padding-inline: max(12px, env(safe-area-inset-left)) max(12px, env(safe-area-inset-right)); padding-top: max(8px, env(safe-area-inset-top)); }
.demo-stage.is-fullscreen .demo-viewport { flex: 1 1 auto; min-height: 0; aspect-ratio: auto; }
.demo-stage.is-fullscreen .demo-activate { display: none; }
body.demo-fullscreen { overflow: hidden; overscroll-behavior: none; touch-action: none; }

.story,
.roadmap,
.pricing,
.faq { padding-block: var(--section-pad-y); }
.story-heading, .section-intro, .roadmap-heading { max-width: 640px; margin-inline: auto; margin-bottom: var(--section-heading-gap); text-align: center; }
.story-heading h2, .section-intro h2, .roadmap-heading h2, .final-cta h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 580; }
.story-heading > p:last-child, .section-intro > p:last-child, .roadmap-heading > p:last-child { max-width: 520px; margin: 14px auto 0; color: var(--muted); font-size: 1rem; }
.story-chapters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto repeat(3, auto);
    column-gap: 14px;
    row-gap: 0;
    align-items: stretch;
}
.story-chapter {
    --story-border: color-mix(in srgb, var(--line-strong) 42%, var(--line));
    position: relative; isolation: isolate; overflow: hidden; min-width: 0;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 5;
    border: 1px solid var(--story-border); border-radius: var(--radius-lg); background: var(--surface);
    scroll-margin-top: 90px;
    transition:
        border-color 200ms var(--ease-out),
        transform 200ms var(--ease-out),
        background-color 200ms var(--ease-out);
}
.story-chapter > * { position: relative; z-index: 1; }
.story-chapter::after {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(
        120% 80% at 50% 0%,
        color-mix(in srgb, var(--ink) 5%, transparent),
        transparent 55%
    );
    opacity: 0;
    transition: opacity 200ms var(--ease-out);
}
.story-chapter.is-spotlight,
html:not(.spotlight-mode) .story-chapter:hover {
    --story-border: color-mix(in srgb, var(--line-strong) 72%, var(--ink));
    transform: translateY(-3px);
}
.story-chapter.is-spotlight::after,
html:not(.spotlight-mode) .story-chapter:hover::after { opacity: 1; }
.story-chapter.is-spotlight .step-point span,
html:not(.spotlight-mode) .story-chapter:hover .step-point span {
    color: color-mix(in srgb, var(--muted) 78%, var(--ink));
}
.step-media {
    position: relative; overflow: hidden;
    display: grid; place-items: center; aspect-ratio: 16 / 10; border-bottom: 1px solid var(--line);
    background:
        radial-gradient(120% 90% at 12% 0%, color-mix(in srgb, var(--blue) 18%, transparent), transparent 55%),
        radial-gradient(100% 80% at 100% 100%, color-mix(in srgb, var(--green) 14%, transparent), transparent 50%),
        var(--quiet);
}
.step-graph {
    width: min(92%, 320px);
    height: auto;
    max-height: 82%;
    overflow: visible;
}
.step-graph-links path {
    fill: none;
    stroke: color-mix(in srgb, var(--line-strong) 70%, var(--ink));
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.step-graph-path path {
    fill: none;
    stroke: color-mix(in srgb, var(--blue) 72%, transparent);
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 4 8;
    opacity: 0;
    transition: opacity 200ms var(--ease-out);
}
.step-graph-node circle {
    fill: color-mix(in srgb, var(--surface) 55%, var(--quiet));
    stroke: color-mix(in srgb, var(--ink) 28%, var(--line-strong));
    stroke-width: 1.5;
    transition:
        fill 200ms var(--ease-out),
        stroke 200ms var(--ease-out);
}
.step-graph-node text {
    fill: color-mix(in srgb, var(--muted) 70%, var(--ink));
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .04em;
    text-anchor: middle;
    text-transform: uppercase;
    transition: fill 200ms var(--ease-out);
}
.step-graph-node.is-out circle {
    stroke: color-mix(in srgb, var(--green) 55%, var(--line-strong));
}
.step-graph-node.is-muted { opacity: .72; }
.story-chapter.is-spotlight .step-graph-path path,
html:not(.spotlight-mode) .story-chapter:hover .step-graph-path path {
    opacity: 1;
    animation: step-graph-dash 2.4s linear infinite;
}
.story-chapter.is-spotlight .step-graph-node circle,
html:not(.spotlight-mode) .story-chapter:hover .step-graph-node circle {
    fill: color-mix(in srgb, var(--blue) 18%, var(--quiet));
    stroke: color-mix(in srgb, var(--blue) 58%, var(--line-strong));
}
.story-chapter.is-spotlight .step-graph-node.is-out circle,
html:not(.spotlight-mode) .story-chapter:hover .step-graph-node.is-out circle {
    fill: color-mix(in srgb, var(--green) 22%, var(--quiet));
    stroke: color-mix(in srgb, var(--green) 70%, var(--line-strong));
}
.story-chapter.is-spotlight .step-graph-node.is-muted,
html:not(.spotlight-mode) .story-chapter:hover .step-graph-node.is-muted {
    opacity: .55;
}
.story-chapter.is-spotlight .step-graph-node:not(.is-muted) text,
html:not(.spotlight-mode) .story-chapter:hover .step-graph-node:not(.is-muted) text {
    fill: color-mix(in srgb, var(--ink) 88%, var(--muted));
}
.story-chapter.is-spotlight .step-graph-node.is-out text,
html:not(.spotlight-mode) .story-chapter:hover .step-graph-node.is-out text {
    fill: color-mix(in srgb, var(--green) 70%, var(--ink));
}
@keyframes step-graph-dash {
    to { stroke-dashoffset: -56; }
}
.step-intro { padding: 18px 18px 14px; }
.chapter-number { margin: 0 0 8px; color: var(--muted); font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.story-chapter h3 { margin: 0; font-family: var(--font-ui); font-size: clamp(1.05rem, 1.5vw, 1.2rem); font-weight: 650; letter-spacing: -.02em; line-height: 1.2; }
.step-intro > p:not(.chapter-number) { margin: 8px 0 0; color: var(--muted); font-size: .88rem; }
.story-chapter .step-points { display: contents; margin: 0; padding: 0; list-style: none; }
.story-chapter .step-point {
    display: grid; gap: 2px; margin: 0; padding: 10px 18px;
    border-top: 1px solid var(--line); font-size: .84rem;
    transition: color 200ms var(--ease-out);
}
.story-chapter .step-point:last-child { padding-bottom: 20px; }
.story-chapter .step-point strong { color: var(--ink); font-weight: 650; }
.story-chapter .step-point span { color: var(--muted); }

.roadmap-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.roadmap-card {
    --roadmap-border: color-mix(in srgb, var(--line-strong) 42%, var(--line));
    --roadmap-dot: color-mix(in srgb, var(--line-strong) 70%, var(--ink));
    position: relative; isolation: isolate; overflow: hidden; min-width: 0;
    padding: 26px 26px 28px; border: 1px solid var(--roadmap-border);
    border-radius: var(--radius-lg); background: var(--surface);
    transition:
        border-color 200ms var(--ease-out),
        transform 200ms var(--ease-out),
        background-color 200ms var(--ease-out),
        opacity 245ms ease;
}
.roadmap-card > * { position: relative; z-index: 1; }
.roadmap-card::after {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(
        120% 80% at 50% 0%,
        color-mix(in srgb, var(--ink) 5%, transparent),
        transparent 55%
    );
    opacity: 0;
    transition: opacity 200ms var(--ease-out);
}
.roadmap-card.is-spotlight,
html:not(.spotlight-mode) .roadmap-card:hover {
    --roadmap-border: color-mix(in srgb, var(--line-strong) 72%, var(--ink));
    --roadmap-dot: color-mix(in srgb, var(--ink) 42%, var(--line-strong));
    transform: translateY(-3px);
}
.roadmap-card.is-spotlight::after,
html:not(.spotlight-mode) .roadmap-card:hover::after { opacity: 1; }
.roadmap-card.is-spotlight li,
html:not(.spotlight-mode) .roadmap-card:hover li {
    color: color-mix(in srgb, var(--muted) 78%, var(--ink));
}
.roadmap-published {
    margin: 0 0 14px; color: var(--muted); font-size: .7rem; font-weight: 720;
    letter-spacing: .08em; text-transform: uppercase;
}
.roadmap-card h3 {
    margin: 0; font-family: var(--font-ui);
    font-size: clamp(1.12rem, 1.7vw, 1.34rem); font-weight: 680; letter-spacing: -.025em; line-height: 1.18;
}
.roadmap-card ul {
    margin: 18px 0 0; padding: 16px 0 0;
    border-top: 1px solid color-mix(in srgb, var(--line) 78%, transparent); list-style: none;
}
.roadmap-card li {
    position: relative; margin-top: 11px; padding-left: 18px;
    color: color-mix(in srgb, var(--muted) 92%, var(--ink)); font-size: .875rem; line-height: 1.45;
    transition: color 200ms var(--ease-out);
}
.roadmap-card li:first-child { margin-top: 0; }
.roadmap-card li::before {
    content: ""; position: absolute; left: 0; top: .62em; width: 4px; height: 4px;
    border-radius: 50%; background: var(--roadmap-dot);
    transition: background-color 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.roadmap-card.is-spotlight li::before,
html:not(.spotlight-mode) .roadmap-card:hover li::before { transform: scale(1.15); }
.roadmap-card a { color: var(--blue); text-underline-offset: 3px; }
.roadmap-card-current {
    --roadmap-border: color-mix(in srgb, var(--blue) 38%, var(--line-strong));
}
.roadmap-card-current.is-spotlight,
html:not(.spotlight-mode) .roadmap-card-current:hover {
    --roadmap-border: color-mix(in srgb, var(--blue) 58%, var(--line-strong));
}
.roadmap-card > .roadmap-current-light {
    position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(
        circle at center,
        color-mix(in srgb, var(--blue) 28%, transparent) 0%,
        color-mix(in srgb, var(--blue) 14%, transparent) 34%,
        color-mix(in srgb, var(--blue) 6%, transparent) 58%,
        transparent 78%
    );
    filter: blur(14px);
    opacity: 0;
    will-change: transform, opacity;
}
html:not(.js) .roadmap-card > .roadmap-current-light { display: none; }

.early-seats {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    width: 100%; max-width: 920px; margin: 0 auto 22px; padding: 11px 16px;
    border: 1px solid color-mix(in srgb, var(--green) 34%, var(--line-strong));
    border-radius: 999px; background: color-mix(in srgb, var(--green) 8%, var(--surface));
}
.early-seats-main { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-width: 0; }
.early-seats-title { margin: 0; font-size: .84rem; font-weight: 700; }
.early-seats-count { margin: 0; color: var(--muted); font-size: .78rem; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.early-seats-bar { width: min(160px, 28vw); height: 4px; border-radius: var(--radius-pill); background: var(--line); overflow: hidden; }
.early-seats-bar-fill {
    position: relative; display: block; height: 100%; overflow: hidden;
    background: var(--green); transform: translateZ(0);
}
.early-seats-bar-sheen {
    position: absolute; z-index: 1; top: 0; bottom: 0; left: 0; width: 70%;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.85) 45%,
        rgba(255, 255, 255, 0.85) 55%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-110%);
    will-change: transform;
    transition: opacity 160ms var(--ease-out);
}
.early-seats-compare { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; color: var(--muted); font-size: .78rem; }
.early-seats-compare-item { display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap; }
.early-seats-compare-plan { color: var(--muted); font-weight: 650; }
.early-seats-compare-prices { display: inline-flex; align-items: baseline; gap: 6px; }
.early-seats-compare-sep { color: var(--line-strong); }
.early-seats-compare-current { color: var(--muted); font-weight: 550; text-decoration: line-through; }
.early-seats-compare-arrow { color: var(--muted); font-weight: 500; }
.early-seats-compare-next { color: var(--ink); font-weight: 760; }
.pricing-cycle { display: flex; align-items: center; justify-content: center; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto 28px; padding: 4px; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--quiet); }
.pricing-cycle-btn { appearance: none; border: 0; margin: 0; padding: 8px 16px; border-radius: var(--radius-pill); background: transparent; color: var(--muted); font: inherit; font-size: .86rem; font-weight: 650; cursor: pointer; transition: background var(--transition-speed) var(--ease-out), color var(--transition-speed) var(--ease-out); }
.pricing-cycle-btn.is-active { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--line); }
.pricing-cycle-save { margin-left: 6px; color: var(--green); font-size: .72rem; font-weight: 700; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: 14px; }
.pricing-stick-scope { display: contents; }
.early-seats-pin { display: contents; }
.early-seats-pin > .early-seats,
.pricing-stick-scope > .pricing-cycle {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 920px);
}
.pricing-stick-scope > .pricing-cycle { width: fit-content; max-width: 100%; }
.plan {
    --plan-border: color-mix(in srgb, var(--line-strong) 42%, var(--line));
    --plan-dot: var(--green);
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column; min-height: 520px; padding: 26px 26px 28px;
    border: 1px solid var(--plan-border); border-radius: var(--radius-lg); background: var(--surface);
    transition:
        border-color 200ms var(--ease-out),
        transform 200ms var(--ease-out),
        background-color 200ms var(--ease-out),
        opacity 220ms var(--ease-out);
}
.pricing-grid:has([data-plan="hobbyist"].is-spotlight) [data-plan="free"],
.pricing-grid:has([data-plan="pro"].is-spotlight) [data-plan="free"],
.pricing-grid:has([data-plan="pro"].is-spotlight) [data-plan="hobbyist"],
html:not(.spotlight-mode) .pricing-grid:has([data-plan="hobbyist"]:hover) [data-plan="free"],
html:not(.spotlight-mode) .pricing-grid:has([data-plan="pro"]:hover) [data-plan="free"],
html:not(.spotlight-mode) .pricing-grid:has([data-plan="pro"]:hover) [data-plan="hobbyist"] {
    opacity: .42;
}
.pricing-grid:has([data-plan="pro"].is-spotlight) [data-plan="hobbyist"].plan-featured,
html:not(.spotlight-mode) .pricing-grid:has([data-plan="pro"]:hover) [data-plan="hobbyist"].plan-featured {
    --plan-border: color-mix(in srgb, var(--line-strong) 42%, var(--line));
    background: var(--surface);
}
.pricing-grid:has([data-plan="pro"].is-spotlight) [data-plan="hobbyist"].plan-featured::after,
html:not(.spotlight-mode) .pricing-grid:has([data-plan="pro"]:hover) [data-plan="hobbyist"].plan-featured::after {
    opacity: 0;
}
.pricing-grid:has([data-plan="pro"].is-spotlight) [data-plan="hobbyist"] .plan-spin-cta,
html:not(.spotlight-mode) .pricing-grid:has([data-plan="pro"]:hover) [data-plan="hobbyist"] .plan-spin-cta,
html:not(.spotlight-mode) .pricing-grid:has([data-plan="pro"]:hover) [data-plan="hobbyist"] .plan-spin-cta:hover {
    border-color: var(--line-strong);
    background: transparent;
    color: var(--ink);
}
.pricing-grid:has([data-plan="pro"].is-spotlight) [data-plan="hobbyist"] .plan-spin-cta::before,
html:not(.spotlight-mode) .pricing-grid:has([data-plan="pro"]:hover) [data-plan="hobbyist"] .plan-spin-cta::before {
    opacity: 0;
}
.plan > * { position: relative; z-index: 1; }
.plan::after {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(
        120% 80% at 50% 0%,
        color-mix(in srgb, var(--ink) 5%, transparent),
        transparent 55%
    );
    opacity: 0;
    transition: opacity 200ms var(--ease-out);
}
.plan.is-spotlight,
html:not(.spotlight-mode) .plan:hover {
    --plan-border: color-mix(in srgb, var(--line-strong) 72%, var(--ink));
    transform: translateY(-3px);
}
.plan.is-spotlight::after,
html:not(.spotlight-mode) .plan:hover::after { opacity: 1; }
.plan.is-spotlight li,
html:not(.spotlight-mode) .plan:hover li {
    color: color-mix(in srgb, var(--muted) 78%, var(--ink));
}
.plan.is-spotlight li::before,
html:not(.spotlight-mode) .plan:hover li::before { transform: scale(1.15); }
.plan-featured {
    --plan-border: color-mix(in srgb, var(--ink) 72%, var(--line-strong));
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--quiet) 55%, var(--surface)) 0%,
            var(--surface) 46%
        );
}
.plan-featured::after {
    opacity: .55;
    background: radial-gradient(
        120% 70% at 50% 0%,
        color-mix(in srgb, var(--ink) 8%, transparent),
        transparent 58%
    );
}
.plan-featured.is-spotlight,
html:not(.spotlight-mode) .plan-featured:hover {
    --plan-border: color-mix(in srgb, var(--ink) 88%, var(--line-strong));
}
.plan-featured.is-spotlight::after,
html:not(.spotlight-mode) .plan-featured:hover::after { opacity: 1; }
.plan-label {
    margin: 0; display: flex; align-items: center; justify-content: space-between; gap: 10px;
    font-weight: 760; font-size: .86rem; letter-spacing: -.01em;
}
.plan-label span {
    float: none; padding: 3px 8px; border-radius: var(--radius-sm); background: var(--ink); color: var(--surface);
    font-size: .62rem; font-weight: 780; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.price { margin: 14px 0 0; font-size: clamp(1.7rem, 2.4vw, 2rem); font-weight: 760; letter-spacing: -.045em; line-height: 1.1; }
.price small { display: inline-block; margin-left: .2em; color: var(--muted); font-size: .76rem; font-weight: 500; letter-spacing: 0; }
.plan > div > p:last-child {
    min-height: 44px; margin: 10px 0 0;
    color: color-mix(in srgb, var(--muted) 92%, var(--ink)); font-size: .875rem; line-height: 1.45;
}
.plan ul {
    flex: 1; margin: 18px 0 26px; padding: 16px 0 0;
    border-top: 1px solid color-mix(in srgb, var(--line) 78%, transparent); list-style: none;
}
.plan li {
    position: relative; margin: 11px 0 0; padding-left: 18px;
    color: color-mix(in srgb, var(--muted) 92%, var(--ink)); font-size: .875rem; line-height: 1.45;
    transition: color 200ms var(--ease-out);
}
.plan li:first-child { margin-top: 0; }
.plan li::before {
    content: ""; position: absolute; left: 0; top: .62em; width: 4px; height: 4px;
    border-radius: 50%; background: var(--plan-dot);
    transition: background-color 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.plan .btn {
    min-height: calc(var(--control-height) + 6px);
    padding-top: 11px;
    padding-bottom: 11px;
    transition:
        background-color 160ms ease,
        border-color 160ms ease,
        color 160ms ease;
}
.plan-spin-cta {
    --spin-deg: 0deg;
    --spin-reveal: 0;
    --spin-aspect: 1;
    --spin-cover: 1.41421356237;
    --spin-base: 36px;
    position: relative; isolation: isolate; overflow: hidden;
    container-type: size;
}
.plan[data-plan="hobbyist"].is-spotlight .plan-spin-cta,
html:not(.spotlight-mode) .plan[data-plan="hobbyist"]:hover .plan-spin-cta {
    color: #fff;
    border-color: var(--line-strong);
}
html:not(.spotlight-mode) .plan[data-plan="hobbyist"]:hover .plan-spin-cta:hover {
    color: #fff;
    border-color: #fff;
}
.plan-spin-cta::before {
    content: ""; position: absolute; left: 50%; top: 50%; z-index: 0;
    width: var(--spin-base); height: var(--spin-base); border-radius: 50%;
    pointer-events: none;
    opacity: var(--spin-reveal);
    background: conic-gradient(
        from 0deg,
        #ff4d55,
        #ff7a45,
        #ffb347,
        #ffe08a,
        #9fe07a,
        #3ecf8e,
        #3db8a8,
        #4dc4ff,
        #2756c7,
        #6b7cff,
        #b06bff,
        #f05d9a,
        #ff4d55
    );
    filter: blur(0.55px);
    transform:
        translate(-50%, -50%)
        scaleX(var(--spin-aspect))
        scale(var(--spin-cover))
        rotate(var(--spin-deg));
    transform-origin: center;
    will-change: transform, opacity;
}
.plan-spin-cta-label { position: relative; z-index: 1; }
.faq-list { max-width: 720px; margin-inline: auto; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 20px 40px 20px 0; cursor: pointer; font-weight: 680; list-style: none; transition: color 160ms ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; top: 50%; right: 2px; color: var(--muted); font-size: 1.35rem; font-weight: 400; transform: translateY(-50%); transition: color 160ms ease, transform 240ms ease; }
.faq details.is-open summary::after { content: "−"; color: var(--ink); }
.faq-panel { height: 0; overflow: hidden; transition: height 320ms ease; }
.faq-panel-inner { overflow: hidden; min-height: 0; }
.faq details p { max-width: 620px; margin: 0; padding: 0 40px 20px 0; color: var(--muted); opacity: 0; transform: translateY(-6px); transition: opacity 240ms ease, transform 320ms ease; }
.faq details.is-open p { opacity: 1; transform: none; }
.final-cta { padding: var(--section-pad-y) 20px; border-top: 1px solid var(--line); background: var(--quiet); text-align: center; }
.final-cta > div { max-width: 720px; margin-inline: auto; }
.final-cta p:not(.eyebrow) { max-width: 520px; margin: 16px auto 28px; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { width: min(calc(100% - (2 * var(--page-pad))), var(--max)); margin-inline: auto; padding: 60px 0; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; align-items: start; gap: 40px; }
.footer-brand-block { min-width: 0; }
.footer-brand-block > p { max-width: 280px; }
.footer-latest {
    width: min(calc(100% - (2 * var(--page-pad))), var(--max));
    margin-inline: auto;
    padding: 28px 0 24px;
    border-bottom: 1px solid var(--line);
}
.footer-latest-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin: 0 0 16px;
}
.footer-latest-head p {
    margin: 0;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.footer-latest-head a {
    color: var(--muted);
    font-size: .82rem;
    text-decoration: none;
}
.footer-latest-head a:hover { color: var(--ink); }
.footer-latest-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}
.footer-latest-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    padding: 0 18px;
    border-left: 1px solid var(--line);
    color: inherit;
    text-decoration: none;
}
.footer-latest-card:first-child { padding-left: 0; border-left: 0; }
.footer-latest-card, .footer-latest-card * { text-decoration: none; }
.footer-latest-meta { color: var(--muted); font-size: .72rem; }
.footer-latest-title { width: 100%; font-size: .92rem; font-weight: 650; line-height: 1.35; }

/* Public docs shell */
.docs-page { min-height: 100dvh; display: flex; flex-direction: column; }
.docs-page .site-footer { margin-top: 0; }
.docs-shell {
    --docs-measure: 42rem;
    --docs-rail: 208px;
    --docs-gutter: 72px;
    position: relative;
    width: min(
        calc(100% - (2 * var(--page-pad))),
        calc(var(--docs-measure) + var(--docs-gutter) + var(--docs-rail))
    );
    margin-inline: auto;
    display: grid; grid-template-columns: var(--docs-rail) minmax(0, 1fr);
    gap: 0 var(--docs-gutter); align-items: start;
    flex: 1; padding: 56px 0 96px;
}
.docs-shell::before {
    content: ""; position: absolute; top: 56px; bottom: 96px;
    left: calc(var(--docs-rail) + (var(--docs-gutter) / 2)); width: 1px;
    background: var(--line); pointer-events: none;
}
.docs-nav,
.docs-nav * { box-sizing: border-box; }
.docs-nav {
    position: sticky; top: 96px; align-self: start; min-width: 0;
    max-height: calc(100dvh - 128px); overflow-x: hidden; overflow-y: auto;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--muted) 55%, transparent) transparent;
}
.docs-nav::-webkit-scrollbar { width: 6px; height: 0; }
.docs-nav::-webkit-scrollbar-track { background: transparent; }
.docs-nav::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: color-mix(in srgb, var(--muted) 45%, transparent);
}
.docs-nav::-webkit-scrollbar-thumb:hover {
    background: color-mix(in srgb, var(--muted) 70%, transparent);
}
.docs-nav-panel { position: static; }
.docs-nav-toggle { display: none; }
.docs-search { margin: 0 0 22px; }
.docs-search-field { position: relative; }
.docs-search-icon {
    position: absolute; top: 50%; left: 10px; width: 14px; height: 14px;
    color: var(--muted); transform: translateY(-50%); pointer-events: none;
}
.docs-search-input {
    box-sizing: border-box; width: 100%; min-width: 0; min-height: 36px; margin: 0;
    padding: 8px 10px 8px 32px; border: 1px solid var(--line); border-radius: var(--radius-md);
    background: var(--surface); color: var(--ink); font: inherit; font-size: .84rem;
}
.docs-search-input::placeholder { color: var(--muted); }
.docs-search-input:focus {
    outline: none; border-color: var(--blue);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 22%, transparent);
}
.docs-search-field:focus-within .docs-search-icon { color: var(--ink); }
.docs-search-status {
    margin: 10px 2px 0; color: var(--muted); font-size: .78rem; line-height: 1.35;
}
.docs-search-results {
    display: flex; flex-direction: column; gap: 2px; margin-top: 10px;
    max-height: min(62vh, 520px); overflow-x: hidden; overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--muted) 55%, transparent) transparent;
}
.docs-search-results::-webkit-scrollbar { width: 6px; height: 0; }
.docs-search-results::-webkit-scrollbar-track { background: transparent; }
.docs-search-results::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: color-mix(in srgb, var(--muted) 45%, transparent);
}
.docs-search-item {
    display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
    max-width: 100%; min-width: 0; padding: 9px 10px; border-radius: var(--radius-md);
    color: var(--ink); text-decoration: none; overflow-wrap: anywhere;
    transition: background-color 140ms ease;
}
.docs-search-item:hover,
.docs-search-item:focus-visible { background: color-mix(in srgb, var(--quiet) 80%, transparent); }
.docs-search-category {
    color: var(--muted); font-size: .68rem; font-weight: 780;
    letter-spacing: .08em; text-transform: uppercase;
}
.docs-search-title {
    font-size: .88rem; font-weight: 680; letter-spacing: -.015em; line-height: 1.25;
}
.docs-search-snippet {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
    color: var(--muted); font-size: .76rem; line-height: 1.4;
}
.docs-search-snippet mark {
    padding: 0 1px; border-radius: 2px;
    background: color-mix(in srgb, var(--blue) 22%, transparent); color: inherit;
}
.docs-nav.is-searching .docs-nav-toggle,
.docs-nav.is-searching .docs-nav-panel { display: none; }
.docs-nav-group { display: flex; flex-direction: column; align-items: stretch; margin-bottom: 20px; }
.docs-nav-group:last-child { margin-bottom: 0; }
.docs-nav-group-toggle {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%;
    margin: 0; padding: 6px 0; border: 0; background: transparent;
    color: var(--muted); cursor: pointer; font: inherit; font-size: .7rem; font-weight: 700;
    letter-spacing: .1em; text-align: left; text-transform: uppercase;
    transition: color 140ms ease;
}
.docs-nav-group-toggle:hover { color: var(--ink); }
.docs-nav-group.is-open .docs-nav-group-toggle { color: var(--ink); }
.docs-nav-group-toggle::after { content: "+"; font-size: 1.05rem; font-weight: 400; letter-spacing: 0; line-height: 1; transition: transform 240ms ease; }
.docs-nav-group.is-open .docs-nav-group-toggle::after { transform: rotate(45deg); }
.docs-nav-group-links { height: 0; overflow: hidden; transition: height 280ms ease; }
.docs-nav-group-links-inner {
    display: flex; flex-direction: column; align-items: stretch;
    margin-top: 8px; border-left: 1px solid var(--line);
}
.docs-nav-group a {
    position: relative; display: block; padding: 6px 0 6px 15px;
    color: var(--muted); font-size: .82rem; line-height: 1.45; text-decoration: none;
    transition: color 140ms ease;
}
.docs-nav-group a:hover { color: var(--ink); }
.docs-nav-group a.is-active { color: var(--ink); font-weight: 620; }
.docs-nav-group a.is-active::before {
    content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px;
    background: var(--blue);
}
.docs-main { min-width: 0; max-width: var(--docs-measure); }
.docs-main .eyebrow {
    margin: 0; color: var(--muted); font-size: .8rem; font-weight: 400;
    letter-spacing: normal; text-transform: none;
}
.docs-main .content-title {
    margin: 18px 0 0; font-size: clamp(2rem, 4.2vw, 2.85rem); font-weight: 650;
    letter-spacing: -.035em; line-height: 1.08; text-wrap: balance;
}
.docs-main .content-lead {
    margin: 18px 0 0; max-width: none; color: var(--muted); font-size: 1.12rem; line-height: 1.6;
}
.docs-endpoint { display: flex; align-items: center; gap: 12px; margin: 1.6rem 0 1rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--quiet); }
.docs-method { flex: 0 0 auto; min-width: 3.4rem; padding: 4px 8px; border-radius: var(--radius-sm); background: var(--surface); color: var(--muted); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .72rem; font-weight: 780; letter-spacing: .04em; text-align: center; }
.docs-method-get { background: color-mix(in srgb, var(--green) 16%, var(--surface)); color: var(--green); }
.docs-endpoint-path { flex: 1 1 auto; min-width: 0; overflow-x: auto; color: var(--ink); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .84rem; white-space: nowrap; }
.docs-code { margin: 1.6rem 0 2.25rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--quiet); }
.docs-code-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.docs-copy { flex: 0 0 auto; min-height: 28px; padding: 4px 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--muted); cursor: pointer; font-size: .75rem; font-weight: 680; letter-spacing: normal; text-transform: none; transition: color 140ms ease, border-color 140ms ease; }
.docs-copy:hover { border-color: var(--line-strong); color: var(--ink); }
.docs-copy.is-copied { border-color: color-mix(in srgb, var(--green) 50%, var(--line)); color: var(--green); }
.docs-pager {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
    margin-top: 4.5rem; padding-top: 2.25rem; border-top: 1px solid var(--line);
}
.docs-pager-link {
    display: flex; flex-direction: column; gap: 4px; flex: 1 1 0; min-width: 0; padding: 0;
    border: 0; border-radius: 0; background: transparent; color: var(--muted); text-decoration: none;
    transition: color 160ms ease;
}
.docs-pager-link:hover { color: var(--ink); background: transparent; }
.docs-pager-link:hover .docs-pager-title { color: var(--ink); }
.docs-pager-link.is-empty { display: none; }
.docs-pager-prev { text-align: left; align-items: flex-start; }
.docs-pager-next { text-align: right; align-items: flex-end; margin-left: auto; }
.docs-pager-dir { color: inherit; font-size: .68rem; font-weight: 780; letter-spacing: .1em; text-transform: uppercase; }
.docs-pager-title {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
    color: var(--ink); font-size: .98rem; font-weight: 640; letter-spacing: -.015em; line-height: 1.35;
}
.footer-brand { margin-bottom: 15px; }
.footer-inner > div > p, .footer-meta p { color: var(--muted); font-size: .8rem; }
.footer-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-nav strong { margin-bottom: 6px; font-size: .78rem; }
.footer-nav a { color: var(--muted); font-size: .82rem; text-decoration: none; }
.footer-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-meta { text-align: right; }

/* Legal, contact, and 404 pages share the editorial shell. */
.content { width: min(calc(100% - (2 * var(--page-pad))), var(--max)); margin-inline: auto; padding: clamp(72px, 10vw, 128px) 0; }
.content-inner { max-width: 840px; margin-inline: auto; }
.content-title { max-width: 800px; margin: 0; font-family: var(--font-ui); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 650; line-height: 1.05; letter-spacing: -.035em; }
.content-lead { max-width: 650px; margin: 22px 0 0; color: var(--muted); font-size: 1.15rem; }
.content-updated { margin-top: 20px; color: var(--muted); font-size: .8rem; }
.prose { margin-top: 58px; padding-top: 10px; border-top: 1px solid var(--line-strong); color: var(--muted); }
.prose h2 { margin: 48px 0 12px; color: var(--ink); font-family: var(--font-ui); font-size: 1.45rem; font-weight: 650; letter-spacing: -.02em; }
.prose h3, .prose strong { color: var(--ink); }
.prose a, .contact-card a { color: var(--blue); text-underline-offset: 3px; }
.contact-list { margin-top: 58px; border-top: 1px solid var(--line-strong); }
.contact-card { display: grid; grid-template-columns: 210px 1fr; gap: 30px; padding: 27px 0; border-bottom: 1px solid var(--line); }
.contact-card h2 { margin: 0; font-family: var(--font-ui); font-size: 1.25rem; font-weight: 650; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-icon { display: none; }
.notfound { min-height: 63vh; display: grid; place-items: center; text-align: center; }
.notfound-code { color: var(--blue); font-family: var(--font-ui); font-size: clamp(5rem, 14vw, 9rem); font-weight: 650; line-height: .8; }
.cta-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 620ms ease, transform 620ms ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .pricing > .reveal.is-visible { transform: unset; }
.js .reveal.roadmap-card.is-visible,
.js .reveal.story-chapter.is-visible {
    transition:
        opacity 245ms ease,
        transform 200ms var(--ease-out),
        border-color 200ms var(--ease-out),
        background-color 200ms var(--ease-out);
}
.js .reveal.roadmap-card.is-visible.is-spotlight,
.js .reveal.story-chapter.is-visible.is-spotlight,
html.js:not(.spotlight-mode) .reveal.roadmap-card.is-visible:hover,
html.js:not(.spotlight-mode) .reveal.story-chapter.is-visible:hover { transform: translateY(-3px); }
.roadmap-card-shipped { opacity: .45; }
.roadmap-card-shipped.is-spotlight,
html:not(.spotlight-mode) .roadmap-card-shipped:hover { opacity: 1; }
.js .reveal.roadmap-card-shipped.is-visible { opacity: .45; }
.js .reveal.roadmap-card-shipped.is-visible.is-spotlight,
html.js:not(.spotlight-mode) .reveal.roadmap-card-shipped.is-visible:hover {
    opacity: 1; transform: translateY(-3px);
}

@media (max-width: 1180px) {
    .header-links { gap: 14px; }
}
@media (max-width: 980px) {
    .header-links { gap: 16px; }
    .header-links > a { font-size: .8rem; }
    .story-chapters {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        row-gap: 14px;
    }
    .story-chapter {
        display: flex; flex-direction: column;
        grid-row: auto;
        grid-template-rows: none;
    }
    .story-chapter .step-points { display: block; margin: 0; padding: 0; list-style: none; }
    .step-intro { padding-bottom: 0; }
    .roadmap-grid { grid-template-columns: 1fr; }
    .pricing-cycle { width: 100%; max-width: none; }
    .pricing-cycle-btn { flex: 1 1 0; justify-content: center; text-align: center; }
    .pricing-grid { max-width: 680px; margin-inline: auto; grid-template-columns: 1fr; }
    .pricing-stick-scope {
        display: flex; flex-direction: column; gap: 0;
        grid-column: 1;
    }
    .pricing-stick-scope > .plan { margin-bottom: 14px; }
    .pricing-stick-scope > .plan:last-child { margin-bottom: 0; }
    .pricing-stick-scope > .pricing-cycle { margin-top: 22px; }
    .early-seats-pin {
        --early-stick-gap: 16px;
        --early-stick-fade: 15%;
        display: block;
        position: sticky; top: 60px; z-index: 40;
        margin: 0;
        padding-top: var(--early-stick-gap);
        background: transparent;
    }
    .early-seats-pin::before {
        content: "";
        position: absolute; z-index: 0; top: 0; bottom: 0;
        left: 50%; width: 100vw; transform: translateX(-50%);
        pointer-events: none;
        background: linear-gradient(
            to bottom,
            var(--paper) 0%,
            var(--paper) calc(100% - var(--early-stick-fade)),
            transparent 100%
        );
    }
    .early-seats-pin > .early-seats {
        position: relative; z-index: 1;
        width: 100%; max-width: none; margin: 0;
    }
    .early-seats {
        flex-direction: column; align-items: stretch; gap: 14px;
        border-radius: var(--radius-lg); padding: 16px;
        background: color-mix(in srgb, var(--green) 16%, var(--paper));
        box-shadow: none;
    }
    .early-seats-main { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; }
    .early-seats-title { grid-column: 1; }
    .early-seats-count { grid-column: 2; justify-self: end; }
    .early-seats-bar { grid-column: 1 / -1; width: 100%; }
    .early-seats-compare {
        width: 100%; display: grid; grid-template-columns: 1fr; gap: 8px;
        padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--green) 22%, var(--line));
    }
    .early-seats-compare-sep { display: none; }
    .early-seats-compare-item { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; white-space: normal; }
    .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; gap: 32px 28px; }
    .footer-meta { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; padding-top: 8px; border-top: 1px solid var(--line); }
    .docs-shell { grid-template-columns: 1fr; gap: 26px 0; padding: 36px 0 72px; }
    .docs-shell::before { display: none; }
    .docs-nav {
        position: static; max-height: none; overflow: visible;
        padding: 0;
    }
    .docs-search { margin-bottom: 14px; }
    .docs-nav-toggle {
        display: flex; align-items: center; justify-content: space-between; width: 100%;
        min-height: var(--control-height); padding: 12px 16px;
        border: 1px solid var(--line); border-radius: var(--radius-md); background: transparent;
        color: var(--muted); cursor: pointer; font-size: .74rem; font-weight: 700;
        letter-spacing: .1em; text-transform: uppercase;
    }
    .docs-nav-toggle::after { content: "+"; font-size: 1.1rem; font-weight: 400; letter-spacing: 0; }
    .docs-nav-toggle[aria-expanded="true"] {
        color: var(--ink); border-radius: var(--radius-md) var(--radius-md) 0 0;
    }
    .docs-nav-toggle[aria-expanded="true"]::after { content: "−"; }
    .docs-nav-panel {
        display: none; position: static; padding: 4px 16px 14px;
        border: 1px solid var(--line); border-top: 0;
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }
    .docs-nav-panel.is-open { display: block; }
    .docs-nav-group { margin-bottom: 14px; }
    .docs-nav-group a { padding: 8px 0 8px 15px; font-size: .92rem; }
    .docs-main .content-title { margin-top: 14px; }
    .docs-prose { margin-top: 28px; padding-top: 30px; }
    .docs-pager { gap: 20px; margin-top: 3rem; padding-top: 1.75rem; }
    .docs-pager-title { font-size: .9rem; }
}
@media (max-width: 900px) {
    .header-links { display: none; }
    .header-nav { display: none; position: fixed; inset: 0; z-index: 40; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 0; width: 100%; height: 100dvh; padding: calc(60px + 28px) var(--page-pad) 32px; border: 0; background: var(--paper); overflow-y: auto; }
    .header-nav.is-open { display: flex; }
    .header-nav .header-links { position: static; display: flex; flex: 1; flex-direction: column; align-items: stretch; justify-content: center; gap: 4px; transform: none; }
    .header-nav .header-links > a { padding: 14px 4px; font-size: 1.15rem; color: var(--ink); }
    .header-nav .header-actions { width: 100%; flex-direction: column; align-items: stretch; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
    .menu-toggle { position: relative; z-index: 60; width: 44px; height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; margin-left: auto; padding: 0; border: 0; background: transparent; cursor: pointer; }
    .menu-toggle > span:not(.sr-only) { width: 20px; height: 2px; background: var(--ink); transition: transform 160ms ease, opacity 160ms ease; }
    .menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(6px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .header-actions { display: none; }
    .header-nav.is-open .header-actions { display: flex; }
    body.menu-open { overflow: hidden; }
    body.menu-open .site-header { background: var(--paper); backdrop-filter: none; }
    .site-header { z-index: 50; }
}
@media (max-width: 760px) {
    .header-inner { width: min(calc(100% - (2 * var(--page-pad))), var(--max)); min-height: 64px; }
    .header-nav { padding-top: calc(64px + 28px); }
    .early-seats-pin { top: 64px; }
    .plan { min-height: 0; }
    .section, .header-inner, .footer-inner, .content { width: min(calc(100% - (2 * var(--page-pad))), var(--max)); }
    .hero { padding-top: 48px; }
    .hero h1 { font-size: clamp(2.1rem, 9vw, 3rem); }
    .demo-viewport { min-height: 500px; aspect-ratio: 4 / 5; }
    .demo-activate {
        position: absolute;
        inset: 0;
        z-index: 3;
        display: grid;
        place-content: center;
        gap: 8px;
        margin: 0;
        padding: 28px 22px;
        border: 0;
        background: color-mix(in srgb, var(--paper) 72%, transparent);
        backdrop-filter: blur(8px);
        color: var(--ink);
        font: inherit;
        text-align: center;
        cursor: pointer;
        touch-action: pan-y;
    }
    .demo-activate strong { display: block; font-size: 1.05rem; font-weight: 650; letter-spacing: -.02em; }
    .demo-activate:focus-visible { outline: 2px solid color-mix(in srgb, var(--blue) 55%, transparent); outline-offset: -4px; }
    .demo-stage.is-fullscreen .demo-activate,
    .demo-viewport:has(.demo-poster:not([hidden])) .demo-activate { display: none; }
    .footer-latest-list {
        grid-template-columns: 1fr;
    }
    .footer-latest-card,
    .footer-latest-card:first-child {
        padding: 14px 0;
        border-top: 1px solid var(--line);
        border-left: 0;
    }
    .footer-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; padding: 40px 0 48px; }
    .footer-brand-block, .footer-inner > div:first-child, .footer-meta { grid-column: 1 / -1; }
    .footer-nav { gap: 8px; }
    .footer-nav a { font-size: .8rem; }
    .footer-meta { margin-top: 4px; padding-top: 20px; }
    .contact-card { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 420px) {
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .demo-stage { margin-inline: -7px; }
    .demo-viewport { min-height: 520px; }
    .demo-chrome { padding-inline: 12px; }
    .demo-poster { padding: 24px 18px; }
    .demo-fallback-actions { align-items: stretch; flex-direction: column; }
    --section-pad-y: clamp(56px, 14vw, 72px);
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
    .footer-brand-block, .footer-inner > div:first-child, .footer-meta { grid-column: 1 / -1; }
    .footer-meta { align-items: flex-start; flex-direction: column; }
}

/* Blog: research index, taxonomy archives, and article pages. */
.blog-main {
    --blog-measure: 42rem;
    --blog-rail: 208px;
    --blog-gutter: 72px;
    width: min(
        calc(100% - (2 * var(--page-pad))),
        calc(var(--blog-measure) + var(--blog-gutter) + var(--blog-rail))
    );
    margin: 0 auto;
    padding: 56px 0 96px;
}
.blog-main-wide {
    width: min(calc(100% - (2 * var(--page-pad))), 1200px);
    padding-top: 44px;
}
.blog-masthead { max-width: 44rem; }
.blog-display-title {
    margin: 12px 0 0;
    font-family: var(--font-ui);
    font-size: clamp(2.25rem, 4.6vw, 3rem);
    font-weight: 650;
    line-height: 1.06;
    letter-spacing: -.035em;
}
.blog-masthead .content-lead {
    max-width: 34rem;
    margin: 16px 0 0;
    font-size: 1.08rem;
    line-height: 1.6;
    text-align: left;
}
/* Listing: one compact head, then the work. */
.blog-head { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.blog-head-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;
}
.blog-head-row .eyebrow { flex: 0 0 100%; }
.blog-head-title {
    margin: 0;
    margin-right: auto;
    font-family: var(--font-ui);
    font-size: 1.55rem;
    font-weight: 650;
    letter-spacing: -.03em;
    line-height: 1.2;
}
.blog-head-count { margin: 0; color: var(--muted); font-size: .82rem; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.blog-filter {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 13px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.2;
    text-decoration: none;
    transition: color var(--transition-speed) var(--ease-out),
        border-color var(--transition-speed) var(--ease-out);
}
.blog-filter:hover { border-color: var(--line-strong); color: var(--ink); }
.blog-filter.is-current,
.blog-filter.is-current:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--paper);
}

.blog-chip {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--muted);
    font-size: .72rem;
    letter-spacing: .02em;
    text-transform: uppercase;
    transition: color var(--transition-speed) var(--ease-out),
        border-color var(--transition-speed) var(--ease-out);
}

/* Cards: image, category, title, excerpt. The whole card is the link. */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(19rem, 1fr));
    gap: 44px 32px;
    margin: 40px 0 0;
    padding: 0;
    list-style: none;
}
.blog-card { position: relative; display: flex; flex-direction: column; }
.blog-card-media,
.blog-related-aspect {
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--quiet);
    transition: border-color var(--transition-speed) var(--ease-out);
}
.blog-card-thumb,
.blog-related-thumb {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 320ms var(--ease-out);
}
.blog-card:hover .blog-card-media { border-color: var(--line-strong); }
.blog-card:hover .blog-card-thumb { transform: scale(1.02); }
.blog-card:hover .blog-chip { border-color: var(--line-strong); color: var(--ink); }
.blog-card .blog-chip { align-self: flex-start; margin: 18px 0 0; }
.blog-card-title {
    min-height: 2.6em;
    margin: 12px 0 0;
    font-size: 1.22rem;
    font-weight: 645;
    letter-spacing: -.022em;
    line-height: 1.3;
    text-wrap: balance;
}
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card-title a::after { content: ""; position: absolute; inset: 0; }
.blog-card:hover .blog-card-title a { color: var(--blue); }
.blog-card-excerpt {
    display: -webkit-box;
    margin: 10px 0 0;
    overflow: hidden;
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.blog-empty { margin: 40px 0 0; color: var(--muted); }
.blog-empty a { color: var(--blue); }

/* Article: one left edge for cover, title, body, and closing blocks. */
.blog-article { width: 100%; }
.blog-article-head { padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.blog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: .8rem;
}
.blog-breadcrumb a { text-decoration: none; }
.blog-breadcrumb a:hover { color: var(--ink); }
.blog-breadcrumb a:last-of-type { color: var(--ink); font-weight: 620; }
.blog-cover { margin: 22px 0 0; }
.blog-cover img,
.blog-figure img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
.blog-cover figcaption,
.blog-figure figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.5;
}
.blog-title {
    margin: 32px 0 0;
    font-family: var(--font-ui);
    font-size: clamp(2rem, 4.2vw, 2.85rem);
    font-weight: 650;
    letter-spacing: -.035em;
    line-height: 1.08;
    text-wrap: balance;
}
.blog-dek {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 1.12rem;
    line-height: 1.6;
}
.blog-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin: 26px 0 0;
    color: var(--muted);
    font-size: .8rem;
}
.blog-byline-author { color: var(--ink); text-decoration: none; }
.blog-byline-author:hover { color: var(--blue); }
.blog-byline-sep { color: var(--line-strong); }
.blog-columns {
    display: grid;
    grid-template-columns: minmax(0, var(--blog-measure)) var(--blog-rail);
    grid-template-areas: "stack rail";
    gap: 0 var(--blog-gutter);
    align-items: start;
    padding-top: 46px;
}
.blog-stack { grid-area: stack; min-width: 0; }
.blog-rail {
    grid-area: rail;
    align-self: start;
    position: sticky;
    top: 96px;
    min-width: 0;
    max-height: calc(100dvh - 128px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}
.blog-toc summary {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    list-style: none;
    text-transform: uppercase;
}
.blog-toc summary::-webkit-details-marker { display: none; }
.blog-toc ol {
    margin: 0;
    padding: 0;
    border-left: 1px solid var(--line);
    list-style: none;
}
.blog-toc a {
    display: block;
    margin-left: -1px;
    padding: 6px 0 6px 15px;
    border-left: 2px solid transparent;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.45;
    text-decoration: none;
}
.blog-toc a:hover { color: var(--ink); }
.blog-toc a.is-active {
    border-left-color: var(--blue);
    color: var(--ink);
    font-weight: 620;
}

/* Prose: articles and docs pages read on the same scale, separated on space. */
.blog-prose { max-width: var(--blog-measure); min-width: 0; }
.docs-prose {
    min-width: 0;
    margin-top: 34px;
    padding-top: 46px;
    border-top: 1px solid var(--line);
}
.blog-prose h2,
.blog-prose h3,
.docs-prose h2,
.docs-prose h3,
.blog-faq > h2 { scroll-margin-top: 104px; }
.blog-prose h2,
.blog-prose h3,
.docs-prose h2,
.docs-prose h3 { color: var(--ink); letter-spacing: -.025em; text-wrap: balance; }
.blog-prose h2,
.docs-prose h2 {
    margin: 3.25rem 0 1rem;
    font-size: 1.625rem;
    font-weight: 660;
    line-height: 1.2;
}
.blog-prose h2:first-child,
.docs-prose h2:first-child { margin-top: 0; }
.blog-prose h3,
.docs-prose h3 {
    margin: 2.1rem 0 .6rem;
    font-size: 1.125rem;
    font-weight: 670;
    line-height: 1.35;
}
.blog-prose p,
.blog-prose li,
.docs-prose p,
.docs-prose li {
    color: color-mix(in srgb, var(--ink) 88%, var(--muted));
    font-size: 1.0625rem;
    text-align: left;
}
.blog-prose p,
.docs-prose p { margin: 0 0 1.35rem; line-height: 1.75 }
.blog-prose ul, .blog-prose ol,
.docs-prose ul, .docs-prose ol { margin: 0 0 1.35rem; padding-left: 1.3rem; }
.blog-prose li,
.docs-prose li { margin: 0 0 .5rem; line-height: 1.7; }
.blog-prose li:last-child,
.docs-prose li:last-child { margin-bottom: 0; }
.blog-prose li::marker,
.docs-prose li::marker { color: var(--muted); }
.blog-prose a,
.docs-prose a {
    color: var(--blue);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.blog-prose a:hover,
.docs-prose a:hover { color: var(--blue-hover); }
.blog-prose strong,
.docs-prose strong { color: var(--ink); font-weight: 670; }
.blog-prose em,
.docs-prose em { font-style: italic; }
.blog-prose code,
.docs-prose code {
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    background: var(--quiet);
    color: var(--ink);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .875em;
}
.blog-prose pre,
.docs-prose pre {
    margin: 0 0 1.35rem;
    padding: 16px 18px;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--quiet);
}
.blog-prose pre code,
.docs-prose pre code { padding: 0; background: transparent; font-size: .85rem; }
.docs-code pre {
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}
.blog-figure { margin: 2.25rem 0; }
.blog-lightbox-trigger {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

/* Tables: horizontal rules only, so columns stay scannable without a grid. */
.blog-table-scroll,
.docs-table-scroll {
    max-width: 100%;
    margin: 1.6rem 0;
    padding-bottom: 4px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-color: var(--line-strong) transparent;
    scrollbar-width: thin;
}
.blog-table-hint,
.docs-table-hint { display: none; }
.blog-prose table,
.docs-prose table {
    width: 100%;
    min-width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: .92rem;
}
.blog-prose th,
.blog-prose td,
.docs-prose th,
.docs-prose td {
    padding: 11px 14px 11px 0;
    overflow-wrap: anywhere;
    border-bottom: 1px solid var(--line);
    line-height: 1.55;
    text-align: left;
    vertical-align: top;
}
.blog-prose thead th,
.docs-prose thead th {
    border-bottom-color: var(--line-strong);
    color: var(--ink);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.blog-prose tbody tr:last-child td,
.docs-prose tbody tr:last-child td { border-bottom: 0; }

/* Editorial blocks: one shape, accent carried by the label. */
.blog-block {
    margin: 2.25rem 0;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}
.blog-block p,
.blog-block li { font-size: 1rem; line-height: 1.65; }
.blog-block > :last-child { margin-bottom: 0; }
.blog-block-label {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.blog-block-takeaways {
    border-color: color-mix(in srgb, var(--blue) 32%, var(--line));
    background: color-mix(in srgb, var(--blue) 6%, var(--surface));
}
.blog-block-takeaways .blog-block-label { color: var(--blue); }
.blog-block-warning {
    border-color: color-mix(in srgb, var(--warning) 34%, var(--line));
}
.blog-block-warning .blog-block-label { color: var(--warning); }
.blog-evidence {
    margin: 2.5rem 0;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
}
.blog-evidence figcaption {
    margin-top: 18px;
    color: var(--muted);
    font-size: .76rem;
    line-height: 1.5;
}
.blog-flow ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.blog-flow li {
    position: relative;
    display: grid;
    min-height: 72px;
    place-content: center;
    padding: 12px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    font-size: .95rem;
    text-align: center;
}
.blog-flow li:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: -18px;
    color: var(--muted);
    transform: translateY(-50%);
}
.blog-formula > p:first-child {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1rem, 2vw, 1.25rem);
}
.blog-formula > p:first-child code {
    padding: 0;
    background: transparent;
    color: var(--blue);
}
.blog-prose .faq,
.blog-faq { margin: 0; padding-block: 0; }
.blog-prose .faq-list { max-width: none; margin-inline: 0; border-top: 0; }
.blog-prose .faq details p { max-width: none; }
.blog-prose .blog-faq > h2 {
    margin: 3.25rem 0 1rem;
    font-size: 1.625rem;
    line-height: 1.2;
}

/* Article close: CTA, taxonomy, disclaimer, related reading. */
.blog-conversion {
    margin: 3.5rem 0 0;
    padding: 28px;
    border: 1px solid color-mix(in srgb, var(--blue) 26%, var(--line));
    border-radius: var(--radius-lg);
    background: linear-gradient(
        160deg,
        color-mix(in srgb, var(--blue) 9%, var(--surface)),
        var(--surface) 72%
    );
}
.blog-conversion .blog-block-label { color: var(--blue); }
.blog-conversion h2 {
    margin: 0 0 10px;
    font-size: 1.35rem;
    font-weight: 650;
    letter-spacing: -.025em;
}
.blog-conversion > p:not(.blog-block-label) {
    max-width: 34rem;
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.65;
}
.blog-tags { margin: 2.5rem 0 0; padding-top: 2rem; border-top: 1px solid var(--line); }
.blog-tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-tag {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 11px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    color: var(--muted);
    font-size: .78rem;
    text-decoration: none;
}
a.blog-tag:hover { border-color: var(--line-strong); color: var(--ink); }
.blog-disclaimer { margin: 1.75rem 0 0; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.blog-related { margin-top: 4.5rem; padding-top: 2.25rem; border-top: 1px solid var(--line); }
.blog-related ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: 24px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}
.blog-related-card { display: block; color: inherit; text-decoration: none; }
.blog-related-meta {
    display: block;
    margin-top: 13px;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 650;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.blog-related-title {
    display: block;
    margin-top: 6px;
    font-size: .98rem;
    font-weight: 640;
    letter-spacing: -.015em;
    line-height: 1.35;
}
.blog-related-card:hover .blog-related-aspect { border-color: var(--line-strong); }
.blog-related-card:hover .blog-related-title { color: var(--blue); }
.blog-policy { max-width: 42rem; margin-top: 44px; }
.blog-policy section { padding: 28px 0; border-top: 1px solid var(--line); }
.blog-policy h2 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    font-weight: 650;
    letter-spacing: -.02em;
}
.blog-policy p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.blog-policy a { color: var(--blue); }
/* Lightbox: fade the scrim, lift the figure, and keep both exits fast. */
.blog-lightbox {
    display: none;
    place-items: center;
    position: fixed;
    inset: 0;
    z-index: 80;
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 64px 20px 24px;
    border: 0;
    background: transparent;
    opacity: 0;
    transition: opacity var(--lightbox-speed) var(--ease-out),
        display var(--lightbox-speed) allow-discrete,
        overlay var(--lightbox-speed) allow-discrete;
}
.blog-lightbox[open] { display: grid; opacity: 1; }
.blog-lightbox::backdrop {
    background: rgb(6 6 6 / 84%);
    opacity: 0;
    transition: opacity var(--lightbox-speed) var(--ease-out),
        display var(--lightbox-speed) allow-discrete,
        overlay var(--lightbox-speed) allow-discrete;
}
.blog-lightbox[open]::backdrop { opacity: 1; }
@starting-style {
    .blog-lightbox[open] { opacity: 0; }
    .blog-lightbox[open]::backdrop { opacity: 0; }
}
.blog-lightbox-figure {
    margin: 0;
    max-width: min(100%, 1160px);
    opacity: 0;
    transform: scale(.97) translateY(6px);
    transition: opacity var(--lightbox-speed) var(--ease-out),
        transform 220ms var(--ease-out);
}
.blog-lightbox[open] .blog-lightbox-figure { opacity: 1; transform: none; }
@starting-style {
    .blog-lightbox[open] .blog-lightbox-figure {
        opacity: 0;
        transform: scale(.97) translateY(6px);
    }
}
.blog-lightbox-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100dvh - 156px);
    margin: 0 auto;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    background: var(--paper);
    box-shadow: 0 24px 70px rgb(0 0 0 / 55%);
    object-fit: contain;
}
.blog-lightbox-caption {
    margin: 14px auto 0;
    max-width: 44rem;
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.5;
    text-align: center;
}
.blog-lightbox-close {
    display: grid;
    place-items: center;
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--muted);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transition: color var(--transition-speed) var(--ease-out),
        border-color var(--transition-speed) var(--ease-out);
}
.blog-lightbox-close:hover { border-color: var(--line-strong); color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
    .blog-lightbox-figure { transition-duration: 1ms; }
    .blog-card-thumb { transition: none; }
}
@media (max-width: 1024px) {
    .blog-main { --blog-rail: 172px; --blog-gutter: 48px; }
    .blog-grid { gap: 38px 26px; }
    .blog-related ul { gap: 20px; }
}
@media (max-width: 800px) {
    .blog-main { padding: 36px 0 72px; }
    .blog-article { width: 100%; }
    .blog-article-head { padding-bottom: 28px; }
    .blog-title { margin-top: 26px; }
    .blog-columns {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "rail"
            "stack";
        gap: 0;
        padding-top: 30px;
    }
    .blog-rail {
        position: static;
        max-height: none;
        overflow: visible;
    }
    .blog-toc {
        margin: 0 0 30px;
        padding: 14px 16px;
        border: 1px solid var(--line);
        border-radius: var(--radius-md);
    }
    .blog-toc summary {
        position: relative;
        margin: 0;
        padding-right: 26px;
        font-size: .74rem;
        cursor: pointer;
    }
    .blog-toc summary::after {
        content: "+";
        position: absolute;
        top: 50%;
        right: 0;
        color: var(--muted);
        font-size: 1.1rem;
        transform: translateY(-50%);
    }
    .blog-toc[open] summary { margin-bottom: 12px; }
    .blog-toc[open] summary::after { content: "−"; }
    .blog-toc a { padding: 8px 0 8px 15px; font-size: .92rem; }
    .blog-grid { grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
}
@media (max-width: 640px) {
    .blog-filter { min-height: 36px; }
    .blog-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
    .blog-card .blog-chip { margin-top: 15px; }
    .blog-related ul { gap: 22px; }
    .blog-table-hint,
    .docs-table-hint {
        display: block;
        position: sticky;
        left: 0;
        width: max-content;
        margin: 0 0 8px;
        color: var(--muted);
        font-size: .72rem;
    }
    .blog-prose table,
    .docs-prose table { min-width: 32rem; }
    .blog-prose th, .blog-prose td,
    .docs-prose th, .docs-prose td { padding-right: 18px; }
    .blog-evidence { padding: 18px; }
    .blog-conversion { padding: 22px; }
    .blog-conversion .btn { min-height: 44px; }
    .blog-flow ul { grid-template-columns: 1fr; gap: 18px; }
    .blog-flow li:not(:last-child)::after {
        top: auto;
        right: 50%;
        bottom: -17px;
        transform: translateX(50%) rotate(90deg);
    }
}
