/* 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%; }
}
/* GEO v3 (13/11/2026): every table has a <caption>; the facts table repeats its heading, so its caption is for robots and screen readers only */
.facts-table caption,.hc-tbl caption,.hpo-ledger caption,.trv-tbl caption{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* Hallmark · custom direction "Two currencies, one price tag" · CoinDomainKR 2026-12-02 · genre modern-minimal · signature: the hero price panel, every extension in US$ with its won equivalent under it */
/* critique: one signal (deep coral-rose #c81c4c) on white; dollars carry the weight, won sit under them in muted ink; Korean set with keep-all and open line height; depth from one hairline and three shadows, never from gradients behind text */
/* waive 48: engine selectors keep their own vars (--accent, --bg…) mapped from site.json theme; literal colours live in the token block only */
/* v3 system: 6 type sizes, 8 px spacing grid, 3 shadows, 2 radii (card, control) */
@font-face { font-family: "CDK Sans"; font-style: normal; font-weight: 600 900; font-display: optional; src: url(/fonts/cdk-sans.woff2) format("woff2"); }

:root {
  color-scheme: light;
  --kd-bg: #fdfafb;
  --kd-paper: #ffffff;
  --kd-tint: #f8eef1;
  --kd-tint-2: #fbf3f5;
  --kd-ink: #22161b;
  --kd-ink-2: #463a3f;
  --kd-muted: #66545b;
  --kd-rule: #eadbe0;
  --kd-rule-2: #f2e7ea;
  --kd-rose: #c81c4c;
  --kd-rose-2: #9f1239;
  --kd-rose-ink: #fffafb;
  --kd-rose-a1: rgb(200 28 76 / .05);
  --kd-rose-a2: rgb(200 28 76 / .1);
  --kd-rose-a3: rgb(200 28 76 / .28);
  --kd-yes: #0f7b55;
  --kd-no: #b42318;
  --kd-night: #1f1418;
  --kd-night-2: #2c1d23;
  --kd-night-ink: #f6eef1;
  --kd-night-muted: #c3adb5;
  --kd-shade: rgb(60 20 34 / .14);
  --kd-shade-2: rgb(60 20 34 / .08);
  --kd-sans: "CDK Sans", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  --kd-text: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  --kd-num: "CDK Sans", ui-sans-serif, system-ui, sans-serif;
  --t-xs: .8125rem;
  --t-sm: .9375rem;
  --t-md: 1.0625rem;
  --t-lg: clamp(1.15rem, 1.02rem + .45vw, 1.375rem);
  --t-xl: clamp(1.55rem, 1.15rem + 1.4vw, 2.25rem);
  --t-2xl: clamp(2.1rem, 1.35rem + 3vw, 3.6rem);
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --r-card: 14px;
  --r-ctl: 8px;
  --sh-1: 0 1px 2px var(--kd-shade-2);
  --sh-2: 0 1px 2px var(--kd-shade-2), 0 12px 32px -18px var(--kd-shade);
  --sh-3: 0 2px 4px var(--kd-shade-2), 0 32px 80px -36px var(--kd-shade);
  --wrap: 1180px;
  --radius: 14px;
}

/* base */
html, body { overflow-x: clip; }
body { background: var(--kd-bg); color: var(--kd-ink); font: 400 var(--t-md)/1.8 var(--kd-text); word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; font-feature-settings: "tnum" 1; }
h1, h2, h3, .cta-h, .logo-txt { font-family: var(--kd-sans); color: var(--kd-ink); letter-spacing: -.02em; overflow-wrap: break-word; min-width: 0; word-break: keep-all; }
h1 { font-weight: 760; line-height: 1.25; }
h2 { font-weight: 720; font-size: var(--t-xl); line-height: 1.32; margin-top: 2em; }
h3 { font-weight: 680; font-size: var(--t-lg); line-height: 1.4; letter-spacing: -.012em; }
p, li { text-wrap: pretty; }
a { color: var(--kd-rose-2); text-decoration-color: var(--kd-rose-a3); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--kd-rose); text-decoration-color: var(--kd-rose); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, select:focus-visible, .table-wrap:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--kd-rose); outline-offset: 2px; transition: none; }
strong { color: var(--kd-ink); font-weight: 680; }
code, kbd, pre { font-size: .9em; }
::selection { background: var(--kd-rose); color: var(--kd-rose-ink); }

/* header */
.hdr { background: color-mix(in srgb, var(--kd-paper) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--kd-rule-2); box-shadow: none; }
.hdr-in { min-height: 64px; }
.logo { gap: var(--s-2); color: var(--kd-ink); text-decoration: none; }
.logo-mark { width: 30px; height: 30px; border-radius: var(--r-ctl); background: var(--kd-rose); color: var(--kd-rose-ink); font: 800 var(--t-sm)/1 var(--kd-sans); }
.logo-txt { font-weight: 760; font-size: var(--t-md); letter-spacing: -.015em; }
.nav a { color: var(--kd-ink-2); font-weight: 520; font-size: var(--t-sm); border-radius: var(--r-ctl); }
.nav a:hover, .nav a[aria-current] { color: var(--kd-ink); background: var(--kd-tint); }
.hdr-login { color: var(--kd-muted); font-weight: 500; }

