/* ==========================================================================
   Nullstrata — "spec sheet" design system
   Warm paper + ink, one vermilion signal colour, mono numerals, strata lines.
   Order: fonts → tokens → base → primitives → layout → components → pages → responsive
   ========================================================================== */

@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --bg: #f4f1ea;
  --bg-2: #ece8de;
  --surface: #fffdf8;
  --surface-2: #f7f4ec;
  --ink: #121417;
  --text: #1b1e23;
  --text-2: #464b54;
  --muted: #6e7380;
  --line: #ddd7c9;
  --line-2: #c9c1ae;
  --signal: #e4572e;
  --signal-ink: #ffffff;
  --signal-soft: rgba(228, 87, 46, .1);
  --ok: #0f7b5f;
  --ok-soft: rgba(15, 123, 95, .1);
  --warn: #b7791f;
  --danger: #c0392b;
  --focus: #2f5bff;
  --band: #121417;
  --band-text: #f4f1ea;
  --shadow: 0 1px 0 rgba(18, 20, 23, .04), 0 10px 30px -18px rgba(18, 20, 23, .25);
  --shadow-lg: 0 30px 70px -30px rgba(18, 20, 23, .35);
  --r: 14px;
  --r-sm: 9px;
  --wrap: 1200px;
  --display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0d0e11; --bg-2: #121418; --surface: #16181d; --surface-2: #1c1f25;
  --ink: #f2efe8; --text: #ebe8e1; --text-2: #b9b6ae; --muted: #8b8a86;
  --line: #262a31; --line-2: #343942; --band: #1a1d23; --band-text: #f2efe8;
  --signal: #ff6a3d; --signal-ink: #1a0a04; --signal-soft: rgba(255, 106, 61, .12);
  --ok: #3ccf9f; --ok-soft: rgba(60, 207, 159, .12);
  --shadow: 0 1px 0 rgba(0, 0, 0, .4), 0 14px 34px -20px rgba(0, 0, 0, .7);
  --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, .85);
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #0d0e11; --bg-2: #121418; --surface: #16181d; --surface-2: #1c1f25;
    --ink: #f2efe8; --text: #ebe8e1; --text-2: #b9b6ae; --muted: #8b8a86;
    --line: #262a31; --line-2: #343942; --band: #1a1d23; --band-text: #f2efe8;
    --signal: #ff6a3d; --signal-ink: #1a0a04; --signal-soft: rgba(255, 106, 61, .12);
    --ok: #3ccf9f; --ok-soft: rgba(60, 207, 159, .12);
    color-scheme: dark;
  }
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--signal); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 650; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.15rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--signal); color: var(--signal-ink); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.right { text-align: right; }
.mono { font-family: var(--mono); font-feature-settings: "zero" 1; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.dash { color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--text-2); max-width: 60ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 .74rem/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 1.4em; }
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--signal); }
.hl { color: var(--signal); }
.empty { padding: 48px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--r); }

/* ---------------------------------------------------------------- primitives */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 10px; border: 1px solid transparent;
  font: 600 .95rem/1.2 var(--body); cursor: pointer; text-decoration: none; white-space: nowrap; color: var(--ink); background: var(--surface-2);
  transition: transform .15s, background .15s, border-color .15s, box-shadow .15s, color .15s; }
