/* Godel Discount — site styles (2026-11 redesign)
   Quiet dark page, one green accent reserved for the reader code. */

/* Self-hosted fonts (SIL OFL 1.1, from Google Fonts; latin + latin-ext only).
   Same origin = no render-blocking third-party stylesheet. */
/* Instrument Serif latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrument-serif-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Instrument Serif latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/instrument-serif-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter Tight latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-tight-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter Tight latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/inter-tight-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter Tight latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-tight-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter Tight latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/inter-tight-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter Tight latin-ext */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-tight-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter Tight latin */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/inter-tight-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* JetBrains Mono latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* JetBrains Mono latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/jetbrains-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --bg: #121315;
    --surface: #1a1c1e;
    --line: #2a2b2e;
    --line-strong: #3a3c40;
    --text: #e9e7e2;
    --text-strong: #ffffff;
    --body: #d6d4ce;
    --muted: #a9a7a1;
    --dim: #8d8b85;
    --green: #8fd4a6;
    --green-ink: #0f1a14;
    --green-surface: #16201b;
    --green-line: #3f6b52;
    --green-line-strong: #4c7d61;

    --sans: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
    --signature: 'Instrument Serif', Georgia, serif;

    --wide: 1160px;
    --narrow: 680px;
    --home: 860px;
    --gutter: 24px;
    --radius: 8px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--text); text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
a:hover { color: var(--text-strong); text-decoration-color: var(--muted); }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

h1, h2, h3, h4 { color: var(--text-strong); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }

code, kbd { font-family: var(--mono); font-size: 0.88em; color: var(--text-strong); background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 1px 6px; }
.blog-content code { overflow-wrap: anywhere; }

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: var(--narrow); margin: 0 auto; padding: 0 var(--gutter); }

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

/* Skip link: off-screen until a keyboard user tabs to it */
.skip-link {
    position: absolute; left: 16px; top: -100px; z-index: 100;
    padding: 10px 16px; border-radius: 6px;
    background: var(--surface); border: 1px solid var(--line);
    color: var(--text-strong); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */

.site-header .wrap {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 12px 32px; padding-top: 22px; padding-bottom: 22px;
}
.logo { color: var(--text); text-decoration: none; font-weight: 600; font-size: 17px; }
.logo:hover { color: var(--text-strong); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 15px; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text-strong); }
.site-nav .code-chip {
    font-family: var(--mono); font-size: 14px; letter-spacing: 0.04em; color: var(--green);
    border: 1px solid var(--green-line); border-radius: 6px; padding: 8px 12px; min-height: 40px;
    display: inline-flex; align-items: center;
}
.site-nav .code-chip:hover { color: var(--text-strong); border-color: var(--green); }
.page-article .site-header { border-bottom: 1px solid var(--line); }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); margin-top: 0; }
.site-footer .wrap {
    display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
    padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--dim);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text-strong); }

/* ---------- Buttons and the code ---------- */