/* buttons: one primary style */
.btn { border-radius: var(--r-ctl); font-weight: 680; letter-spacing: -.005em; transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--kd-rose); color: var(--kd-rose-ink); box-shadow: var(--sh-1); border: 0; }
.btn-primary:hover { background: var(--kd-rose-2); color: var(--kd-rose-ink); }
.btn-ghost { background: var(--kd-paper); color: var(--kd-ink); border: 1px solid var(--kd-rule); }
.btn-ghost:hover { border-color: var(--kd-rose-a3); color: var(--kd-rose-2); background: var(--kd-tint-2); }
.hdr-cta { white-space: nowrap; }

/* the dual price: dollars first, won under them */
.kd-dual { display: inline-flex; flex-direction: column; line-height: 1.15; font-variant-numeric: tabular-nums; }
.kd-dual b { font: 740 var(--t-lg)/1.15 var(--kd-num); color: var(--kd-ink); letter-spacing: -.02em; }
.kd-dual small { font-size: var(--t-xs); color: var(--kd-muted); font-weight: 500; margin-top: 2px; }

/* page head of content pages, with a price card */
.crumbs ol { font-size: var(--t-xs); line-height: 1.5; }
.crumbs a { color: var(--kd-muted); }
.page-head { padding-top: var(--s-7); padding-bottom: var(--s-5); border-bottom: 1px solid var(--kd-rule-2); margin-bottom: var(--s-6); }
.page-head h1 { font-size: var(--t-xl); max-width: 26ch; }
.lede { color: var(--kd-ink-2); font-size: var(--t-md); }
.meta { color: var(--kd-muted); font-size: var(--t-xs); letter-spacing: 0; }
.kicker { background: none; color: var(--kd-rose-2); text-transform: none; letter-spacing: 0; font: 600 var(--t-xs)/1.4 var(--kd-text); padding: 0; }
.page-head.kd-ph { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: var(--s-6); align-items: start; }
.kd-ph-t { min-width: 0; }
.kd-ph-card { padding: var(--s-4) var(--s-5) var(--s-5); border: 1px solid var(--kd-rule); border-top: 3px solid var(--kd-rose); border-radius: var(--r-card); background: var(--kd-paper); box-shadow: var(--sh-2); }
.kd-ph-k { margin: 0 0 var(--s-1); font-size: var(--t-xs); color: var(--kd-muted); }
.kd-ph-p b { font-size: var(--t-xl); }
.kd-ph-card dl { margin: var(--s-4) 0; display: grid; gap: var(--s-1); }
.kd-ph-card dl div { display: flex; justify-content: space-between; gap: var(--s-3); padding: var(--s-1) 0; border-top: 1px solid var(--kd-rule-2); font-size: var(--t-xs); }
.kd-ph-card dt { color: var(--kd-muted); }
.kd-ph-card dd { margin: 0; font-weight: 650; color: var(--kd-ink); text-align: right; }
.kd-ph-card .btn { width: 100%; justify-content: center; }

/* face to face on /vs/ pages */
.page-head.kd-ph-vs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.kd-f2f { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-2); }
.kd-f2f-c { padding: var(--s-4); border: 1px solid var(--kd-rule); border-radius: var(--r-card); background: var(--kd-paper); }
.kd-f2f-c.us { border-color: var(--kd-rose-a3); box-shadow: var(--sh-2); background: linear-gradient(180deg, var(--kd-rose-a1), var(--kd-paper) 60%); }
.kd-f2f-b { margin: 0 0 var(--s-2); font-weight: 720; font-size: var(--t-sm); color: var(--kd-ink); }
.kd-f2f-c.us .kd-f2f-b { color: var(--kd-rose-2); }
.kd-f2f-p { margin: 0 0 var(--s-3); font: 760 var(--t-xl)/1.1 var(--kd-num); letter-spacing: -.025em; color: var(--kd-ink); }
.kd-f2f-p small { display: block; margin-top: var(--s-1); font-size: var(--t-xs); font-weight: 500; letter-spacing: 0; color: var(--kd-muted); }
.kd-f2f ul { list-style: none; margin: 0; padding: 0; }
.kd-f2f li { display: flex; justify-content: space-between; gap: var(--s-2); padding: var(--s-1) 0; border-top: 1px solid var(--kd-rule-2); font-size: var(--t-xs); }
.kd-f2f li span { color: var(--kd-muted); }
.kd-f2f li b { font-weight: 650; text-align: right; }
.kd-f2f li b.y { color: var(--kd-yes); }
.kd-f2f li b.n { color: var(--kd-no); }