.btn:hover { transform: translateY(-1px); color: var(--ink); }
.btn:active { transform: none; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.btn-primary { background: var(--signal); color: var(--signal-ink); box-shadow: 0 8px 22px -10px var(--signal); }
.btn-primary:hover { color: var(--signal-ink); filter: brightness(1.05); }
.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { color: var(--bg); }
.btn-outline { background: transparent; border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { padding: 8px 12px; font-size: .85rem; border-radius: 8px; }
.btn-lg { padding: 15px 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-disabled { opacity: .45; cursor: not-allowed; }
.btn-disabled:hover { transform: none; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow::after { content: " →"; transition: margin .15s; }
.link-arrow:hover::after { margin-left: 4px; }

.pill { display: inline-block; padding: 3px 9px; border-radius: 99px; background: var(--ok-soft); color: var(--ok); font: 600 .74rem/1.4 var(--mono); }
.pill--signal { background: var(--signal-soft); color: var(--signal); }
.tag { display: inline-block; padding: 2px 8px; border-radius: 6px; border: 1px solid var(--line); font: 500 .72rem/1.5 var(--mono); color: var(--muted); }
.was { text-decoration: line-through; color: var(--muted); margin-right: 4px; }

.input { width: 100%; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font: inherit; font-size: .95rem; transition: border-color .15s, box-shadow .15s; }
.input:hover { border-color: var(--muted); }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--signal-soft); }
.input-sm { padding: 8px 11px; font-size: .875rem; }
select.input { appearance: none; padding-right: 36px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' fill='none' stroke='%23888' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 13px center; }
textarea.input { resize: vertical; }

/* ---------------------------------------------------------------- utility bar + header */
.util { background: var(--band); color: color-mix(in srgb, var(--band-text) 75%, transparent); font: 400 .8rem/1 var(--mono); }
.util .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 36px; }
.util a { color: inherit; text-decoration: none; }
.util a:hover { color: var(--band-text); }
.util-left, .util-right { display: flex; align-items: center; gap: 18px; }
.util .dot { width: 7px; height: 7px; border-radius: 50%; background: #3ccf9f; box-shadow: 0 0 0 3px rgba(60, 207, 159, .2); display: inline-block; margin-right: 8px; }
.util .cur-select { background-color: transparent; color: inherit; border: 1px solid rgba(255, 255, 255, .18); padding: 4px 26px 4px 8px; font: 500 .78rem var(--mono); border-radius: 6px; width: auto; }
.util .cur-select option { color: #111; }
.demo-bar { background: repeating-linear-gradient(135deg, #f2c14e 0 12px, #e5b33c 12px 24px); color: #1b1300; text-align: center; font-size: .85rem; font-weight: 600; padding: 7px 16px; }

.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.3) blur(14px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 28px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 600 1.25rem var(--display); letter-spacing: -.03em; text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand b { font-weight: 700; }
.brand-mark { width: 30px; height: 30px; }
.brand-mark .l1 { fill: var(--signal); } .brand-mark .l2 { fill: var(--ink); } .brand-mark .l3 { fill: var(--ink); opacity: .35; }
.site-nav { display: flex; align-items: center; flex: 1; gap: 12px; }
.site-nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; padding: 9px 12px; border-radius: 8px; color: var(--text-2); font: 500 .95rem var(--body); background: none; border: 0; cursor: pointer; text-decoration: none; }
.nav-link:hover, .nav-link.is-active, .has-menu:hover > .nav-link, .has-menu.open > .nav-link { color: var(--ink); background: var(--surface-2); }
.nav-link svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .15s; }
.has-menu.open > .nav-link svg { transform: rotate(180deg); }
.has-menu { position: relative; }
.menu { position: absolute; top: calc(100% + 10px); left: -10px; min-width: 330px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .15s; }
.has-menu::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.has-menu:hover .menu, .has-menu:focus-within .menu, .has-menu.open .menu { opacity: 1; visibility: visible; transform: none; }
.menu a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 11px 12px; border-radius: 9px; color: var(--text); text-decoration: none; }
.menu a:hover { background: var(--surface-2); color: var(--text); }
.menu strong { font-weight: 600; font-size: .95rem; }
.menu .from { font: 500 .78rem var(--mono); color: var(--signal); align-self: center; grid-row: span 2; text-align: right; }
.menu span.d { font-size: .83rem; color: var(--muted); }
.nav-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.theme-toggle { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--line); background: transparent; color: var(--text-2); cursor: pointer; }
.theme-toggle:hover { border-color: var(--line-2); color: var(--ink); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.i-moon { display: none; }
:root[data-theme="dark"] .i-sun { display: none; } :root[data-theme="dark"] .i-moon { display: block; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 4px; }
.nav-toggle span:not(.sr) { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }
.nav-only-mobile { display: none; }

/* ---------------------------------------------------------------- strata texture (signature) */
.strata-bg { position: relative; isolation: isolate; }
.strata-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(180deg, transparent 0 27px, color-mix(in srgb, var(--line) 70%, transparent) 27px 28px);
  mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%, #000 70%, transparent); }

/* ---------------------------------------------------------------- hero */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { margin-bottom: 1.8em; }
.tld-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 0; }
.tld-chips li { display: inline-flex; gap: 8px; align-items: baseline; padding: 6px 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font: 400 .82rem var(--mono); color: var(--muted); }
.tld-chips b { color: var(--ink); font-weight: 600; }

.spec { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.spec-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); font: 500 .75rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.spec-head .live { display: inline-flex; align-items: center; gap: 8px; color: var(--ok); }
.spec-head .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent); } 100% { box-shadow: 0 0 0 8px transparent; } }
.spec dl { margin: 0; }
.spec dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 18px; border-bottom: 1px dashed var(--line); }
.spec dl > div:last-child { border-bottom: 0; }
.spec dt { color: var(--text-2); font-size: .93rem; }
.spec dd { margin: 0; font: 600 1.05rem var(--mono); color: var(--ink); text-align: right; }
.spec dd small { display: block; font: 400 .72rem var(--mono); color: var(--muted); margin-top: 2px; }
.spec-foot { padding: 12px 18px; background: var(--surface-2); font: 400 .74rem var(--mono); color: var(--muted); }

/* ---------------------------------------------------------------- domain search */
.dsearch { position: relative; display: flex; gap: 8px; width: 100%; max-width: 640px; padding: 7px; background: var(--surface); border: 1.5px solid var(--ink); border-radius: 14px; box-shadow: 6px 6px 0 var(--ink); transition: box-shadow .15s, transform .15s; }
.dsearch:focus-within { transform: translate(-1px, -1px); box-shadow: 8px 8px 0 var(--signal); }
.dsearch input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); font: 500 1.05rem var(--mono); padding: 12px 8px 12px 40px; }
.dsearch input::placeholder { color: var(--muted); font-weight: 400; }
.dsearch input:focus { outline: none; }
.dsearch-icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.dsearch--big input { font-size: 1.12rem; padding-block: 15px; }
.dresults { width: 100%; max-width: 640px; margin-top: 18px; }
.dresults:empty { display: none; }
.dres { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 12px 14px 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; animation: rise .25s both; }
.dres:first-child { border-color: var(--ok); box-shadow: 0 0 0 3px var(--ok-soft); }
.dres.taken:first-child { border-color: var(--line); box-shadow: none; }
.dres-name { font: 600 1rem var(--mono); word-break: break-all; color: var(--ink); }
.dres-price { text-align: right; font: 600 1rem var(--mono); }
.dres-price small { display: block; font: 400 .72rem var(--mono); color: var(--muted); }
.dres.taken { opacity: .55; }
.dres .tag.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, transparent); background: var(--ok-soft); }
.dres-actions { display: flex; gap: 6px; }
.dres-msg { padding: 14px; color: var(--muted); font: 400 .85rem var(--mono); }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tight { padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 7vw, 88px); }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section--ink { background: var(--band); color: color-mix(in srgb, var(--band-text) 80%, transparent); }
.section--ink h2, .section--ink h3 { color: var(--band-text); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: end; margin-bottom: 40px; }
.section-head h2 { margin: 0; max-width: 20ch; }
.section-head p { margin: 0; color: var(--text-2); max-width: 46ch; }
.section-head--center { display: block; text-align: center; }
.section-head--center h2 { margin: 0 auto .4em; }
.section-head--center p { margin: 0 auto; }
.section-head--row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head--row h2 { margin: 0; }
.section-head--row .input { max-width: 260px; }
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(20px, 3vw, 32px); }
.page-hero h1 { max-width: 18ch; }
.page-hero--center { text-align: center; }
.page-hero--center h1, .page-hero--center .lead { margin-inline: auto; }
.page-hero--center .dsearch { margin: 0 auto; }
.page-hero--center .dresults { margin-inline: auto; text-align: left; }
.page-hero--slim { padding: 40px 0 8px; }
.page-hero--slim h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.crumbs { margin-bottom: .8em; font: 400 .82rem var(--mono); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--signal); }
.notice { padding: 12px 16px; border-radius: 10px; background: var(--ok-soft); border: 1px solid color-mix(in srgb, var(--ok) 30%, transparent); margin-bottom: 24px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 8px; font-size: .92rem; color: var(--muted); }
.hero-links a { color: var(--text-2); }