.btn-copy {
    font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
    background: var(--green); color: var(--green-ink); border: 0; border-radius: 6px;
    padding: 0 18px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    white-space: nowrap;
}
.btn-copy:hover { background: #a6dfb9; }
.btn-copy.is-light { background: var(--text); color: var(--bg); }
.btn-copy.is-light:hover { background: var(--text-strong); }

.btn-primary {
    display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 20px;
    background: var(--text); color: var(--bg); border-radius: var(--radius);
    font-weight: 600; font-size: 16px; text-decoration: none;
}
.btn-primary:hover { background: var(--text-strong); color: var(--bg); }

.offer-code {
    font-family: var(--mono); font-weight: 600; letter-spacing: 0.1em; color: var(--text-strong);
    border: 1px solid var(--green-line-strong); border-radius: var(--radius);
    padding: 10px 16px; line-height: 1.2; user-select: all;
}
.code-inline { font-family: var(--mono); font-weight: 600; letter-spacing: 0.06em; color: var(--text-strong); white-space: nowrap; }

/* Reader note under a headline */
.reader-note {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
    padding: 14px 16px; border: 1px solid var(--green-line); border-radius: var(--radius);
    background: var(--green-surface); color: var(--body); font-size: 16px;
}
.reader-note p { margin: 0; flex: 1 1 260px; }

/* The P.S. */
.ps { padding-top: 40px; }
.ps-text { margin: 0 0 24px; font-size: 19px; line-height: 1.6; color: var(--body); }
.ps-text strong { color: var(--text-strong); font-weight: 600; }
.offer {
    border: 1px solid var(--green-line); border-radius: 12px; background: var(--green-surface);
    padding: 28px; display: flex; flex-direction: column; gap: 24px;
}
.offer-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.offer-row .offer-code { flex: 1 1 240px; font-size: 40px; }
.offer-row .btn-copy { min-height: 64px; padding: 0 24px; font-size: 16px; }
.offer-detail { display: flex; flex-wrap: wrap; gap: 24px; }
.offer-steps { flex: 1 1 240px; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 16px; color: var(--body); }
.offer-steps li { display: flex; gap: 12px; }
.offer-steps .n { font-family: var(--mono); color: var(--green); flex: none; }
.offer-steps strong { color: var(--text-strong); font-weight: 600; }
.checkout-demo {
    flex: 1 1 240px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 18px; font-size: 14px; display: flex; flex-direction: column; gap: 8px; margin: 0;
}
.checkout-demo figcaption { font-size: 13px; color: var(--dim); }
.checkout-demo .row { display: flex; justify-content: space-between; gap: 12px; }
.checkout-demo .sub { color: var(--muted); }
.checkout-demo .link { color: var(--green); text-decoration: underline; }
.checkout-demo .field { display: flex; gap: 6px; }
.checkout-demo .field span:first-child { flex: 1; border: 1px solid var(--green); border-radius: 4px; padding: 5px 8px; font-family: var(--mono); color: var(--text-strong); }
.checkout-demo .field span:last-child { border: 1px solid var(--line-strong); border-radius: 4px; padding: 5px 10px; }
.checkout-demo .discount { color: var(--green); }
.checkout-demo .total { color: var(--text-strong); font-weight: 600; border-top: 1px solid var(--line); padding-top: 8px; }
.commission { margin: 20px 0 0; font-size: 15px; color: var(--dim); }
.offer.is-compact { padding: 22px; gap: 16px; }
.offer.is-compact .offer-row .offer-code { font-size: 32px; }
.offer.is-compact .offer-row .btn-copy { min-height: 56px; }
.offer.is-compact p { margin: 0; font-size: 15px; color: #c9c7c1; }
.offer.is-compact p strong { color: var(--text-strong); font-weight: 600; }

/* ---------- Homepage ---------- */

.hero { padding-top: 48px; padding-bottom: 72px; }
.hero-copy { max-width: 980px; margin-bottom: 40px; }
.hero h1 { margin: 0 0 20px; font-size: clamp(38px, 5.2vw, 64px); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
.hero-deck { margin: 0 0 16px; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; color: var(--body); max-width: 40em; text-wrap: pretty; }
.byline { margin: 0; font-size: 15px; color: var(--muted); }
.byline a { color: var(--text); }

.stage { position: relative; margin-bottom: 40px; }
.shot { position: relative; margin: 0; }
.shot img { display: block; width: 100%; border-radius: 10px; border: 1px solid var(--line); }
.stage .shot { width: 78%; }
.marker {
    position: absolute; width: 32px; height: 32px; margin: -16px 0 0 -16px; border-radius: 50%;
    background: var(--green); color: var(--green-ink); font-family: var(--mono); font-weight: 600; font-size: 15px;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px rgba(18, 19, 21, 0.6);
}

/* The code, docked onto the workspace like one of Godel's own windows */
.code-window {
    position: absolute; right: 0; top: 48px; z-index: 2; width: min(400px, 38%);
    background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px;
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}
.window-bar {
    display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
    padding: 10px 18px; border-bottom: 1px solid var(--line); background: #151618;
    font-family: var(--mono); font-size: 13px; color: var(--muted);
}
.window-bar h2 { margin: 0; font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--text-strong); }
.window-bar span { color: var(--green); }
.window-body { padding: 20px 18px 18px; display: flex; flex-direction: column; gap: 16px; }
.window-body .offer-row { flex-wrap: nowrap; gap: 8px; }
.window-body .offer-code { flex: 1; min-width: 0; font-size: 28px; padding: 10px 14px; }
.window-body .btn-copy { min-height: 56px; padding: 0 18px; }
.price-pair { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); }
.price-pair p { margin: 0; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--muted); }
.price-pair p + p { border-left: 1px solid var(--line); }
.price-pair s, .price-pair strong { font-family: var(--mono); font-size: 20px; font-variant-numeric: tabular-nums; }
.price-pair s { color: var(--dim); text-decoration-thickness: 1px; }
.price-pair strong { color: var(--green); font-weight: 600; }
.window-note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.window-note strong { color: var(--text); font-weight: 600; }