/* ================= home hero: copy and search, price panel ================= */
.page-head.kd-hero { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-7); align-items: center; padding: var(--s-8) 0; text-align: left; border-bottom: 0; margin-bottom: var(--s-5); }
.kd-hero-copy { min-width: 0; }
.kd-hero h1 { font-size: var(--t-2xl); max-width: 14ch; margin: 0; font-weight: 800; line-height: 1.18; letter-spacing: -.035em; }
.kd-hero .lede { margin: var(--s-4) 0 0; max-width: 34ch; color: var(--kd-ink-2); font-size: var(--t-lg); line-height: 1.65; }
.kd-hero .ds-hero { margin: var(--s-5) 0 0; max-width: 540px; }
.ds-hero .ds-form { display: flex; gap: var(--s-2); padding: var(--s-2); border: 1px solid var(--kd-rule); border-radius: var(--r-card); background: var(--kd-paper); box-shadow: var(--sh-3); }
.ds-hero .ds-form:focus-within { border-color: var(--kd-rose-a3); box-shadow: 0 0 0 4px var(--kd-rose-a2), var(--sh-3); }
.ds-hero input[type="search"] { flex: 1; min-width: 0; min-height: 56px; padding: 0 var(--s-4); border: 0; background: transparent; color: var(--kd-ink); font: 560 var(--t-lg)/1 var(--kd-text); }
.ds-hero input[type="search"]::placeholder { color: var(--kd-muted); }
.ds-hero input[type="search"]:focus-visible { outline: none; }
.ds-hero .ds-form .btn { width: auto; flex: 0 0 auto; min-height: 56px; padding: 0 var(--s-5); }
.ds-pop { margin-top: var(--s-3); }
.ds-pop-h { font-size: var(--t-xs); color: var(--kd-muted); text-transform: none; letter-spacing: 0; font-weight: 500; margin: 0 0 var(--s-2); }
.ds-pop ul { display: flex; flex-wrap: wrap; gap: var(--s-1); padding: 0; margin: 0; list-style: none; }
.ds-pop li { margin: 0; }
.ds-pop li > *, .ds-pop li a, .ds-pop li span[data-tld] { display: inline-flex; gap: var(--s-2); align-items: baseline; min-height: 36px; padding: var(--s-2) var(--s-3); border: 1px solid var(--kd-rule); border-radius: var(--r-ctl) !important; background: var(--kd-paper); font-size: var(--t-sm); line-height: 1.3; color: var(--kd-ink-2); text-decoration: none; }
.ds-pop li strong { color: var(--kd-rose-2); font-weight: 700; }

.kd-hero-v { min-width: 0; }
.kd-panel { border: 1px solid var(--kd-rule); border-radius: var(--r-card); background: var(--kd-paper); box-shadow: var(--sh-3); overflow: hidden; }
.kd-panel-h { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--kd-rule-2); background: var(--kd-tint-2); }
.kd-panel-q { margin: 0; font: 760 var(--t-lg)/1.2 var(--kd-text); color: var(--kd-ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.kd-panel-q [data-k="q"] { color: var(--kd-rose-2); }
.kd-panel-q span:last-child { font-weight: 500; color: var(--kd-muted); font-size: var(--t-sm); margin-left: var(--s-1); }
.kd-panel-dot { display: none; }
.kd-panel-t { margin: 0; font-size: var(--t-xs); color: var(--kd-muted); }
.kd-res { list-style: none; margin: 0; padding: var(--s-1) var(--s-3); }
.kd-res li { display: grid; grid-template-columns: minmax(0, 1fr) auto 72px; align-items: center; gap: var(--s-4); padding: var(--s-3) var(--s-2); margin: 0; animation: kd-in .45s ease backwards; animation-delay: calc(var(--i) * 70ms + 120ms); }
.kd-res li + li { border-top: 1px solid var(--kd-rule-2); }
.kd-res-n { color: var(--kd-ink); font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: var(--t-md); }
.kd-res-n b { font-weight: 500; color: var(--kd-muted); }
.kd-res-p { text-align: right; align-items: flex-end; }
.kd-res-p b { font-size: var(--t-md); }
.kd-res-a { display: inline-flex; justify-content: center; padding: var(--s-1) 0; border-radius: var(--r-ctl); border: 1px solid var(--kd-rose-a3); color: var(--kd-rose-2); font-size: var(--t-xs); font-weight: 650; text-decoration: none; }
.kd-res-a:hover { background: var(--kd-rose); border-color: var(--kd-rose); color: var(--kd-rose-ink); }
.kd-res li:first-child .kd-res-a { background: var(--kd-rose); border-color: var(--kd-rose); color: var(--kd-rose-ink); }
.kd-panel-f { display: flex; justify-content: space-between; gap: var(--s-2); flex-wrap: wrap; margin: 0; padding: var(--s-3) var(--s-5); border-top: 1px solid var(--kd-rule-2); font-size: var(--t-xs); color: var(--kd-muted); }
@keyframes kd-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* coin strip */
.kd-coins { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; margin: 0 0 var(--s-8); padding: var(--s-4) var(--s-5); border: 1px solid var(--kd-rule); border-radius: var(--r-card); background: var(--kd-paper); }
.kd-coins-l { margin: 0; font-size: var(--t-sm); font-weight: 650; color: var(--kd-ink); }
.kd-coins ul { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); list-style: none; margin: 0; padding: 0; }
.kd-coins li { display: inline-flex; align-items: center; gap: var(--s-2); margin: 0; font-size: var(--t-sm); color: var(--kd-ink-2); }
.kd-coins li svg { color: var(--kd-rose); flex: none; }
.kd-coins li b { font-weight: 500; font-size: var(--t-xs); color: var(--kd-muted); }
.kd-coins-n { flex-basis: 100%; margin: 0; font-size: var(--t-xs); color: var(--kd-muted); }

/* intro lines of custom blocks */
.kd-intro { max-width: 62ch; color: var(--kd-ink-2); }
.kd-note { font-size: var(--t-xs); color: var(--kd-muted); max-width: 72ch; }

/* bento */
.kd-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); margin-top: var(--s-5); }
.kd-cell { display: flex; flex-direction: column; padding: var(--s-5); border: 1px solid var(--kd-rule); border-radius: var(--r-card); background: var(--kd-paper); box-shadow: var(--sh-1); min-width: 0; }
.kd-cell.is-wide { grid-column: span 2; }
.kd-cell h3 { margin: var(--s-4) 0 var(--s-2); font-size: var(--t-lg); }
.kd-cell p { margin: 0; color: var(--kd-ink-2); font-size: var(--t-sm); line-height: 1.75; }
.kd-cell-a { margin-top: auto; padding-top: var(--s-4); font-size: var(--t-sm); font-weight: 650; }
.kd-mv { display: grid; gap: var(--s-1); padding: var(--s-3); border-radius: var(--r-ctl); background: var(--kd-tint-2); border: 1px solid var(--kd-rule-2); font-size: var(--t-xs); }
.kd-mv span { display: flex; justify-content: space-between; gap: var(--s-2); }
.kd-mv i { font-style: normal; color: var(--kd-muted); }
.kd-mv em { font-style: normal; color: var(--kd-rose-2); font-weight: 650; }
.kd-mv b { font-weight: 720; color: var(--kd-ink); font-variant-numeric: tabular-nums; }
.kd-mv .ok i, .kd-mv .ok em, .kd-mv .ok b { color: var(--kd-yes); }
.kd-mv-form span i { text-decoration: line-through; text-decoration-color: var(--kd-rose-a3); }
.kd-mv-form span.ok i { text-decoration: none; }
.kd-mv-won .k b { color: var(--kd-rose-2); }
.kd-mv-won .x b { color: var(--kd-muted); font-weight: 600; }
.kd-mv-confirm { gap: var(--s-2); }
.kd-mv-confirm .t { font-weight: 700; color: var(--kd-ink); }
.kd-mv-confirm .bar { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; }
.kd-mv-confirm .bar i { display: block; height: 8px; border-radius: 2px; background: var(--kd-rose); }
.kd-mv-confirm .bar i:nth-child(n+8) { background: var(--kd-rose-a3); }
.kd-mv-confirm .s { color: var(--kd-muted); }
.kd-mv-code b { font-weight: 650; letter-spacing: .02em; }
.kd-mv-chips { display: flex; flex-wrap: wrap; gap: var(--s-1); }
.kd-mv-chips span { display: inline-block; padding: 2px var(--s-2); border-radius: var(--r-ctl); background: var(--kd-paper); border: 1px solid var(--kd-rule); font-weight: 650; color: var(--kd-ink); }
.kd-mv-chips span.x { color: var(--kd-muted); text-decoration: line-through; font-weight: 500; }