/* ---------------------------------------------------------------- motion: scroll reveal */
.rv { opacity: 0; transform: translateY(18px); }
.rv.in { opacity: 1; transform: none; transition: opacity .6s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform .6s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }

/* ---------------------------------------------------------------- domain funnel */
.funnel { --p: 0; position: relative; display: flex; justify-content: space-between; max-width: 520px; margin: 6px auto 28px; padding: 0; list-style: none; }
.funnel::before, .funnel::after { content: ""; position: absolute; left: 18px; right: 18px; top: 15px; height: 2px; background: var(--line-2); }
.funnel::after { right: auto; width: calc((100% - 36px) * var(--p)); background: var(--signal); transition: width .6s cubic-bezier(.2, .7, .2, 1); }
.funnel li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; font: 500 .74rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.funnel span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--line-2); font-size: .8rem; transition: .3s; }
.funnel li.on { color: var(--ink); }
.funnel li.on span { border-color: var(--signal); color: var(--signal); box-shadow: 0 0 0 5px var(--signal-soft); animation: ping 2s infinite; }
.funnel li.done span { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); font-size: 0; }
.funnel li.done span::before { content: "✓"; font-size: .85rem; }
@keyframes ping { 0%, 100% { box-shadow: 0 0 0 5px var(--signal-soft); } 50% { box-shadow: 0 0 0 9px transparent; } }
.dhero-wrap .dsearch { margin-inline: auto; }
.dsearch .btn svg { width: 15px; height: 15px; transition: transform .2s; }
.dsearch .btn:hover svg { transform: translateX(3px); }
.tld-chips--center { justify-content: center; }
.tld-chips a { display: inline-flex; gap: 8px; align-items: baseline; color: inherit; text-decoration: none; }
.tld-chips li:has(a):hover { border-color: var(--ink); transform: translateY(-2px); }
.tld-chips li { transition: transform .15s, border-color .15s; }

/* skeleton while checking */
.dskel { display: grid; gap: 8px; }
.dskel i { display: block; height: 58px; border-radius: 12px; border: 1px solid var(--line);
  background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 40%, var(--surface) 80%) 0 0 / 200% 100%; animation: shimmer 1.1s linear infinite; }
.dskel i:first-child { height: 108px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* featured result */
.dhero { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px 24px; margin-bottom: 18px; border-radius: 16px; background: var(--surface); border: 1.5px solid var(--line-2); text-align: left; animation: pop .45s cubic-bezier(.2, .9, .3, 1.2) both; }
.dhero.ok { border-color: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft), var(--shadow-lg); }
.dhero.picked { border-color: var(--signal); box-shadow: 0 0 0 4px var(--signal-soft), var(--shadow-lg); }
.dhero-status { font: 600 .76rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--ok); }
.dhero.taken .dhero-status { color: var(--danger); }
.dhero-name { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; color: var(--ink); letter-spacing: -.03em; margin: 4px 0 8px; word-break: break-all; }
.dhero-buy { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.dhero-price { font-size: 1.6rem; font-weight: 600; color: var(--ink); }
.dhero-price small { font-size: .8rem; color: var(--muted); margin-left: 4px; font-weight: 400; }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(8px); } }
.dres-sub { font: 500 .76rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 6px 2px 10px; text-align: left; }
.dres { animation: rise .4s both; animation-delay: calc(var(--i, 0) * 45ms + 120ms); transition: border-color .15s, box-shadow .15s; }
.dres:first-child { border-color: var(--line); box-shadow: none; }
.dres:not(.taken):hover { border-color: var(--line-2); }
.dres.picked { border-color: var(--signal); box-shadow: 0 0 0 3px var(--signal-soft); }
.dres.picked [data-choose] { background: var(--signal); color: var(--signal-ink); border-color: var(--signal); }

