/* Shared base stylesheet. Brand look comes from CSS variables set per site (site.json → theme). */
/* Inter, self-hosted (engine/assets/fonts, SIL OFL 1.1): used by the theme fonts "grotesk" (layout.mjs FONTS);
   downloaded only by pages that use it, the main latin file is preloaded by layout.mjs */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter-latin-wght-normal.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; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/assets/fonts/inter-latin-ext-wght-normal.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; }
:root {
  --accent: #2563eb;
  --accent-2: #7c3aed;
  --accent-ink: #ffffff;
  --bg: #ffffff;
  --surface: #f6f7f9;
  --surface-2: #eef0f4;
  --text: #0f172a;
  --muted: #5b6475;
  --border: #e3e6ec;
  --radius: 14px;
  --font-head: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1120px;
  --yes: #16a34a;
  --no: #dc2626;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--font-body); text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin-top: 2.2em; scroll-margin-top: 90px; }
h3 { font-size: 1.18rem; margin-top: 1.6em; scroll-margin-top: 90px; }
p, ul, ol, dl, table, figure, blockquote { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
li { margin: .25em 0; }
code { font-family: var(--font-mono); font-size: .88em; background: var(--surface-2); padding: .12em .38em; border-radius: 6px; }
blockquote { border-left: 3px solid var(--accent); padding: .2em 0 .2em 1em; color: var(--muted); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 50; background: var(--bg); padding: 8px 12px; }

/* top bar + header */
.topbar { background: var(--topbar-bg, var(--text)); color: var(--topbar-ink, var(--bg)); font-size: .85rem; text-align: center; padding: 7px 0; }
.topbar a { color: inherit; }
.topbar strong { color: var(--accent-2, var(--accent)); filter: brightness(1.3); }
.hdr { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.6) blur(10px); border-bottom: 1px solid var(--border); }
.hdr-in { display: flex; align-items: center; gap: 22px; min-height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 800 1.2rem/1 var(--font-head); letter-spacing: -0.02em; }
.logo-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-size: .95rem; }
.nav { display: flex; gap: 20px; flex: 1; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover, .nav a[aria-current] { color: var(--text); }
.menu { display: none; margin-left: auto; background: none; border: 1px solid var(--border); border-radius: 10px; padding: 6px 12px; font: inherit; color: var(--text); }
@media (max-width: 860px) {
  .menu { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 66px; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; border-bottom: 1px solid var(--border); }
  .hdr-cta { display: none; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: calc(var(--radius) - 4px); font-weight: 700; text-decoration: none; border: 1.5px solid transparent; transition: transform .12s ease, box-shadow .12s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
/* premium charter (docs/sessions/DESIGN-PREMIUM-PROXY.md): one solid brand colour, no gradient, no coloured glow */
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 1px 2px rgb(15 23 42 / .12); }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--bg); }
.btn-sm { padding: 8px 14px; font-size: .92rem; }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; }

/* page head */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 22px 0 0; font-size: .86rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; opacity: .6; }
.crumbs a { color: var(--muted); text-decoration: none; }
.page-head { padding: 34px 0 10px; max-width: 860px; }
.page-head.hero { padding: 64px 0 28px; max-width: 920px; }
.page-head.hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); }
.kicker { display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); padding: 5px 11px; border-radius: 999px; margin-bottom: 16px; }
.lede { font-size: 1.18rem; color: var(--muted); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.badges { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 14px 0; }
.badges li { margin: 0; font-size: .88rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.meta { font-size: .88rem; color: var(--muted); margin-top: 10px; }

/* content */
.content { max-width: 860px; }
.t-home .content, .t-pricing .content, .t-hub .content { max-width: none; }
.quick-answer { margin: 22px 0 28px; padding: 20px 22px; border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 7%, var(--bg)); border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border)); border-left: 5px solid var(--accent); }
.qa-label { margin: 0 0 6px; font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }
.qa-q { font-weight: 700; margin-bottom: 6px; }
.qa-text p:last-child { margin-bottom: 0; }
.toc { max-width: 860px; margin: 8px 0 26px; padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); font-size: .93rem; }
.toc-h { font-weight: 700; margin: 0 0 4px; }
.toc ol { margin: 0; columns: 2 260px; column-gap: 2.75em; } /* the gap holds the second column's numbers ("13.") */
.toc li { break-inside: avoid; }
.toc a { color: var(--text); text-decoration: none; }