/* extension cards */
.kd-tlds { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); list-style: none; margin: var(--s-5) 0 0; padding: 0; }
.kd-tlds li { margin: 0; }
.kd-tlds a { display: flex; flex-direction: column; gap: var(--s-2); height: 100%; padding: var(--s-4); border: 1px solid var(--kd-rule); border-radius: var(--r-card); background: var(--kd-paper); color: var(--kd-ink); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.kd-tlds a:hover { border-color: var(--kd-rose-a3); box-shadow: var(--sh-2); transform: translateY(-2px); color: var(--kd-ink); }
.kd-tld { font: 800 var(--t-xl)/1 var(--kd-sans); letter-spacing: -.03em; color: var(--kd-rose-2); }
.kd-tld-n { font-size: var(--t-xs); color: var(--kd-muted); line-height: 1.5; }

/* offer cards */
.kd-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-4); margin-top: var(--s-5); align-items: stretch; }
.kd-plan { display: flex; flex-direction: column; padding: var(--s-5); border: 1px solid var(--kd-rule); border-radius: var(--r-card); background: var(--kd-paper); }
.kd-plan.is-featured { border: 2px solid var(--kd-rose); box-shadow: var(--sh-3); }
.kd-plan-tag { align-self: flex-start; margin: 0 0 var(--s-2); padding: 2px var(--s-2); border-radius: var(--r-ctl); background: var(--kd-rose-a2); color: var(--kd-rose-2); font-size: var(--t-xs); font-weight: 680; }
.kd-plan h3 { margin: 0 0 var(--s-2); }
.kd-plan-p { margin: 0; display: flex; align-items: baseline; gap: var(--s-2); flex-wrap: wrap; }
.kd-plan-p b { font: 800 var(--t-xl)/1 var(--kd-num); letter-spacing: -.03em; }
.kd-plan-p span { font-size: var(--t-xs); color: var(--kd-muted); }
.kd-plan-k { margin: var(--s-1) 0 0; font-size: var(--t-xs); color: var(--kd-muted); }
.kd-plan ul { margin: var(--s-4) 0 var(--s-5); padding-left: 1.2em; font-size: var(--t-sm); color: var(--kd-ink-2); }
.kd-plan li { margin: var(--s-1) 0; }
.kd-plan li::marker { color: var(--kd-rose); }
.kd-plan .btn { margin-top: auto; justify-content: center; }