/* sticky selection bar */
.selbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(14px); border-top: 1.5px solid var(--ink); box-shadow: 0 -20px 50px -30px rgba(0, 0, 0, .4); transform: translateY(110%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.selbar.open { transform: none; }
body.has-selbar { padding-bottom: 96px; }
.dresults { scroll-margin-top: 110px; }
.selbar-row { display: flex; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.selbar-pick { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.selbar-pick b { display: block; font-size: 1.05rem; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.selbar-pick small { font-size: .8rem; color: var(--muted); }
.selbar-check { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ok); color: #fff; font-weight: 700; animation: pop .4s both; }
.selbar-cta { display: flex; gap: 8px; }
.selbar-x { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font-size: 1.2rem; cursor: pointer; }
.selbar-x:hover { color: var(--ink); border-color: var(--ink); }

/* plan funnel */
.funnel--wide { max-width: 640px; margin: 0 auto 30px; }
.funnel--wide li[data-preset] b { text-transform: none; letter-spacing: 0; color: var(--ok); max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.funnel--wide li[data-preset] span { background: var(--ok); border-color: var(--ok); }
.plan--picked { border: 1.5px solid var(--signal) !important; box-shadow: 8px 8px 0 var(--signal) !important; transform: translate(-2px, -2px); }
.plan--picked [data-order] { background: var(--signal); color: var(--signal-ink); border-color: var(--signal); }
.plan--picked [data-order]::after { content: " ✓"; }
.plan { transition: border-color .25s, box-shadow .25s, transform .25s; }
.plan--recommended { animation: nudge .5s cubic-bezier(.2, .9, .3, 1.3); }
@keyframes nudge { 40% { transform: translate(-2px, -6px); } }
.selbar-domain { flex: 0 1 300px; }
.selbar-domain .input { font-family: var(--mono); font-size: .9rem; padding: 11px 13px; }

/* finder chips */
.finder { gap: 14px 26px; }
.chips { display: flex; align-items: center; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.chips legend { float: left; margin-right: 8px; font-size: .88rem; color: var(--text-2); }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: inline-block; padding: 7px 13px; border: 1px solid var(--line-2); border-radius: 99px; font: 500 .84rem var(--mono); color: var(--text-2); background: var(--surface); transition: .15s; }
.chips label:hover span { border-color: var(--ink); color: var(--ink); }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chips input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.finder-out { transition: opacity .2s; }

@media (max-width: 680px) {
  .selbar-domain { flex: 1 1 100%; order: 2; }
  .chips { flex-wrap: wrap; }
  .chips legend { width: 100%; margin-bottom: 4px; }
  .funnel--wide li[data-preset] b { max-width: 80px; }
}

/* guides */
.guide-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.guide-card { display: flex; flex-direction: column; gap: 8px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s, box-shadow .2s; }
.guide-card:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 6px 6px 0 var(--ink); color: var(--text); }
.guide-card h2 { font-size: 1.3rem; margin: 0; }
.guide-card p { color: var(--text-2); font-size: .94rem; margin: 0; flex: 1; }
.guide-meta { font-size: .76rem; color: var(--muted); }
.guide-body { font-size: 1.06rem; line-height: 1.75; color: var(--text); }
.guide-body h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 2em 0 .6em; }
.guide-body p, .guide-body li { color: var(--text-2); }
.guide-body ul, .guide-body ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.guide-body li { margin-bottom: .45em; }
.guide-body a { color: var(--ink); text-decoration-color: var(--signal); text-decoration-thickness: 2px; }
.guide-body code { font: .9em var(--mono); background: var(--surface-2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; color: var(--ink); }
.guide-body .table-scroll { margin: 1em 0 .6em; }
.guide-body .compare td { white-space: normal; font-family: var(--body); font-size: .92rem; }
.guide-body .compare td:last-child { font-family: var(--mono); white-space: nowrap; }
@media (max-width: 980px) { .guide-list { grid-template-columns: minmax(0, 1fr); } }

/* stats dashboard */
.stat-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat-kpis .spec { box-shadow: none; }
.chart { display: flex; align-items: flex-end; gap: 3px; height: 180px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.chart-col { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.chart-col span { display: block; width: 100%; min-height: 2px; background: var(--ink); border-radius: 3px 3px 0 0; }
.chart-col:hover span { background: var(--signal); }
.fbar { display: inline-block; vertical-align: middle; height: 8px; width: calc(var(--w) * .6); max-width: 60px; margin-right: 8px; background: var(--signal); border-radius: 2px; }
@media (max-width: 680px) { .stat-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* featured extension cards */
.tcard-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tcard { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); text-decoration: none; color: var(--text); overflow: hidden; transition: border-color .2s, transform .2s, box-shadow .2s; }
.tcard::after { content: "Search →"; position: absolute; right: 16px; top: 20px; font: 500 .72rem var(--mono); color: var(--signal); opacity: 0; transform: translateX(-6px); transition: .2s; }
.tcard:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 6px 6px 0 var(--ink); color: var(--text); }
.tcard:hover::after { opacity: 1; transform: none; }
.tcard-tld { font-size: 1.9rem; font-weight: 600; color: var(--ink); letter-spacing: -.04em; line-height: 1; }
.tcard-good { font-size: .86rem; color: var(--text-2); flex: 1; }
.tcard-price b { font-size: 1.15rem; color: var(--ink); }
.tcard-price small { color: var(--muted); font-size: .78rem; margin-left: 3px; }
.tcard .pill { align-self: flex-start; }

/* all-extensions accordion */
.alltld > summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; list-style: none; }
.alltld > summary::-webkit-details-marker { display: none; }
.alltld > summary:hover { border-color: var(--ink); }
.alltld-cta { font: 500 .8rem var(--mono); color: var(--signal); white-space: nowrap; }
.alltld[open] .alltld-cta { font-size: 0; }
.alltld[open] .alltld-cta::before { content: "Hide table"; font-size: .8rem; }

/* checkout completion */
fieldset.card { transition: border-color .3s, box-shadow .3s; }
fieldset.card.complete { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); }
fieldset.card.complete .step { background: var(--ok); font-size: 0; }
fieldset.card.complete .step::before { content: "✓" !important; font-size: .82rem !important; }
.progress { --fill: 0%; position: relative; padding-bottom: 12px !important; }
.progress::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: var(--fill); max-width: 100%; background: var(--signal); border-radius: 2px; transition: width .5s cubic-bezier(.2, .7, .2, 1); }
.progress::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--line); border-radius: 2px; }