.shot-key {
    margin: 0; padding: 0; list-style: none; display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px 28px; font-size: 15px;
}
.shot-key li { display: flex; gap: 12px; }
.shot-key .n { font-family: var(--mono); color: var(--green); flex: none; }
.shot-key strong { color: var(--text-strong); font-weight: 600; }
.shot-key span span { color: var(--muted); }

/* Sections: heading column on the left, content on the right */
.home-section { border-top: 1px solid var(--line); padding: 72px 0; }
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
.split-head h2 { margin: 0 0 12px; font-size: 30px; line-height: 1.15; letter-spacing: -0.025em; text-wrap: balance; }
.split-head p { margin: 0; color: var(--muted); font-size: 17px; max-width: 26em; }
.split-head a { color: var(--text); }

.verdict-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; }
.verdict-cols h3 { margin: 0 0 14px; font-size: 18px; letter-spacing: -0.01em; }
.tick-list, .cross-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 17px; color: var(--body); }
.tick-list li, .cross-list li { display: flex; gap: 12px; }
.tick-list li::before, .cross-list li::before {
    content: ""; flex: none; width: 14px; height: 14px; margin-top: 6px;
    background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
.tick-list li::before { color: var(--text); --icon: url("/img/icon-check.svg"); }
.cross-list li::before { color: var(--dim); --icon: url("/img/icon-cross.svg"); }
.aside-line { margin: 20px 0 0; font-size: 15px; color: var(--muted); }

.cost-ledger { display: flex; flex-direction: column; }
.ledger-row {
    display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: baseline;
    padding: 18px 0; border-top: 1px solid var(--line);
}
.ledger-row:last-of-type { border-bottom: 1px solid var(--line); }
.ledger-label { margin: 0; font-size: 17px; color: var(--body); }
.ledger-value { margin: 0; font-family: var(--mono); font-size: 20px; font-weight: 600; color: var(--text-strong); font-variant-numeric: tabular-nums; }
.ledger-bar { grid-column: 1 / -1; height: 8px; border-radius: 2px; background: var(--line); position: relative; overflow: hidden; }
.ledger-bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: max(var(--share), 6px); background: var(--muted); border-radius: 2px; }
.ledger-row.is-godel .ledger-bar::after { background: var(--text-strong); }
.ledger-note { margin: 16px 0 0; font-size: 15px; color: var(--muted); }

.home-section .offer-detail { gap: 32px; }
.home-section .offer-steps { font-size: 17px; gap: 16px; }

.guide-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.guide-list a {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 15px 0; border-top: 1px solid var(--line); text-decoration: none; font-size: 17px; color: var(--text);
}
.guide-list a::after { content: "\2192"; color: var(--dim); transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s; }
.guide-list a:hover { color: var(--text-strong); }
.guide-list a:hover::after { color: var(--text-strong); transform: translateX(3px); }

