/* 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%; }
}

/* Buying path of the VPS hosting sites (engine/lib/buyflow.mjs, docs/CONTENT-GUIDE.md § 14.4): the "timeline" block
   (tl-*), the "configurator" block (cfg-*) and the site.json "trustStrip" (trust-strip). Neutral base on the shared
   variables of site.css; each site's theme.css gives them its own look. Added by engine/build.mjs only to a site that
   uses one of the three, so no other site's stylesheet changes. Phones: 15 px text floor, 44 px touch targets, no
   sideways scroll at 375 px (docs 3.8). Motion: none here; a theme's own motion stops under prefers-reduced-motion. */

/* ---------------------------------------------------------------- trust strip */
.trust-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; list-style: none; margin: 14px 0 0; padding: 0; font-size: .84rem; line-height: 1.4; color: var(--muted); }
/* the list items beat the "content li" margins of the themes (ul.x > li: one more element in the selector) */
ul.trust-strip > li, ol.tl > li, ul.tl-coins > li, ul.tl-places > li { margin: 0; }
.trust-strip li { display: inline-flex; align-items: center; gap: 7px; padding: 0; min-width: 0; }
.trust-strip a { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.trust-strip a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.trust-strip .ic { flex: none; width: 15px; height: 15px; color: var(--accent); }
.hero-btns + .trust-strip { margin: -6px 0 18px; }
.cta > .trust-strip { flex: 1 1 100%; margin: 4px 0 0; color: inherit; opacity: .85; }
.cta > .trust-strip .ic { color: currentColor; }

/* ---------------------------------------------------------------- timeline */
.timeline { margin: 2.4em 0; }
.tl { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 0; counter-reset: none; }
.tl-step { position: relative; padding: 0 0 26px 54px; min-width: 0; }
.tl-step::before { content: ""; position: absolute; left: 17px; top: 38px; bottom: 4px; width: 2px; background: var(--border); }
.tl-step:last-child::before { display: none; }
.tl-k { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0 0 6px; font: 600 .78rem/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tl-n { position: absolute; left: 0; top: -4px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); color: var(--accent); font: 800 .82rem/1 var(--font-mono); letter-spacing: 0; }
.tl-dur { padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--text); letter-spacing: .02em; text-transform: none; }
.tl-name { margin: 0 0 4px; font: 700 1.08rem/1.35 var(--font-head); color: var(--text); }
.tl-text { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }
/* .tl-x: what a step shows under its text (coins, confirmation times, locations, login command) */
.tl-x { margin-top: 12px; min-width: 0; }
.tl-coins { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.tl-coins li { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px 3px 4px; border: 1px solid var(--border); border-radius: 999px; font: 600 .78rem/1.3 var(--font-mono); color: var(--text); }
.tl-coins .coin-logo { width: 18px; height: 18px; }
.tl-eta-h { margin: 0 0 6px; font: 600 .74rem/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.tl-eta { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 4px 14px; margin: 0; }
.tl-eta div { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; border-bottom: 1px dotted var(--border); font: .82rem/1.4 var(--font-mono); }
.tl-eta dt { color: var(--text); }
.tl-eta dd { margin: 0; color: var(--muted); white-space: nowrap; }
.tl-places { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.tl-places li { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px 3px 6px; border: 1px solid var(--border); border-radius: 999px; font-size: .84rem; line-height: 1.35; color: var(--text); }
.tl-places .flag { width: 16px; height: 12px; margin: 0; border-radius: 2px; }
.tl-cmd { margin: 0; }
.tl-cmd code { display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
@media (min-width: 960px) {
  .tl { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 22px; }
  .tl-step { padding: 54px 0 0; }
  .tl-step::before { left: 44px; right: -22px; top: 17px; bottom: auto; width: auto; height: 2px; }
  .tl-n { top: 0; }
}

/* ---------------------------------------------------------------- configurator */
.configurator { margin: 2.4em 0; }
.cfg { display: grid; gap: 22px; margin-top: 20px; }
@media (min-width: 980px) {
  .cfg { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); align-items: start; gap: 28px; }
  .cfg-sum { position: sticky; top: 96px; }
}
.cfg-fields { display: grid; gap: 22px; min-width: 0; }
.cfg-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.cfg-legend { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; padding: 0; font: 700 .82rem/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.cfg-n { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 4px; border-radius: 7px; background: var(--surface-2); color: var(--accent); font-size: .78rem; letter-spacing: 0; }
.cfg-opts { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 168px), 1fr)); }
.cfg-terms .cfg-opts, .cfg-locs .cfg-opts { grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); }
.cfg-opt { position: relative; display: flex; min-width: 0; margin: 0; cursor: pointer; }
.cfg-opt input { -webkit-appearance: none; appearance: none; position: absolute; z-index: 1; top: 13px; right: 12px; width: 18px; height: 18px; margin: 0; border: 1.5px solid var(--border); border-radius: 50%; background: var(--bg); cursor: pointer; }
.cfg-opt input:checked { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 4px, var(--bg) 4.5px); }
.cfg-opt input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.cfg-o { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.cfg-opt:has(input:checked) .cfg-o { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.cfg-opt:hover .cfg-o { border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); }
.cfg-opt.is-full { cursor: not-allowed; }
.cfg-opt.is-full .cfg-o { opacity: .6; background: var(--surface); }
.cfg-opt.is-full input { cursor: not-allowed; }
.cfg-o-name { padding-right: 26px; font-weight: 700; color: var(--text); line-height: 1.3; }
.cfg-o-spec { font-size: .84rem; line-height: 1.4; color: var(--muted); }
.cfg-o-price { margin-top: auto; padding-top: 6px; font: 700 1.02rem/1.25 var(--font-mono); color: var(--text); font-variant-numeric: tabular-nums; }
.cfg-o-price small { display: block; font: 400 .74rem/1.3 var(--font-mono); color: var(--muted); }
.cfg-o-off { margin-top: 4px; font: 600 .78rem/1.3 var(--font-mono); color: var(--muted); }
.cfg-o-off.is-off { color: var(--yes); }
.cfg-o-full { margin-top: 4px; font: 600 .74rem/1.3 var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.cfg-locs .flag { margin: 0 0 4px; }
.cfg-sum { min-width: 0; padding: 20px; border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); background: var(--surface); }
.cfg-sum-k { margin: 0 0 8px; font: 700 .76rem/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cfg-live > p { margin: 0; }
.cfg-pick { font-weight: 700; color: var(--text); line-height: 1.4; }
.cfg-total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 12px; margin-top: 12px !important; padding-top: 12px; border-top: 1px solid var(--border); }
.cfg-total-l { font-size: .9rem; color: var(--muted); }
.cfg-total-v { font: 800 1.9rem/1.1 var(--font-head); color: var(--text); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.cfg-month { margin-top: 4px !important; text-align: right; font: .86rem/1.4 var(--font-mono); color: var(--muted); }
.cfg-save { margin-top: 10px !important; font-size: .88rem; line-height: 1.45; color: var(--muted); }
.cfg-save.is-on { color: var(--yes); font-weight: 600; }
.cfg-go { width: 100%; margin-top: 16px; justify-content: center; }
.cfg-go[disabled] { opacity: .55; cursor: not-allowed; }
.cfg-sum .trust-strip { margin-top: 14px; gap: 6px 14px; }
.cfg-note, .cfg-none { margin: 12px 0 0; font-size: .82rem; line-height: 1.5; color: var(--muted); }

/* phones: the plans as rows (radio, name and specs, price on the right) */
@media (max-width: 560px) {
  .cfg-plans .cfg-opts { grid-template-columns: minmax(0, 1fr); }
  .cfg-plans .cfg-o { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name price" "spec price"; align-items: center; column-gap: 12px; padding: 12px 14px 12px 46px; }
  .cfg-plans .cfg-opt input { left: 15px; right: auto; top: 50%; margin-top: -9px; }
  .cfg-plans .cfg-o-name { grid-area: name; padding-right: 0; }
  .cfg-plans .cfg-o-spec { grid-area: spec; }
  .cfg-plans .cfg-o-price { grid-area: price; margin: 0; text-align: right; }
}
@media (max-width: 760px) {
  :root :is(.trust-strip, .tl-k, .tl-text, .tl-coins li, .tl-places li, .tl-eta-h, .tl-eta div, .cfg-legend, .cfg-o-spec, .cfg-o-price small, .cfg-o-off, .cfg-o-full, .cfg-sum-k, .cfg-total-l, .cfg-month, .cfg-save, .cfg-note, .cfg-none) { font-size: 15px; }
  .trust-strip { gap: 0 16px; }
  .trust-strip a { min-height: 44px; }
  .cfg-o { min-height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .cfg-o, .cfg-opt input, .trust-strip a { transition: none !important; }
}

/* "pricing" block with "termSwitch": true (engine/lib/blocks.mjs): the rental lengths as a row above the cards; the
   chosen one shows on every card what a month costs and the total billed (buyflow.js). Each site restyles it. */
.term-switch { margin: 6px 0 18px; padding: 0; border: 0; min-width: 0; }
.ts-legend { margin: 0 0 8px; padding: 0; font: 600 .78rem/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ts-opts { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; border: 1px solid var(--border); border-radius: 999px; width: fit-content; max-width: 100%; }
.ts-opt { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .92rem; }
.ts-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ts-opt:has(input:checked) { background: var(--accent); color: var(--accent-ink); }
.ts-opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.ts-off { font: 600 .74rem/1 var(--font-mono); padding: 3px 6px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 14%, transparent); }
.ts-off.is-flex { background: none; padding: 0; opacity: .75; font-weight: 500; }
.ts-opt:has(input:checked) .ts-off { background: color-mix(in srgb, var(--accent-ink) 16%, transparent); }
.ts-per { font-size: .5em; font-weight: 500; letter-spacing: 0; opacity: .7; }
.ts-billed { margin: 2px 0 0; color: var(--muted); font-size: .84rem; }
.pricing.ts-on .plan-terms { display: none; }
@media (max-width: 560px) {
  .ts-opts { border-radius: 16px; width: 100%; }
  .ts-opt { flex: 1 1 calc(50% - 6px); justify-content: center; border-radius: 12px; }
  .ts-off.is-flex { display: none; }
}

/* Coffervale — "Vale strata" (2 November 2026). A dark, warm look on top of the shared stylesheet: night forest
   (#0d120e) and moss surfaces, parchment text, one action colour — brass (#dcb563, as a soft metallic gradient) — and sage
   (#a9c3a0) for second signals. Colours come from site.json → theme (sites/coffervale/_research/theme.json); everything
   else lives here, including every style of the hero visual "strata" (engine/lib/visuals/strata.mjs, classes cvs-*).
   Type: Bricolage Grotesque (variable: opsz 12–96, wght 200–800; display sizes tight, text at its small optical size)
   and Martian Mono (figures, labels, codes), Google Fonts under the SIL OFL 1.1, self-hosted in
   engine/assets/fonts/coffervale/ (licences beside the files), with size-adjusted Arial / Courier New fallbacks.
   Motifs: rock strata (fine horizontal bands, the five layer colours), contour lines of a vale, frosted panels with a 1 px
   gradient edge and a soft inner glow. Motion (hover lift, reveals, the strata growing in) stops under
   prefers-reduced-motion. Contrast (WCAG AA) on #0d120e: text #efe8d6 15.9:1, body #d9d2bf 12.9:1, muted #aab3a1 8.7:1,
   sage #a9c3a0 9.6:1, brass #dcb563 9.7:1, links #e8c97f 11.6:1, button ink #191307 on the darkest brass stop 6.1:1. */

/* ---------------------------------------------------------------- fonts (the first faces also go to the client area,
   app/scripts/brand-from-site.mjs → appFontFaces, so the order matters: latin first) */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-stretch: 100%; font-display: swap; src: url(/assets/fonts/cv-bricolage-latin-wght.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: "Martian Mono"; font-style: normal; font-weight: 100 800; font-stretch: 100%; font-display: swap; src: url(/assets/fonts/cv-martian-latin-wght.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: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-stretch: 100%; font-display: swap; src: url(/assets/fonts/cv-bricolage-latin-ext-wght.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-stretch: 100%; font-display: swap; src: url(/assets/fonts/cv-bricolage-vietnamese-wght.woff2) format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Martian Mono"; font-style: normal; font-weight: 100 800; font-stretch: 100%; font-display: swap; src: url(/assets/fonts/cv-martian-latin-ext-wght.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Martian Mono"; font-style: normal; font-weight: 100 800; font-stretch: 100%; font-display: swap; src: url(/assets/fonts/cv-martian-cyrillic-wght.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
/* fallbacks: Bricolage sets a little narrower than Arial at text sizes, Martian Mono much wider than Courier New */
@font-face { font-family: "Bricolage Grotesque Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 97%; ascent-override: 96%; descent-override: 26%; line-gap-override: 0%; }
@font-face { font-family: "Martian Mono Fallback"; src: local("Courier New"), local("Courier"); size-adjust: 112%; ascent-override: 84%; descent-override: 22%; line-gap-override: 0%; }

:root {
  --font-mono: "Martian Mono", "Martian Mono Fallback", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1240px;
  --night: #0d120e;
  --night-2: #0a0e0b;
  --night-3: #070a08;
  --moss: #141b15;
  --moss-2: #1b241c;
  --moss-3: #243025;
  --ink: #efe8d6;
  --ink-2: #d9d2bf;
  --muted: #aab3a1;
  --sage: #a9c3a0;
  --sage-dim: rgb(169 195 160 / .13);
  --brass: #dcb563;
  --brass-hi: #efd08e;
  --brass-lo: #b8903f;
  --brass-link: #e8c97f;
  --brass-dim: rgb(220 181 99 / .13);
  --brass-grad: linear-gradient(180deg, #f2d899 0%, #dfb965 52%, #c79c4b 100%);
  --line: rgb(239 232 214 / .075);
  --line-2: rgb(239 232 214 / .13);
  --line-3: rgb(239 232 214 / .24);
  --glass: rgb(22 30 23 / .58);
  --glass-2: rgb(18 25 19 / .78);
  --edge: linear-gradient(155deg, rgb(239 208 142 / .30), rgb(239 232 214 / .07) 34%, rgb(239 232 214 / .04) 62%, rgb(169 195 160 / .20));
  --edge-hot: linear-gradient(155deg, rgb(242 216 153 / .85), rgb(220 181 99 / .30) 40%, rgb(169 195 160 / .35));
  --glow: inset 0 1px 0 rgb(255 255 255 / .06), inset 0 0 0 1px rgb(255 255 255 / .012), 0 30px 60px -38px rgb(0 0 0 / .85);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --r-sm: 14px;
  --r: 22px;
  --r-lg: 28px;
  --focus: #f2d899;
  /* the five layer colours, top (thin) to bottom (deep) */
  --l1: linear-gradient(180deg, #c1c9a0, #a4ae85);
  --l2: linear-gradient(180deg, #b98457, #966641);
  --l3: linear-gradient(180deg, #67745f, #4f5b4b);
  --l4: linear-gradient(180deg, #776a59, #5a4f43);
  --l5: linear-gradient(180deg, #303a2d, #1c241b);
  /* contour lines of a vale, faded towards the bottom (page background) */
  --contours: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 900' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='f' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23efe8d6' stop-opacity='.075'/%3E%3Cstop offset='1' stop-color='%23efe8d6' stop-opacity='0'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cg fill='none' stroke='url(%23f)' stroke-width='1'%3E%3Cpath d='M0 120C240 90 420 210 720 230S1200 110 1440 140'/%3E%3Cpath d='M0 170C240 140 430 260 720 282S1210 160 1440 192'/%3E%3Cpath d='M0 222C250 194 440 312 720 336S1220 212 1440 246'/%3E%3Cpath d='M0 276C260 250 450 366 720 392S1230 266 1440 302'/%3E%3Cpath d='M0 334C270 310 460 424 720 452S1240 324 1440 362'/%3E%3Cpath d='M0 396C280 374 470 486 720 516S1250 386 1440 426'/%3E%3Cpath d='M0 462C290 442 480 552 720 584S1260 452 1440 494'/%3E%3Cpath d='M0 532C300 514 490 622 720 656S1270 522 1440 566'/%3E%3C/g%3E%3C/svg%3E");
  /* fine sediment lines (inside panels and layers) */
  --sediment: repeating-linear-gradient(180deg, rgb(255 255 255 / .045) 0 1px, transparent 1px 7px);
  color-scheme: dark;
}

/* ---------------------------------------------------------------- base */
html { overflow-x: clip; scroll-padding-top: 88px; background: var(--night); }
body {
  overflow-x: clip;
  background:
    var(--contours) top center / 100% 900px no-repeat,
    radial-gradient(1100px 640px at 88% -12%, rgb(220 181 99 / .12), transparent 62%),
    radial-gradient(900px 700px at -12% 14%, rgb(169 195 160 / .08), transparent 64%),
    var(--night);
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.68;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: rgb(220 181 99 / .35); color: var(--ink); }
h1, h2, h3, h4 { color: var(--ink); font-weight: 680; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.1vw, 2.55rem); line-height: 1.08; letter-spacing: -0.035em; margin-top: 2.4em; font-weight: 700; }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; }
strong, b { color: var(--ink); font-weight: 650; }
a { color: var(--brass-link); text-decoration-color: rgb(232 201 127 / .45); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .2s var(--ease), text-decoration-color .2s var(--ease); }
a:hover { color: var(--brass-hi); text-decoration-color: currentColor; }
:where(a, button, summary, input, [tabindex]):focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 10px; }
code { background: rgb(239 232 214 / .07); border: 1px solid var(--line); color: var(--ink); font-size: .82em; padding: .1em .42em; border-radius: 7px; }
blockquote { border-left: 2px solid var(--brass); color: var(--ink-2); background: linear-gradient(90deg, var(--brass-dim), transparent 70%); padding: .7em 1.1em; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
hr { border: 0; height: 1px; background: var(--line-2); }
.content ul li::marker { color: var(--brass); }
.content ol li::marker { color: var(--brass); font-family: var(--font-mono); font-size: .85em; }
:is(.plan-price, .cvs-per b, .cvs-price b, .stat-v, .hp-from strong, .tl-eta dd, .tiers td, .tbl td, .ts-billed) { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- top bar + header */
.topbar { background: var(--night-3); color: #cfc8b4; font-size: .8rem; letter-spacing: .01em; border-bottom: 1px solid var(--line); padding: 8px 0; }
.topbar strong { color: var(--brass); filter: none; font-weight: 650; }
.hdr { background: rgb(12 17 13 / .55); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgb(0 0 0 / .25), 0 18px 40px -36px rgb(0 0 0 / .9); }
.hdr-in { min-height: 70px; gap: 28px; }
.logo-img { height: 36px; }
.nav { gap: 2px; justify-content: center; }
.nav a { color: var(--muted); font-weight: 520; font-size: .95rem; padding: 8px 14px; border-radius: 999px; transition: color .2s var(--ease), background-color .2s var(--ease); }
.nav a:hover { color: var(--ink); background: rgb(239 232 214 / .06); }
.nav a[aria-current] { color: var(--ink); background: rgb(239 232 214 / .08); box-shadow: inset 0 0 0 1px var(--line); }
.hdr-login { color: var(--ink-2); font-weight: 520; }
.hdr-login:hover { color: var(--brass-hi); }
.menu { border-color: var(--line-2); border-radius: 999px; color: var(--ink); background: rgb(239 232 214 / .04); padding: 7px 16px; }
.lang-menu > summary { color: var(--muted); border-radius: 999px; }
.lang-menu > summary:hover, .lang-menu[open] > summary { background: rgb(239 232 214 / .06); color: var(--ink); }
.lm-list { background: var(--moss); border: 1px solid var(--line-2); border-radius: var(--r-sm); box-shadow: 0 30px 60px -20px rgb(0 0 0 / .8); }
.lm-list a:hover, .lm-list a:focus-visible { background: rgb(239 232 214 / .06); }
@media (max-width: 860px) {
  .nav { background: rgb(12 17 13 / .96); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line-2); padding: 8px 16px 18px; justify-content: flex-start; }
  .nav a { border-radius: 0; padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav a:hover, .nav a[aria-current] { background: none; box-shadow: none; color: var(--brass-hi); }
}

/* ---------------------------------------------------------------- buttons: pills, brass gradient, a warm glow on hover */
.btn { border-radius: 999px; font-weight: 640; letter-spacing: -0.005em; padding: 12px 22px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), filter .25s var(--ease); }
.btn-lg { padding: 15px 28px; font-size: 1.04rem; }
.btn-primary { background: var(--brass-grad); color: #191307; border: 1px solid rgb(255 236 190 / .35); box-shadow: inset 0 1px 0 rgb(255 255 255 / .55), inset 0 -2px 6px rgb(120 80 20 / .25), 0 10px 26px -12px rgb(220 181 99 / .55); text-shadow: 0 1px 0 rgb(255 240 205 / .35); }
.btn-primary:hover { background: var(--brass-grad); color: #191307; filter: brightness(1.06) saturate(1.05); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .6), inset 0 -2px 6px rgb(120 80 20 / .2), 0 0 0 4px rgb(220 181 99 / .12), 0 18px 40px -14px rgb(220 181 99 / .7); }
.btn-ghost { background: rgb(239 232 214 / .045); color: var(--ink); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .05); }
.btn-ghost:hover { border-color: rgb(220 181 99 / .5); color: var(--brass-hi); background: rgb(220 181 99 / .07); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.hdr-cta.btn-primary { padding: 9px 18px; }

/* ---------------------------------------------------------------- page head + hero */
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brass-hi); }
.page-head { padding: 44px 0 14px; }
.page-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.02; letter-spacing: -0.042em; font-weight: 720; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 .7rem/1.4 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--sage); background: rgb(169 195 160 / .07); border: 1px solid rgb(169 195 160 / .2); padding: 7px 14px 7px 12px; border-radius: 999px; margin-bottom: 22px; }
.kicker::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 3px rgb(220 181 99 / .18), 0 0 12px rgb(220 181 99 / .6); }
.lede { color: var(--ink-2); font-size: 1.16rem; line-height: 1.6; opacity: .92; max-width: 60ch; }
.meta { color: var(--muted); font: 400 .74rem/1.5 var(--font-mono); letter-spacing: .02em; }
.page-head.hero { padding: 76px 0 36px; }
.page-head.hero h1 { font-size: clamp(2.7rem, 6vw, 4.85rem); line-height: .97; letter-spacing: -0.05em; font-weight: 740; background: linear-gradient(176deg, #fbf5e6 10%, #efe4c8 55%, #cdb98c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.page-head.hero .lede { font-size: 1.22rem; margin-top: 4px; }
.hero-btns { gap: 12px; margin: 30px 0 22px; }
.hero-btns + .trust-strip { margin: -4px 0 16px; }
.trust-strip { color: var(--muted); font-size: .85rem; gap: 8px 20px; }
.trust-strip .ic { color: var(--brass); }
.trust-strip a:hover { color: var(--ink); }
.hero-note { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.hero-note .ic { color: var(--sage); }
@media (min-width: 960px) {
  .page-head.hero.has-visual { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 64px; }
  .page-head.hero.has-visual h1 { font-size: clamp(2.8rem, 4.9vw, 4.6rem); }
}

/* ---------------------------------------------------------------- hero visual "strata" (engine/lib/visuals/strata.mjs) */
.hero-strata {
  --core: 128px;
  --lead: 30px;
  --row: 86px;
  position: relative;
  margin: 0;
  padding: 20px 22px 16px;
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  background: linear-gradient(var(--glass-2), var(--glass-2)) padding-box, var(--edge-hot) border-box;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .07), inset 0 0 60px rgb(220 181 99 / .035), 0 50px 90px -50px rgb(0 0 0 / .95), 0 0 0 1px rgb(0 0 0 / .2);
  isolation: isolate;
}
.hero-strata::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(420px 260px at 85% 0%, rgb(220 181 99 / .12), transparent 70%), radial-gradient(320px 300px at 0% 100%, rgb(169 195 160 / .08), transparent 70%); pointer-events: none; }
.cvs-top { display: grid; grid-template-columns: var(--core) minmax(0, 1fr); column-gap: var(--lead); align-items: end; }
.cvs-vale { position: relative; height: 58px; }
.cvs-vale-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cvs-hill-back { fill: #1a241b; }
.cvs-hill { fill: #253325; }
.cvs-rim { fill: none; stroke: var(--sage); stroke-width: 1.4; stroke-linecap: round; opacity: .85; }
.cvs-coffer { position: absolute; left: 50%; bottom: 14%; width: 26px; height: 17px; transform: translateX(-50%); border-radius: 7px 7px 3px 3px; background: var(--brass-grad); box-shadow: 0 0 0 1px rgb(255 236 190 / .35) inset, 0 6px 18px -4px rgb(220 181 99 / .7); }
.cvs-lid { position: absolute; left: 0; right: 0; top: 6px; height: 1.5px; background: rgb(60 40 10 / .45); }
.cvs-lock { position: absolute; left: 50%; top: 9px; width: 4px; height: 5px; margin-left: -2px; border-radius: 2px 2px 1px 1px; background: #2a1d08; }
.cvs-head { padding: 0 0 12px; min-width: 0; }
.cvs-k { margin: 0; font: 650 1.02rem/1.25 var(--font-head); color: var(--ink); letter-spacing: -0.01em; }
.cvs-axis { margin: 4px 0 0; font: 400 .66rem/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cvs-stage { position: relative; height: calc(var(--n) * var(--row)); }
.cvs-core { position: absolute; left: 0; top: 0; width: var(--core); height: 100%; border-radius: 0 0 18px 18px; background: var(--night-3); box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -20px rgb(0 0 0 / .9); }
.cvs-layers { list-style: none; margin: 0; padding: 0 0 0 calc(var(--core) + var(--lead)); height: 100%; display: grid; grid-template-rows: repeat(var(--n), minmax(0, 1fr)); }
ol.cvs-layers > li.cvs-l { margin: 0; min-height: 0; }
.cvs-l > a { display: block; height: 100%; padding: 4px 0; color: inherit; text-decoration: none; border-radius: var(--r-sm); }
.cvs-l > a:focus-visible { outline: none; }
.cvs-band { position: absolute; left: 0; width: var(--core); top: calc(var(--top) * 100%); height: calc(var(--h) * 100%); display: flex; align-items: center; justify-content: center; background: var(--sediment), var(--layer, var(--l3)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), inset 0 -1px 0 rgb(0 0 0 / .4); transition: filter .3s var(--ease), box-shadow .3s var(--ease); }
.cvs-l:last-child .cvs-band { border-radius: 0 0 18px 18px; }
.cvs-l:nth-child(1) { --layer: var(--l1); }
.cvs-l:nth-child(2) { --layer: var(--l2); }
.cvs-l:nth-child(3) { --layer: var(--l3); }
.cvs-l:nth-child(4) { --layer: var(--l4); }
.cvs-l:nth-child(5) { --layer: var(--l5); }
/* granite: a few speckles; bedrock: deeper sediment */
.cvs-l:nth-child(4) .cvs-band { background: radial-gradient(circle at 20% 30%, rgb(255 255 255 / .12) 0 1px, transparent 1.5px) 0 0 / 14px 11px, radial-gradient(circle at 60% 70%, rgb(0 0 0 / .25) 0 1px, transparent 1.5px) 0 0 / 9px 13px, var(--sediment), var(--l4); }
.cvs-l:nth-child(5) .cvs-band { background: repeating-linear-gradient(180deg, rgb(255 255 255 / .035) 0 1px, transparent 1px 11px), var(--l5); }
.cvs-band-cap { font: 600 .74rem/1 var(--font-mono); letter-spacing: .04em; color: rgb(255 250 235 / .9); text-shadow: 0 1px 2px rgb(0 0 0 / .5); }
.cvs-s1 .cvs-band-cap, .cvs-s2 .cvs-band-cap { display: none; }
.cvs-s16 .cvs-band-cap { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.01em; color: rgb(239 232 214 / .82); }
.cvs-s8 .cvs-band-cap { font-size: 1.05rem; font-weight: 650; }
.cvs-lead { position: absolute; left: var(--core); top: 0; width: var(--lead); height: 100%; overflow: visible; pointer-events: none; }
.cvs-lead path { fill: none; stroke: var(--line-3); stroke-width: 1; transition: stroke .3s var(--ease); }
.cvs-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "id per" "spec price"; align-content: center; column-gap: 12px; row-gap: 2px; height: 100%; padding: 8px 14px; border-radius: var(--r-sm); background: rgb(239 232 214 / .03); border: 1px solid var(--line); transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.cvs-id { grid-area: id; display: flex; align-items: baseline; gap: 8px; min-width: 0; white-space: nowrap; }
.cvs-name { font: 650 1.02rem/1.25 var(--font-head); color: var(--ink); letter-spacing: -0.01em; }
.cvs-cap { font: 500 .72rem/1 var(--font-mono); color: var(--sage); letter-spacing: .02em; }
.cvs-badge { position: absolute; top: -9px; right: 12px; padding: 3px 9px; border-radius: 999px; background: var(--brass-grad); color: #191307; font: 600 .6rem/1.3 var(--font-mono); font-style: normal; letter-spacing: .05em; text-transform: uppercase; box-shadow: 0 6px 16px -6px rgb(220 181 99 / .7); }
.cvs-per { grid-area: per; justify-self: end; display: flex; align-items: baseline; gap: 2px; white-space: nowrap; }
.cvs-per b { font: 720 1.24rem/1.1 var(--font-head); letter-spacing: -0.03em; color: var(--brass-hi); }
.cvs-per small { font: 400 .66rem/1 var(--font-mono); color: var(--muted); }
.cvs-spec { grid-area: spec; font-size: .8rem; line-height: 1.3; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cvs-price { grid-area: price; justify-self: end; white-space: nowrap; font: 400 .66rem/1.3 var(--font-mono); color: var(--muted); }
.cvs-price b { font: 600 .74rem/1.3 var(--font-mono); color: var(--ink); }
.cvs-mm { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cvs-l.is-pop .cvs-card { background: linear-gradient(rgb(34 32 20 / .9), rgb(26 28 19 / .9)) padding-box, var(--edge-hot) border-box; border-color: transparent; box-shadow: 0 0 0 1px rgb(220 181 99 / .08), 0 14px 34px -18px rgb(220 181 99 / .45); }
.cvs-l.is-pop .cvs-band { box-shadow: inset 0 0 0 1.5px rgb(242 216 153 / .9), inset 0 1px 0 rgb(255 255 255 / .2), 0 0 26px rgb(220 181 99 / .45); z-index: 1; }
.cvs-l.is-pop .cvs-lead path { stroke: rgb(220 181 99 / .75); }
.cvs-l > a:hover .cvs-card, .cvs-l > a:focus-visible .cvs-card { background-color: rgb(239 232 214 / .06); border-color: rgb(220 181 99 / .45); transform: translateX(3px); }
.cvs-l.is-pop > a:hover .cvs-card, .cvs-l.is-pop > a:focus-visible .cvs-card { box-shadow: 0 0 0 1px rgb(220 181 99 / .2), 0 18px 40px -16px rgb(220 181 99 / .6); }
.cvs-l > a:focus-visible .cvs-card { outline: 2px solid var(--focus); outline-offset: 2px; }
.cvs-l > a:hover .cvs-band, .cvs-l > a:focus-visible .cvs-band { filter: brightness(1.22) saturate(1.1); z-index: 2; }
.cvs-l > a:hover .cvs-lead path, .cvs-l > a:focus-visible .cvs-lead path { stroke: var(--brass-hi); }
.cvs-foot { margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--line-2); font: 400 .7rem/1.5 var(--font-mono); letter-spacing: .03em; color: var(--muted); text-align: center; }
@media (max-width: 1100px) and (min-width: 960px) {
  .hero-strata { --core: 96px; --lead: 22px; padding: 18px 16px 14px; }
  .cvs-spec { display: none; }
  .cvs-card { grid-template-areas: "id per" "price price"; }
  .cvs-price { justify-self: start; }
}
@media (max-width: 560px) {
  .hero-strata { --core: 58px; --lead: 16px; --row: 80px; padding: 16px 14px 12px; border-radius: 24px; }
  .cvs-vale { height: 44px; }
  .cvs-coffer { width: 20px; height: 13px; bottom: 12%; }
  .cvs-lid { top: 4px; }
  .cvs-lock { top: 6px; width: 3px; height: 4px; margin-left: -1.5px; }
  .cvs-k { font-size: 15px; }
  .cvs-axis { font-size: 11px; letter-spacing: .03em; }
  .cvs-card { grid-template-areas: "id per" "price price"; padding: 7px 10px; }
  .cvs-spec { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cvs-price { justify-self: start; font-size: 12px; }
  .cvs-price b { font-size: 13px; }
  .cvs-name { font-size: 16px; }
  .cvs-cap { font-size: 12px; }
  .cvs-per b { font-size: 18px; }
  .cvs-per small { font-size: 11px; }
  .cvs-badge { font-size: 10px; right: 8px; }
  .cvs-s4 .cvs-band-cap { display: none; }
  .cvs-s8 .cvs-band-cap { font-size: 11px; }
  .cvs-s16 .cvs-band-cap { font-size: 14px; }
  .cvs-foot { font-size: 12px; }
}

/* ---------------------------------------------------------------- content: quick answer, sections */
.content { max-width: 880px; }
.quick-answer { position: relative; margin: 26px 0 34px; padding: 22px 26px 20px 28px; border: 1px solid transparent; border-radius: var(--r); background: linear-gradient(var(--glass), var(--glass)) padding-box, var(--edge) border-box; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--glow); overflow: hidden; }
.quick-answer::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 0 3px 3px 0; background: linear-gradient(180deg, var(--brass-hi), var(--brass-lo)); }
.qa-label { display: flex; align-items: center; gap: 10px; font: 500 .68rem/1.4 var(--font-mono); letter-spacing: .12em; color: var(--brass); }
.qa-label::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgb(220 181 99 / .35), transparent); }
.qa-q { color: var(--ink); font: 650 1.12rem/1.4 var(--font-head); letter-spacing: -0.01em; margin: 6px 0 8px; }
.qa-text { color: var(--ink-2); }
.toc { background: rgb(239 232 214 / .03); border: 1px solid var(--line); border-radius: var(--r-sm); }
.toc a { color: var(--ink-2); }
.toc a:hover { color: var(--brass-hi); }

/* ---------------------------------------------------------------- cards: frosted, gradient edge; a bento on the home page */
.card { position: relative; padding: 24px 24px 12px; border: 1px solid transparent; border-radius: var(--r); background: linear-gradient(var(--glass), var(--glass)) padding-box, var(--edge) border-box; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--glow); transition: translate .35s var(--ease), box-shadow .35s var(--ease); overflow: hidden; }
.card h3 { font-size: 1.22rem; letter-spacing: -0.02em; color: var(--ink); }
.card h3 a { color: var(--ink); }
.card p { color: var(--muted); font-size: .95rem; }
.card-tag { font: 500 .66rem/1.4 var(--font-mono); letter-spacing: .11em; color: var(--sage); }
.card-ic { width: 44px; height: 44px; border-radius: 14px; color: var(--brass-hi); background: linear-gradient(160deg, rgb(220 181 99 / .2), rgb(220 181 99 / .05)); border: 1px solid rgb(220 181 99 / .28); box-shadow: inset 0 1px 0 rgb(255 255 255 / .1); }
.card:hover { translate: 0 -3px; box-shadow: var(--glow), 0 30px 60px -36px rgb(220 181 99 / .28); }
.card-link:hover { border-color: transparent; }
.card-link:hover h3 a { color: var(--brass-hi); }
.cards-sec > p { color: var(--ink-2); max-width: 70ch; }
@media (min-width: 900px) {
  .t-home .cards-sec .cards { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-flow: dense; gap: 16px; }
  .t-home .cards-sec .card { grid-column: span 2; }
  .t-home .cards-sec .card:nth-child(1) { grid-column: span 4; padding: 30px 32px 18px; }
  .t-home .cards-sec .card:nth-child(1) h3 { font-size: 1.7rem; letter-spacing: -0.035em; margin-top: .4em; }
  .t-home .cards-sec .card:nth-child(1) p { font-size: 1.04rem; max-width: 46ch; color: var(--ink-2); }
  .t-home .cards-sec .card:nth-child(2) { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
  .t-home .cards-sec .card:nth-child(5), .t-home .cards-sec .card:nth-child(6) { grid-column: span 3; }
}
/* the first bento card: a small core of the five strata on its right, each layer twice the one above */
@media (min-width: 900px) {
  .t-home .cards-sec .card:nth-child(1) { padding-right: 34%; }
  .t-home .cards-sec .card:nth-child(1)::after { content: ""; position: absolute; top: 34px; bottom: 30px; right: 44px; width: 22%; border-radius: 6px 6px 16px 16px; background:
      linear-gradient(180deg, transparent 0 calc(100% / 31 * 1), rgb(0 0 0 / .45) 0 calc(100% / 31 * 1 + 2px), transparent 0 calc(100% / 31 * 3), rgb(0 0 0 / .45) 0 calc(100% / 31 * 3 + 2px), transparent 0 calc(100% / 31 * 7), rgb(0 0 0 / .45) 0 calc(100% / 31 * 7 + 2px), transparent 0 calc(100% / 31 * 15), rgb(0 0 0 / .45) 0 calc(100% / 31 * 15 + 2px), transparent 0),
      var(--sediment),
      linear-gradient(180deg, #b7bf96 0 calc(100% / 31 * 1), #a8774f 0 calc(100% / 31 * 3), #5d6a57 0 calc(100% / 31 * 7), #685c4d 0 calc(100% / 31 * 15), #262f24 0);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / .08), 0 24px 50px -20px rgb(0 0 0 / .9), 0 0 0 6px rgb(239 232 214 / .025); opacity: .92; pointer-events: none; }
  .t-home .cards-sec .card:nth-child(1)::before { content: ""; position: absolute; top: 22px; right: 36px; width: calc(22% + 16px); height: 2px; background: linear-gradient(90deg, transparent, var(--sage), transparent); opacity: .55; }
}
/* the price card: brass light, a big figure */
.t-home .cards-sec .card:nth-child(2) { background: radial-gradient(90% 55% at 100% 0%, rgb(220 181 99 / .16), transparent 70%) padding-box, linear-gradient(180deg, #1a2218, #121912) padding-box, var(--edge-hot) border-box; }
/* a contour map of the vale in its empty top half */
.t-home .cards-sec .card:nth-child(2)::after { content: ""; position: absolute; inset: 0 0 38% 0; background: repeating-radial-gradient(ellipse 120% 80% at 72% 30%, rgb(220 181 99 / .16) 0 1px, transparent 1.5px 17px); -webkit-mask-image: radial-gradient(70% 70% at 72% 32%, #000 20%, transparent 75%); mask-image: radial-gradient(70% 70% at 72% 32%, #000 20%, transparent 75%); pointer-events: none; }
.t-home .cards-sec .card:nth-child(2) > * { position: relative; z-index: 1; }
.t-home .cards-sec .card:nth-child(2) .card-tag { margin-top: auto; }
.t-home .cards-sec .card:nth-child(2) h3 { font-size: clamp(2rem, 2.8vw, 2.7rem); line-height: 1; letter-spacing: -0.05em; margin: .3em 0 .5em; }
.t-home .cards-sec .card:nth-child(2) h3 a { color: var(--brass-hi); }
.t-home .cards-sec .card:nth-child(2) p { color: var(--ink-2); }

/* ---------------------------------------------------------------- pricing: term switch (segmented control) + plan cards */
.pricing > h2 + p, .pricing > p { color: var(--ink-2); max-width: 74ch; }
.term-switch { margin: 22px 0 30px; }
.ts-legend { font: 500 .66rem/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.ts-opts { gap: 4px; padding: 5px; border: 1px solid var(--line-2); border-radius: 999px; background: rgb(7 10 8 / .6); box-shadow: inset 0 1px 3px rgb(0 0 0 / .5), 0 1px 0 rgb(255 255 255 / .04); }
.ts-opt { padding: 9px 18px; color: var(--ink-2); font-weight: 560; font-size: .93rem; transition: background-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease); }
.ts-opt:hover { color: var(--ink); background: rgb(239 232 214 / .06); }
.ts-opt:has(input:checked) { background: var(--brass-grad); color: #191307; box-shadow: inset 0 1px 0 rgb(255 255 255 / .5), 0 6px 18px -8px rgb(220 181 99 / .7); }
.ts-opt:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.ts-off { font: 600 .64rem/1.3 var(--font-mono); letter-spacing: .02em; padding: 2px 7px; border-radius: 999px; background: var(--sage-dim); color: var(--sage); }
.ts-off.is-flex { background: rgb(239 232 214 / .06); color: var(--muted); }
.ts-opt:has(input:checked) .ts-off { background: rgb(25 19 7 / .14); color: #2a1f0b; }
.plans { gap: 16px; align-items: stretch; }
@media (min-width: 1180px) { .plans { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 700px) and (max-width: 1179px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan { position: relative; padding: 30px 20px 20px; border: 1px solid transparent; border-radius: 24px; background: linear-gradient(180deg, rgb(26 35 27 / .82), rgb(17 23 18 / .82)) padding-box, var(--edge) border-box; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--glow); transition: translate .35s var(--ease), box-shadow .35s var(--ease); }
.plan::before { content: ""; position: absolute; top: 0; left: 20px; right: 20px; height: var(--lh, 3px); border-radius: 0 0 6px 6px; background: var(--sediment), var(--layer, var(--l3)); opacity: .95; }
.plans > .plan:nth-child(1) { --layer: var(--l1); --lh: 3px; }
.plans > .plan:nth-child(2) { --layer: var(--l2); --lh: 5px; }
.plans > .plan:nth-child(3) { --layer: var(--l3); --lh: 7px; }
.plans > .plan:nth-child(4) { --layer: var(--l4); --lh: 9px; }
.plans > .plan:nth-child(5) { --layer: var(--l5); --lh: 11px; }
.plan:hover { translate: 0 -4px; box-shadow: var(--glow), 0 34px 64px -34px rgb(0 0 0 / .9), 0 0 0 1px rgb(220 181 99 / .12); }
.plan.popular { border: 1px solid transparent; background: radial-gradient(120% 60% at 50% 0%, rgb(220 181 99 / .16), transparent 70%) padding-box, linear-gradient(180deg, rgb(33 36 24 / .9), rgb(20 24 17 / .9)) padding-box, var(--edge-hot) border-box; box-shadow: var(--glow), 0 0 0 1px rgb(220 181 99 / .1), 0 36px 70px -34px rgb(220 181 99 / .4); }
@media (min-width: 900px) { .plan.popular { transform: none; translate: 0 -8px; } .plan.popular:hover { transform: none; translate: 0 -11px; } }
.plan-badge { top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--brass-grad); color: #191307; font: 600 .62rem/1.4 var(--font-mono); letter-spacing: .07em; padding: 4px 12px; box-shadow: 0 8px 20px -8px rgb(220 181 99 / .8), inset 0 1px 0 rgb(255 255 255 / .5); }
.plan-name { font-size: 1.32rem; font-weight: 700; letter-spacing: -0.03em; margin-top: 2px; }
.plan-qty { font: 500 .86rem/1.45 var(--font-body); color: var(--sage); letter-spacing: 0; text-wrap: balance; }
.plan-price { margin: 16px 0 2px; font: 740 2.45rem/1 var(--font-head); letter-spacing: -0.05em; color: var(--ink); }
.ts-per { font: 400 .72rem var(--font-mono); letter-spacing: 0; color: var(--muted); }
.ts-billed { margin: 6px 0 0; font: 400 .7rem/1.4 var(--font-mono); color: var(--muted); }
.plan-terms { display: grid; gap: 3px; margin: 14px 0 0; padding: 10px 0 0; border-top: 1px dashed var(--line-2); font: 400 .68rem/1.5 var(--font-mono); color: var(--muted); }
.plan-term { display: flex; justify-content: space-between; gap: 6px; }
.pt-sep { display: none; }
.pt-price { color: var(--ink-2); margin-left: auto; }
.pt-off { color: var(--sage); }
.plan-features { margin: 14px 0 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--ink-2); }
.plan-features li { position: relative; padding-left: 16px; margin: .5em 0; line-height: 1.45; }
.plan-features li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 2px; background: linear-gradient(180deg, var(--brass-hi), var(--brass-lo)); }
.plan-features li:last-child { color: var(--muted); font-size: .8rem; }
.plan-features li:last-child::before { background: var(--line-3); }
.plan:not(.popular) .btn-primary { background: rgb(220 181 99 / .08); color: var(--brass-hi); border-color: rgb(220 181 99 / .4); box-shadow: inset 0 1px 0 rgb(255 255 255 / .05); text-shadow: none; }
.plan:not(.popular) .btn-primary:hover { background: var(--brass-grad); color: #191307; border-color: transparent; box-shadow: 0 14px 30px -14px rgb(220 181 99 / .7); }
.plan .btn { white-space: normal; text-align: center; font-size: .92rem; padding: 11px 14px; }
.plan-incl { color: var(--muted); font-size: .88rem; margin-top: 22px; }
.plan-incl strong { color: var(--ink); }
.pricing-note { color: var(--muted); }
.tiers { border: 1px solid var(--line-2); border-radius: var(--r); background: rgb(239 232 214 / .02); }
.tiers thead th { background: rgb(239 232 214 / .04); color: var(--muted); font: 500 .64rem/1.4 var(--font-mono); letter-spacing: .1em; }
.tiers th, .tiers td { border-bottom: 1px solid var(--line); }
.tiers tr.hl { background: rgb(220 181 99 / .08); }
.tiers caption { color: var(--ink); }
.tier-badge, .tier-off { font-family: var(--font-mono); }
.tier-badge { background: var(--brass-grad); color: #191307; }
.tier-off { color: var(--sage); font-size: .8em; }
.pay-terms { border: 1px solid var(--line-2); border-radius: var(--r); background: rgb(239 232 214 / .025); color: var(--ink-2); }
.pt-h { font: 500 .66rem/1.4 var(--font-mono); letter-spacing: .12em; color: var(--brass); }
.pay-terms li > svg { color: var(--brass); }

/* ---------------------------------------------------------------- timeline (buyflow), configurator, trust strip */
.timeline > p { color: var(--ink-2); max-width: 70ch; }
.tl-step::before { background: linear-gradient(180deg, rgb(220 181 99 / .55), rgb(239 232 214 / .06)); width: 1px; left: 18px; }
.tl-n { background: radial-gradient(circle at 30% 25%, #2b3a2c, #141b15); color: var(--brass-hi); border: 1px solid rgb(220 181 99 / .45); box-shadow: 0 0 0 4px rgb(220 181 99 / .07), 0 8px 20px -8px rgb(0 0 0 / .8); font: 600 .74rem/1 var(--font-mono); }
.tl-k { font: 500 .64rem/1.4 var(--font-mono); letter-spacing: .12em; color: var(--sage); }
.tl-name { font: 680 1.14rem/1.3 var(--font-head); letter-spacing: -0.02em; color: var(--ink); }
.tl-text { color: var(--muted); }
.tl-coins li, .tl-places li { border-color: var(--line-2); background: rgb(239 232 214 / .03); color: var(--ink-2); }
.tl-eta-h { color: var(--muted); font-size: .62rem; letter-spacing: .1em; }
.tl-eta div { border-bottom-color: var(--line-2); font-size: .74rem; }
.tl-eta dt { color: var(--ink-2); }
.tl-cmd code { background: var(--night-3); border-color: var(--line-2); color: var(--brass-hi); }
@media (min-width: 960px) {
  .tl-step::before { left: 46px; height: 1px; width: auto; background: linear-gradient(90deg, rgb(220 181 99 / .55), rgb(239 232 214 / .06)); }
}
.cfg-o { background: rgb(239 232 214 / .03); border-color: var(--line-2); border-radius: var(--r-sm); }
.cfg-opt:has(input:checked) .cfg-o { border-color: var(--brass); box-shadow: 0 0 0 1px var(--brass), 0 10px 30px -18px rgb(220 181 99 / .6); background: rgb(220 181 99 / .06); }
.cfg-opt input { background: var(--night); border-color: var(--line-3); }
.cfg-opt input:checked { border-color: var(--brass); background: radial-gradient(circle, var(--brass) 0 4px, var(--night) 4.5px); }
.cfg-n { background: var(--brass-dim); color: var(--brass-hi); font-family: var(--font-mono); }
.cfg-legend { font-family: var(--font-mono); font-weight: 500; font-size: .7rem; letter-spacing: .1em; color: var(--ink-2); }
.cfg-sum { border: 1px solid transparent; border-radius: var(--r); background: linear-gradient(var(--glass-2), var(--glass-2)) padding-box, var(--edge-hot) border-box; box-shadow: var(--glow); }
.cfg-o-off.is-off { color: var(--sage); }

/* ---------------------------------------------------------------- band (trust row) */
.band { background: #0c120f; box-shadow: 0 0 0 100vmax #0c120f; padding: 56px 0 40px; margin: 64px 0; }
/* hairlines across the whole width: a border image painted outside the box is ink overflow, so it never widens the page */
.band { border-block: 1px solid transparent; border-image: linear-gradient(90deg, transparent, rgb(220 181 99 / .28) 30%, rgb(169 195 160 / .22) 70%, transparent) 1; border-image-outset: 0 100vmax; }
.trust-sec h2, .band h2 { margin-top: 0; }
.trust { gap: 14px; }
.trust > li, .band .trust > li { padding: 20px 20px 18px; border: 1px solid transparent; border-radius: var(--r); background: linear-gradient(rgb(20 28 21 / .8), rgb(20 28 21 / .8)) padding-box, var(--edge) border-box; box-shadow: var(--glow); transition: translate .35s var(--ease); }
.trust > li:hover { translate: 0 -3px; }
.trust-ic { width: 42px; height: 42px; border-radius: 13px; color: var(--brass-hi); background: linear-gradient(160deg, rgb(220 181 99 / .2), rgb(220 181 99 / .04)); border: 1px solid rgb(220 181 99 / .28); }
.trust-t { color: var(--ink); font-weight: 680; letter-spacing: -0.01em; }
.trust-d { color: var(--muted); }
.band .card, .band .plan, .band .stat, .band .table-wrap, .band .coins li, .band .rank { background-color: transparent; }

/* ---------------------------------------------------------------- faq, folds, facts, tables */
.faq-item { border-bottom: 1px solid var(--line); padding: 10px 0 14px; }
.faq-item h3 { font-size: 1.12rem; font-weight: 660; color: var(--ink); }
.faq-a { color: var(--ink-2); }
.fold { border: 1px solid var(--line-2); border-radius: var(--r); background: rgb(239 232 214 / .02); overflow: hidden; }
.fold > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 650 1.02rem/1.3 var(--font-head); color: var(--ink); padding: 16px 20px; transition: background-color .25s var(--ease); }
.fold > summary::-webkit-details-marker { display: none; }
.fold > summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass); transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); }
.fold[open] > summary::after { transform: rotate(225deg) translateY(-2px); }
.fold > summary:hover { background: rgb(239 232 214 / .03); color: var(--brass-hi); }
.fold[open] > summary { border-bottom-color: var(--line); }
.facts-table th { color: var(--muted); font-weight: 520; }
.facts-table td { color: var(--ink-2); }
.facts-table th, .facts-table td { border-bottom-color: var(--line); }
.table-wrap { border: 1px solid var(--line-2); border-radius: var(--r); background: rgb(239 232 214 / .02); box-shadow: none; }
.tbl thead th { background: rgb(239 232 214 / .04); color: var(--muted); font: 500 .64rem/1.4 var(--font-mono); letter-spacing: .1em; }
.tbl th, .tbl td { border-bottom-color: var(--line); color: var(--ink-2); }
.tbl tbody th { color: var(--ink); }
.tbl :where(tbody tr:nth-child(even)) { background: rgb(239 232 214 / .018); }
.tbl :where(tbody tr):hover { background: rgb(220 181 99 / .05); }
.tbl tr.hl { background: rgb(220 181 99 / .08); }
.tbl tr.hl th { color: var(--brass-hi); }
.tbl tr.hl th:first-child { box-shadow: inset 3px 0 0 var(--brass); }
.tbl caption, .table-note, .checked { color: var(--muted); }
.checked { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .02em; }
.yes { color: #a3d39b; }
.no { color: #d9a294; }

/* ---------------------------------------------------------------- other blocks */
.callout { border: 1px solid var(--line-2); border-radius: var(--r); background: rgb(239 232 214 / .03); color: var(--ink-2); }
.callout.warn { background: rgb(220 181 99 / .07); border-color: rgb(220 181 99 / .35); }
.callout.success { background: rgb(169 195 160 / .07); border-color: rgb(169 195 160 / .3); }
.callout-h { color: var(--ink); }
.step-list > li::before { background: radial-gradient(circle at 30% 25%, #2b3a2c, #141b15); color: var(--brass-hi); border: 1px solid rgb(220 181 99 / .4); font: 600 .78rem/1 var(--font-mono); }
.step-name { color: var(--ink); }
.stat { border: 1px solid transparent; border-radius: var(--r); background: linear-gradient(var(--glass), var(--glass)) padding-box, var(--edge) border-box; box-shadow: var(--glow); }
.stat-v { color: var(--brass-hi); font-weight: 740; letter-spacing: -0.04em; }
.stat-l { color: var(--ink); }
.stat-n { color: var(--muted); }
.code { background: var(--night-3); border-color: var(--line-2); border-radius: var(--r-sm); }
.code figcaption { background: rgb(239 232 214 / .03); border-bottom-color: var(--line); color: var(--muted); }
.code code { color: #e9e2cf; font-size: .8rem; }
.copy { background: var(--moss-3); color: var(--ink-2); font-family: var(--font-mono); }
.cta { position: relative; overflow: hidden; border: 1px solid transparent; border-radius: var(--r-lg); padding: 34px 36px; background: radial-gradient(80% 140% at 100% 0%, rgb(220 181 99 / .22), transparent 60%) padding-box, linear-gradient(135deg, #1b2419, #121912) padding-box, var(--edge-hot) border-box; color: var(--ink-2); box-shadow: var(--glow); }
.cta::after { content: ""; position: absolute; right: 0; bottom: 0; width: 38%; height: 100%; background: var(--sediment); -webkit-mask-image: linear-gradient(100deg, transparent, #000); mask-image: linear-gradient(100deg, transparent, #000); opacity: .6; pointer-events: none; }
.cta > * { position: relative; z-index: 1; }
.cta-h { color: var(--ink); font-weight: 720; letter-spacing: -0.03em; font-size: 1.6rem; }
.cta .btn-primary { background: var(--brass-grad); color: #191307; box-shadow: inset 0 1px 0 rgb(255 255 255 / .55), 0 12px 28px -12px rgb(220 181 99 / .6); }
.cta .btn-primary:hover { background: var(--brass-grad); color: #191307; }
.cta .btn-ghost { color: var(--ink); border-color: var(--line-3); }
.cta > .trust-strip { color: var(--muted); }
.related-list li { border: 1px solid transparent; border-radius: var(--r-sm); background: linear-gradient(var(--glass), var(--glass)) padding-box, var(--edge) border-box; transition: translate .3s var(--ease); }
.related-list li:hover { translate: 0 -2px; }
.related-list a { color: var(--ink); }
.related-list a:hover { color: var(--brass-hi); }
.related-list p { color: var(--muted); }
.about-box { background: rgb(239 232 214 / .03); border: 1px solid var(--line); border-radius: var(--r); color: var(--muted); }
.about-h { color: var(--ink); }
.sources ol { color: var(--muted); }
.sources a { color: var(--ink-2); }
.coins li { border-color: var(--line-2); border-radius: var(--r-sm); background: rgb(239 232 214 / .03); }
.coin-code { color: var(--brass-hi); }
.method { background: rgb(239 232 214 / .03); border-left-color: var(--brass); color: var(--ink-2); }
.rank { border-color: var(--line-2); border-radius: var(--r); background: rgb(239 232 214 / .02); }
.rank.self { border-color: rgb(220 181 99 / .6); background: rgb(220 181 99 / .05); }
.rank-n { background: var(--brass-grad); color: #191307; font-family: var(--font-mono); }
.def { border-bottom-color: var(--line); }
.def dt { color: var(--ink); }
.lg-group { color: var(--muted); font-family: var(--font-mono); font-weight: 500; font-size: .7rem; }

/* ---------------------------------------------------------------- footer: the five strata as a signature line */
.ftr { position: relative; margin-top: 96px; background: linear-gradient(180deg, #0b100c, #070a08); border-top: 0; color: var(--muted); }
.ftr::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, #a4ae85 0 4%, #966641 4% 11%, #4f5b4b 11% 24%, #5a4f43 24% 50%, #34402f 50% 100%); opacity: .95; }
.ftr::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: rgb(239 232 214 / .08); }
.f-desc { color: var(--muted); }
.f-h { color: var(--ink); font: 500 .66rem/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; }
.f-col a { color: var(--muted); transition: color .2s var(--ease); }
.f-col a:hover { color: var(--brass-hi); }
.f-contact-h { color: var(--ink); }
.f-pay { border-top-color: var(--line); }
.f-pay-h { color: var(--ink); font-family: var(--font-mono); font-weight: 500; font-size: .66rem; letter-spacing: .12em; }
.coins-mini li { background: rgb(239 232 214 / .04); border-color: var(--line-2); color: var(--ink-2); font-family: var(--font-mono); font-weight: 500; }
.f-bottom { border-top-color: var(--line); color: rgb(170 179 161 / .9); font-size: .8rem; }

/* ---------------------------------------------------------------- phone buy bar */
@media (max-width: 760px) {
  .sticky-cta { background: rgb(11 16 12 / .88); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-top: 1px solid var(--line-2); box-shadow: 0 -20px 40px -20px rgb(0 0 0 / .8); }
  .sc-note { color: var(--ink-2); }
}

/* ---------------------------------------------------------------- phones and tablets */
@media (max-width: 959px) {
  .page-head.hero { padding: 48px 0 24px; }
  .hero-visual { margin-top: 36px; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .page-head.hero h1 { font-size: clamp(2.35rem, 10.5vw, 3rem); line-height: 1; }
  .page-head h1 { font-size: clamp(2rem, 8.6vw, 2.6rem); }
  .page-head.hero .lede { font-size: 1.08rem; }
  h2 { font-size: clamp(1.6rem, 7vw, 2rem); margin-top: 2em; }
  .quick-answer { padding: 18px 18px 16px 20px; }
  .card { padding: 20px 18px 8px; }
  .plan { padding: 28px 18px 18px; }
  .plan-price { font-size: 2.3rem; }
  :root .plan-terms, :root .ts-billed, :root .ts-per { font-size: 13px; }
  :root .ts-opt { font-size: 15px; }
  :root .ts-off { font-size: 12px; }
  :root .ts-legend, :root .tl-k, :root .tl-eta-h, :root .f-h, :root .cvs-axis { font-size: 12px; letter-spacing: .06em; }
  :root .tl-eta div { font-size: 13px; }
  .band { padding: 44px 0 30px; margin: 48px 0; }
  .cta { padding: 26px 20px; }
  .cta::after { display: none; }
  .ftr { margin-top: 70px; }
}
@media (max-width: 420px) {
  .hero-btns .btn { flex: 1 1 100%; }
  /* "Iniciar sesión", "Se connecter": the header row keeps the logo, login and menu on one 375 px line */
  .hdr-in { gap: 12px; }
  .hdr-login { font-size: .9rem; }
}
@media (max-width: 760px) {
  .trust-strip.ts-hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 14px; }
  .trust-strip.ts-hero a, .trust-strip.ts-hero li > span { line-height: 1.3; }
}

/* ---------------------------------------------------------------- motion: the strata grow in, panels rise as they enter */
@media (prefers-reduced-motion: no-preference) {
  .hero-main > * { animation: cv-rise .9s var(--ease) both; }
  .hero-main > :nth-child(2) { animation-delay: .06s; }
  .hero-main > :nth-child(3) { animation-delay: .12s; }
  .hero-main > :nth-child(n + 4) { animation-delay: .18s; }
  .hero-strata { animation: cv-rise 1s .1s var(--ease) both; }
  .cvs-band { transform-origin: left center; animation: cv-grow .9s calc(.35s + var(--i) * .09s) var(--ease) both; }
  .cvs-card { animation: cv-slide .8s calc(.45s + var(--i) * .09s) var(--ease) both; }
  .cvs-lead path { stroke-dasharray: 200; animation: cv-draw 1.1s calc(.55s + var(--i) * .09s) var(--ease) both; }
  .cvs-coffer { animation: cv-drop 1s .25s var(--ease) both; }
  @supports (animation-timeline: view()) {
    :is(.content > section, .content > .band > section, .content > .fold) { animation: cv-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 24%; }
    :is(.cards .card, .plans .plan, .trust > li, .tl-step) { animation: cv-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
  }
}
@keyframes cv-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes cv-grow { from { transform: scaleX(.15); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes cv-slide { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
@keyframes cv-draw { from { stroke-dashoffset: 200; } to { stroke-dashoffset: 0; } }
@keyframes cv-drop { from { opacity: 0; transform: translate(-50%, -14px); } to { opacity: 1; transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .card:hover, .plan:hover, .plan.popular, .plan.popular:hover, .trust > li:hover, .related-list li:hover { translate: none; transform: none; }
  .cvs-l > a:hover .cvs-card { transform: none; }
}

/* ---------------------------------------------------------------- round 3: reading widths, page titles, the plan picker */
.t-pricing .quick-answer, .t-pricing .toc, .t-pricing .page-head .lede { max-width: 880px; }
.page-head h1 { background: linear-gradient(176deg, #fbf5e6 10%, #efe4c8 60%, #d5c39a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.cfg-plans .cfg-opts { grid-template-columns: repeat(auto-fill, minmax(min(100%, 148px), 1fr)); }
.cfg-o-spec { text-wrap: balance; }

/* phones: the plan cards become a row you swipe, the next card peeking in, instead of a column five cards long */
@media (max-width: 640px) {
  .pricing .plans { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; margin: 0 -16px; padding: 18px 16px 10px; scrollbar-width: none; }
  .pricing .plans::-webkit-scrollbar { display: none; }
  .pricing .plans > .plan { flex: 0 0 84%; scroll-snap-align: start; }
  .pricing .plans > .plan.popular { translate: none; }
  .pricing .plans:has(> .plan:nth-child(2))::after { content: ""; flex: 0 0 4px; }
}
/* small figures inside the plan cards: lighter than the muted tone, so they keep AA contrast over the brass-lit cards */
.plan .ts-per { color: var(--ink); }
.plan .ts-billed, .plan-features li:last-child { color: #d9d2bf; }
/* phones: the kicker keeps one line in the text face (the 15 px floor makes the wide mono face wrap) */
@media (max-width: 760px) { :root .kicker { font-family: var(--font-body); font-weight: 600; letter-spacing: .07em; } }

/* 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; }