/* market bars, in won */
.kd-bars { margin: var(--s-5) 0 0; padding: var(--s-5); border: 1px solid var(--kd-rule); border-radius: var(--r-card); background: var(--kd-paper); }
.kd-bars ol { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.kd-bars li { display: grid; grid-template-columns: 170px minmax(0, 1fr) 150px; grid-template-areas: "n b v" ". x x"; align-items: center; gap: var(--s-1) var(--s-4); margin: 0; }
.kd-bars .n { grid-area: n; font-size: var(--t-sm); font-weight: 650; color: var(--kd-ink); }
.kd-bars .b { grid-area: b; height: 12px; border-radius: 3px; background: var(--kd-rule-2); overflow: hidden; }
.kd-bars .b i { display: block; height: 100%; width: var(--w); background: var(--kd-muted); border-radius: 3px; }
.kd-bars li.us .b i { background: var(--kd-rose); }
.kd-bars li.us .n { color: var(--kd-rose-2); }
.kd-bars .v { grid-area: v; text-align: right; font-weight: 700; font-size: var(--t-sm); font-variant-numeric: tabular-nums; }
.kd-bars .v em { font-style: normal; font-weight: 600; font-size: var(--t-xs); }
.kd-bars .v em.pos { color: var(--kd-no); }
.kd-bars .v em.neg { color: var(--kd-yes); }
.kd-bars .x { grid-area: x; font-size: var(--t-xs); color: var(--kd-muted); }
.kd-bars figcaption { margin-top: var(--s-4); font-size: var(--t-xs); color: var(--kd-muted); }

/* cart simulator */
.kd-cart { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s-5); margin-top: var(--s-5); padding: var(--s-5); border: 1px solid var(--kd-rule); border-radius: var(--r-card); background: var(--kd-paper); box-shadow: var(--sh-1); }
.kd-cart-f { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); align-content: start; }
.kd-cart-f label { display: grid; gap: var(--s-1); font-size: var(--t-xs); color: var(--kd-muted); font-weight: 600; }
.kd-cart-f select, .kd-cart-f input[type="number"] { min-height: 44px; padding: 0 var(--s-3); border: 1px solid var(--kd-rule); border-radius: var(--r-ctl); background: var(--kd-paper); color: var(--kd-ink); font: 560 var(--t-sm)/1 var(--kd-text); }
.kd-cart-f .kd-cart-c { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--s-2); font-size: var(--t-sm); color: var(--kd-ink-2); font-weight: 500; }
.kd-cart input[type="checkbox"] { accent-color: var(--kd-rose); width: 18px; height: 18px; }
.kd-cart-o { display: flex; flex-direction: column; gap: var(--s-1); padding: var(--s-5); border-radius: var(--r-ctl); background: var(--kd-tint-2); border: 1px solid var(--kd-rule-2); }
.kd-cart-o span { font-size: var(--t-xs); color: var(--kd-muted); }
.kd-cart-o b { font: 800 var(--t-2xl)/1 var(--kd-num); letter-spacing: -.035em; color: var(--kd-ink); font-variant-numeric: tabular-nums; }
.kd-cart-o small { font-size: var(--t-xs); color: var(--kd-muted); }
.kd-cart-o small[data-k="krw"] { font-size: var(--t-sm); color: var(--kd-rose-2); font-weight: 650; }
.kd-cart-o .btn { margin-top: var(--s-3); justify-content: center; }