.facts-table, .tbl table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.facts-table th, .facts-table td, .tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.facts-table th { width: 38%; color: var(--muted); font-weight: 600; }
.facts { margin: 8px 0 10px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.tbl thead th { background: var(--surface); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.tbl tbody th { font-weight: 700; }
.tbl tr.hl { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.tbl tr.hl th { color: var(--accent); }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
.tbl caption { caption-side: bottom; padding: 8px 12px; color: var(--muted); font-size: .85rem; text-align: left; }
.table-note { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.yes { color: var(--yes); font-weight: 800; }
.no { color: var(--no); font-weight: 800; }

/* pricing */
.pricing { margin-top: 10px; }
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 22px 18px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.plan.popular { border: 2px solid var(--accent); box-shadow: var(--shadow-md, 0 16px 36px -18px rgb(15 23 42 / .28)); }
.plan-badge { position: absolute; top: -12px; left: 16px; margin: 0; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: var(--accent); color: var(--accent-ink); padding: 3px 10px; border-radius: 999px; }
.plan-name { margin: 0 0 4px; font-size: 1.05rem; }
.plan-qty { margin: 0; color: var(--muted); font-size: .92rem; }
.plan-price { margin: 10px 0 0; font: 800 2rem/1.1 var(--font-head); letter-spacing: -0.03em; }
.plan-unit { margin: 2px 0 12px; color: var(--accent); font-weight: 700; font-size: .92rem; }
.plan-features { list-style: none; padding: 0; font-size: .9rem; margin: 0 0 16px; flex: 1; }
.plan-features li::before { content: "✓ "; color: var(--yes); font-weight: 800; }
.plan .btn { width: 100%; }
.pricing-note { font-size: .88rem; color: var(--muted); margin-top: 12px; }

/* faq */
.faq-item { border-bottom: 1px solid var(--border); padding: 4px 0 6px; }
.faq-item h3 { margin-top: 1.1em; }

/* steps */
.step-list { list-style: none; counter-reset: s; padding: 0; }
.step-list > li { counter-increment: s; position: relative; padding: 2px 0 6px 52px; margin-bottom: 12px; }
.step-list > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--surface-2); color: var(--accent); }
.step-name { font-weight: 700; margin: 4px 0 2px; }

/* cards */
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card { padding: 18px 18px 6px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.card h3 { margin-top: 0; font-size: 1.05rem; }
.card h3 a { color: var(--text); text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.card p { color: var(--muted); font-size: .95rem; }
.card-tag { font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--accent); margin: 0 0 6px; }

/* ranking */
.rank-list { list-style: none; padding: 0; }
.rank { border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px 6px; margin-bottom: 14px; }
.rank.self { border: 2px solid var(--accent); background: color-mix(in srgb, var(--accent) 5%, var(--bg)); }
.rank-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rank-head h3 { margin: 0; }
.rank-n { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: var(--text); color: var(--bg); font-weight: 800; }
.rank-badge { font-size: .76rem; font-weight: 800; background: var(--accent); color: var(--accent-ink); padding: 3px 10px; border-radius: 999px; }
.rank-verdict { margin: 10px 0; }
.rank-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .9rem; margin: 0 0 8px; }
.rank-meta dt { display: inline; color: var(--muted); }
.rank-meta dt::after { content: ": "; }
.rank-meta dd { display: inline; margin: 0; font-weight: 600; }
.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; font-size: .92rem; }
.pc-h { font-weight: 700; margin: 0; }
@media (max-width: 600px) { .pc { grid-template-columns: 1fr; } }
.disclosure { font-size: .82rem; color: var(--muted); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 10px 0 20px; }
.stat { padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.stat-v { margin: 0; font: 800 1.8rem/1.1 var(--font-head); letter-spacing: -0.03em; color: var(--accent); }
.stat-l { margin: 4px 0 0; font-weight: 600; font-size: .93rem; }
.stat-n { margin: 2px 0 0; font-size: .8rem; color: var(--muted); }

/* cta */
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin: 36px 0; padding: 26px 28px; border-radius: calc(var(--radius) + 6px); background: var(--accent); color: var(--accent-ink); }
.cta-h { font: 800 1.45rem/1.25 var(--font-head); margin: 0 0 4px; }
.cta-t p { margin: 0; opacity: .92; }
.cta .btn-primary { background: var(--accent-ink); color: var(--accent); box-shadow: none; }
.cta .btn-ghost { background: transparent; color: var(--accent-ink); border-color: color-mix(in srgb, var(--accent-ink) 50%, transparent); }
.cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* code */
.code { position: relative; margin: 0 0 1.4em; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: #0b1020; }
.code figcaption { font-size: .82rem; color: #9aa4bf; padding: 8px 14px; border-bottom: 1px solid #1d2540; font-family: var(--font-mono); }
.code pre { margin: 0; padding: 16px; overflow-x: auto; }
.code code { background: none; padding: 0; color: #e6e9f2; font-size: .86rem; line-height: 1.6; }
.copy { position: absolute; top: 6px; right: 8px; font: 600 .75rem var(--font-body); background: #1d2540; color: #cbd2e6; border: 0; border-radius: 6px; padding: 4px 8px; cursor: pointer; }

/* callout */
.callout { padding: 14px 18px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); margin: 0 0 1.2em; }
.callout.warn { background: color-mix(in srgb, #f59e0b 12%, var(--bg)); border-color: color-mix(in srgb, #f59e0b 50%, var(--border)); }
.callout.success { background: color-mix(in srgb, #16a34a 11%, var(--bg)); border-color: color-mix(in srgb, #16a34a 45%, var(--border)); }
.callout-h { font-weight: 800; margin: 0 0 4px; }
.callout p:last-child { margin-bottom: 0; }

/* definitions, link grid, sources */
.defs dl { margin: 0; }
.def { padding: 12px 0; border-bottom: 1px solid var(--border); }
.def dt { font-weight: 800; }
.def dd { margin: 4px 0 0; }
.def dd p:last-child { margin-bottom: 0; }
.lg { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 16px; font-size: .95rem; }
.lg a { text-decoration: none; }
.lg-note { color: var(--muted); font-size: .82rem; }
.lg-group { font-weight: 800; margin: 18px 0 6px; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.sources ol { font-size: .9rem; color: var(--muted); }
.coins { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.coins li { margin: 0; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; }
.coin-code { font: 800 1.05rem var(--font-mono); color: var(--accent); }
.coin-name { font-weight: 600; font-size: .92rem; }
.coin-note { color: var(--muted); font-size: .8rem; }

/* related + about */
.related { max-width: 860px; margin-top: 30px; }
.related-list { list-style: none; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.related-list li { margin: 0; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius); }
.related-list a { font-weight: 700; text-decoration: none; }
.related-list p { margin: 4px 0 0; color: var(--muted); font-size: .88rem; }
.about-box { max-width: 860px; margin: 34px 0 10px; padding: 16px 18px; border-radius: var(--radius); background: var(--surface); font-size: .92rem; color: var(--muted); }
.about-h { font-weight: 800; color: var(--text); margin: 0 0 4px; }
.about-box p:last-child { margin: 0; }

/* footer */
.ftr { margin-top: 70px; background: var(--surface); border-top: 1px solid var(--border); padding: 44px 0 18px; font-size: .93rem; }
.ftr .wrap:first-child { display: grid; grid-template-columns: minmax(220px, 1.2fr) 2fr; gap: 34px; }
@media (max-width: 760px) { .ftr .wrap:first-child { grid-template-columns: 1fr; } }
.f-logo { font: 800 1.2rem var(--font-head); margin: 0 0 6px; }
.f-desc { color: var(--muted); }
.coins-mini { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.coins-mini li { margin: 0; font: 700 .75rem var(--font-mono); border: 1px solid var(--border); border-radius: 6px; padding: 3px 7px; background: var(--bg); }
.f-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; }
.f-h { font-weight: 800; margin: 0 0 8px; }
.f-col ul { list-style: none; padding: 0; margin: 0; }
.f-col a { color: var(--muted); text-decoration: none; }
.f-col a:hover { color: var(--text); }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; }
.langs { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }

/* home layout helpers */
.t-home .sec, .t-home .cards-sec, .t-home .faq, .t-home .ranking, .t-home .tbl { max-width: 1120px; }
.t-home .sec > p, .t-home .faq-item, .t-home .quick-answer { max-width: 860px; }

/* ==========================================================================================================
   v2 — trust & conversion layer: icons, hero visual, trust row, coin logos, band, sticky buy bar, polish.
   Everything uses the theme variables (light + dark), no external resource; site theme.css still loads after.
   ========================================================================================================== */
:root {
  --shadow-sm: 0 1px 2px rgb(15 23 42 / .05), 0 3px 10px -6px rgb(15 23 42 / .10);
  --shadow-md: 0 2px 4px rgb(15 23 42 / .04), 0 16px 36px -18px rgb(15 23 42 / .28);
  --focus: color-mix(in srgb, var(--accent) 75%, var(--text));
}
h1, h2, h3, .cta-h { text-wrap: balance; }
p, li { text-wrap: pretty; }
code, .sources li, .facts-table td { overflow-wrap: anywhere; }
:where(a, button, summary, [tabindex]):focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.ic { width: 1em; height: 1em; flex: none; vertical-align: -0.14em; }
.coin-logo { display: block; width: 22px; height: 22px; flex: none; }

/* buttons: clearer states */
.btn { line-height: 1.25; transition: transform .12s ease, box-shadow .15s ease, background-color .15s ease, border-color .15s ease, filter .15s ease; cursor: pointer; }
.btn .ic { width: 1.05em; height: 1.05em; transition: transform .15s ease; }
.btn:hover .ic { transform: translateX(2px); }
/* hover: the same brand colour, a step towards the text colour (darker on light themes, lighter on dark ones) */
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--text)); box-shadow: 0 2px 6px -2px rgb(15 23 42 / .25); }
.cta .btn-primary:hover { background: color-mix(in srgb, var(--accent-ink) 90%, var(--accent)); }
.btn:active { transform: translateY(0); filter: none; }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); }
.btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }

/* header */
.hdr { box-shadow: 0 1px 0 color-mix(in srgb, var(--border) 50%, transparent), 0 6px 20px -18px rgb(15 23 42 / .5); }
.nav { gap: 4px; }
.nav a { padding: 7px 11px; border-radius: 8px; transition: background-color .15s ease, color .15s ease; }
.nav a:hover { background: var(--surface); }
.nav a[aria-current] { background: color-mix(in srgb, var(--accent) 10%, transparent); }
.logo-mark { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); }
@media (max-width: 860px) {
  .nav { box-shadow: 0 18px 30px -24px rgb(15 23 42 / .5); }
  .nav a { padding: 12px 4px; border-radius: 0; }
  .nav a:hover, .nav a[aria-current] { background: none; color: var(--accent); }
}

/* hero: reassurance line + optional visual (two columns on wide screens) */
.hero-note { display: flex; align-items: flex-start; gap: 8px; margin: -6px 0 14px; font-size: .92rem; color: var(--muted); }
.hero-note .ic { width: 16px; height: 16px; margin-top: .25em; color: var(--yes); }
.page-head.hero.has-visual { max-width: none; }
.hero-main { min-width: 0; }
.hero-visual { min-width: 0; margin-top: 30px; }
@media (min-width: 960px) {
  .page-head.hero.has-visual { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
  .page-head.hero.has-visual h1 { font-size: clamp(2.2rem, 4.1vw, 3.35rem); }
  .has-visual .hero-visual { margin-top: 0; }
}
.hero-term { margin: 0; border-radius: calc(var(--radius) + 2px); overflow: hidden; background: #0b1020; color: #e6e9f2; border: 1px solid #1d2540; box-shadow: 0 30px 60px -32px rgb(2 6 23 / .6); }
.ht-bar { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #10172b; border-bottom: 1px solid #1d2540; }
.ht-dots { display: inline-flex; gap: 6px; flex: none; }
.ht-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.ht-dots i:nth-child(2) { background: #febc2e; }
.ht-dots i:nth-child(3) { background: #28c840; }
.ht-title { font: 600 .78rem var(--font-mono); color: #9aa4bf; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ht-body { margin: 0; padding: 16px 18px 18px; font: .82rem/1.75 var(--font-mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.ht-body code { background: none; padding: 0; border-radius: 0; color: inherit; font: inherit; }
.ht-c { color: #7180a6; }
.ht-p { color: color-mix(in srgb, var(--accent) 65%, #fff); font-weight: 700; user-select: none; }
.ht-cmd { color: #f4f6fb; }
.ht-v { color: #9ee6bd; }
.ht-o { color: #a9b3cc; }
.hero-term figcaption { padding: 10px 16px; font-size: .8rem; color: #9aa4bf; border-top: 1px solid #1d2540; }
.hero-price { position: relative; padding: 26px 22px 20px; border: 1px solid var(--border); border-radius: calc(var(--radius) + 6px); background: var(--bg); box-shadow: var(--shadow-md); }
.hero-price::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 5px; border-radius: calc(var(--radius) + 6px) calc(var(--radius) + 6px) 0 0; background: var(--accent); }
.hp-k { margin: 0 0 4px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.hp-from { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 0 0 16px; }
.hp-from-l { font-weight: 600; color: var(--muted); }
.hp-from strong { font: 800 clamp(2.4rem, 5vw, 3rem)/1 var(--font-head); letter-spacing: -.035em; color: var(--text); }
.hp-unit { font-weight: 700; color: var(--muted); margin-left: -6px; }
.hp-tiers { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.hp-tiers li { margin: 0; }
.hp-tiers a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border: 1px solid var(--border); border-radius: calc(var(--radius) - 4px); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .15s ease, background-color .15s ease; }
.hp-tiers a:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 6%, var(--bg)); }
.hp-pop a { border-color: color-mix(in srgb, var(--accent) 60%, var(--border)); background: color-mix(in srgb, var(--accent) 8%, var(--bg)); box-shadow: inset 3px 0 0 var(--accent); }
.hp-n { font-weight: 700; line-height: 1.3; }
.hp-n small { display: block; font-weight: 500; font-size: .82rem; color: var(--muted); }
.hp-badge { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font: 800 .66rem/1.6 var(--font-body); font-style: normal; text-transform: uppercase; letter-spacing: .06em; vertical-align: 2px; background: var(--accent); color: var(--accent-ink); }
.hp-p { text-align: right; font: 800 1.15rem/1.2 var(--font-head); white-space: nowrap; }
.hp-p small { display: block; font: 600 .78rem/1.4 var(--font-body); color: var(--muted); }
.hp-btn { width: 100%; }
.hp-note { margin: 10px 0 0; font-size: .85rem; color: var(--muted); text-align: center; }
.hp-pay { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--border); font-size: .74rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.hp-pay .coin-row { gap: 6px; }

/* icon tiles on cards, stats, steps, trust */
.card-ic, .stat-ic, .trust-ic, .step-ic { display: inline-grid; place-items: center; flex: none; color: var(--accent); background: color-mix(in srgb, var(--accent) 11%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent); }
.card-ic { width: 42px; height: 42px; border-radius: 12px; margin-bottom: 12px; }
.card-ic .ic, .trust-ic .ic { width: 21px; height: 21px; }
.stat-ic { width: 34px; height: 34px; border-radius: 10px; margin-bottom: 10px; }
.stat-ic .ic { width: 18px; height: 18px; }
.step-list > li.has-ic { padding-left: 60px; }
.step-ic { position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 12px; }
.step-ic .ic { width: 21px; height: 21px; }
.step-list > li.has-ic::before { z-index: 1; left: 28px; top: -7px; width: 22px; height: 22px; font-size: .7rem; background: var(--accent); color: var(--accent-ink); border: 2px solid var(--bg); }

/* cards: depth + whole-card click when the card links somewhere */
.card { position: relative; box-shadow: var(--shadow-sm); transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.card-link:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card-link p a { position: relative; z-index: 1; }
.card-link:focus-within { outline: 2px solid var(--focus); outline-offset: 2px; }
.card-link h3 a:focus-visible { outline: none; }

/* trust row */
.trust-sec { margin: 18px 0 8px; }
.trust { list-style: none; padding: 0; margin: 12px 0 20px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.trust > li { margin: 0; display: flex; align-items: flex-start; gap: 14px; padding: 16px 16px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); box-shadow: var(--shadow-sm); }
.trust-ic { width: 40px; height: 40px; border-radius: 11px; }
.trust-t { margin: 1px 0 2px; font-weight: 750; line-height: 1.3; }
.trust-d { margin: 0; font-size: .9rem; line-height: 1.5; color: var(--muted); }
@media (min-width: 900px) { .trust.n-3, .trust.n-5, .trust.n-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .trust.n-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.trust-sec.compact .trust { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.trust-sec.compact .trust > li { align-items: center; gap: 9px; padding: 0; border: 0; background: none; box-shadow: none; }
.trust-sec.compact .trust-ic { width: 28px; height: 28px; border-radius: 8px; }
.trust-sec.compact .trust-ic .ic { width: 16px; height: 16px; }
.trust-sec.compact .trust-t { margin: 0; font-size: .93rem; }

/* coins: logos */
.coins li { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; }
.coins li > .coin-logo { grid-row: 1 / span 3; width: 34px; height: 34px; }
.coins li > :not(.coin-logo) { grid-column: 2; }
.coin-row { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.coin-row li { margin: 0; display: inline-flex; align-items: center; gap: 7px; font: 700 .88rem var(--font-mono); }
.coinstrip { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin: 22px 0; padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.cs-label { margin: 0; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cs-note { margin: 0 0 0 auto; font-size: .86rem; color: var(--muted); }
@media (max-width: 640px) { .cs-note { margin-left: 0; flex-basis: 100%; } }

/* band: full-width alternate background without horizontal overflow (shadow + clip-path, no 100vw) */
.band { position: relative; margin: 48px 0; padding: 36px 0 26px; background: var(--surface); box-shadow: 0 0 0 100vmax var(--surface); clip-path: inset(0 -100vmax); }
.band > :first-child { margin-top: 0; }
.band > :first-child > :first-child { margin-top: 0; }
.band .card, .band .trust > li, .band .plan, .band .stat, .band .coinstrip, .band .coins li, .band .rank, .band .table-wrap, .band .hp-tiers a { background: var(--bg); }

/* pricing cards */
.plans { gap: 16px; }
.cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.plan { box-shadow: var(--shadow-sm); transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease; }
.plan:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.plan.popular { box-shadow: var(--shadow-md); }
@media (min-width: 900px) { .plan.popular { transform: translateY(-6px); } .plan.popular:hover { transform: translateY(-8px); } }
.plan-price { font-size: 2.15rem; }
.plan-features { border-top: 1px solid var(--border); padding-top: 12px; }
.plan-features li { margin: .35em 0; }

/* tables */
.table-wrap { box-shadow: var(--shadow-sm); }
.tbl th, .tbl td { padding: 12px 14px; }
.tbl :where(tbody tr:nth-child(even)) { background: color-mix(in srgb, var(--surface) 55%, transparent); }
.tbl :where(tbody tr):hover { background: color-mix(in srgb, var(--accent) 5%, transparent); }
.tbl tr.hl th:first-child { box-shadow: inset 3px 0 0 var(--accent); }
.facts-table th, .facts-table td { padding: 11px 12px; }

/* faq, stats, related */
.faq-item { padding: 8px 0 12px; }
.faq-item h3 { font-size: 1.1rem; margin: 1em 0 .45em; }
.faq-a p:last-child { margin-bottom: .35em; }
.stat { box-shadow: var(--shadow-sm); }
.related-list li { transition: border-color .15s ease; }
.related-list li:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }

/* footer: brand + support, columns, payments row, legal links */
.ftr { margin-top: 80px; padding-top: 52px; }
.f-logo { display: flex; align-items: center; gap: 10px; }
.f-logo .logo-mark { width: 30px; height: 30px; border-radius: 9px; font-size: .85rem; }
.f-desc { font-size: .9rem; line-height: 1.6; max-width: 48ch; }
.f-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin: 0; font-size: .9rem; }
.f-contact-h { flex-basis: 100%; font-weight: 800; }
.f-contact a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; opacity: .85; overflow-wrap: anywhere; }
.f-contact a:hover { opacity: 1; text-decoration: underline; }
.f-col li { margin: .45em 0; }
.f-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 32px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.f-pay-h { margin: 0; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.f-pay-n { margin: 0 0 0 auto; font-size: .85rem; opacity: .75; }
.f-pay + .f-bottom { margin-top: 18px; }
.f-bottom p { margin: 0; }
.f-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 0; margin: 0; }
.f-legal li { margin: 0; }
.f-legal a, .langs a { color: inherit; text-decoration: none; }
.f-legal a:hover, .langs a:hover { text-decoration: underline; }
.coins-mini li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px 4px 5px; border-radius: 999px; }
.coins-mini .coin-logo { width: 18px; height: 18px; }
@media (max-width: 640px) { .f-pay-n { margin-left: 0; flex-basis: 100%; } }

/* sticky buy bar (site.stickyCta), small screens only */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: saturate(1.6) blur(10px); border-top: 1px solid var(--border); box-shadow: 0 -10px 26px -18px rgb(0 0 0 / .45); transition: transform .2s ease; }
  .sticky-cta .btn { flex: 1; }
  .sc-note { margin: 0; flex: 0 1 auto; max-width: 46%; font-size: .8rem; line-height: 1.3; color: var(--muted); }
  body.has-sticky { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  body.sticky-off .sticky-cta { transform: translateY(115%); }
}

/* header on small screens: compact buy button; it gives way to the sticky buy bar on phones */
@media (max-width: 860px) {
  .hdr-in { gap: 12px; }
  .hdr .hdr-cta { white-space: nowrap; padding: 7px 12px; font-size: .86rem; }
  .logo { min-width: 0; }
  .logo-txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 420px) {
  .hdr .hdr-cta { display: none; }
}
/* small screens: no horizontal overflow at 375 px */
@media (max-width: 520px) {
  .btn { white-space: normal; text-align: center; }
  .hero-btns .btn { flex: 1 1 100%; }
  .cta { padding: 22px 18px; }
  .cta-btns { width: 100%; }
  .cta-btns .btn { flex: 1 1 100%; }
  .hero-price { padding: 22px 16px 18px; }
  .ht-body { font-size: .76rem; padding: 14px; }
  .tbl th, .tbl td, .facts-table th, .facts-table td { padding: 10px 9px; }
  .tbl thead th { font-size: .78rem; letter-spacing: .02em; }
  .step-list > li { padding-left: 48px; }
  .step-list > li.has-ic { padding-left: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .btn:hover, .plan:hover, .card-link:hover, .plan.popular, .plan.popular:hover { transform: none; }
}

/* drawn flags (emoji flags show as letters on Windows) + header login link */
img.flag { display: inline-block; width: 20px; height: 15px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--text) 14%, transparent); vertical-align: -2px; margin-right: 8px; }
h1 img.flag-h1 { width: .9em; height: .675em; vertical-align: -.02em; margin-right: .3em; border-radius: 5px; }
.hdr-login { color: var(--text); font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; }
.hdr-login:hover { color: var(--accent); }

/* visually hidden (screen readers only) */
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* pricing = purchase page: included line, tier table, payment reminder (once per page) */
.plan-incl { margin: 14px 0 0; font-size: .9rem; color: var(--muted); }
.plan-incl strong { color: var(--text); }
.tiers { margin-top: 18px; }
.tiers table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tiers th, .tiers td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.tiers thead th { background: var(--surface); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.tiers tr:last-child th, .tiers tr:last-child td { border-bottom: 0; }
.tiers tr.hl { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.tiers caption { caption-side: top; text-align: left; padding: 10px 12px 4px; font-weight: 700; }
.tiers td:last-child a { font-weight: 700; }
.tier-badge { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; background: var(--accent); color: var(--accent-ink); vertical-align: 1px; }
.pay-terms { margin: 18px 0 0; padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); font-size: .92rem; }
.band .pay-terms { background: var(--bg); }
.pt-h { margin: 0 0 6px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pay-terms ul { list-style: none; padding: 0; margin: 0; }
.pay-terms li { display: flex; gap: 10px; align-items: flex-start; margin: .35em 0; }
.pay-terms li > svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.cs-solo { margin: 14px 0; font-size: .9rem; color: var(--muted); }

/* paymentSteps */
.pay-table { margin: 10px 0 4px; }
.pay-table table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.pay-table th, .pay-table td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--border); }
.pay-table thead th { background: var(--surface); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.pay-table tbody th { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.pay-table tr:last-child th, .pay-table tr:last-child td { border-bottom: 0; }
.pay-help { font-size: .9rem; color: var(--muted); }

/* productShots: real client-area screenshots, each one links to the full-size image */
.shots { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.shots.n-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.shot { margin: 0; }
.shot-link { display: block; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); cursor: zoom-in; }
.shot-link img { display: block; width: 100%; height: auto; }
.shot-link:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
.shot figcaption { margin-top: 8px; font-size: .9rem; color: var(--muted); }
.shot-tag { display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 999px; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; background: var(--surface-2); color: var(--text); }
.shot-dlg { max-width: min(96vw, 1400px); max-height: 94vh; padding: 0; border: 0; border-radius: var(--radius); background: var(--bg); color: var(--text); }
.shot-dlg::backdrop { background: rgb(0 0 0 / .72); }
.shot-dlg img { display: block; max-width: 100%; max-height: calc(94vh - 52px); width: auto; height: auto; margin: 0 auto; }
.shot-dlg p { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin: 0; padding: 10px 14px; font-size: .9rem; }
.shot-dlg button { font: inherit; font-weight: 700; border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 8px; padding: 4px 12px; cursor: pointer; }

/* ranking methodology + dated competitor prices */
.method { margin: 0 0 18px; padding: 14px 18px; border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; background: var(--surface); font-size: .93rem; }
.method-h { margin: 0 0 4px; font-weight: 800; }
.method p:last-child { margin-bottom: 0; }
.checked { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; font-size: .86rem; color: var(--muted); }
.checked > svg { width: 16px; height: 16px; flex: none; }

/* "collapsed": true on any block → folded section (details/summary, works without JS) */
.fold { margin: 26px 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.fold > summary { cursor: pointer; padding: 14px 18px; font: 700 1.05rem/1.3 var(--font-head); list-style-position: inside; }
.fold > summary:hover { color: var(--accent); }
.fold[open] > summary { border-bottom: 1px solid var(--border); }
.fold > :not(summary) { margin: 0; padding: 4px 18px 10px; }
.fold > :not(summary) > h2:first-child { margin-top: .8em; font-size: 1.25rem; }

/* brand logo drawn outside the engine (engine/assets/logos/<slug>/), height fixed, width from the SVG ratio */
.logo.has-img { gap: 0; }
.logo-img { display: block; height: 34px; width: auto; max-width: min(240px, 54vw); }
.f-logo.has-img .logo-img { height: 30px; max-width: 240px; }

/* API reference (/docs/api/, engine/lib/apidocs.mjs): one section per endpoint */
.endpoint { margin-top: 2.4em; padding-top: .2em; border-top: 1px solid var(--border); }
.endpoint > h2 { margin-top: 1em; }
.ep-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: -2px 0 16px; }
.ep-m { font: 800 .82rem/1 var(--font-mono); letter-spacing: .05em; padding: 7px 10px; border-radius: 7px; color: #fff; background: #1d4ed8; }
.ep-get { background: #0f766e; }
.ep-patch, .ep-put { background: #a16207; }
.ep-delete { background: #b91c1c; }
.ep-path { font-size: .95rem; padding: 5px 10px; overflow-wrap: anywhere; }
.ep-auth { display: flex; align-items: flex-start; gap: 8px; font-size: .95rem; color: var(--muted); }
.ep-auth .ic { flex: none; margin-top: .3em; color: var(--accent); }
.ep-h { font-size: 1.02rem; margin: 1.5em 0 .6em; }
.ep-h code { font-size: .85em; }
.ep-tbl { margin: 0 0 1.1em; }
.ep-tbl th:first-child { white-space: nowrap; }
.ep-tbl td { font-size: .95rem; }
.ep-none { color: var(--muted); font-size: .95rem; }
.code-tabs { margin: 0 0 1.4em; }
.code-tabs .ct-bar { display: none; }
.code-tabs.js .ct-bar { display: flex; flex-wrap: wrap; gap: 4px; }
.ct-bar [role="tab"] { min-height: 44px; padding: 0 16px; font: 700 .95rem var(--font-body); color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-bottom: 0; border-radius: 10px 10px 0 0; cursor: pointer; }
.ct-bar [role="tab"]:hover { color: var(--text); }
.ct-bar [aria-selected="true"] { color: #e6e9f2; background: #0b1020; border-color: #0b1020; }
.code-tabs.js .code { border-top-left-radius: 0; margin-bottom: 0; }
.code-tabs.js .code figcaption { display: none; }
.code-tabs .code[hidden] { display: none; }
@media (max-width: 640px) {
  /* parameter tables as stacked cards: no sideways scrolling on phones */
  .ep-tbl { border: 0; box-shadow: none; overflow: visible; }
  .ep-tbl table, .ep-tbl tbody, .ep-tbl tr, .ep-tbl th, .ep-tbl td { display: block; width: auto; }
  .ep-tbl thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ep-tbl tr { margin: 0 0 10px; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
  .ep-tbl :where(tbody tr:nth-child(even)) { background: var(--bg); }
  .ep-tbl th, .ep-tbl td { padding: 3px 0; border: 0; white-space: normal; }
  .ep-tbl td::before { content: attr(data-label) ": "; font-weight: 700; color: var(--muted); }
}

/* location pages (plan 3.5): buy card after the quick answer, a sticky side column on wide screens */
.buy-rail { margin: 0 0 30px; }
.buy-card { position: relative; padding: 22px 18px 16px; border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); background: var(--bg); box-shadow: var(--shadow-md); }
.buy-card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 5px; border-radius: calc(var(--radius) + 4px) calc(var(--radius) + 4px) 0 0; background: var(--accent); }
.bc-k { display: flex; align-items: center; margin: 0 0 6px; font-weight: 800; font-size: 1rem; line-height: 1.3; }
.buy-card .hp-from { margin-bottom: 14px; }
.buy-card .hp-from strong { font-size: 2.4rem; }
.buy-card .hp-tiers a { min-height: 48px; }
.bc-trust { display: flex; align-items: flex-start; gap: 8px; margin: 12px 0 0; font-size: .95rem; line-height: 1.45; color: var(--muted); }
.bc-trust .ic { flex: none; margin-top: .2em; color: var(--yes); }
@media (min-width: 1040px) {
  .t-location .content.has-buy { position: relative; max-width: none; padding-right: 336px; }
  .content.has-buy > .buy-rail { position: absolute; top: 22px; right: 0; bottom: 0; z-index: 2; width: 300px; margin: 0; }
  .content.has-buy .buy-card { position: sticky; top: 86px; }
}

/* ==========================================================================================================
   3.8 — phones (checked at 375 px on home, pricing, location, guide, FAQ and API pages of the 5 sites):
   no sideways scroll, touch targets of at least 44 px, no text under 15 px, one-line top bar, balanced pills.
   `:root` raises the specificity above the site theme.css rules of the same shape (they load after this file).
   ========================================================================================================== */
.table-wrap { position: relative; } /* keeps absolutely positioned children (.vh) inside the scroll box */
main, .ftr { overflow-wrap: break-word; } /* long URLs in plain text wrap instead of widening the page */
/* a long translated word in a heading ("Datenschutzerklärung" on a phone) breaks at a syllable, with a hyphen */
html:not([lang|="en"]) :is(h1, h2, h3, h4) { -webkit-hyphens: auto; hyphens: auto; }
.kicker, .badges li { text-wrap: balance; }
/* a sentence stays on one line, and wraps inside only when it is longer than the line (German, Turkish kickers on phones);
   in a flex kicker (themes that lay the kicker out as a row) the .k-t box is the one text item beside the marker, and shrinks to fit */
.kicker .k-s { display: inline-block; max-width: 100%; }
.kicker .k-t { min-width: 0; }
.topbar .tb-sep { white-space: pre; }
@media (max-width: 760px) {
  /* top bar: one line, the first statement only (the rest is repeated on the page) */
  :root .topbar { padding: 10px 0; font-size: 15px; line-height: 1.35; }
  .topbar .wrap { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .topbar .tb-sep, .topbar .tb-s ~ .tb-s { display: none; }

  /* text floor: 15 px */
  :root :is(.crumbs ol, .kicker, .meta, .badges li, .qa-label, .hero-note, .lede small, .toc, .toc-h, .table-note, .checked,
    .tbl table, .facts-table, .tbl thead th, .tiers table, .tiers thead th, .tiers caption, .tier-badge, .pay-table table, .pay-table thead th,
    .plan-qty, .plan-unit, .plan-badge, .plan-features, .plan-incl, .pricing-note, .pay-terms, .pt-h, .pay-help, .cs-label, .cs-note, .cs-solo,
    .hp-k, .hp-note, .hp-pay, .hp-badge, .hp-n small, .hp-p small, .coin-row li, .coins-mini li, .coin-note, .coin-name,
    .trust-t, .trust-d, .card p, .card-tag, .stat-l, .stat-n, .lg, .lg-note, .lg-group, .related-list p, .sources ol, .about-box, .disclosure,
    .rank-meta, .pc, .method, .shot figcaption, .shot-tag, .callout, .step-list, .faq-a, .defs, .code figcaption, .copy,
    .ftr, .f-desc, .f-h, .f-contact, .f-bottom, .f-pay-h, .f-pay-n, .sc-note, .hdr-login, .nav a, .menu, .ep-m, .ep-auth, .bc-trust) {
    font-size: 15px;
  }
  :root code { font-size: max(15px, .88em); }
  :root :is(.table-wrap, .facts-table) :is(th, td, caption) { font-size: 15px; }
  :root body :is(.plan .btn, .btn-sm, .hdr-cta, .sticky-cta .btn) { font-size: 15px; }
  :root .code code, :root .ht-body { font-size: 15px; }
  :root .kicker, :root .qa-label, :root .cs-label, :root .hp-k, :root .pt-h, :root .f-pay-h, :root .plan-badge, :root .hp-badge, :root .tier-badge { letter-spacing: .04em; }
  .sc-note { line-height: 1.25; }
  :root .kicker { border-radius: 12px; line-height: 1.45; }

  /* touch targets: 44 px */
  :root .btn { min-height: 46px; }
  .menu { min-height: 44px; }
  .logo, .hdr-login { display: inline-flex; align-items: center; min-height: 44px; }
  .hdr-login { padding: 0 4px; }
  .crumbs ol { margin-top: 12px; row-gap: 0; }
  .crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
  .toc li { margin: 0; }
  .toc a { display: block; padding: 10px 0; }
  .f-col li, .f-legal li, .langs li, .lg li, .related-list li { margin: 0; }
  .f-col a, .f-legal a, .langs a, .f-contact a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  .lg a { display: flex; align-items: center; min-height: 44px; }
  .sources li { margin: 0; }
  .sources a { display: inline-block; min-width: 44px; padding: 11px 0; }
  .related-list a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  :root .trust-sec.compact .trust-t { font-size: 15px; }
  .tbl td > a:only-child, .tiers td > a:only-child, .facts-table td > a:only-child { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  .fold > summary { min-height: 44px; display: flex; align-items: center; }
  /* copy button: a 44 px tab in the corner of the code box, in the caption bar when there is one */
  .code figcaption { display: flex; align-items: center; min-height: 44px; padding-right: 84px; }
  .code > pre:first-child, .code-tabs.js .code pre { padding-top: 52px; }
  .copy { top: 0; right: 0; min-width: 72px; min-height: 44px; padding: 0 12px; border-radius: 0 0 0 10px; }
  .ht-body { padding: 14px; }
}
.bc-k { font-size: 1.15rem; margin-bottom: 0; }
.bc-p { margin: 0 0 10px; font-size: .95rem; color: var(--muted); }

/* tables on phones, 480 px and less (proxy sites: engine/lib/layout.mjs phoneTables marks the tables).
   .tw-stack (3–4 columns, pricing tier table): one card per row, the first cell as its title, the other cells led by their
   column header (data-label; the generated label is left out of the accessibility tree where "/ ''" is supported, the
   ARIA roles keep the table semantics and the visually hidden <thead> keeps the headers).
   .tw-scroll (5 columns or more): the sideways scroll stays, with a hint line above the table (.tw-hint, arrows icon) and a
   shade on the right edge that fades out once the last column is reached (scroll-driven animation where supported; the
   last column gets room so the shade never covers its text elsewhere). */
.tw-hint { display: none; }
@media (max-width: 480px) {
  :root .table-wrap.tw-stack { overflow: visible; border: 0; border-radius: 0; box-shadow: none; background: none; }
  .tw-stack table, .tw-stack tbody, .tw-stack tr, .tw-stack th, .tw-stack td, .tw-stack caption { display: block; width: auto; }
  .tw-stack thead { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
  :root .tw-stack caption { padding: 0 0 8px; text-align: left; }
  :root .tw-stack tbody tr { margin: 0 0 10px; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius); }
  :root .tw-stack tbody tr:not(.hl) { background: var(--bg); }
  :root .tw-stack tbody tr.hl { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); }
  :root .tw-stack tbody :is(th, td) { padding: 3px 0; border: 0; white-space: normal; text-align: left; }
  :root .tw-stack tbody tr > :first-child { padding: 0 0 6px; box-shadow: none; font-weight: 700; color: var(--text); }
  .tw-stack [data-label]::before { content: attr(data-label) ": "; content: attr(data-label) ": " / ""; font-weight: 600; color: var(--muted); }
  :root .tw-stack td.tw-act { padding-top: 6px; }
  /* short values (.tw-pairs): two or three label-over-value pairs per line, the link of a hidden-header column (Buy) on
     the title line */
  :root .tw-pairs tbody tr { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 100px), 1fr)); gap: 6px 10px; align-items: start; }
  :root .tw-pairs tbody tr > :first-child { grid-column: 1 / -1; padding-bottom: 2px; }
  :root .tw-pairs tbody :is(th, td) { padding: 0; overflow-wrap: normal; hyphens: auto; }
  .tw-pairs [data-label]::before { content: attr(data-label); content: attr(data-label) / ""; display: block; font-weight: 500; }
  :root .tw-pairs td.tw-act { padding: 0; }
  :root .tw-pairs tbody tr:has(> .tw-act) > :first-child { grid-column: 1 / -2; grid-row: 1; align-self: center; }
  :root .tw-pairs tbody tr > .tw-act { grid-column: -2 / -1; grid-row: 1; justify-self: end; align-self: center; }
  /* inside a numbered step (payment confirmations): the cards take the full width, under the step's icon column */
  .step-list > li > .tw-stack { margin-left: -48px; }
  .step-list > li.has-ic > .tw-stack { margin-left: -56px; }

  .tw-hint { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin: 0 0 6px; color: var(--muted); font-size: 15px; line-height: 1.3; }
  .tw-hint .ic { width: 18px; height: 18px; }
  :root .table-wrap.tw-scroll { display: grid; }
  .tw-scroll > table { grid-area: 1 / 1; min-width: 100%; }
  .tw-scroll::after { content: ""; grid-area: 1 / 1; justify-self: end; position: sticky; right: 0; width: 18px; pointer-events: none; box-shadow: inset -12px 0 10px -10px color-mix(in srgb, var(--text) 38%, transparent); }
  :root .tw-scroll :is(th, td):last-child { padding-right: 24px; }
}
@supports (animation-timeline: scroll()) {
  @media (max-width: 480px) {
    .tw-scroll::after { opacity: 0; animation: tw-edge linear both; animation-timeline: scroll(nearest inline); }
  }
}
@keyframes tw-edge { 0%, 90% { opacity: 1; } 100% { opacity: 0; } }

/* sources: collapsed; competitor references are plain text */
.sources details { border-top: 1px solid var(--border); padding-top: 10px; margin-top: 26px; }
.sources summary { cursor: pointer; font-weight: 700; color: var(--muted); font-size: .92rem; }
.sources ol { margin-top: 10px; }
.src-u { color: var(--muted); font-size: .85em; }
.ext-ref { text-decoration: underline dotted color-mix(in srgb, var(--text) 35%, transparent); text-underline-offset: 3px; }
/* language menu (header): <details>, opens without JS; site.js closes it on outside click / Escape (CONTENT-GUIDE § 8) */
.lang-menu { position: relative; flex: none; }
.lang-menu > summary { list-style: none; display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 6px 9px; border-radius: 8px; cursor: pointer; color: var(--muted); font-weight: 600; font-size: .9rem; letter-spacing: .02em; white-space: nowrap; user-select: none; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary::marker { content: ''; }
.lang-menu > summary .ic { width: 18px; height: 18px; }
.lang-menu > summary:hover, .lang-menu[open] > summary { color: var(--text); background: var(--surface); }
.lang-menu > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.lm-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; list-style: none; margin: 0; padding: 6px; min-width: 190px; max-height: min(70vh, 460px); overflow: auto; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 18px 40px -18px rgb(15 23 42 / .45); }
.lm-list li { margin: 0; }
.lm-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: .95rem; }
.lm-list a:hover, .lm-list a:focus-visible { background: var(--surface); }
.lm-list a[aria-current] { font-weight: 700; color: var(--accent); }
.lm-list a[aria-current]::after { content: '✓'; }
.langs a[aria-current] { font-weight: 700; color: var(--text); }
@media (max-width: 860px) { .lang-menu { margin-left: -4px; } }
@media (max-width: 760px) {
  .lang-menu > summary { min-height: 44px; min-width: 44px; justify-content: center; font-size: 15px; }
  .lm-list { position: fixed; left: 16px; right: 16px; top: auto; margin-top: 6px; min-width: 0; }
  .lm-list a { min-height: 44px; font-size: 15px; }
}
/* phones: globe only, tighter header; a drawn logo scales down instead of running under the buttons (long translated labels) */
@media (max-width: 520px) {
  .lang-menu .lm-code { display: none; }
  .hdr-in { gap: 8px; }
  .hdr .logo.has-img { flex: 0 1 auto; min-width: 64px; }
  .hdr .logo-img { height: auto; max-height: 34px; max-width: 100%; }
}

/* ---------------------------------------------------------------- domain-name sites (engine/lib/tlds.mjs) */
/* tldPricing: price table of the extensions. Category chips = radio buttons: the filter works without JavaScript (:has);
   site.js adds sortable headers and a text filter. */
.tldp-f { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; border: 0; }
.tldp-f legend { float: left; margin: 0 6px 0 0; padding: 6px 0; font-size: .85rem; font-weight: 700; color: var(--muted); }
.tldp-f label { position: relative; cursor: pointer; }
.tldp-f input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tldp-f span { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--bg); font-size: .88rem; font-weight: 600; }
.tldp-f input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.tldp-f input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.tldp:has(input[value="generic"]:checked) tbody tr:not([data-g~="generic"]),
.tldp:has(input[value="tech"]:checked) tbody tr:not([data-g~="tech"]),
.tldp:has(input[value="business"]:checked) tbody tr:not([data-g~="business"]),
.tldp:has(input[value="country"]:checked) tbody tr:not([data-g~="country"]),
.tldp:has(input[value="lifestyle"]:checked) tbody tr:not([data-g~="lifestyle"]),
.tldp:has(input[value="open"]:checked) tbody tr:not([data-g~="open"]),
.tldp:has(input[value="private"]:checked) tbody tr:not([data-g~="private"]),
.tldp tbody tr.tldp-hide { display: none; }
.tldp td { white-space: nowrap; font-variant-numeric: tabular-nums; }
.tldp td.tldp-r { white-space: normal; font-size: .9rem; color: var(--muted); min-width: 9rem; }
.tldp td.tldp-r.warn { color: var(--text); }
.tldp tbody th a { text-decoration: none; font-weight: 800; }
.tldp th button { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.tldp th button::after { content: '↕'; opacity: .45; font-size: .9em; }
.tldp th[aria-sort="ascending"] button::after { content: '↑'; opacity: 1; }
.tldp th[aria-sort="descending"] button::after { content: '↓'; opacity: 1; }
.tldp th button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tldp-q { display: block; width: 100%; max-width: 320px; margin: 0 0 12px; padding: 9px 12px; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: calc(var(--radius) - 4px); }
/* domainSearch: GET form to the client area + popular extensions */
.dsearch { margin: 26px 0; }
.ds-form { display: flex; gap: 10px; max-width: 680px; }
.ds-form input[type="search"] { flex: 1 1 auto; min-width: 0; padding: 13px 16px; font: inherit; font-size: 1.05rem; color: var(--text); background: var(--bg); border: 1.5px solid var(--border); border-radius: calc(var(--radius) - 4px); }
.ds-form input[type="search"]:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.ds-form .btn svg { width: 18px; height: 18px; }
.ds-pop { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.ds-pop-h { margin: 0; font-size: .85rem; font-weight: 700; color: var(--muted); }
.ds-pop ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.ds-pop li { margin: 0; }
.ds-pop a, .ds-pop li > span { display: inline-flex; gap: 6px; align-items: baseline; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); text-decoration: none; font-size: .9rem; }
.ds-pop a:hover { border-color: var(--accent); }
.ds-pop strong + span { color: var(--muted); font-variant-numeric: tabular-nums; }
.ds-note { font-size: .88rem; color: var(--muted); margin-top: 10px; }
@media (max-width: 560px) {
  .ds-form { flex-direction: column; }
  .ds-form .btn { width: 100%; }
}

/* AISubswithCrypto — premium charter (docs/sessions/DESIGN-PREMIUM-PROXY.md), 29/10/2026.
   ONE brand colour, ultramarine #2a1fd8 (theme.accent): primary button, links, focus ring and the spark detail. Everything
   else is zinc neutrals (ink #09090b, body #3f3f46, secondary #52525b / #71717a, hairlines #e4e4e7) with near-black ink
   bands (CTA, footer, top bar). Headings in Instrument Sans (OFL, self-hosted in engine/assets/fonts/aisubswithcrypto/),
   text in Inter (engine). No gradient on buttons, backgrounds or text, no coloured glow, no uppercase micro-labels; the
   only "gradients" are neutral 1 px grid lines and the masks that fade them. Mono only for code.
   Contrast (WCAG, computed): #fff on #2a1fd8 9.2:1 · #2a1fd8 on #fff 9.2:1 · #2a1fd8 on #f4f4ff 8.4:1 · #2011b6 on #fff 11.6:1
   · #fff on #3a30e8 (CTA hover) 7.6:1 · #09090b on #fff 19.9:1 · #3f3f46 on #fff 10.4:1 · #52525b on #fff 7.7:1 · #52525b on
   #fafafa 7.4:1 · #71717a on #fff 4.8:1 · #71717a on #fafafa 4.6:1 (never on #f4f4f5: 4.4) · #d4d4d8 on #09090b 13.5:1
   · #a1a1aa on #09090b 7.8:1 · #a1a1aa on #0b0b0f 7.7:1 · #a9adff on #0b0b0f 9.5:1. */
@font-face { font-family: "AIS Instrument"; font-style: normal; font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; src: url(/assets/fonts/ais-instrument-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; }
@font-face { font-family: "AIS Instrument"; font-style: normal; font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; src: url(/assets/fonts/ais-instrument-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --brand: #2a1fd8; --brand-hover: #2011b6; --brand-press: #1a1199; --brand-pale: #f4f4ff; --brand-line: #cfd0fb; --brand-on-dark: #a9adff;
  --ink: #09090b; --body: #3f3f46; --soft: #52525b; --faint: #71717a; --line: #e4e4e7; --line-2: #d4d4d8; --wash: #fafafa; --wash-2: #f4f4f5; --paper: #ffffff;
  --night: #0b0b0f; --night-2: #141419; --night-line: #26262d; --night-text: #e4e4e7; --night-soft: #a1a1aa;
  --head: "AIS Instrument", "Inter", "Segoe UI Variable", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sm: 10px; --r: 14px; --r-lg: 20px;
  --sh-1: 0 1px 2px rgb(9 9 11 / .04), 0 1px 1px rgb(9 9 11 / .03);
  --sh-2: 0 1px 2px rgb(9 9 11 / .04), 0 4px 8px -2px rgb(9 9 11 / .05), 0 16px 32px -12px rgb(9 9 11 / .10);
  --sh-3: 0 1px 1px rgb(9 9 11 / .04), 0 2px 4px -1px rgb(9 9 11 / .04), 0 12px 24px -8px rgb(9 9 11 / .08), 0 40px 80px -28px rgb(9 9 11 / .20);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr-h: 65px;
  --focus: var(--brand);
  --spark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5C12.9 8.6 15.4 11.1 22.5 12C15.4 12.9 12.9 15.4 12 22.5C11.1 15.4 8.6 12.9 1.5 12C8.6 11.1 11.1 8.6 12 1.5Z'/%3E%3C/svg%3E");
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E");
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E");
  --grid-ink: rgb(9 9 11 / .055);
  interpolate-size: allow-keywords;
}
html, body { overflow-x: clip; }
body { background: var(--paper); color: var(--body); font-size: 16.5px; line-height: 1.68; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-feature-settings: "cv11", "ss01"; }
::selection { background: #dcdcff; color: var(--ink); }
:where(a, button, summary, select, [tabindex]):focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); font-weight: 600; letter-spacing: -0.022em; }
h1 { font-weight: 600; line-height: 1.04; letter-spacing: -0.038em; }
h2 { font-size: clamp(1.55rem, 2.5vw, 2.05rem); line-height: 1.14; letter-spacing: -0.03em; margin-top: 2.5em; }
h3 { font-size: 1.14rem; line-height: 1.3; letter-spacing: -0.015em; }
strong, b { color: var(--ink); font-weight: 600; }
.content p, .content li { color: var(--body); }
.content > .sec > p, .sec > p, .sec li { max-width: 70ch; }
.content a:not(.btn), .faq-a a, .qa-text a, .facts-table a, .tbl a, .callout a, .toc a:hover, .sources a {
  color: var(--brand); text-decoration: underline; text-decoration-color: var(--brand-line); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-color .15s ease, color .15s ease;
}
.content a:not(.btn):hover, .faq-a a:hover, .qa-text a:hover, .tbl a:hover, .sources a:hover { color: var(--brand-hover); text-decoration-color: currentColor; }
.content :not(pre) > code, .faq-a code, .qa-text code, .tbl code { font-size: .86em; color: var(--ink); background: var(--wash-2); border: 1px solid var(--line); border-radius: 6px; padding: .06em .36em; }
.lede { color: var(--soft); }

/* ---------- top bar + glass header ---------- */
.topbar { background: var(--night); color: #d4d4d8; font-size: .8rem; letter-spacing: .005em; padding: 8px 0; }
.topbar strong { color: #fff; filter: none; font-weight: 600; }
.topbar .tb-sep { color: #a1a1aa; }
.hdr { background: rgb(255 255 255 / .74); -webkit-backdrop-filter: saturate(1.8) blur(16px); backdrop-filter: saturate(1.8) blur(16px); border-bottom: 1px solid rgb(9 9 11 / .08); box-shadow: none; }
.hdr-in { min-height: 64px; gap: 20px; }
.logo-img { height: 32px; }
.nav { gap: 2px; margin-left: 10px; }
.nav a { color: var(--soft); font-weight: 500; font-size: .92rem; padding: 6px 11px; border-radius: 8px; letter-spacing: -0.005em; }
.nav a:hover { color: var(--ink); background: rgb(9 9 11 / .045); }
.nav a[aria-current] { color: var(--ink); background: rgb(9 9 11 / .06); }
.hdr-login { color: var(--soft); font-weight: 500; font-size: .92rem; text-decoration: none; transition: color .15s ease; }
.hdr-login:hover { color: var(--ink); }
.menu { border-color: var(--line-2); border-radius: 9px; font-weight: 500; }

/* ---------- buttons ---------- */
.btn { border-radius: var(--r-sm); font-weight: 600; letter-spacing: -0.006em; transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary, .content a.btn-primary { background: var(--brand); color: #fff; border: 1px solid var(--brand); box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), 0 1px 2px rgb(9 9 11 / .14); filter: none; }
.btn-primary:hover, .content a.btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / .14), 0 2px 6px -1px rgb(9 9 11 / .22); }
.btn-primary:active { background: var(--brand-press); border-color: var(--brand-press); }
.btn-ghost, .content a.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-2); box-shadow: 0 1px 2px rgb(9 9 11 / .05); }
.btn-ghost:hover, .content a.btn-ghost:hover { background: var(--wash); border-color: #a1a1aa; color: var(--ink); }
.btn-lg { padding: 13px 22px; font-size: 1rem; }
.btn-sm { padding: 7px 13px; font-size: .88rem; border-radius: 9px; }
.hdr-cta.btn-sm { padding: 7px 14px; }
.btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
/* a small arrow on the main calls to action, nudged on hover */
:is(.hero-btns, .cta-btns) .btn-primary::after { content: ""; width: 15px; height: 15px; margin-right: -3px; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: transform .2s var(--ease); }
:is(.hero-btns, .cta-btns) .btn-primary:hover::after { transform: translateX(3px); }

/* ---------- page head: faint neutral grid, full bleed ---------- */
.crumbs ol { align-items: center; font-size: .84rem; color: var(--faint); margin-top: 20px; }
.crumbs a { color: var(--soft); transition: color .15s ease; }
.crumbs a:hover { color: var(--ink); }
.crumbs li[aria-current] { color: var(--faint); }
.page-head { position: relative; isolation: isolate; padding: 44px 0 18px; }
.page-head::before { content: ""; position: absolute; z-index: -1; top: -120px; bottom: -40px; left: 50%; width: 100vw; transform: translateX(-50%); pointer-events: none;
  background-image: linear-gradient(to right, var(--grid-ink) 1px, transparent 1px), linear-gradient(to bottom, var(--grid-ink) 1px, transparent 1px);
  background-size: 44px 44px; background-position: calc(50% + 22px) 0;
  -webkit-mask-image: radial-gradient(ellipse 60% 75% at 62% 40%, #000 0%, rgb(0 0 0 / .35) 45%, transparent 75%); mask-image: radial-gradient(ellipse 60% 75% at 62% 40%, #000 0%, rgb(0 0 0 / .35) 45%, transparent 75%); }
.page-head:not(.hero)::before { opacity: .7; -webkit-mask-image: radial-gradient(ellipse 55% 90% at 80% 30%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 55% 90% at 80% 30%, #000 0%, transparent 70%); }
@media (min-width: 1280px) {
  .t-pricing .page-head { max-width: none; }
  .t-pricing .page-head::after { content: ""; position: absolute; right: 0; top: 50%; width: 360px; aspect-ratio: 360 / 250; transform: translateY(-46%); pointer-events: none; background: no-repeat center / contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 250'%3E%3Cdefs%3E%3Cfilter id='s' x='-20%25' y='-20%25' width='140%25' height='150%25'%3E%3CfeDropShadow dx='0' dy='10' stdDeviation='10' flood-color='%2309090b' flood-opacity='.16'/%3E%3C/filter%3E%3C/defs%3E%3Cg filter='url(%23s)'%3E%3Cg transform='rotate(-9 120 110)'%3E%3Crect x='30' y='40' width='200' height='126' rx='13' fill='%230b0b0f'/%3E%3Crect x='48' y='58' width='26' height='19' rx='4' fill='%23fff' fill-opacity='.18'/%3E%3Crect x='48' y='138' width='70' height='7' rx='3.5' fill='%23fff' fill-opacity='.25'/%3E%3C/g%3E%3Cg transform='rotate(-1 190 120)'%3E%3Crect x='90' y='60' width='200' height='126' rx='13' fill='%23fff' stroke='%23e4e4e7'/%3E%3Crect x='108' y='78' width='26' height='19' rx='4' fill='%23e4e4e7'/%3E%3Crect x='108' y='158' width='84' height='7' rx='3.5' fill='%23d4d4d8'/%3E%3Crect x='108' y='170' width='50' height='7' rx='3.5' fill='%23e4e4e7'/%3E%3C/g%3E%3Cg transform='rotate(8 250 150)'%3E%3Crect x='150' y='88' width='200' height='126' rx='13' fill='%232a1fd8'/%3E%3Cpath fill='%23fff' d='M322 104C323.2 113.6 326.4 116.8 336 118C326.4 119.2 323.2 122.4 322 132C320.8 122.4 317.6 119.2 308 118C317.6 116.8 320.8 113.6 322 104Z'/%3E%3Crect x='168' y='186' width='70' height='7' rx='3.5' fill='%23fff' fill-opacity='.55'/%3E%3Crect x='168' y='174' width='40' height='7' rx='3.5' fill='%23fff' fill-opacity='.3'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
}
.page-head:not(.hero) h1 { font-size: clamp(2.05rem, 3.7vw, 2.95rem); max-width: 22ch; letter-spacing: -0.036em; }
.page-head .lede { font-size: 1.14rem; line-height: 1.6; max-width: 60ch; color: var(--soft); }
.meta { color: var(--faint); font-size: .84rem; }
.kicker { background: var(--paper); border: 1px solid var(--line); color: var(--body); font: 500 .82rem/1.4 var(--font-body); letter-spacing: 0; text-transform: none; padding: 4px 12px; box-shadow: var(--sh-1); }

.page-head.hero { padding: 72px 0 40px; }
.page-head.hero h1 { font-size: clamp(2.45rem, 4.6vw, 3.4rem); max-width: 17ch; margin-bottom: .42em; letter-spacing: -0.034em; }
.page-head.hero .lede { font-size: 1.16rem; max-width: 46ch; }
.hero-btns { gap: 10px; margin: 30px 0 20px; }
.hero-note { color: var(--soft); font-size: .88rem; line-height: 1.55; max-width: 52ch; margin: 0 0 6px; }
.hero-note .ic { color: var(--faint); }
.badges { gap: 8px 20px; margin: 18px 0 0; }
.badges li { display: inline-flex; align-items: center; gap: 7px; background: none; border: 0; padding: 0; color: var(--body); font-weight: 500; font-size: .9rem; }
.badges li::before { content: ""; width: 15px; height: 15px; flex: none; background: var(--faint); -webkit-mask: var(--check) center / contain no-repeat; mask: var(--check) center / contain no-repeat; }
@media (min-width: 960px) {
  .page-head.hero.has-visual { grid-template-columns: minmax(0, 1fr) minmax(0, 28.5rem); gap: 56px; padding: 80px 0 72px; }
  .page-head.hero.has-visual h1 { font-size: clamp(2.5rem, 3.6vw, 2.95rem); max-width: none; line-height: 1.06; }
}

/* ---------- hero visual "subs": the subscription finder (engine/lib/blocks.mjs subsHero + theme.js) ---------- */
.hero-subs { position: relative; isolation: isolate; margin: 0; padding: 22px 0 0; }
/* two gift cards drawn in CSS behind the finder (decorative, brand-neutral: our spark, no third-party mark) */
.hero-subs::before, .hero-subs::after { content: ""; position: absolute; z-index: -1; aspect-ratio: 1.586; border-radius: 16px; pointer-events: none; }
.hero-subs::before { top: -4px; right: -24px; width: 58%; transform: rotate(6deg); background: var(--brand) no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 189'%3E%3Cpath fill='%23fff' d='M226 9C227 18 230 21 239 22C230 23 227 26 226 35C225 26 222 23 213 22C222 21 225 18 226 9Z'/%3E%3Crect x='24' y='140' width='72' height='9' rx='4.5' fill='%23fff' fill-opacity='.55'/%3E%3Crect x='24' y='156' width='44' height='9' rx='4.5' fill='%23fff' fill-opacity='.3'/%3E%3C/svg%3E");
  background-size: 100% 100%; box-shadow: 0 1px 2px rgb(9 9 11 / .12), 0 18px 36px -18px rgb(9 9 11 / .35); }
.hero-subs::after { z-index: -2; top: -30px; right: 44px; width: 52%; transform: rotate(-5deg); background: var(--night) no-repeat; border: 1px solid #222228;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 189'%3E%3Crect x='24' y='24' width='38' height='28' rx='6' fill='%23fff' fill-opacity='.16'/%3E%3Crect x='24' y='148' width='96' height='9' rx='4.5' fill='%23fff' fill-opacity='.22'/%3E%3C/svg%3E");
  background-size: 100% 100%; box-shadow: 0 18px 36px -18px rgb(9 9 11 / .4); }
.sf-card { position: relative; background: var(--paper); border: 1px solid rgb(9 9 11 / .09); border-radius: var(--r-lg); padding: 20px 20px 18px; box-shadow: var(--sh-3); }
.sf-title { display: flex; align-items: center; gap: 9px; margin: 0 0 16px; font: 600 .95rem/1.3 var(--head); color: var(--ink); letter-spacing: -0.01em; }
.sf-title::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 7px; background: var(--brand); -webkit-mask: none; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M12 5C12.5 9.3 14.7 11.5 19 12C14.7 12.5 12.5 14.7 12 19C11.5 14.7 9.3 12.5 5 12C9.3 11.5 11.5 9.3 12 5Z'/%3E%3C/svg%3E"); background-size: 100% 100%; }
.sf-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sf-field { position: relative; display: flex; flex-direction: column; gap: 1px; margin: 0; padding: 9px 34px 9px 13px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--paper); box-shadow: 0 1px 2px rgb(9 9 11 / .04); transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
.sf-field > span { font-size: .76rem; font-weight: 500; color: var(--faint); line-height: 1.3; }
.sf-field select { -webkit-appearance: none; appearance: none; width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; background: none; color: var(--ink); font: 600 1rem/1.35 var(--font-body); letter-spacing: -0.01em; text-overflow: ellipsis; outline: none; }
.sf-field select:disabled { opacity: 1; color: var(--ink); -webkit-text-fill-color: var(--ink); }
.sf-ready .sf-field { cursor: pointer; }
.sf-ready .sf-field select { cursor: pointer; }
.sf-ready .sf-field::after { content: ""; position: absolute; right: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px; background: var(--faint); -webkit-mask: var(--chev) center / contain no-repeat; mask: var(--chev) center / contain no-repeat; pointer-events: none; transition: background-color .15s ease, transform .2s var(--ease); }
.sf-ready .sf-field:hover { border-color: #a1a1aa; }
.sf-ready .sf-field:hover::after { background: var(--ink); }
.sf-field:focus-within { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.sf-field:focus-within::after { background: var(--brand); }
.sf-field select option { color: var(--ink); font-weight: 500; }
.sf-out { margin-top: 18px; }
.sf-price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; row-gap: 2px; padding: 0 2px 16px; margin: 0 0 4px; border-bottom: 1px dashed var(--line-2); }
.sf-price > span { flex-basis: 100%; font-size: .8rem; font-weight: 500; color: var(--faint); }
.sf-price b { font: 600 clamp(2.4rem, 4vw, 2.9rem)/1.05 var(--head); letter-spacing: -0.045em; color: var(--ink); font-variant-numeric: tabular-nums; }
.sf-price small { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: var(--wash-2); border: 1px solid var(--line); color: var(--soft); font-size: .84rem; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sf-row { display: grid; gap: 7px; margin-top: 10px; padding: 13px 14px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--wash); }
.sf-k { font-size: .8rem; font-weight: 500; color: var(--faint); line-height: 1.3; }
.sf-v { display: flex; align-items: center; justify-content: space-between; gap: 8px 14px; min-height: 34px; color: var(--body); font-size: .95rem; line-height: 1.45; }
.sf-v > b { font: 600 1.02rem/1.35 var(--font-body); color: var(--ink); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.sf-v > span { min-width: 0; }
.sf-v small { display: block; margin-top: 2px; font-size: .8rem; color: var(--faint); }
.sf-v .sf-muted, .sf-muted { color: var(--soft); }
.sf-buy { flex: none; }
.sf-iphone { background: var(--paper); border-color: var(--line-2); box-shadow: var(--sh-1); }
.sf-iphone .sf-buy.btn-primary { padding-inline: 18px; }
.sf-iphone .sf-buy.btn-primary::after { content: ""; width: 14px; height: 14px; margin-right: -3px; background: currentColor; -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: transform .2s var(--ease); }
.sf-iphone .sf-buy.btn-primary:hover::after { transform: translateX(2px); }
.sf-foot { margin: 14px 2px 0; font-size: .78rem; color: var(--faint); line-height: 1.4; }
.hero-subs figcaption { margin-top: 14px; font-size: .84rem; color: var(--faint); text-align: center; }
/* the answer redraws after each choice (theme.js toggles .sf-swap) */
@keyframes sf-in { from { opacity: 0; transform: translateY(6px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
.sf-swap .sf-price b, .sf-swap .sf-price small, .sf-swap .sf-v { animation: sf-in .42s var(--ease) both; }
.sf-swap .sf-price small { animation-delay: .04s; }
.sf-swap .sf-iphone .sf-v { animation-delay: .07s; }
.sf-swap .sf-android .sf-v { animation-delay: .12s; }
@media (min-width: 960px) {
  .has-visual .hero-visual { padding: 0 8px 0 0; }
}

/* ---------- quick answer, facts ---------- */
.quick-answer { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-2); padding: 20px 26px 20px; margin: 28px 0 34px; }
.qa-label { display: flex; align-items: center; gap: 7px; color: var(--soft); font: 600 .8rem/1.3 var(--font-body); text-transform: none; letter-spacing: 0; margin-bottom: 8px; }
.qa-label::before { content: ""; width: 13px; height: 13px; background: var(--brand); -webkit-mask: var(--spark) center / contain no-repeat; mask: var(--spark) center / contain no-repeat; }
.qa-q { color: var(--ink); font: 600 1.1rem/1.35 var(--head); letter-spacing: -0.015em; margin-bottom: 6px; }
.qa-text { color: var(--body); }
.facts-table { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); border-collapse: separate; border-spacing: 0; overflow: hidden; box-shadow: var(--sh-1); font-size: .94rem; }
.facts .facts-table th, .facts .facts-table td { padding: 12px 18px; }
.facts-table th { color: var(--soft); font-weight: 500; width: 30%; }
.facts-table td { color: var(--ink); }
.facts-table th, .facts-table td { border-bottom-color: var(--line); }
.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: 0; }
.facts-table .yes { color: var(--ink); }

/* ---------- trust row ---------- */
.trust-sec.compact { margin: 6px 0 30px; }
.trust-sec.compact .trust { gap: 10px 28px; }
.trust-sec.compact .trust-ic { width: 26px; height: 26px; border-radius: 8px; color: var(--ink); background: var(--wash-2); border: 1px solid var(--line); }
.trust-sec.compact .trust-t { font-weight: 500; color: var(--ink); font-size: .92rem; }
.trust > li { border-color: var(--line); border-radius: var(--r); box-shadow: var(--sh-1); }
.trust-ic, .card-ic, .stat-ic, .step-ic { color: var(--ink); background: var(--wash-2); border: 1px solid var(--line); }
.trust-t { font-weight: 600; color: var(--ink); }
.trust-d { color: var(--soft); }

/* ---------- stats: one bento strip, hairlines between cells ---------- */
.stats { gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); margin: 20px 0 30px; }
.stat { background: var(--paper); border: 0; border-radius: 0; box-shadow: none; padding: 22px 22px 20px; display: flex; flex-direction: column; }
.stat-ic { width: 28px; height: 28px; border-radius: 8px; margin-bottom: 14px; }
.stat-ic .ic { width: 15px; height: 15px; }
.stat-v { order: 0; color: var(--ink); font: 600 clamp(1.7rem, 2.6vw, 2.1rem)/1.08 var(--head); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat-l { margin-top: 8px; color: var(--soft); font-weight: 500; font-size: .9rem; line-height: 1.45; }
.stat-n { color: var(--faint); font-size: .8rem; }

/* ---------- cards: bento grid with hover lift ---------- */
.cards { gap: 12px; }
@media (min-width: 900px) { .cards.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { position: relative; padding: 24px 24px 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--sh-1); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s ease; }
.card-ic { width: 38px; height: 38px; border-radius: 11px; margin-bottom: 18px; }
.card-ic .ic { width: 19px; height: 19px; }
.card h3, .card h3 a, .content .card h3 a, .content .card h3 a:visited { margin-top: 0; color: var(--ink); text-decoration: none; font-size: 1.12rem; }
.card p { color: var(--soft); font-size: .94rem; line-height: 1.6; }
.card-link:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: var(--sh-2); }
.card-link::after { content: ""; position: absolute; top: 26px; right: 24px; width: 16px; height: 16px; background: var(--faint); -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: transform .2s var(--ease), background-color .2s ease; }
.card-link:hover::after { transform: translateX(3px); background: var(--brand); }
.card-tag { background: var(--wash-2); color: var(--soft); border: 1px solid var(--line); text-transform: none; letter-spacing: 0; font-weight: 500; }

/* ---------- bands: off-white with hairlines ---------- */
.band { background: var(--wash); box-shadow: 0 0 0 100vmax var(--wash); margin: 80px 0; padding: 64px 0 52px; }
.band::before, .band::after { content: ""; position: absolute; left: -100vmax; right: -100vmax; height: 1px; background: var(--line); }
.band::before { top: 0; }
.band::after { bottom: 0; }
.band > h2:first-child, .band > :first-child > h2:first-child { margin-top: 0; }

/* ---------- tables: hairline frame, quiet header, row hover, tabular figures (numeric columns right-aligned by theme.js) ---------- */
.table-wrap { border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); box-shadow: var(--sh-1); }
.tbl table { font-size: .93rem; }
.tbl thead th { background: var(--wash); color: var(--soft); font: 600 .8rem/1.35 var(--font-body); text-transform: none; letter-spacing: 0; padding-top: 11px; padding-bottom: 11px; border-bottom: 0; box-shadow: inset 0 -1px 0 var(--line); }
.tbl th, .tbl td { padding: 10px 16px; line-height: 1.5; border-bottom-color: var(--line); }
.tbl td { color: var(--body); font-variant-numeric: tabular-nums; }
.tbl tbody th { color: var(--ink); font-weight: 600; }
.tbl tbody tr > * { transition: background-color .12s ease; }
.tbl tbody tr:hover > * { background: var(--wash); }
.tbl tr.hl > * { background: var(--brand-pale); }
.tbl tr.hl th { color: var(--ink); }
.tbl .num { white-space: nowrap; }
.tbl table:has(thead th:nth-child(6)) :is(th, td) { padding-left: 12px; padding-right: 12px; }
@media (min-width: 761px) { .tbl .num { text-align: right; } }
.tbl .yes { color: var(--ink); }
/* links inside tables stay ink with a quiet underline (a price grid of blue links reads as noise); brand on hover */
.content .tbl td a:not(.btn) { color: var(--ink); text-decoration-color: var(--line-2); }
.content .tbl td a:not(.btn):hover { color: var(--brand); text-decoration-color: currentColor; }
/* payment steps table, tier tables, link-grid groups: sentence case, no spaced capitals */
.pay-table { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--paper); }
.pay-table thead th, .tiers thead th { background: var(--wash); color: var(--soft); font: 600 .8rem/1.35 var(--font-body); text-transform: none; letter-spacing: 0; }
.pay-table th, .pay-table td { padding: 10px 16px; border-bottom-color: var(--line); }
.pay-table tbody th { color: var(--ink); font-weight: 600; }
.pay-table td { font-variant-numeric: tabular-nums; }
.pt-h, .lg-group, .tier-badge, .plan-badge { text-transform: none; letter-spacing: 0; }
.pt-h { color: var(--soft); font-weight: 600; font-size: .84rem; }
.pay-terms { background: var(--paper); border-color: var(--line); border-radius: var(--r); }
.pay-terms li > svg { color: var(--faint); }
.tbl .no { color: var(--faint); }
.table-note, .checked { color: var(--faint); font-size: .84rem; }
.tbl caption { color: var(--faint); }
/* header row sticks under the glass header when the table fits its frame (theme.js adds .ais-fit) */
@media (min-width: 1024px) {
  .table-wrap.ais-fit { overflow: visible; }
  .table-wrap.ais-fit thead th { position: sticky; top: var(--hdr-h); z-index: 3; }
  .table-wrap.ais-fit thead th:first-child { border-top-left-radius: calc(var(--r) - 1px); }
  .table-wrap.ais-fit thead th:last-child { border-top-right-radius: calc(var(--r) - 1px); }
  .table-wrap.ais-fit tbody tr:last-child > :first-child { border-bottom-left-radius: calc(var(--r) - 1px); }
  .table-wrap.ais-fit tbody tr:last-child > :last-child { border-bottom-right-radius: calc(var(--r) - 1px); }
}
.tw-hint { color: var(--faint); }
/* Markdown tables inside a section body (zero specificity, so the block-table rules above win) */
@media (min-width: 481px) {
  :where(.sec .table-wrap) table { width: 100%; border-collapse: collapse; }
  :where(.sec .table-wrap) :is(th, td) { padding: 11px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
  :where(.sec .table-wrap) thead th { background: var(--wash); color: var(--soft); font: 600 .8rem/1.35 var(--font-body); }
  :where(.sec .table-wrap) tbody tr:last-child :is(th, td) { border-bottom: 0; }
  :where(.sec .table-wrap) td { font-variant-numeric: tabular-nums; }
}

/* ---------- steps: a quiet timeline ---------- */
.step-list { margin-top: 22px; }
.step-list > li { padding: 0 0 26px 58px; margin: 0; }
.step-list > li::before { width: 34px; height: 34px; background: var(--paper); color: var(--ink); border: 1px solid var(--line-2); box-shadow: var(--sh-1); font: 600 .84rem/1 var(--font-body); font-variant-numeric: tabular-nums; z-index: 1; }
.step-list > li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: 6px; width: 1px; background: var(--line); }
.step-list > li.has-ic { padding-left: 64px; }
.step-list > li.has-ic:not(:last-child)::after { left: 20px; top: 48px; }
.step-ic { width: 41px; height: 41px; border-radius: 12px; box-shadow: var(--sh-1); }
.step-ic .ic { width: 19px; height: 19px; }
.step-list > li.has-ic::before { left: 27px; top: -7px; width: 20px; height: 20px; font-size: .68rem; background: var(--ink); color: #fff; border: 2px solid var(--paper); box-shadow: none; }
.step-name { color: var(--ink); font: 600 1.06rem/1.35 var(--head); letter-spacing: -0.012em; margin: 7px 0 4px; }
.step-list > li p { color: var(--body); }
.step-list > li > .tw-stack { margin-left: 0; }

/* ---------- FAQ, folded blocks, sources, table of contents ---------- */
.faq > h2 { margin-bottom: .8em; }
.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0 14px; }
.faq-item:first-of-type { border-top: 1px solid var(--line); }
.faq-item h3 { margin: 0 0 8px; font-size: 1.08rem; line-height: 1.35; letter-spacing: -0.012em; }
.faq-a { color: var(--body); }
.faq-a p { max-width: 70ch; }
.fold, .sources details { border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); box-shadow: var(--sh-1); overflow: clip; }
.fold > summary, .sources summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; padding: 15px 20px; color: var(--ink); font: 600 1rem/1.3 var(--head); letter-spacing: -0.01em; transition: background-color .15s ease; }
.fold > summary::-webkit-details-marker, .sources summary::-webkit-details-marker { display: none; }
.fold > summary::after, .sources summary::after { content: ""; flex: none; width: 18px; height: 18px; background: var(--faint); -webkit-mask: var(--chev) center / contain no-repeat; mask: var(--chev) center / contain no-repeat; transition: transform .28s var(--ease), background-color .15s ease; }
.fold > summary:hover, .sources summary:hover { background: var(--wash); color: var(--ink); }
.fold[open] > summary::after, .sources details[open] summary::after { transform: rotate(180deg); }
.fold[open] > summary, .sources details[open] summary { border-bottom: 1px solid var(--line); }
.fold::details-content, .sources details::details-content { block-size: 0; overflow: clip; transition: block-size .32s var(--ease), content-visibility .32s allow-discrete; }
.fold[open]::details-content, .sources details[open]::details-content { block-size: auto; }
.fold > :not(summary) { padding: 6px 20px 14px; }
.fold .facts-table { border: 0; box-shadow: none; border-radius: 0; }
.fold .facts .facts-table th, .fold .facts .facts-table td { padding-left: 0; }
.sources { margin-top: 44px; }
.sources ol { padding: 14px 20px 14px 40px; margin: 0; font-size: .86rem; color: var(--soft); }
.sources li { margin: .45em 0; }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); padding: 16px 22px 14px; font-size: .92rem; }
.toc-h { color: var(--faint); font: 600 .8rem/1.3 var(--font-body); margin-bottom: 8px; }
.toc ol { padding-left: 1.2em; }
.toc li { margin: .3em 0; break-inside: avoid; }
.toc li::marker { color: var(--faint); font-variant-numeric: tabular-nums; }
.toc a { color: var(--body); text-decoration: none; transition: color .15s ease; }
.toc a:hover { text-decoration: none; }

/* ---------- related pages ---------- */
.related { margin-top: 64px; }
.related-list { gap: 10px; }
.related-list li { position: relative; padding: 16px 44px 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); box-shadow: var(--sh-1); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s ease; }
.related-list li:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: var(--sh-2); }
.related-list a { color: var(--ink); font-weight: 600; letter-spacing: -0.01em; }
.related-list a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.related-list li::after { content: ""; position: absolute; right: 16px; top: 18px; width: 15px; height: 15px; background: var(--faint); -webkit-mask: var(--arrow) center / contain no-repeat; mask: var(--arrow) center / contain no-repeat; transition: transform .2s var(--ease), background-color .2s ease; }
.related-list li:hover::after { transform: translateX(3px); background: var(--brand); }
.related-list p { color: var(--soft); font-size: .86rem; line-height: 1.5; }

/* ---------- coins: one discreet grey row ---------- */
.coin-logo, .coins img, .coinstrip img, .coins-mini img, .f-pay img { filter: grayscale(1); opacity: .7; }
.coinstrip { background: none; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0; padding: 16px 0; margin: 40px 0; }
.cs-label { color: var(--soft); font: 500 .88rem/1.3 var(--font-body); text-transform: none; letter-spacing: 0; }
.coin-row li { font: 500 .86rem var(--font-body); color: var(--soft); }
.cs-note { color: var(--faint); }

/* ---------- callouts, code ---------- */
.callout, .callout.warn, .callout.info, .callout.success { background: var(--wash); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 20px; }
.callout-h { color: var(--ink); font-weight: 600; }
.code { background: var(--night); border-color: var(--night-line); border-radius: var(--r); }
.code figcaption { background: var(--night-2); color: var(--night-soft); border-bottom-color: var(--night-line); font-family: var(--font-body); }
.copy { background: var(--night-2); color: var(--night-text); border: 1px solid var(--night-line); }

/* ---------- call to action: the one ink band ---------- */
.cta { position: relative; isolation: isolate; overflow: hidden; background: var(--night); color: var(--night-text); border: 1px solid var(--night-line); border-radius: 24px; box-shadow: none; margin: 88px 0 24px; padding: 44px 48px; gap: 24px 40px; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(to right, rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(to bottom, rgb(255 255 255 / .05) 1px, transparent 1px); background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 55% 120% at 100% 50%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 55% 120% at 100% 50%, #000 0%, transparent 70%); }
.cta-h, .content .cta-h { color: #fff; font: 600 clamp(1.5rem, 2.6vw, 2rem)/1.15 var(--head); letter-spacing: -0.032em; margin-bottom: 8px; }
.cta-t { max-width: 58ch; }
.cta-t p, .content .cta-t p { color: var(--night-soft); opacity: 1; }
.cta .btn-primary, .content .cta a.btn-primary { background: var(--brand); color: #fff; border-color: #4a41e6; box-shadow: inset 0 1px 0 rgb(255 255 255 / .18); }
.cta .btn-primary:hover, .content .cta a.btn-primary:hover { background: #3a30e8; border-color: #5a52ea; color: #fff; }
.cta .btn-ghost, .content .cta a.btn-ghost { background: transparent; color: #fff; border-color: #3f3f46; box-shadow: none; }
.cta .btn-ghost:hover, .content .cta a.btn-ghost:hover { background: rgb(255 255 255 / .06); border-color: #71717a; color: #fff; }
.cta a:not(.btn) { color: var(--brand-on-dark); }

/* ---------- footer: ink ---------- */
.ftr { background: #09090b; color: var(--night-soft); border-top: 0; margin-top: 112px; padding-top: 64px; }
.f-logo { color: #fafafa; }
.f-desc { color: var(--night-soft); }
.f-h { color: #fafafa; font: 600 .88rem/1.3 var(--font-body); letter-spacing: 0; text-transform: none; margin-bottom: 12px; }
.f-col a, .f-contact a { color: var(--night-soft); transition: color .15s ease; }
.f-col a:hover, .f-contact a:hover { color: #fafafa; opacity: 1; }
.f-contact-h { color: #fafafa; font-weight: 600; }
.f-pay { border-top-color: #232329; }
.f-pay-h { color: #d4d4d8; font: 500 .84rem/1.3 var(--font-body); text-transform: none; letter-spacing: 0; }
.f-pay-n { color: var(--night-soft); opacity: 1; }
.ftr .coins-mini li { background: transparent; border-color: #2a2a31; color: var(--night-soft); font: 500 .76rem var(--font-body); }
.f-bottom { border-top-color: #232329; color: #a1a1aa; }
.f-legal a:hover { color: #fafafa; }

/* ---------- home: wider rhythm ---------- */
.t-home .quick-answer { margin-top: 8px; }
/* "how it works" on the home page: a wash band with one card per step */
.t-home .steps { position: relative; margin: 88px 0; padding: 64px 0 56px; background: var(--wash); box-shadow: 0 0 0 100vmax var(--wash); clip-path: inset(0 -100vmax); }
.t-home .steps::before, .t-home .steps::after { content: ""; position: absolute; left: -100vmax; right: -100vmax; height: 1px; background: var(--line); }
.t-home .steps::before { top: 0; }
.t-home .steps::after { bottom: 0; }
.t-home .steps > h2:first-child { margin-top: 0; }
@media (min-width: 900px) {
  .t-home .steps .step-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 28px; }
  .t-home .steps .step-list > li { padding: 24px 24px 10px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--sh-1); }
  .t-home .steps .step-list > li::after { content: none; }
  .t-home .steps .step-list > li:not(.has-ic) { padding-top: 70px; }
  .t-home .steps .step-list > li:not(.has-ic)::before { left: 24px; top: 24px; }
  .t-home .steps .step-ic { position: relative; left: auto; top: auto; margin-bottom: 14px; }
  .t-home .steps .step-list > li.has-ic::before { left: 51px; top: 17px; }
  .t-home .steps .step-name { margin-top: 0; }
}
/* list sections of the home page ("never do", "limits"): one card per item, the bold lead as its title */
.t-home .content > .sec > ul:not(.related-list) { list-style: none; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: none; margin-top: 24px; }
@media (min-width: 761px) {
  .t-home .content > .sec > ul:not(.related-list) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-home .content > .sec > ul:not(.related-list) > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.t-home .content > .sec > ul:not(.related-list) > li { max-width: none; margin: 0; padding: 18px 20px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); box-shadow: var(--sh-1); color: var(--soft); font-size: .94rem; line-height: 1.6; }
.t-home .content > .sec > ul:not(.related-list) > li > strong:first-child { display: block; margin-bottom: 4px; color: var(--ink); font: 600 1.02rem/1.35 var(--head); letter-spacing: -0.01em; }

/* ---------- wide screens: "On this page" becomes a sticky rail beside the article (theme.js marks the current section) ---------- */
@media (min-width: 1280px) {
  :root { --wrap: 1200px; }
  main.wrap:has(> .toc) { display: grid; grid-template-columns: minmax(0, 860px) minmax(0, 1fr); column-gap: 72px; align-items: start; }
  main.wrap:has(> .toc) > * { grid-column: 1; min-width: 0; }
  main.wrap:has(> .toc) > :is(.crumbs, .page-head) { grid-column: 1 / -1; }
  main.wrap:has(> .toc) > .toc { grid-column: 2; grid-row: 3 / span 40; position: sticky; top: calc(var(--hdr-h) + 28px); max-height: calc(100vh - var(--hdr-h) - 56px); overflow: auto; margin: 28px 0 0; padding: 2px 0 8px; max-width: none; border: 0; border-radius: 0; background: none; box-shadow: none; font-size: .86rem; }
  main.wrap:has(> .toc) > .toc ol { columns: auto; list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
  main.wrap:has(> .toc) > .toc li { margin: 0; }
  main.wrap:has(> .toc) > .toc a { display: block; margin-left: -1px; padding: 6px 0 6px 14px; border-left: 1px solid transparent; color: var(--soft); line-height: 1.4; transition: color .15s ease, border-color .15s ease; }
  main.wrap:has(> .toc) > .toc a:hover { color: var(--ink); border-left-color: var(--line-2); }
  main.wrap:has(> .toc) > .toc a[aria-current] { color: var(--ink); font-weight: 500; border-left-color: var(--brand); }
  main.wrap:has(> .toc) > .toc .toc-h { margin-bottom: 10px; }
}
.t-home .content > .sec > h2, .t-home .cards-sec > h2, .t-home .faq > h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); letter-spacing: -0.035em; }

/* secondary texts written as <p> inside .content keep their tone (".content p" would win otherwise) */
.content :is(.stat-l, .trust-d, .card p, .faq-a p) { color: var(--soft); }
.content .faq-a p { color: var(--body); }
.content :is(.stat-n, .table-note, .checked, .cs-note, .tw-hint) { color: var(--faint); }
.content .qa-label { color: var(--soft); }
.content .qa-text p { color: var(--body); }

/* ---------- phones (≤ 760 px; the engine keeps a 15 px text floor) ---------- */
@media (max-width: 959px) {
  .hero-visual { margin-top: 40px; }
  .hero-subs { max-width: 34rem; }
}
@media (max-width: 760px) {
  :root { --hdr-h: 61px; }
  body { font-size: 16px; }
  .topbar { padding: 9px 0; }
  .hdr-in { min-height: 60px; }
  .logo-img { height: 28px; }
  .page-head { padding: 28px 0 10px; }
  .page-head.hero { padding: 36px 0 24px; }
  .page-head.hero h1, .page-head.hero.has-visual h1 { font-size: clamp(1.9rem, 8.2vw, 2.3rem); letter-spacing: -0.04em; line-height: 1.06; max-width: none; }
  .page-head:not(.hero) h1 { font-size: clamp(1.75rem, 7.4vw, 2.1rem); }
  .page-head .lede, .page-head.hero .lede { font-size: 1.04rem; }
  .hero-btns { margin: 24px 0 16px; }
  .page-head::before { background-size: 32px 32px; -webkit-mask-image: radial-gradient(ellipse 90% 60% at 70% 30%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 90% 60% at 70% 30%, #000 0%, transparent 70%); }
  .hero-subs { padding-top: 16px; }
  .hero-subs::before { width: 52%; right: -6px; top: -4px; transform: rotate(6deg); }
  .hero-subs::after { top: -18px; right: 30px; width: 46%; }
  .sf-card { padding: 16px 14px 14px; border-radius: 18px; }
  .sf-fields { grid-template-columns: minmax(0, 1fr); }
  .sf-field > span, .sf-price > span, .sf-k, .sf-v small, .sf-price small, .sf-foot { font-size: 15px; }
  .sf-field select { font-size: 16px; }
  .sf-price b { font-size: 2.35rem; }
  .sf-v { font-size: 15px; }
  .sf-v > b { font-size: 16px; }
  .quick-answer { padding: 18px 18px; }
  :root .qa-label, :root .cs-label, :root .f-pay-h, :root .pt-h { letter-spacing: 0; }
  .qa-q { font-size: 1.04rem; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: var(--r); }
  .stat { padding: 16px 14px; }
  .stat-ic { display: none; }
  .stat-v { font-size: 1.5rem; }
  .card { padding: 20px 18px 10px; }
  .band { margin: 56px 0; padding: 44px 0 34px; }
  .cta { padding: 28px 20px; margin-top: 64px; border-radius: 20px; }
  .ftr { margin-top: 80px; padding-top: 48px; }
  :root .tw-stack tbody tr { border-radius: var(--r); box-shadow: var(--sh-1); padding: 14px; }
  .tw-stack [data-label]::before { color: var(--faint); font-weight: 500; }
  :root .tw-stack tbody td { color: var(--ink); font-variant-numeric: tabular-nums; }
  .step-list > li { padding-left: 50px; }
  .step-list > li.has-ic { padding-left: 58px; }
  .fold > summary, .sources summary { padding: 14px 16px; }
  .fold > :not(summary) { padding: 6px 16px 12px; }
  h2 { margin-top: 2.2em; }
}
@media (max-width: 480px) {
  .sf-v { flex-wrap: wrap; }
  .sf-v > span { flex: 1 1 190px; }
  .sf-v > .sf-buy { margin-left: auto; }
}
@media (max-width: 380px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .sf-swap .sf-price b, .sf-swap .sf-price small, .sf-swap .sf-v { animation: none; }
  .card-link:hover, .related-list li:hover, .btn:hover { transform: none; }
  .fold::details-content, .sources details::details-content { transition: none; }
}

/* Non-Latin scripts of the group (engine/build.mjs adds this file to site.css only for a site with a /hi/ version; the
   other sites keep their site.css byte for byte). Fonts: system only, nothing is downloaded unless the site ships its own
   subset (engine/assets/fonts/<slug>/<name>-devanagari*.woff2 next to its <name>-latin*.woff2, declared with a
   unicode-range in its theme.css: then /hi/ pages preload it too). Without one, the browser takes the Devanagari glyphs
   from the system font: Windows Nirmala UI, Apple Kohinoor Devanagari, Android / Linux Noto Sans Devanagari, while Latin
   text and digits keep the brand font.
   Cyrillic (uk) needs no rule: system fonts all have it, and a brand font without Cyrillic falls back the same way. */

/* Devanagari letters hang from a continuous headline (shirorekha): any tracking cuts it, so no letter-spacing (the
   brand name of the logo, in Latin letters, keeps its own); vowel signs sit above and below the line: more room between
   the lines of a heading; there is no italic in Devanagari: emphasis stays upright. */
:root:lang(hi) body :not(.logo, .logo *, .f-logo) { letter-spacing: normal !important; }
:root:lang(hi) :is(h1, h2, h3, h4, .cta-h, .fold > summary) { line-height: 1.4; }
:root:lang(hi) :is(em, i) { font-style: normal; }