@media (max-width: 980px) { .tcard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .selbar-row { flex-wrap: wrap; gap: 10px; }
  .selbar-cta { width: 100%; order: 3; }
  .selbar-cta .btn { flex: 1; padding-inline: 10px; font-size: .85rem; }
  .dhero { padding: 18px; }
  .dhero-buy { width: 100%; justify-content: space-between; }
  .funnel b { font-size: .64rem; }
}
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- journey (storytelling spine) */
.journey { margin-top: 32px; }
.journey ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; }
.journey li { display: flex; }
.journey li > a { flex: 1; }
.journey li + li { border-left: 1px solid var(--line); }
.journey ol a { display: flex; gap: 12px; align-items: center; padding: 14px 16px; text-decoration: none; color: var(--muted); height: 100%; position: relative; transition: background .15s; }
.journey ol a:hover { background: var(--surface-2); color: var(--ink); }
.j-num { font: 600 .78rem var(--mono); padding: 5px 7px; border-radius: 6px; border: 1px solid var(--line-2); }
.j-txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.j-txt b { font: 600 .92rem var(--display); color: inherit; }
.j-txt small { font-size: .76rem; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.journey .j-past > a { color: var(--text-2); }
.journey .j-past .j-num { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.journey .j-now > a { color: var(--ink); background: var(--surface-2); }
.journey .j-now > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--signal); }
.journey .j-now .j-num { background: var(--signal); color: var(--signal-ink); border-color: var(--signal); }
.j-next { margin: 12px 2px 0; font-size: .88rem; color: var(--muted); }
.j-next a { color: var(--ink); font-weight: 600; }
.chapter { display: block; font: 500 .74rem var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--signal); margin-bottom: 6px; }
.story-quote { font: 500 clamp(1.4rem, 2.6vw, 2rem)/1.3 var(--display); letter-spacing: -.02em; color: var(--ink); max-width: 30ch; margin: 0; }
.story-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.story-grid > a { padding: 22px 18px 22px 0; text-decoration: none; color: var(--text); border-right: 1px dashed var(--line-2); padding-left: 18px; }
.story-grid > a:first-child { padding-left: 0; }
.story-grid > a:last-child { border-right: 0; }
.story-grid > a:hover h3 { color: var(--signal); }
.story-grid .bar { display: block; height: 8px; border-radius: 3px; background: var(--ink); margin: 14px 0; }
.story-grid p { font-size: .9rem; color: var(--text-2); margin: 0; }
@media (max-width: 980px) {
  .journey ol { grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; }
  .story-grid { grid-template-columns: minmax(0, 1fr); }
  .story-grid > a { border-right: 0; border-bottom: 1px dashed var(--line-2); padding-left: 0; }
}
@media (max-width: 680px) {
  .journey ol { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .journey li { flex: 0 0 62%; scroll-snap-align: start; }
}

/* ---------------------------------------------------------------- trust strip */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust > div { display: flex; gap: 14px; align-items: flex-start; padding: 26px 24px; border-right: 1px solid var(--line); }
.trust > div:last-child { border-right: 0; }
.trust svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--signal); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.trust strong { display: block; font: 600 .98rem var(--display); color: var(--ink); letter-spacing: -.01em; }
.trust span { font-size: .86rem; color: var(--muted); }