.qa { display: flex; flex-direction: column; gap: 28px; }
.qa h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -0.01em; }
.qa p { margin: 0; color: #c9c7c1; font-size: 16px; }

.home-close { border-top: 1px solid var(--line); padding: 72px 0 80px; }
.close-panel {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 32px 56px; align-items: center;
    border: 1px solid var(--green-line); border-radius: 12px; background: var(--green-surface); padding: 40px;
}
.close-panel h2 { margin: 0 0 10px; font-size: 30px; line-height: 1.15; letter-spacing: -0.025em; text-wrap: balance; }
.close-panel p { margin: 0; color: var(--body); font-size: 17px; }
.close-panel p strong { color: var(--text-strong); font-weight: 600; }
.close-actions { display: flex; flex-direction: column; gap: 12px; }
.close-actions .offer-row { flex-wrap: nowrap; gap: 8px; }
.close-actions .offer-code { flex: 1; min-width: 0; font-size: 28px; }
.close-actions .btn-copy { min-height: 56px; }
.home-close .commission { max-width: 46em; }

/* ---------- Article layout ---------- */

.article-layout {
    max-width: var(--wide); margin: 0 auto; padding: 56px var(--gutter) 72px;
    display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: flex-start; justify-content: center;
}
.blog-article { flex: 999 1 560px; max-width: var(--narrow); min-width: 0; }
.blog-header h1 { margin: 0 0 18px; font-size: 46px; line-height: 1.08; letter-spacing: -0.03em; }
.blog-meta { font-size: 15px; color: var(--muted); margin: 0 0 8px; }
.blog-meta svg { display: none; }
.blog-meta a { color: var(--text); }
.disclosure { margin: 0 0 36px; font-size: 14px; color: var(--dim); }
.disclosure a { color: var(--muted); }

.blog-content { font-size: 19px; line-height: 1.65; color: var(--body); }
.blog-content > * + * { margin-top: 20px; }
.blog-content p { margin: 0; }
.blog-content p + p { margin-top: 20px; }
.blog-content h2 { margin: 56px 0 0; font-size: 30px; letter-spacing: -0.02em; }
.blog-content h3 { margin: 36px 0 0; font-size: 22px; letter-spacing: -0.015em; }
.blog-content h4 { margin: 0 0 8px; font-size: 17px; letter-spacing: -0.01em; }
.blog-content h2:not(.box-title) + *, .blog-content h3:not(.box-title) + * { margin-top: 14px; }
.blog-content strong { color: var(--text-strong); font-weight: 600; }
.blog-content ul, .blog-content ol { padding-left: 24px; }
.blog-content li + li { margin-top: 10px; }
.blog-content blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--line-strong); color: var(--muted); }
.blog-content hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

.blog-content table, .faq-page table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.blog-content th, .blog-content td, .faq-page th, .faq-page td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.blog-content th, .faq-page th { color: var(--text-strong); font-weight: 600; border-bottom: 1px solid var(--line-strong); }
.blog-content td:first-child, .blog-content th:first-child, .faq-page td:first-child, .faq-page th:first-child { padding-left: 0; }
.table-wrap, .blog-content > table, .faq-page > .faq-category > table { display: block; overflow-x: auto; }
.table-wrap table { display: table; }

.mono { font-family: var(--mono); font-size: 14px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--text); }

.highlight-box, .verdict-box, .command-box, .timeline-box {
    border: 1px solid var(--line); border-radius: 10px; padding: 22px 24px; font-size: 16px;
}
.highlight-box > *:first-child, .verdict-box > *:first-child, .command-box > *:first-child { margin-top: 0; }
.highlight-box p, .verdict-box p, .command-box p { margin: 0; }
.highlight-box p + p, .command-box p + p { margin-top: 10px; }
.highlight-box .offer-row { margin-top: 16px; }
.highlight-box .offer-row + p { margin-top: 10px; font-size: 15px; color: var(--muted); }
.highlight-box .offer-row .offer-code { font-size: 28px; }
.highlight-box .offer-row .btn-copy { min-height: 52px; }
.highlight-box h3, .highlight-box h4, .verdict-box h3, .command-box h4 { margin: 0 0 12px; font-size: 17px; letter-spacing: -0.01em; color: var(--text-strong); }
.command-box h4 { font-family: var(--mono); font-weight: 600; letter-spacing: 0.02em; }
/* Box titles retagged one level up (no skipped heading levels) keep the box-title look */
.highlight-box .box-title, .verdict-box .box-title, .command-box .box-title { margin: 0 0 12px; font-size: 17px; letter-spacing: -0.01em; color: var(--text-strong); }
.command-box .box-title { font-family: var(--mono); font-weight: 600; letter-spacing: 0.02em; }

