/* Golos Text (SIL Open Font License 1.1), self hosted next to the app so the
   marketing pages and the SPA share one face and one cached file. The
   Kyrgyz ң, ө and ү live in the cyrillic-ext subset. */
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/golos-text-cyrillic-ext.10aa8792.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/golos-text-cyrillic.2f175b8f.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/golos-text-latin-ext.90256a7b.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-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/fonts/golos-text-latin.f8d71091.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 {
  color: #0f172a;
  background: #fff;
  /* Golos Text carries full Cyrillic Extended-A, so the Kyrgyz ң, ө and ү
     come from the same face as the rest of the text. The system stack behind
     it still lists Noto Sans: on Linux and older Windows plain Arial has no
     those letters and the browser would silently mix two typefaces in one
     KY paragraph. */
  font-family: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #eff6ff;
  --ink: #0f172a;
  --muted: #526077;
  --line: #dfe5ee;
  --soft: #f7f9fc;
  --green: #15803d;
  --shell: 1120px;
  /* Article measure: about 62 Cyrillic characters per line at 17px in this stack. */
  --measure: 58ch;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); line-height: 1.6; }
a { color: inherit; }
img, svg { max-width: 100%; }
.shell { width: min(calc(100% - 36px), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(223, 229, 238, .9); background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 15px; font-weight: 850; letter-spacing: .02em; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: var(--blue); color: #fff; }
.desktop-nav { display: none; align-items: center; gap: 28px; }
.desktop-nav a { color: #344158; font-size: 14px; font-weight: 650; text-decoration: none; }
.desktop-nav a:hover, .text-link:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 12px; }

/* Two-state language switch: both codes always visible, current one filled. */
.lang-switch { display: inline-flex; align-items: center; background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.lang-opt { min-width: 40px; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 750; letter-spacing: .01em; text-align: center; text-decoration: none; color: #66748a; }
a.lang-opt:hover { color: var(--blue-dark); }
.lang-opt.is-current { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(15, 23, 42, .13); cursor: default; }

.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid var(--blue); border-radius: 13px; background: var(--blue); color: #fff; font-size: 15px; font-weight: 750; text-align: center; text-decoration: none; box-shadow: 0 12px 24px -16px #1d4ed8; transition: background .15s, border-color .15s, transform .15s; }
.button:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); }
.button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; }
.button-small { min-height: 42px; padding-inline: 17px; border-radius: 11px; font-size: 14px; }
.button-ghost { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: none; }
.button-ghost:hover { background: var(--soft); border-color: #c8d1df; color: var(--ink); }
.button-light { background: #fff; border-color: #fff; color: var(--blue-dark); box-shadow: none; }
.button-light:hover { background: #eaf1ff; border-color: #eaf1ff; }

.hero { display: grid; gap: 42px; padding-block: 70px 76px; align-items: center; }
.eyebrow { margin: 0 0 12px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .1em; line-height: 1.3; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; line-height: 1.13; letter-spacing: -.025em; }
h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(39px, 10vw, 68px); }
h2 { max-width: 760px; margin-bottom: 20px; font-size: clamp(30px, 6vw, 44px); }
h3 { margin-bottom: 9px; font-size: 20px; }
p { color: var(--muted); }
.hero-lead { max-width: 680px; margin: 0; font-size: clamp(18px, 4vw, 21px); line-height: 1.55; }
.hero-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 30px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 9px 18px; margin: 24px 0 0; padding: 0; list-style: none; color: #42516a; font-size: 13px; font-weight: 650; }
.trust-list li::before { content: "✓"; margin-right: 7px; color: var(--green); font-weight: 900; }
.score-card { position: relative; overflow: hidden; padding: 28px; border: 1px solid #cad9fa; border-radius: 28px; background: linear-gradient(155deg, #f7faff 0%, #e9f0ff 100%); box-shadow: 0 30px 80px -52px #1e3a8a; }
.score-card::after { content: ""; position: absolute; right: -22px; top: -26px; width: 168px; height: 168px; opacity: .085; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%232563eb' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 37h9v-9h9v-9h9v-9'/%3E%3C/svg%3E") no-repeat center / contain; }
.card-kicker { position: relative; z-index: 1; margin: 0 0 20px; color: #40516d; font-size: 13px; font-weight: 750; }
.score-row { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; }
.score-row strong { font-size: 70px; line-height: 1; letter-spacing: -.06em; }
.score-row span { color: #42516a; font-size: 14px; font-weight: 700; line-height: 1.35; }
.progress-line { height: 10px; margin: 24px 0; overflow: hidden; border-radius: 999px; background: rgba(37, 99, 235, .13); }
.progress-line span { display: block; width: 72%; height: 100%; border-radius: inherit; background: var(--blue); }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-grid span { padding: 12px; border: 1px solid rgba(37, 99, 235, .13); border-radius: 12px; background: rgba(255, 255, 255, .7); color: #344158; font-size: 12px; font-weight: 650; }
.mini-grid b { display: block; color: var(--blue); font-size: 10px; letter-spacing: .08em; }

.section { padding-block: 74px; }
.section-soft { background: var(--soft); border-block: 1px solid #edf1f6; }
.feature-grid, .guide-grid { display: grid; gap: 14px; margin-top: 34px; }
.feature-card, .guide-card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.feature-card p, .guide-card p { margin: 0; }
.feature-number { display: inline-grid; place-items: center; width: 34px; height: 28px; margin-bottom: 26px; border-radius: 9px; background: var(--blue-soft); color: var(--blue); font-size: 11px; font-weight: 850; }
.split-section { display: grid; gap: 36px; align-items: center; }
.split-section p { max-width: 650px; font-size: 17px; }
.text-link { display: inline-block; margin-top: 10px; color: var(--blue); font-weight: 750; text-decoration: none; }
.topic-cloud { display: flex; flex-wrap: wrap; gap: 10px; align-content: center; }
.topic-cloud a { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); color: #344158; font-size: 13px; font-weight: 700; text-decoration: none; }
.topic-cloud a:hover { border-color: #9ab6f1; background: var(--blue-soft); color: var(--blue-dark); }
.topic-cloud + .eyebrow { margin-top: 28px; }
.section-dark { background: #0f172a; color: #fff; }
.section-dark h2 { color: #fff; }
.eyebrow-light { color: #93b4ff; }
.steps-layout { display: grid; gap: 36px; }
.steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 15px; padding: 19px; border: 1px solid #26334a; border-radius: 16px; background: #141f33; }
.steps li > span { flex: 0 0 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--blue); font-size: 13px; font-weight: 800; }
.steps h3 { margin: 1px 0 4px; color: #fff; font-size: 17px; }
.steps p { margin: 0; color: #a8b5c9; font-size: 14px; }
.guide-card { display: block; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.guide-card:hover { transform: translateY(-2px); border-color: #9ab6f1; box-shadow: 0 20px 40px -32px #1e3a8a; }
.guide-card > span { display: inline-block; margin-bottom: 22px; color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.faq-section { display: grid; gap: 24px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 19px 4px; cursor: pointer; font-weight: 750; }
.faq-list details p { margin: -3px 4px 20px; }
.cta-section { background: var(--blue); }
.cta-inner { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; padding-block: 52px; }
.cta-inner h2 { margin: 0; color: #fff; }
.cta-inner .eyebrow { color: #fff; }

.site-footer { padding-block: 48px 24px; background: #f7f9fc; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 34px; }
.footer-grid > div p { max-width: 310px; margin: 16px 0 0; font-size: 13px; }
.footer-grid nav { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.footer-grid nav strong { margin-bottom: 4px; font-size: 13px; }
.footer-grid nav a { color: var(--muted); font-size: 13px; text-decoration: none; }
.footer-grid nav a:hover { color: var(--blue); }
.footer-bottom { display: flex; flex-direction: column; gap: 3px; margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--line); color: #526077; font-size: 12px; }

/* Article pages generated by tools/build_seo_pages.mjs. */
.article-hero { padding-block: 58px 42px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #f8faff, #fff); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 25px; color: #66748a; font-size: 12px; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs span::before { content: "/"; margin-right: 6px; color: #a6afbd; }
.article-hero h1 { max-width: 900px; font-size: clamp(36px, 7vw, 58px); }
.article-lead { max-width: 790px; margin: 0; font-size: clamp(17px, 3.5vw, 21px); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; color: #64748b; font-size: 12px; }
.article-layout { display: grid; gap: 42px; padding-block: 52px 78px; }
.article-body { min-width: 0; }
.article-body section { scroll-margin-top: 90px; margin-bottom: 48px; }
.article-body h2 { max-width: var(--measure); margin-bottom: 16px; font-size: clamp(27px, 5vw, 36px); }
.article-body h3 { max-width: var(--measure); margin: 32px 0 12px; font-size: 21px; }
.article-body p, .article-body li { font-size: 17px; line-height: 1.65; }
.article-body section > p, .article-body section > ul, .article-body section > ol { max-width: var(--measure); }
.article-body p { margin: 0 0 20px; }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li + li { margin-top: 10px; }
.article-body table { width: 100%; border-collapse: collapse; margin: 26px 0; font-size: 14px; }
.article-body th, .article-body td { padding: 12px 10px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-body th { background: var(--soft); }
.notice { max-width: var(--measure); margin: 28px 0; padding: 20px 22px; border: 1px solid #bed0f6; border-left: 4px solid var(--blue); border-radius: 12px; background: var(--blue-soft); color: #263b63; font-size: 17px; line-height: 1.6; }
.notice strong { color: var(--ink); }
.source-list { max-width: var(--measure); padding: 22px; border-radius: 16px; background: var(--soft); font-size: 17px; }
.source-list a { color: var(--blue-dark); }
.article-side { align-self: start; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.article-side strong { display: block; margin-bottom: 12px; font-size: 13px; }
.article-side a { display: block; padding-block: 7px; color: var(--muted); font-size: 13px; text-decoration: none; }
.article-side a:hover { color: var(--blue); }
.article-cta { margin-top: 44px; padding: 26px; border-radius: 20px; background: #0f172a; color: #fff; }
.article-cta h2 { color: #fff; font-size: 27px; }
.article-cta p { color: #b5c1d2; }
.article-faq details { border-bottom: 1px solid var(--line); }
.article-faq summary { padding: 19px 4px; cursor: pointer; font-size: 17px; font-weight: 750; }
.article-faq p { max-width: var(--measure); margin: 0 4px 20px; font-size: 17px; }

/* Score calculator (tools/calculator.mjs): inputs column + dark result card. */
.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; }
.calc-page .article-hero { border-bottom: 0; }
.calc-layout { display: grid; gap: 22px; padding-block: 8px 28px; }
.calc-mode { display: inline-flex; gap: 2px; margin: 0 0 16px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); }
.calc-mode label { position: relative; }
.calc-mode input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.calc-mode span { display: inline-block; padding: 8px 15px; border-radius: 999px; color: #66748a; font-size: 13px; font-weight: 750; }
.calc-mode input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(15, 23, 42, .13); }
.calc-mode input:focus-visible + span { outline: 3px solid #93c5fd; outline-offset: 2px; }
.calc-sections { display: grid; gap: 12px; }
.calc-section { padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.calc-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.calc-section h2 { margin: 0; font-size: 17px; letter-spacing: -.01em; }
.calc-section h2 small { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0; }
.calc-readout { flex: 0 0 auto; text-align: right; white-space: nowrap; }
.calc-readout output { display: block; font-size: 26px; font-weight: 850; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.calc-readout output span { color: var(--muted); font-size: 13px; font-weight: 650; letter-spacing: 0; }
.calc-pts { display: block; margin-top: 2px; color: var(--blue-dark); font-size: 13px; font-weight: 750; }
.calc-control { display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px 78px; gap: 10px; align-items: center; margin-top: 18px; }
.calc-step { height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); color: var(--ink); font: inherit; font-size: 22px; font-weight: 700; line-height: 1; cursor: pointer; }
.calc-step:hover { border-color: #9ab6f1; background: var(--blue-soft); color: var(--blue-dark); }
.calc-step:focus-visible, .calc-num:focus-visible, .calc-range:focus-visible, .calc-ghost-dark:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; }
.calc-num { height: 42px; padding: 0 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: inherit; font-weight: 750; text-align: center; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.calc-num::-webkit-outer-spin-button, .calc-num::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.calc-range { width: 100%; height: 42px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.calc-range::-webkit-slider-runnable-track { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--blue) var(--fill, 0%), rgba(37, 99, 235, .14) var(--fill, 0%)); }
.calc-range::-webkit-slider-thumb { width: 26px; height: 26px; margin-top: -8px; border: 3px solid var(--blue); border-radius: 50%; background: #fff; box-shadow: 0 4px 10px -2px rgba(37, 99, 235, .5); -webkit-appearance: none; appearance: none; }
.calc-range::-moz-range-track { height: 10px; border-radius: 999px; background: rgba(37, 99, 235, .14); }
.calc-range::-moz-range-progress { height: 10px; border-radius: 999px; background: var(--blue); }
.calc-range::-moz-range-thumb { width: 20px; height: 20px; border: 3px solid var(--blue); border-radius: 50%; background: #fff; box-shadow: 0 4px 10px -2px rgba(37, 99, 235, .5); }
.calc-mini { position: sticky; bottom: 10px; z-index: 5; display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; gap: 4px 8px; margin-top: 14px; padding: 12px 16px; border: 1px solid #26334a; border-radius: 16px; background: #0f172a; color: #a8b5c9; font-size: 12px; font-weight: 700; box-shadow: 0 18px 40px -22px rgba(15, 23, 42, .7); }
.calc-mini b { color: #fff; font-size: 24px; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc-mini-bar { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.calc-mini-bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: #60a5fa; transition: width .25s; }
.calc-result { position: relative; overflow: hidden; padding: 26px; border-radius: 26px; background: #0f172a; color: #fff; box-shadow: 0 30px 80px -52px #1e3a8a; }
.calc-result::after { content: ""; position: absolute; right: -30px; top: -34px; width: 190px; height: 190px; opacity: .07; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%2393b4ff' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 37h9v-9h9v-9h9v-9'/%3E%3C/svg%3E") no-repeat center / contain; pointer-events: none; }
.calc-result > * { position: relative; z-index: 1; }
.calc-kicker { margin: 0 0 6px; color: #93b4ff; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.calc-total { display: flex; align-items: baseline; gap: 8px; margin: 0; }
.calc-total strong { font-size: 74px; line-height: 1; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.calc-total span { color: #a8b5c9; font-size: 16px; font-weight: 700; }
.calc-scale { position: relative; height: 12px; margin: 22px 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); }
.calc-fill { width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #60a5fa, #2563eb); transition: width .25s; }
.calc-tick { position: absolute; top: -5px; width: 2px; height: 22px; border-radius: 2px; background: rgba(255, 255, 255, .45); transform: translateX(-1px); }
.calc-tick.is-reached { background: #fff; }
.calc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.calc-chips li { padding: 5px 10px; border: 1px solid #26334a; border-radius: 999px; background: #141f33; color: #a8b5c9; font-size: 12px; font-weight: 650; transition: border-color .15s, background .15s; }
.calc-chips li b { margin-right: 5px; color: #fff; font-variant-numeric: tabular-nums; }
.calc-chips li.is-reached { border-color: #3b82f6; background: rgba(37, 99, 235, .3); color: #dbe7ff; }
.calc-status { margin: 18px 0 0; color: #dbe7ff; font-size: 15px; font-weight: 650; line-height: 1.5; }
.calc-breakdown-title { margin: 22px 0 10px; color: #93b4ff; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.calc-breakdown { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.calc-breakdown li { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; color: #a8b5c9; font-size: 13px; font-weight: 600; }
.calc-breakdown li b { color: #fff; font-variant-numeric: tabular-nums; }
.calc-breakdown .bar { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.calc-breakdown .bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: #60a5fa; transition: width .25s; }
.calc-tip { margin: 18px 0 0; padding: 14px 16px; border: 1px solid #26334a; border-radius: 14px; background: #141f33; color: #dbe7ff; font-size: 14px; line-height: 1.5; }
.calc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.calc-actions .button { min-height: 46px; padding-inline: 18px; font-size: 14px; }
.calc-ghost-dark { border-color: #334155; background: transparent; color: #fff; box-shadow: none; cursor: pointer; font: inherit; font-weight: 750; }
.calc-ghost-dark:hover { border-color: #64748b; background: #141f33; }
.calc-note { margin: 16px 0 0; color: #8a97ab; font-size: 12px; line-height: 1.5; }
.calc-page .article-layout { padding-top: 30px; }
.calc-noscript { margin: 14px 0 0; padding: 14px 16px; border: 1px solid #bed0f6; border-radius: 12px; background: var(--blue-soft); color: #263b63; font-size: 14px; }
.calc-table { margin: 14px 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.calc-table summary { padding: 14px 18px; cursor: pointer; font-size: 16px; font-weight: 750; }
.calc-table-scroll { overflow-x: auto; }
.calc-table table { margin: 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.calc-table th, .calc-table td { padding: 8px 6px; text-align: center; }
.calc-table th { font-size: 11px; color: var(--muted); }
.calc-table td:nth-child(odd) { color: var(--muted); }

@media (min-width: 600px) {
  .hero-actions { flex-direction: row; }
  .hero-actions .button { width: auto; }
  .feature-grid, .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-inner h2 { max-width: 700px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid nav:last-child { grid-column: 2; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 840px) {
  .desktop-nav { display: flex; }
  .hero { grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr); min-height: 670px; padding-block: 82px; }
  .score-card { padding: 34px; }
  .feature-grid { grid-template-columns: repeat(4, 1fr); }
  .split-section { grid-template-columns: 1.1fr .9fr; gap: 70px; }
  .steps-layout { grid-template-columns: .85fr 1.15fr; gap: 80px; }
  .guide-grid { grid-template-columns: repeat(4, 1fr); }
  .faq-section { grid-template-columns: .7fr 1.3fr; gap: 70px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-grid nav:last-child { grid-column: auto; }
  /* Text column capped near the prose measure so tables and callouts share its
     right edge instead of stepping 180px past the paragraphs. */
  .article-layout { grid-template-columns: minmax(0, 680px) 245px; gap: 70px; justify-content: space-between; }
  .article-side { position: sticky; top: 92px; }
  .calc-layout { grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; padding-block: 16px 40px; }
  .calc-result { position: sticky; top: 92px; padding: 32px; }
  .calc-mini { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