/* ---------------------------------------------------------------- stack (product layers) */
.stack { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); }
.layer { display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1.4fr) auto; gap: 24px; align-items: center; padding: 26px 28px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; position: relative; transition: background .2s; }
.layer:last-child { border-bottom: 0; }
.layer::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--signal); transform: scaleY(0); transition: transform .2s; }
.layer:hover { background: var(--surface-2); color: var(--text); }
.layer:hover::before { transform: none; }
.layer-idx { font: 500 .8rem var(--mono); color: var(--muted); }
.layer-bar { display: block; height: 6px; border-radius: 3px; background: var(--ink); margin-top: 8px; }
.layer h3 { font-size: 1.35rem; margin: 0 0 4px; }
.layer p { margin: 0; color: var(--text-2); font-size: .94rem; }
.layer-specs { display: flex; flex-wrap: wrap; gap: 6px; }
.layer-price { text-align: right; white-space: nowrap; }
.layer-price small { display: block; font: 400 .72rem var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.layer-price b { font: 600 1.35rem var(--mono); color: var(--ink); letter-spacing: -.03em; }
.layer-price span { color: var(--muted); font-size: .85rem; }
.layer-go { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); margin-left: 14px; vertical-align: middle; transition: .2s; }
.layer-go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.layer:hover .layer-go { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.duo a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
.duo a:hover { border-color: var(--ink); transform: translateY(-2px); color: var(--text); }
.duo h3 { margin: 0 0 4px; font-size: 1.2rem; }
.duo p { margin: 0; color: var(--text-2); font-size: .92rem; }

/* ---------------------------------------------------------------- plans */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s, transform .2s; }
.plan:hover { border-color: var(--line-2); }
.plan--featured { border: 1.5px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.plan--recommended { border: 1.5px solid var(--signal); box-shadow: 8px 8px 0 var(--signal); transform: translate(-2px, -2px); }
.plan--soldout { opacity: .6; }
.plan--soldout:hover { opacity: 1; }
.plan-badge { position: absolute; top: -11px; left: 22px; padding: 4px 10px; border-radius: 6px; background: var(--ink); color: var(--bg); font: 600 .68rem var(--mono); text-transform: uppercase; letter-spacing: .1em; }
.plan-badge--promo { background: var(--signal); color: var(--signal-ink); }
.plan-badge--rec { background: var(--signal); color: var(--signal-ink); }
.plan-kind { font: 500 .7rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 6px; }
.plan h3 { font-size: 1.5rem; margin-bottom: 4px; }
.plan-for { font-size: .88rem; color: var(--text-2); margin-bottom: 16px; min-height: 1.4em; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 2px; }
.plan-price .amount { font: 600 2.4rem/1 var(--mono); letter-spacing: -.05em; color: var(--ink); }
.plan-price .per { color: var(--muted); font-size: .92rem; }
.plan-billed { min-height: 1.5em; margin-bottom: 4px; }
.plan-billed .pill { margin-left: 4px; }
.seg { display: inline-flex; padding: 3px; gap: 2px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 9px; margin: 10px 0 4px; align-self: flex-start; }
.seg button { border: 0; background: transparent; color: var(--muted); font: 500 .78rem var(--mono); padding: 6px 11px; border-radius: 6px; cursor: pointer; }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--bg); }
.meters { list-style: none; padding: 16px 0; margin: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; }
.meter-top { display: flex; justify-content: space-between; gap: 10px; font-size: .84rem; color: var(--text-2); margin-bottom: 5px; }
.meter-top b { font: 600 .82rem var(--mono); color: var(--ink); }
.meter-track { height: 6px; border-radius: 3px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.meter-fill { height: 100%; background: var(--ink); border-radius: 3px; }
.meter-fill.full { background: repeating-linear-gradient(90deg, var(--signal) 0 8px, color-mix(in srgb, var(--signal) 70%, transparent) 8px 10px); }
.plan-features { list-style: none; padding: 14px 0 0; margin: 0 0 16px; flex: 1; border-top: 1px solid var(--line); }
.plan-features li { display: grid; grid-template-columns: 16px 1fr auto; gap: 10px; align-items: baseline; padding: 6px 0; font-size: .9rem; color: var(--text-2); }
.plan-features svg { width: 14px; height: 14px; fill: none; stroke: var(--ok); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transform: translateY(2px); }
.plan-features strong { color: var(--ink); font: 600 .84rem var(--mono); text-align: right; }
.plan-more { margin-bottom: 16px; font-size: .86rem; }
.plan-more summary { cursor: pointer; font-weight: 600; color: var(--text-2); list-style: none; }
.plan-more summary::before { content: "+ "; font-family: var(--mono); color: var(--signal); }
.plan-more[open] summary::before { content: "− "; }
.plan-more summary::-webkit-details-marker { display: none; }
.plan-more dl { margin: 10px 0 0; max-height: 260px; overflow: auto; padding-right: 4px; }
.plan-more dl div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.plan-more dt { color: var(--muted); } .plan-more dd { margin: 0; font: 600 .8rem var(--mono); color: var(--ink); text-align: right; }
.stock { display: inline-flex; align-items: center; gap: 7px; font: 500 .78rem var(--mono); color: var(--ok); margin-bottom: 12px; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock--out { color: var(--danger); }

/* plan finder */
.finder { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 18px 22px; margin-bottom: 28px; border: 1px dashed var(--line-2); border-radius: 14px; background: var(--surface); }
.finder > strong { font: 600 1rem var(--display); color: var(--ink); margin-right: 6px; }
.finder label { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--text-2); }
.finder select { width: auto; padding: 8px 32px 8px 11px; font-size: .88rem; }
.finder-out { margin-left: auto; font: 500 .84rem var(--mono); color: var(--signal); }

/* ---------------------------------------------------------------- tables */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; font-size: .92rem; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.compare td { font-family: var(--mono); font-size: .84rem; color: var(--ink); }
.compare thead th { background: var(--surface-2); font: 600 .95rem var(--display); color: var(--ink); position: sticky; top: 0; }
.compare tbody th { font-weight: 500; color: var(--text-2); position: sticky; left: 0; background: var(--surface); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare tbody tr:hover > * { background: var(--surface-2); }
.compare--tld tbody th { font: 600 1rem var(--mono); color: var(--ink); }
.compare .group td, .compare .group th { background: var(--bg-2); font: 500 .7rem var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); padding: 8px 16px; }

/* ---------------------------------------------------------------- datacenters / steps / misc */
.dc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.dc { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.dc-city { font: 600 1.1rem var(--display); color: var(--ink); margin-bottom: 2px; }
.dc-country { font-size: .88rem; color: var(--muted); margin-bottom: 12px; }
.dc .tags { display: flex; flex-wrap: wrap; gap: 5px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; border-top: 1px solid rgba(255, 255, 255, .12); }
.steps > div { padding: 28px 28px 8px 0; counter-increment: s; }
.steps > div::before { content: "0" counter(s); display: block; font: 500 .8rem var(--mono); color: var(--signal); margin-bottom: 14px; }
.steps p { color: inherit; opacity: .8; font-size: .95rem; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 40px; }
.why-grid > div { padding-top: 16px; border-top: 2px solid var(--ink); }
.why-grid p { color: var(--text-2); font-size: .95rem; margin: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 9px 0 9px 28px; position: relative; color: var(--text-2); border-bottom: 1px dashed var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.os-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.os-list li { padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); font: 400 .84rem var(--mono); }
.tabs { display: inline-flex; gap: 4px; padding: 4px; margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.tabs a { padding: 8px 18px; border-radius: 9px; color: var(--muted); font-weight: 600; text-decoration: none; }
.tabs a[aria-selected="true"] { background: var(--ink); color: var(--bg); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font: 600 1.05rem var(--display); color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 1.5rem var(--mono); color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--signal); }
.faq p { color: var(--text-2); padding-bottom: 20px; margin: 0; max-width: 68ch; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; }
.cta { padding: clamp(64px, 9vw, 104px) 0; background: var(--band); color: color-mix(in srgb, var(--band-text) 78%, transparent); }
.cta h2 { color: var(--band-text); margin-bottom: .3em; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn-ghost { color: var(--band-text); border-color: rgba(255, 255, 255, .25); }
.cta .btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.cta--slim { background: var(--bg-2); color: var(--text); border-top: 1px solid var(--line); }
.cta--slim h2 { color: var(--ink); }
.cta--slim .cta-inner { flex-direction: column; align-items: flex-start; }
.addon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }

/* ---------------------------------------------------------------- checkout */
.progress { display: flex; gap: 0; list-style: none; padding: 0; margin: 18px 0 0; font: 500 .76rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.progress li { display: flex; align-items: center; gap: 8px; }
.progress li + li::before { content: ""; width: 28px; height: 1px; background: var(--line-2); margin: 0 10px; }
.progress li.on { color: var(--ink); }
.progress li.on span { background: var(--signal); color: var(--signal-ink); border-color: var(--signal); }
.progress span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-2); font-size: .7rem; }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.checkout-main, .stack-form { display: flex; flex-direction: column; gap: 16px; }
.checkout-side { position: sticky; top: 92px; }
.card { margin: 0; padding: 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); min-width: 0; }
.card legend { float: left; width: 100%; padding: 0; margin-bottom: 18px; font: 600 1.1rem var(--display); color: var(--ink); display: flex; align-items: center; gap: 12px; }
.card legend + * { clear: both; }
.step { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--ink); color: var(--bg); font-size: 0; }
.checkout-main, .stack-form { counter-reset: step; }
.checkout-main .step, .stack-form .step { counter-increment: step; }
.checkout-main .step::before, .stack-form .step::before { content: counter(step); font: 600 .78rem var(--mono); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin-bottom: 4px; min-width: 0; }
.field label { display: block; font-weight: 600; font-size: .87rem; margin-bottom: 6px; color: var(--ink); }
.opt { color: var(--muted); font-weight: 400; }
.field-msg { min-height: 1.3em; font-size: .79rem; color: var(--muted); margin: 5px 0 8px; }
.has-error .input { border-color: var(--danger); background: color-mix(in srgb, var(--danger) 4%, var(--surface)); }
.has-error .field-msg, .field-msg.err { color: var(--danger); }
.field-msg.ok { color: var(--ok); }
.check { display: block; position: relative; padding-left: 28px; font-size: .93rem; margin: 10px 0; cursor: pointer; color: var(--text-2); }
.check input { position: absolute; left: 0; top: 3px; margin: 0; accent-color: var(--signal); width: 17px; height: 17px; }
.check.has-error { color: var(--danger); }
.checks { display: grid; margin-top: 4px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.radio-card { position: relative; cursor: pointer; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card span { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border: 1px solid var(--line-2); border-radius: 10px; font-weight: 600; font-size: .92rem; transition: .15s; background: var(--surface); }
.radio-card span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line-2); transition: .15s; }
.radio-card input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.radio-card input:checked + span::before { border: 4.5px solid var(--signal); }
.radio-card input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.alert { padding: 14px 16px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--danger) 40%, transparent); background: color-mix(in srgb, var(--danger) 8%, transparent); color: var(--danger); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.summary { box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.summary h2 { font-size: 1.6rem; margin-bottom: 14px; }
.summary-feats { list-style: none; padding: 0; margin: 0 0 18px; font-size: .86rem; }
.summary-feats li { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px dashed var(--line); color: var(--muted); }
.summary-feats strong { color: var(--ink); font: 600 .8rem var(--mono); text-align: right; }
.promo { margin: 10px 0 4px; }
.promo label { display: block; font-weight: 600; margin-bottom: 6px; }
.promo-row { display: flex; gap: 8px; align-items: stretch; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 0 6px; border-top: 1.5px solid var(--ink); margin-top: 10px; }
.summary-total strong { font: 600 1.8rem var(--mono); letter-spacing: -.04em; color: var(--ink); }
.summary-amount { display: inline-flex; align-items: baseline; gap: 8px; }
.summary .btn { margin-top: 16px; }
.mobile-sum { display: none; }
.secure-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: .8rem; color: var(--muted); }
.secure-note svg { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--ok); stroke-width: 2; margin-top: 2px; }