/* top-up with bonus */
.kd-tp-promo { margin: var(--s-4) 0 0; padding: var(--s-3) var(--s-4); border-left: 3px solid var(--kd-rose); background: var(--kd-rose-a1); border-radius: 0 var(--r-ctl) var(--r-ctl) 0; font-size: var(--t-sm); color: var(--kd-ink); }
.kd-topup { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); list-style: none; margin: var(--s-4) 0 0; padding: 0; }
.kd-topup li { margin: 0; }
.kd-topup a { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: var(--s-4); border: 1px solid var(--kd-rule); border-radius: var(--r-card); background: var(--kd-paper); color: var(--kd-ink); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
.kd-topup a:hover { border-color: var(--kd-rose-a3); box-shadow: var(--sh-2); color: var(--kd-ink); }
.kd-topup b { font: 800 var(--t-xl)/1.1 var(--kd-num); letter-spacing: -.03em; }
.kd-tp-k, .kd-tp-s { font-size: var(--t-xs); color: var(--kd-muted); }
.kd-tp-b { margin-top: var(--s-2); font-size: var(--t-sm); font-weight: 700; color: var(--kd-muted); }
.kd-topup li.has-bonus .kd-tp-b { color: var(--kd-yes); }
.kd-tp-go { margin-top: var(--s-3); font-size: var(--t-sm); font-weight: 680; color: var(--kd-rose-2); }

/* content: measure, sticky TOC */
.content { max-width: 880px; }
.kd-doc main.wrap > :is(.page-head, .related) { max-width: none; }
.kd-doc main.wrap .content > section :is(p, ul:not([class]), ol:not([class]), h2, h3, dl):not(.table-wrap *):not(.kd-bars *):not(.kd-cart *):not(.cards *) { max-width: 66ch; }
@media (min-width: 1120px) {
  .kd-doc main.wrap { display: grid; grid-template-columns: 224px minmax(0, 880px); column-gap: var(--s-6); justify-content: start; align-items: start; }
  .kd-doc main.wrap > * { grid-column: 1 / -1; }
  .kd-doc main.wrap > .content { grid-column: 2; }
  .kd-doc main.wrap > .toc { grid-column: 1; align-self: start; position: sticky; top: 88px; margin-top: var(--s-1); }
  .toc ol { columns: auto; }
}
.toc { border: 0; border-left: 1px solid var(--kd-rule); border-radius: 0; background: none; padding: var(--s-1) 0 var(--s-1) var(--s-4); font-size: var(--t-xs); line-height: 1.55; }
.toc-h { color: var(--kd-ink); font: 700 var(--t-xs)/1.4 var(--kd-text); text-transform: none; letter-spacing: 0; }
.toc ol { padding-left: 1.1em; color: var(--kd-muted); }
.toc li { margin: var(--s-1) 0; }
.toc a { color: var(--kd-ink-2); text-decoration: none; }
.toc a:hover, .toc li.is-active > a { color: var(--kd-rose-2); }
.kd-toc-card { margin: var(--s-5) 0 0 calc(-1 * var(--s-4)); padding: var(--s-4); border: 1px solid var(--kd-rule); border-radius: var(--r-card); background: var(--kd-paper); box-shadow: var(--sh-1); }
.kd-toc-card p { margin: 0 0 var(--s-3); font-size: var(--t-xs); color: var(--kd-ink-2); line-height: 1.6; }
.kd-toc-card .btn { width: 100%; justify-content: center; }
.kd-lead { font-size: var(--t-md); }

/* answer, summary, sections */
.quick-answer { background: var(--kd-paper); border: 1px solid var(--kd-rule); border-left: 3px solid var(--kd-rose); border-radius: 0 var(--r-card) var(--r-card) 0; padding: var(--s-4) var(--s-5); box-shadow: none; margin-bottom: var(--s-6); }
.quick-answer::before { display: none; }
.quick-answer h2, .quick-answer .qa-h { margin-top: 0; font-size: var(--t-sm); color: var(--kd-rose-2); text-transform: none; letter-spacing: 0; }
.t-home .quick-answer { max-width: none; margin: 0 0 var(--s-8); }
.summary { margin: var(--s-5) 0; }
.summary details { border: 1px solid var(--kd-rule); border-radius: var(--r-card); background: var(--kd-paper); overflow: hidden; }
.summary summary { cursor: pointer; padding: var(--s-3) var(--s-4); font-weight: 700; font-size: var(--t-sm); color: var(--kd-ink); background: var(--kd-tint-2); border-bottom: 1px solid var(--kd-rule-2); }
.summary details > :not(summary) { padding-left: var(--s-4); padding-right: var(--s-4); }
.summary ul { margin: var(--s-3) 0 var(--s-4); padding-left: 1.4em; }
.summary li { margin: var(--s-2) 0; color: var(--kd-ink-2); }
.summary li::marker, .content li::marker { color: var(--kd-rose); }

/* tables */
.table-wrap { border: 1px solid var(--kd-rule); border-radius: var(--r-ctl); background: var(--kd-paper); }
.tbl table { font-variant-numeric: tabular-nums; }
.tbl th, .tbl td { border-color: var(--kd-rule-2); }
.tbl thead th { background: var(--kd-tint-2); color: var(--kd-ink-2); text-transform: none; letter-spacing: 0; font: 650 var(--t-xs)/1.45 var(--kd-text); }
.tbl tbody th { position: sticky; left: 0; z-index: 1; background: var(--kd-paper); font-weight: 650; color: var(--kd-ink); }
.tbl tbody td { color: var(--kd-ink-2); }
.tbl tbody tr > * { background-color: var(--kd-paper); }
.tbl tbody tr:hover > * { background-color: var(--kd-tint-2); }
.tbl tr.hl > * { background-color: var(--kd-rose-a1); }
.tbl tr.hl th { color: var(--kd-rose-2); box-shadow: inset 3px 0 0 var(--kd-rose); }
.tbl.cmp thead th:nth-child(2) { color: var(--kd-rose-2); }
.tbl.cmp tbody td:nth-child(2) { color: var(--kd-ink); background: var(--kd-rose-a1); }
.tbl caption { color: var(--kd-muted); font-size: var(--t-xs); }
.tbl td.num, .tbl th.num { text-align: right; white-space: nowrap; }
.tldp .table-wrap { max-height: 560px; overflow: auto; }
.tldp thead th { position: sticky; top: 0; z-index: 2; }
.tldp tbody th a { color: var(--kd-rose-2); text-decoration: none; font-weight: 700; }
.table-wrap.is-scroll { background: linear-gradient(to left, var(--kd-rose-a2), transparent 18px) right / 18px 100% no-repeat scroll, var(--kd-paper); }
.table-wrap.is-scroll.at-end { background: var(--kd-paper); }

/* steps, faq, cards, related */
.step-list > li::before { background: var(--kd-paper); color: var(--kd-rose-2); border: 1px solid var(--kd-rose-a3); font-weight: 760; }
.t-home .step-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-3); }
.t-home .step-list > li { margin: 0; padding: var(--s-7) var(--s-4) var(--s-4); border: 1px solid var(--kd-rule); border-radius: var(--r-card); background: var(--kd-paper); }
.t-home .step-list > li::before { left: 16px; top: 16px; background: var(--kd-rose); color: var(--kd-rose-ink); border: 0; }
.faq-item { border-color: var(--kd-rule); border-radius: var(--r-ctl); background: var(--kd-paper); }
.faq-item summary { font-weight: 680; }
.faq-item[open] summary { color: var(--kd-rose-2); }
.card { border-color: var(--kd-rule); border-radius: var(--r-card); background: var(--kd-paper); box-shadow: var(--sh-1); }
.related-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--s-3); }
.related-list a { border-radius: var(--r-ctl); }
.sources { font-size: var(--t-sm); }
.sources li { color: var(--kd-ink-2); }

/* final call to action: a deep plate */
.cta { background: var(--kd-night); color: var(--kd-night-ink); border-radius: var(--r-card); padding: var(--s-7); margin-top: var(--s-8); box-shadow: var(--sh-3); border: 0; }
.cta .cta-h, .cta strong { color: var(--kd-night-ink); }
.cta p { color: var(--kd-night-muted); }
.cta .cta-h { font-size: var(--t-xl); letter-spacing: -.03em; line-height: 1.3; }
.cta .btn-primary { background: var(--kd-rose); color: var(--kd-rose-ink); }
.cta .btn-primary:hover { background: var(--kd-paper); color: var(--kd-rose-2); }
.cta .btn-ghost { background: transparent; color: var(--kd-night-ink); border-color: var(--kd-night-2); }
.cta .btn-ghost:hover { background: var(--kd-night-2); color: var(--kd-night-ink); }