.timeline-item { display: flex; gap: 20px; padding: 12px 0; border-top: 1px solid var(--line); }
.timeline-item:first-child { border-top: 0; padding-top: 0; }
.timeline-date { flex: 0 0 110px; font-family: var(--mono); font-size: 14px; color: var(--muted); }
.timeline-content { flex: 1; }

.blog-content .faq-item { padding: 20px 0; border-top: 1px solid var(--line); margin: 0; }
.blog-content .faq-item + .faq-item { margin-top: 0; }
.blog-content .faq-item h3 { margin: 0 0 8px; font-size: 19px; }
.blog-content .faq-item p { color: #c9c7c1; font-size: 17px; }

.blog-content .related { margin-top: 64px; }
.blog-content .related-title { margin: 0 0 8px; font-size: 19px; font-weight: 600; color: var(--text-strong); letter-spacing: -0.01em; }
.blog-content .related ul { list-style: none; margin: 0; padding: 0; }
.blog-content .related li { margin: 0; }
.blog-content .related li + li { margin-top: 0; }
.blog-content .related a {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 14px 0; border-top: 1px solid var(--line); text-decoration: none; font-size: 17px; line-height: 1.4; color: var(--text);
}
.blog-content .related li:last-child a { border-bottom: 1px solid var(--line); }
.blog-content .related a::after { content: "\2192"; flex: none; color: var(--dim); transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s; }
.blog-content .related a:hover { color: var(--text-strong); }
.blog-content .related a:hover::after { color: var(--text-strong); transform: translateX(3px); }

.end-title { margin: 0 0 12px; font-size: 26px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; color: var(--text-strong); }
.blog-content th { font-variant-numeric: tabular-nums; }
.blog-content td { font-variant-numeric: tabular-nums; }
.blog-content tbody tr:hover td { background: rgba(255, 255, 255, 0.02); }

/* Inline offer inside articles (was .cta-box) */
.cta-box, .faq-cta-box, .offer-note, .promo-box {
    border: 1px solid var(--green-line); border-radius: 10px; background: var(--green-surface);
    padding: 22px; display: flex; flex-direction: column; gap: 14px; font-size: 16px; color: var(--body); text-align: left;
}
.blog-content .cta-box { margin-top: 32px; margin-bottom: 8px; }
.cta-box h3, .faq-cta-box h3 { margin: 0; font-size: 19px; letter-spacing: -0.01em; }
.cta-box p, .faq-cta-box p, .offer-note p, .promo-box p { margin: 0; font-size: 16px; line-height: 1.55; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.promo-code { display: inline-flex; flex: 1 1 260px; gap: 8px; align-items: stretch; }
.promo-code-value, .code-text {
    flex: 1; font-family: var(--mono); font-weight: 600; letter-spacing: 0.1em; color: var(--text-strong);
    border: 1px solid var(--green-line-strong); border-radius: 6px; padding: 9px 14px; font-size: 18px; user-select: all;
}
.promo-copy, .copy-btn {
    font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; background: var(--green); color: var(--green-ink);
    border: 0; border-radius: 6px; padding: 0 16px; min-height: 44px; display: inline-flex; align-items: center; gap: 6px;
}
.promo-copy:hover, .copy-btn:hover { background: #a6dfb9; }
.cta-btn {
    display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px;
    background: var(--text); color: var(--bg); border-radius: 6px; font-weight: 600; font-size: 15px; text-decoration: none;
}
.cta-btn:hover { background: var(--text-strong); color: var(--bg); }
.cta-steps { color: #c9c7c1; font-size: 15px !important; }
.cta-steps strong, .cta-box strong, .faq-cta-box strong { color: var(--text-strong); }
.code-display { display: flex; gap: 8px; }
.promo-label, .promo-note { color: var(--muted); font-size: 14px !important; }

/* Aside */
.article-aside { flex: 1 1 260px; max-width: 300px; min-width: 240px; position: sticky; top: 24px; }
.aside-offer {
    border: 1px solid var(--green-line); border-radius: 10px; background: var(--green-surface);
    padding: 20px; display: flex; flex-direction: column; gap: 12px;
}
.aside-offer p { margin: 0; font-size: 15px; color: var(--body); }
.aside-offer .aside-note { font-size: 13px; color: var(--muted); }
.aside-offer .offer-row { gap: 8px; flex-wrap: nowrap; }
.aside-offer .offer-code { flex: 1; font-size: 17px; padding: 8px 10px; border-radius: 6px; }
.aside-offer .btn-copy { min-height: 44px; padding: 0 14px; font-size: 14px; }
.toc { margin-top: 24px; font-size: 14px; max-height: calc(100vh - 260px); overflow-y: auto; }
.toc p { margin: 0 0 8px; color: var(--text); font-weight: 600; }
.toc a { display: block; padding: 4px 0; color: var(--muted); text-decoration: none; line-height: 1.4; }
.toc a:hover, .toc a[aria-current="true"] { color: var(--text-strong); }

.article-end { margin-top: 56px; border-top: 1px solid var(--line-strong); }

/* Mobile code bar (articles) */
.code-bar { display: none; }

/* ---------- Other pages ---------- */

.page-main { padding-top: 56px; padding-bottom: 72px; }
.page-main h1, .faq-header h1, .blog-hero h1 { margin: 0 0 16px; font-size: 46px; line-height: 1.08; letter-spacing: -0.03em; }
.faq-page, .contact-page, .privacy-page, .ai-page, .author-page {
    max-width: var(--narrow); margin: 0 auto; padding: 56px var(--gutter) 72px; color: var(--body);
}
.faq-header { margin-bottom: 40px; }
.faq-header p { color: var(--muted); font-size: 19px; margin: 0; }
.faq-category { margin-top: 48px; }
.faq-category h2 { font-size: 26px; margin: 0 0 12px; }
.faq-category > p, .faq-category > ul { font-size: 18px; }
.faq-category li + li { margin-top: 8px; }
.faq-item-expand { border-top: 1px solid var(--line); }
.faq-item-expand:last-child { border-bottom: 1px solid var(--line); }
.faq-question-btn {
    width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 18px 0; background: none; border: 0; color: var(--text-strong); font: inherit; font-size: 18px;
    font-weight: 500; text-align: left; cursor: pointer; min-height: 44px;
}
/* FAQs are native <details>: answers stay in the page (Ctrl+F opens them) and work without JS */
summary.faq-question-btn { list-style: none; }
summary.faq-question-btn::-webkit-details-marker { display: none; }
.faq-icon { flex: none; color: var(--muted); transition: transform 0.2s ease; }
.faq-item-expand[open] .faq-icon { transform: rotate(180deg); }
.faq-answer { padding: 0 0 20px; color: #c9c7c1; font-size: 17px; }
.faq-answer p { margin: 0 0 12px; }
.faq-answer strong { color: var(--text-strong); }
.faq-cta-box { margin-top: 56px; }

.contact-page h2, .privacy-page h2, .ai-page h2, .author-page h2 { font-size: 24px; margin: 40px 0 12px; }
.contact-page a, .privacy-page a, .ai-page a, .author-page a { color: var(--text); }
.last-updated, .role { color: var(--muted); font-size: 15px; }
.contact-methods { list-style: none; padding: 0; }
.contact-methods li { padding: 12px 0; border-top: 1px solid var(--line); }
.method-label { display: block; color: var(--muted); font-size: 14px; }
.post-list { padding-left: 20px; }
.preamble { color: var(--muted); }
.ai-page blockquote { margin: 0; padding-left: 16px; border-left: 2px solid var(--line-strong); color: var(--muted); }

/* Blog index */
.blog-hero { padding: 56px 0 24px; }
.blog-hero .container { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.blog-hero p { color: var(--muted); font-size: 19px; max-width: 36em; }
.blog-hero .offer-note { flex-direction: row; flex-wrap: wrap; align-items: center; max-width: 720px; margin: 24px 0; }
.category-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.filter-btn {
    font: inherit; font-size: 14px; color: var(--muted); background: none; border: 1px solid var(--line-strong);
    border-radius: 999px; padding: 0 14px; min-height: 40px; cursor: pointer;
}
.filter-btn:hover, .filter-btn.active { color: var(--bg); background: var(--text); border-color: var(--text); }
main > section.container { max-width: var(--wide); margin: 0 auto; padding: 16px var(--gutter) 72px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 0 40px; }
.blog-card { display: block; text-decoration: none; padding: 24px 0; border-top: 1px solid var(--line); }
.blog-card-content { display: flex; flex-direction: column; gap: 8px; }
.blog-card h2 { margin: 0; font-size: 21px; line-height: 1.3; letter-spacing: -0.015em; font-weight: 500; }
.blog-card:hover h2 { text-decoration: underline; text-decoration-color: var(--muted); text-underline-offset: 4px; }
.blog-excerpt { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.blog-card .blog-category { order: 3; font-size: 13px; color: var(--dim); background: none; padding: 0; text-transform: none; letter-spacing: 0; }
.blog-card .blog-meta { order: 4; font-size: 13px; color: var(--dim); margin: 0; }

/* Data coverage + commands */
.hero-section { padding: 56px 0 24px; }
.hero-section .container, .doc-content { max-width: var(--narrow); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.hero-section h1 { font-size: 46px; line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 16px; }
.hero-section .badge { display: none; }
.subheadline { color: var(--muted); font-size: 19px; }
.doc-content { padding-bottom: 72px; color: var(--body); }
.doc-section { margin-top: 40px; }
.doc-section h2 { font-size: 26px; margin: 0 0 12px; }
.feature-list-grid, .capability-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.feature-card { border: 1px solid var(--line); border-radius: 10px; padding: 18px; font-size: 16px; }

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

/* ---------- Small screens ---------- */

@media (max-width: 960px) {
    .stage { padding-bottom: 0; display: flex; flex-direction: column; gap: 24px; }
    .stage .shot { width: 100%; }
    .code-window { position: static; width: 100%; max-width: 520px; }
    .shot-key { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-top: 28px; }
    .split { grid-template-columns: 1fr; }
    .close-panel { grid-template-columns: 1fr; padding: 28px; }
    .article-aside { display: none; }
    .article-layout { padding-top: 40px; }
    body:has(> .code-bar) { padding-bottom: 68px; }
    html:has(body > .code-bar) { scroll-padding-bottom: 84px; }
    .code-bar {
        display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
        align-items: center; justify-content: space-between; gap: 12px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: #16201b; border-top: 1px solid var(--green-line); font-size: 14px; color: var(--body);
    }
    .code-bar p { margin: 0; line-height: 1.35; }
    .code-bar .btn-copy { min-height: 44px; padding: 0 14px; font-size: 14px; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .blog-content td, .blog-content th, .faq-page td, .faq-page th { min-width: 120px; }
    .blog-content td:last-child, .faq-page td:last-child { min-width: 200px; }
    .site-header .wrap { padding-top: 16px; padding-bottom: 16px; }
    .site-nav { gap: 4px 18px; }
    .hero { padding-top: 32px; padding-bottom: 56px; }
    .hero-copy { margin-bottom: 28px; }
    .ps-text { font-size: 18px; }
    .home-section { padding: 56px 0; }
    .split-head h2, .close-panel h2 { font-size: 26px; }
    .verdict-cols, .guide-list { grid-template-columns: 1fr; }
    .window-body .offer-code, .close-actions .offer-code { font-size: 24px; }
    .close-panel { padding: 22px; }
    .blog-header h1, .page-main h1, .faq-header h1, .blog-hero h1, .hero-section h1 { font-size: 32px; }
    .blog-content { font-size: 17px; }
    .blog-content h2 { font-size: 24px; margin-top: 44px; }
    .blog-content h3 { font-size: 19px; }
    .highlight-box .box-title-lead, .verdict-box .box-title-lead { font-size: 19px; } /* phone size these had as h3 */
    .offer { padding: 20px; }
    .offer-row .offer-code { font-size: 30px; }
    .marker { width: 24px; height: 24px; margin: -12px 0 0 -12px; font-size: 12px; box-shadow: 0 0 0 4px rgba(18, 19, 21, 0.6); }
    .timeline-item { flex-direction: column; gap: 4px; }
    .timeline-date { flex: none; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
}