/* ---------------------------------------------------------------- status / legal */
.status-page { min-height: 60vh; display: grid; place-items: center; }
.status-page .lead { margin-inline: auto; }
.status-icon { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 18px; display: grid; place-items: center; }
.status-icon svg { width: 34px; height: 34px; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.status-icon.ok { background: var(--ok-soft); } .status-icon.ok svg { stroke: var(--ok); }
.status-icon.warn { background: var(--signal-soft); } .status-icon.warn svg { stroke: var(--signal); }
.spinner { width: 44px; height: 44px; margin: 0 auto 24px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--signal); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.prose { color: var(--text-2); overflow-wrap: anywhere; }
.prose h1, .prose h2, .prose h3, .prose strong { color: var(--ink); }
.prose p[align="center"] { text-align: left; }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 6px 10px; }
.legal-list { columns: 2; list-style: none; padding: 0; }
.legal-list li { padding: 9px 0; break-inside: avoid; border-bottom: 1px dashed var(--line); }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 28px; }
.footer-brand p { color: var(--text-2); max-width: 36ch; margin-top: 14px; font-size: .93rem; }
.site-footer h3 { font: 500 .72rem var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.site-footer li a { color: var(--text-2); font-size: .93rem; text-decoration: none; }
.site-footer li a:hover { color: var(--signal); }
.pay-row { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font: 400 .8rem var(--mono); color: var(--muted); }

/* ---------------------------------------------------------------- motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1060px) {
  .layer { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .layer-specs { grid-column: 2 / -1; grid-row: 2; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust > div:nth-child(2) { border-right: 0; }
  .trust > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 980px) {
  .hero-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .checkout { grid-template-columns: minmax(0, 1fr); }
  .checkout-side { position: static; }
  .mobile-sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--surface); text-decoration: none; }
  .mobile-sum strong { font: 600 1.05rem var(--mono); color: var(--ink); }
  .mobile-sum strong::after { content: " ↓"; color: var(--signal); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .section-head { grid-template-columns: 1fr; }
  .util-left .hide-sm { display: none; }

  .nav-toggle { display: flex; }
  .nav-only-mobile { display: block; }
  .site-nav { position: fixed; inset: 106px 0 0 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 32px; background: var(--bg); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; }
  .nav-open .site-nav { transform: none; visibility: visible; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav > ul { flex-direction: column; gap: 0; }
  .site-nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 2px; font-size: 1.08rem; }
  .menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px; min-width: 0; background: transparent; display: none; }
  .has-menu.open .menu { display: block; }
  .has-menu::after { display: none; }
  .nav-tools { margin: 20px 0 0; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .why-grid, .two-col, .grid-2, .duo, .steps { grid-template-columns: minmax(0, 1fr); }
  .trust { grid-template-columns: 1fr; }
  .trust > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px 16px; }
  .layer { grid-template-columns: 1fr auto; gap: 12px; padding: 20px 18px; }
  .layer-idx { display: none; }
  .layer-specs { grid-column: 1 / -1; }
  .layer-go { display: none; }
  .dsearch { box-shadow: 4px 4px 0 var(--ink); width: calc(100% - 4px); }
  .dsearch:focus-within { box-shadow: 4px 4px 0 var(--signal); transform: none; }
  .spec dl > div { flex-wrap: wrap; }
  .spec dd small { max-width: 190px; margin-left: auto; }
  .dsearch input { padding-left: 34px; font-size: 1rem; }
  .dsearch-icon { left: 16px; }
  .dsearch .btn { padding-inline: 14px; }
  .dres { grid-template-columns: 1fr auto; }
  .dres-actions { grid-column: 1 / -1; }
  .dres-actions .btn { flex: 1; }
  .section-head--row { flex-direction: column; align-items: stretch; }
  .section-head--row .input { max-width: none; }
  .legal-list { columns: 1; }
  .card { padding: 18px; }
  .finder-out { margin-left: 0; }
  .plan--featured, .plan--recommended { box-shadow: 5px 5px 0 var(--ink); }
  .plan--recommended { box-shadow: 5px 5px 0 var(--signal); }
  .progress li + li::before { width: 12px; margin: 0 6px; }
  .progress b { display: none; }
  .util-right .hide-xs { display: none; }
  .cta-inner { align-items: flex-start; }
}

/* ------------------------------------------------------------------ positioning: renewal, limits, assurances */
.renew-card { padding: 0; }
.renew-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.renew-table th, .renew-table td { padding: 12px 18px; border-bottom: 1px dashed var(--line); text-align: left; }
.renew-table thead th { font: 500 .7rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.renew-table td { font-family: var(--mono); color: var(--ink); white-space: nowrap; }
.renew-table th small { display: block; font-weight: 400; color: var(--muted); font-size: .78rem; }
.renew-table .up, .compare .up { color: var(--signal); font-weight: 600; }
.renew-table tr.ours th, .renew-table tr.ours td, .compare tr.ours th, .compare tr.ours td { background: color-mix(in srgb, var(--ok) 10%, transparent); color: var(--ink); font-weight: 600; }
.compare--market td small { display: block; font-family: var(--body); font-size: .74rem; color: var(--muted); white-space: normal; }
.compare--market .src { margin-left: 6px; font: 500 .7rem var(--mono); color: var(--muted); }
.plan-limits { margin: 4px 0 14px; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 8px; font-size: .8rem; color: var(--text-2); }
.plan-limits b { display: block; font: 500 .68rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.assure { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; font-size: .84rem; color: var(--text-2); }
.assure li { display: flex; gap: 8px; align-items: baseline; }
.assure li::before { content: "✓"; color: var(--ok); font-weight: 700; }
.operator { padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); margin-bottom: 28px; }
.operator h2 { margin-top: 0; }
@media (max-width: 680px) {
  .compare--market .hide-sm { display: none; }
  .compare--market th, .compare--market td { white-space: normal; padding: 12px 10px; }
  .renew-table th, .renew-table td { padding: 10px 12px; }
}
.callout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.callout h2 { margin: .2em 0 .4em; }
.callout p { color: var(--text-2); margin: 0; }
.callout-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.callout-vs a { display: grid; gap: 2px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); background: var(--bg); }
.callout-vs a:first-child { border-color: var(--signal); }
.callout-vs small { font: 500 .68rem var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.callout-vs b { font: 600 1.05rem var(--display); }
.callout-vs span { font-family: var(--mono); font-size: .9rem; }
@media (max-width: 800px) { .callout { grid-template-columns: minmax(0, 1fr); padding: 20px; } }
.cmd-steps { list-style: none; counter-reset: s; padding: 0; margin: 20px 0; display: grid; gap: 14px; }
.cmd-steps li { counter-increment: s; }
.cmd-steps b { display: block; font: 600 .95rem var(--display); margin-bottom: 6px; }
.cmd-steps b::before { content: counter(s) ". "; color: var(--signal); }
.cmd-steps pre { margin: 0; padding: 12px 14px; background: var(--band, #121417); color: #e8e6df; border-radius: 10px; overflow-x: auto; font: .82rem/1.5 var(--mono); }
.usecase-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 20px 0 0; }
.usecase-row .tag { text-decoration: none; }
.usecase-row .tag:hover { border-color: var(--signal); color: var(--ink); }