/* footer: dark */
.ftr { background: var(--kd-night); color: var(--kd-night-muted); border-top: 0; }
.ftr a { color: var(--kd-night-muted); text-decoration: none; }
.ftr a:hover { color: var(--kd-night-ink); }
.ftr :is(h2, h3, strong, .logo-txt) { color: var(--kd-night-ink); }
.f-col h2, .f-col p:first-child { font: 700 var(--t-xs)/1.4 var(--kd-text); color: var(--kd-night-ink); letter-spacing: 0; text-transform: none; }
.f-bottom { border-color: var(--kd-night-2); }
.ftr :is(p, .f-desc, .f-contact, .f-bottom) { color: var(--kd-night-muted); }
.ftr .coins-mini li { background: var(--kd-night-2); border-color: var(--kd-night-2); color: var(--kd-night-ink); }
.ftr .coins-mini li span { color: var(--kd-night-ink); }
.ct-bar, .sticky-cta { background: color-mix(in srgb, var(--kd-paper) 94%, transparent); border-top: 1px solid var(--kd-rule); }

/* tablet and phone */
@media (max-width: 1060px) {
  .page-head.kd-hero { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); padding-top: var(--s-7); }
  .kd-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kd-tlds, .kd-topup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kd-plans { grid-template-columns: minmax(0, 1fr); }
  .t-home .step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kd-cart { grid-template-columns: minmax(0, 1fr); }
  .page-head.kd-ph, .page-head.kd-ph-vs { grid-template-columns: minmax(0, 1fr); }
  .kd-ph-card { max-width: 420px; }
}
@media (max-width: 760px) {
  body { line-height: 1.75; }
  .logo-txt { font-size: var(--t-sm); }
  .hdr-login { display: none; }
  .page-head.kd-hero { padding: var(--s-6) 0 var(--s-4); gap: var(--s-5); }
  .kd-hero .lede { margin-top: var(--s-2); font-size: var(--t-md); }
  .kd-hero .ds-hero { margin-top: var(--s-4); }
  .ds-hero .ds-form { padding: var(--s-1); }
  .ds-hero input[type="search"] { min-height: 48px; padding: 0 var(--s-2); font-size: var(--t-md); }
  .ds-hero .ds-form .btn { min-height: 48px; padding: 0 var(--s-4); }
  .ds-pop-h { display: none; }
  .ds-pop ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: var(--s-1); }
  .ds-pop li > *, .ds-pop li a, .ds-pop li span[data-tld] { white-space: nowrap; min-height: 44px; }
  .kd-panel-h, .kd-panel-f { padding-left: var(--s-4); padding-right: var(--s-4); }
  .kd-res { padding: var(--s-1) var(--s-2); }
  .kd-res li { grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-3); }
  .kd-res-a { display: none; }
  .kd-res li:nth-child(n+5) { display: none; }
  .kd-panel-f span + span { display: none; }
  .kd-coins { padding: var(--s-4); gap: var(--s-3); margin-bottom: var(--s-7); }
  .kd-coins ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-2) var(--s-3); flex-basis: 100%; }
  .kd-bento { grid-template-columns: minmax(0, 1fr); }
  .kd-cell.is-wide { grid-column: auto; }
  .kd-tlds a, .kd-topup a { padding: var(--s-3); }
  .kd-tld { font-size: var(--t-lg); }
  .kd-tld-n { display: none; }
  .t-home .step-list { grid-template-columns: minmax(0, 1fr); }
  .kd-bars { padding: var(--s-4); }
  .kd-bars li { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n v" "b b" "x x"; }
  .kd-cart { padding: var(--s-4); }
  .kd-cart-f { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .kd-cart-f label:first-child { grid-column: 1 / -1; }
  .kd-f2f { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .kd-f2f-c { padding: var(--s-3); }
  .kd-f2f-p { font-size: var(--t-lg); }
  .cta { padding: var(--s-6) var(--s-5); }
  .kd-toc-card { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .btn:active, .kd-tlds a:hover { transform: none; }
}
.tbl tbody td.is-us { background-color: var(--kd-rose-a1); color: var(--kd-ink); font-weight: 650; }
.tbl thead th.is-us { color: var(--kd-rose-2); box-shadow: inset 0 -2px 0 var(--kd-rose); }

/* ===== design review 1 (02/12/2026): fixes ===== */
/* toc card button: the .toc link colour must not win over the button */
.toc .kd-toc-card .btn-primary, .toc .kd-toc-card .btn-primary:hover { color: var(--kd-rose-ink); }
/* cart fields fill their grid cells */
.kd-cart-f { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); }
.kd-cart-f select, .kd-cart-f input[type="number"] { width: 100%; min-width: 0; }
/* home steps: icon inside the card padding, number tucked on its corner */
.t-home .step-list > li.has-ic { padding: 72px var(--s-4) var(--s-4); }
.t-home .step-list > li .step-ic { left: var(--s-4); top: var(--s-4); }
.t-home .step-list > li.has-ic::before { left: 46px; top: 8px; width: 22px; height: 22px; border: 2px solid var(--kd-paper); }
/* summary bullets inside the card */
.summary details > ul { padding-left: calc(var(--s-4) + 1.3em); }
/* no card inside a card: mini visuals and cart total become ruled areas */
.kd-mv { background: none; border: 0; border-bottom: 1px solid var(--kd-rule-2); border-radius: 0; padding: 0 0 var(--s-3); }
.kd-cart-o { background: none; border: 0; border-left: 1px solid var(--kd-rule-2); border-radius: 0; padding: 0 0 0 var(--s-5); }
/* labels untracked */
:root .quick-answer .qa-label, :root .kicker { letter-spacing: 0; text-transform: none; font-weight: 700; color: var(--kd-rose-2); }
/* faq: a ruled list, not white strips */
.faq-item { background: none; border-radius: 0; border-style: solid; border-width: 0 0 1px; border-color: var(--kd-rule); }
/* home grids without holes */
.kd-bento > .kd-cell.is-wide:last-child { grid-column: 1 / -1; }
.related-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 196px), 1fr)); }
.t-home .tldp .table-wrap { max-width: 560px; }
.t-home .quick-answer .qa-text { max-width: 62ch; }
/* notes breathe; ghost button visible on the dark plate */
.kd-note { margin-top: var(--s-4); }
.cta .btn-ghost { border-color: color-mix(in srgb, var(--kd-night-ink) 30%, transparent); }
@media (max-width: 1060px) {
  .kd-cart-o { border-left: 0; border-top: 1px solid var(--kd-rule-2); padding: var(--s-4) 0 0; }
}
@media (max-width: 760px) {
  .crumbs ol { align-items: center; }
  .crumbs li { display: inline-flex; align-items: center; }
  .crumbs a { min-width: 0; justify-content: flex-start; }
  .kd-f2f li { flex-direction: column; gap: 0; }
  .kd-f2f li b { text-align: left; }
  .tbl:not(.tldp) table :is(th, td) { min-width: 6.5em; }
}

/* ===== design review 2 (02/12/2026): fixes ===== */
.kd-topup .kd-tp-s b { display: block; font: 650 var(--t-xs)/1.5 var(--kd-text); letter-spacing: 0; color: var(--kd-ink-2); }
.t-home .quick-answer { max-width: 760px; }
.t-home .tldp .table-wrap { max-width: 760px; }
@media (min-width: 1120px) {
  .kd-doc main.wrap { grid-template-columns: 224px minmax(0, 1fr); }
  .kd-doc main.wrap > .content { max-width: none; }
}
.toc:has(.kd-toc-card) { border-left: 0; padding-left: 0; }
.kd-toc-card { margin-left: 0; }
.t-home .content > section.tbl:not(.tldp) { max-width: none; }
.t-home .tbl:not(.tldp) :is(.table-wrap, table) { width: 100%; }
body.has-sticky { padding-bottom: 0; }
body.has-sticky .ftr { padding-bottom: calc(var(--s-6) + 70px + env(safe-area-inset-bottom)); }
@media (max-width: 760px) {
  .kd-cart-f { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .kd-ph-card dl { display: none; }
  .toc li { margin: 0; }
  .toc a { display: flex; min-height: 36px; align-items: center; }
}


/* Panier moyen (02/12/2026): Brand shield pack on /pricing/ — the name in five extensions, one price, one button */
.kd-shield { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s-5); margin-top: var(--s-5); padding: var(--s-5); border: 1px solid var(--kd-rule); border-radius: var(--r-card); background: var(--kd-paper); box-shadow: var(--sh-1); }
.kd-sh-tag { margin: 0 0 var(--s-3); font-size: var(--t-sm); font-weight: 700; color: var(--accent2, var(--accent)); }
.kd-sh-chips { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.kd-sh-chips li { display: flex; justify-content: space-between; gap: var(--s-3); align-items: baseline; padding: .6rem .9rem; border: 1px solid var(--kd-rule); border-radius: 10px; background: var(--surface, #fff); font-weight: 700; font-size: 1.05rem; overflow-wrap: anywhere; min-width: 0; }
.kd-sh-chips em { font-style: normal; font-weight: 500; font-size: 15px; color: var(--kd-muted); white-space: nowrap; }
.kd-sh-p { margin: 0; display: flex; align-items: baseline; gap: var(--s-2); flex-wrap: wrap; }
.kd-sh-p b { font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); line-height: 1.05; letter-spacing: -.02em; }
.kd-sh-p span, .kd-sh-k { font-size: 15px; color: var(--kd-muted); }
.kd-sh-k { margin: var(--s-1) 0 0; }
.kd-sh-save { margin: var(--s-3) 0 var(--s-4); font-size: 15px; font-weight: 600; color: var(--yes, #0f7b55); }
.kd-sh-save s { color: var(--kd-muted); font-weight: 500; margin-right: .35em; }
.kd-sh-f label { display: block; font-size: 15px; font-weight: 600; margin-bottom: var(--s-1); }
.kd-sh-f div { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.kd-sh-f input[type="text"] { flex: 1 1 10rem; min-width: 0; padding: .7rem .9rem; border: 1px solid var(--kd-rule); border-radius: 10px; font: inherit; font-size: 1rem; background: var(--surface, #fff); color: var(--text); }
.kd-sh-f input[type="text"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.kd-sh-n { margin: var(--s-3) 0 0; font-size: 15px; color: var(--kd-muted); }
@media (max-width: 760px) { .kd-shield { grid-template-columns: minmax(0, 1fr); padding: var(--s-4); } }
