/* ==========================================================================
   Radio Code Hub — public site
   Clean, modern, card-based. One stylesheet, no framework.
   ========================================================================== */

@font-face {
  font-family: "Jakarta";
  src: url("../fonts/jakarta-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Seg";
  src: url("../fonts/dseg14-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #0a1628;
  --ink-2: #1b2a41;
  --ink-3: #334155;
  --muted: #5b6b82;
  --faint: #8a97aa;
  --line: #e4e9f2;
  --line-2: #d3dbe8;
  --bg: #f6f8fc;
  --bg-2: #eef2f9;
  --card: #ffffff;
  --brand: #2754f5;
  --brand-2: #1b3fc4;
  --brand-soft: #eaf0ff;
  --accent: #ffb224;
  --accent-2: #ff8a1f;
  --ok: #067647;
  --ok-bg: #e8f8ef;
  --ok-line: #a6e3c1;
  --warn: #9a4a06;
  --warn-bg: #fff4e0;
  --warn-line: #ffd69a;
  --bad: #c0261b;
  --bad-bg: #fdecea;
  --bad-line: #f5b5ae;
  --lcd-bg: #0c1410;
  --lcd-fg: #ffb224;
  --vfd: #ffb224;
  --amber: #ffb224;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(10, 22, 40, .06);
  --shadow: 0 2px 6px rgba(10, 22, 40, .05), 0 10px 30px rgba(10, 22, 40, .07);
  --shadow-lg: 0 10px 30px rgba(10, 22, 40, .10), 0 30px 80px rgba(10, 22, 40, .14);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ------------------------------------------------------------------ base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--card);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  word-spacing: .06em;
}
img, svg { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-2); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.015em; word-spacing: .1em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3, .h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 60%, transparent); outline-offset: 2px; border-radius: 6px; }
::selection { background: #cddcff; }
[hidden] { display: none !important; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tint { background: var(--bg); }
.section--tight { padding: clamp(36px, 5vw, 60px) 0; }
.section__head { max-width: 720px; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
.section__head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.nowrap { white-space: nowrap; }

/* -------------------------------------------------------- announcement */

.announce { background: var(--ink); color: #dfe7f5; font-size: .88rem; text-align: center; padding: 8px 16px; }
.announce a { color: #fff; }

/* -------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(10, 22, 40, .05); }
.site-header__in { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 1.14rem; letter-spacing: -0.02em; flex-shrink: 0; }
.logo:hover { color: var(--ink); }
.logo svg { width: 34px; height: 34px; }
.logo b { color: var(--brand); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-3); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 10px; transition: background .15s, color .15s; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--bg-2); color: var(--ink); }
.nav .btn { margin-left: 8px; color: #fff; }
.nav .btn:hover { color: #fff; background: var(--brand-2); }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s var(--ease), opacity .2s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: 12px var(--gutter) 20px; border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(10, 22, 40, .12);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .25s var(--ease), opacity .2s;
  }
  .nav a { padding: 12px 14px; font-size: 1.05rem; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
  .menu-open .nav { transform: none; opacity: 1; pointer-events: auto; }
}

/* ------------------------------------------------------------- buttons */

.btn {
  --b: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 12px; border: 1px solid transparent;
  background: var(--b); color: #fff; font-weight: 700; font-size: .98rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s;
  box-shadow: 0 1px 1px rgba(10, 22, 40, .08), 0 4px 14px color-mix(in srgb, var(--b) 28%, transparent);
}
.btn:hover { color: #fff; background: var(--brand-2); transform: translateY(-1px); box-shadow: 0 2px 2px rgba(10, 22, 40, .08), 0 10px 24px color-mix(in srgb, var(--b) 34%, transparent); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-busy { opacity: .7; cursor: progress; transform: none; }
.btn--lg { min-height: 56px; padding: 14px 26px; font-size: 1.08rem; border-radius: 14px; }
.btn--block { width: 100%; }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { background: var(--bg); color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn--dark { --b: var(--ink); background: var(--ink); }
.btn--dark:hover { background: var(--ink-2); }
.btn--amber { --b: var(--accent); background: var(--accent); color: #1a1000; }
.btn--amber:hover { background: #ffc043; color: #1a1000; }
.btn--sm { min-height: 36px; padding: 6px 12px; font-size: .88rem; border-radius: 10px; }
.btn .ic { width: 18px; height: 18px; }
.btn .spinner { display: none; }
.btn.is-busy .spinner { display: inline-block; }

.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- pills */

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; line-height: 1.5; white-space: nowrap; border: 1px solid transparent; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill--instant { background: var(--ok-bg); color: var(--ok); border-color: var(--ok-line); }
.pill--manual { background: var(--warn-bg); color: var(--warn); border-color: var(--warn-line); }
.pill--unavailable { background: var(--bg-2); color: var(--muted); border-color: var(--line); }
.pill--plain::before { display: none; }

/* ----------------------------------------------------------------- hero */

.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(1200px 600px at 85% -10%, rgba(39, 84, 245, .55), transparent 60%),
              radial-gradient(900px 500px at -10% 110%, rgba(255, 178, 36, .16), transparent 60%),
              linear-gradient(180deg, #0a1628 0%, #0d1d38 100%);
  color: #fff;
  padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px);
}
.hero::after { /* subtle grid */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 60% 30%, #000 20%, transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 16px; }
.hero h1 .hl { background: linear-gradient(90deg, #8fb0ff, #ffcf73); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lede { font-size: clamp(1.05rem, 1.8vw, 1.22rem); color: #c7d3e8; max-width: 560px; margin-bottom: 26px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #e3ebfa; font-size: .86rem; font-weight: 600; margin-bottom: 18px; }
.eyebrow i { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #16c47f; color: #04130b; font-style: normal; font-size: .75rem; font-weight: 800; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; color: #b9c6dc; font-size: .92rem; }
.hero__trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .ic { width: 18px; height: 18px; color: #6ee7a8; }
.hero--brand { padding-bottom: clamp(48px, 7vw, 80px); }
.hero--compact { padding: clamp(32px, 5vw, 56px) 0; }
.hero--compact h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .86rem; color: #9fb0cc; }
.crumbs a { color: #c9d6ee; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs--light { color: var(--faint); }
.crumbs--light a { color: var(--muted); }
.crumbs--light a:hover { color: var(--ink); }

.brand-badge { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.brand-badge__logo { width: 64px; height: 64px; border-radius: 16px; background: #fff; display: grid; place-items: center; padding: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.brand-badge__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-badge__logo.is-text { font-weight: 800; color: var(--ink); font-size: 1.1rem; letter-spacing: -0.02em; }

/* -------------------------------------------------------------- checker */

.checker {
  position: relative; background: #fff; color: var(--ink); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: clamp(18px, 3vw, 28px); border: 1px solid rgba(255,255,255,.6);
}
.checker__tabs { display: flex; gap: 4px; background: var(--bg-2); padding: 4px; border-radius: 12px; margin-bottom: 16px; }
.checker__tab { flex: 1; border: 0; background: transparent; padding: 9px 10px; border-radius: 9px; font-weight: 700; font-size: .92rem; color: var(--muted); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.checker__tab[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.checker__label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 700; font-size: .95rem; margin-bottom: 8px; }
.checker__label a { font-weight: 600; font-size: .85rem; }
.checker__row { display: flex; gap: 10px; }
.serial-input {
  flex: 1; min-width: 0; height: 58px; padding: 0 16px; border-radius: 14px;
  border: 2px solid var(--line-2); background: #fbfcff; color: var(--ink);
  font-family: var(--mono); font-size: clamp(1.15rem, 2.4vw, 1.35rem); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.serial-input::placeholder { color: #aab6c8; letter-spacing: .04em; text-transform: none; font-weight: 600; }
.serial-input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 5px rgba(39, 84, 245, .14); }
.serial-input.is-ok { border-color: #22b573; }
.serial-input.is-bad { border-color: #ef6b5e; }
.checker__row .btn { height: 58px; padding: 0 22px; border-radius: 14px; }
.plate-input {
  flex: 1; display: flex; align-items: stretch; height: 58px; border-radius: 12px; overflow: hidden;
  border: 2px solid #1a1a1a; background: #ffd400; box-shadow: inset 0 0 0 2px rgba(0,0,0,.06);
}
.plate-input__band { width: 40px; background: #003399; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: .72rem; font-weight: 800; letter-spacing: .04em; }
.plate-input input { flex: 1; min-width: 0; border: 0; background: transparent; text-align: center; font-weight: 800; font-size: 1.6rem; letter-spacing: .1em; text-transform: uppercase; color: #111; }
.plate-input input::placeholder { color: rgba(0,0,0,.28); }
.plate-input input:focus { outline: none; }
.plate-input:focus-within { box-shadow: 0 0 0 5px rgba(255, 212, 0, .35); }

.detect { display: flex; align-items: center; gap: 8px; min-height: 26px; margin-top: 8px; font-size: .9rem; color: var(--muted); }
.detect:empty { min-height: 0; margin-top: 0; }
.detect__chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-2); font-weight: 700; animation: pop .35s var(--ease); }
.detect__chip.is-warn { background: var(--warn-bg); color: var(--warn); }
.detect__chip .ic { width: 15px; height: 15px; }
.checker__help { margin: 12px 0 0; font-size: .86rem; color: var(--muted); }
.checker__help a { font-weight: 600; }

.result { margin-top: 16px; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; animation: fadeUp .45s var(--ease); }
.result__body { padding: 18px; }
.result__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.result__icon { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; }
.result__icon .ic { width: 22px; height: 22px; }
.result__title { font-weight: 800; font-size: 1.08rem; line-height: 1.25; margin: 0; }
.result__sub { color: var(--muted); font-size: .9rem; margin: 2px 0 0; }
.result--instant { border-color: var(--ok-line); background: linear-gradient(180deg, #f3fcf7, #fff 55%); }
.result--instant .result__icon { background: var(--ok-bg); color: var(--ok); }
.result--manual { border-color: var(--warn-line); background: linear-gradient(180deg, #fffaf0, #fff 55%); }
.result--manual .result__icon { background: var(--warn-bg); color: var(--warn); }
.result--bad { border-color: var(--bad-line); background: linear-gradient(180deg, #fff6f5, #fff 60%); }
.result--bad .result__icon { background: var(--bad-bg); color: var(--bad); }
.result--info { border-color: #c9d6ff; background: linear-gradient(180deg, #f5f8ff, #fff 60%); }
.result--info .result__icon { background: var(--brand-soft); color: var(--brand); }
.result__row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.result__price { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.result__price small { display: block; font-size: .78rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.result__facts { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; padding: 0; margin: 12px 0 0; font-size: .86rem; color: var(--ink-3); }
.result__facts li { display: inline-flex; align-items: center; gap: 6px; }
.result__facts .ic { width: 16px; height: 16px; color: var(--ok); }

.candidates { display: grid; gap: 8px; margin-top: 10px; }
.candidate { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; text-align: left; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; font-weight: 700; transition: border-color .15s, background .15s, transform .15s; }
.candidate:hover { border-color: var(--brand); background: var(--brand-soft); transform: translateY(-1px); }

.variant-picker { display: grid; gap: 8px; margin: 4px 0 12px; }
.variant-picker label { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; cursor: pointer; font-weight: 600; }
.variant-picker input { accent-color: var(--brand); width: 18px; height: 18px; }
.variant-picker small { color: var(--muted); font-weight: 500; }

/* radio display (LCD) */
.lcd {
  position: relative; display: flex; align-items: center; justify-content: center; gap: .18em;
  background: radial-gradient(120% 140% at 50% 0%, #1a2a22 0%, var(--lcd-bg) 60%);
  border-radius: 12px; padding: 14px 18px; min-height: 64px;
  box-shadow: inset 0 2px 10px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.05), 0 1px 0 rgba(255,255,255,.6);
  font-family: "Seg", var(--mono); color: var(--lcd-fg); font-size: 2rem; letter-spacing: .08em;
  text-shadow: 0 0 6px rgba(255, 178, 36, .75), 0 0 18px rgba(255, 140, 20, .35);
  overflow: hidden;
}
.lcd::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0,0,0,.18) 0 1px, transparent 1px 3px); pointer-events: none; }
.lcd__ghost { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(255,178,36,.07); text-shadow: none; pointer-events: none; }
.lcd__digit { display: inline-block; min-width: .9em; text-align: center; }
.lcd__digit.is-masked { color: rgba(255,178,36,.28); text-shadow: none; }
.lcd__digit.is-spin { animation: flicker .12s steps(2) infinite; }
.lcd--big { font-size: clamp(2.6rem, 9vw, 4.4rem); min-height: 110px; padding: 18px 22px; }
.lcd__label { position: absolute; left: 12px; top: 8px; font-family: var(--font); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,178,36,.55); text-shadow: none; }
@keyframes flicker { 50% { opacity: .55; } }

.checkout { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-2); display: grid; gap: 12px; animation: fadeUp .35s var(--ease); }
.checkout .input { height: 50px; }
.checkout__legal { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--ink-3); line-height: 1.45; }
.checkout__legal input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.checkout__secure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .8rem; color: var(--muted); }
.checkout__secure .ic { width: 15px; height: 15px; }

/* ---------------------------------------------------------- pay logos */

.paylogos { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; padding: 0; margin: 0; }
.paylogos li { height: 30px; min-width: 42px; padding: 4px 6px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 7px; }
.paylogos img { height: 18px; width: auto; }
.paylogos--center { justify-content: center; }
.paylogos--dark li { border-color: rgba(255,255,255,.12); }

/* ------------------------------------------------------- hero radio art */

.hero__art { position: relative; }
.radio-hero {
  position: relative; border-radius: 28px; padding: 22px;
  background: linear-gradient(160deg, #273248, #121a2a 70%);
  box-shadow: 0 40px 80px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.08);
  transform: perspective(1400px) rotateY(-10deg) rotateX(4deg);
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: perspective(1400px) rotateY(-8deg) rotateX(3deg) translateY(-8px); } }
.radio-hero__top { display: flex; align-items: center; gap: 14px; }
.radio-hero__knob { width: 64px; height: 64px; border-radius: 50%; flex: none; background: radial-gradient(circle at 35% 30%, #5b6680, #1c2334 70%); box-shadow: 0 6px 14px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.2); position: relative; }
.radio-hero__knob::after { content: ""; position: absolute; left: 50%; top: 9px; width: 3px; height: 14px; border-radius: 2px; background: #cfd8ea; transform: translateX(-50%); }
.radio-hero .lcd { flex: 1; font-size: clamp(1.7rem, 3.6vw, 2.5rem); min-height: 78px; }
.radio-hero__keys { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 16px; }
.radio-hero__keys span { height: 34px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: .9rem; color: #cfd8ea; background: linear-gradient(180deg, #33405a, #252f44); box-shadow: 0 2px 0 #0b111d, inset 0 1px 0 rgba(255,255,255,.1); transition: all .2s; }
.radio-hero__keys span.is-lit { color: #1a1000; background: linear-gradient(180deg, #ffd27a, #ffb224); box-shadow: 0 0 0 3px rgba(255,178,36,.25), 0 0 22px rgba(255,178,36,.55); transform: translateY(1px); }
.radio-hero__caption { display: flex; justify-content: space-between; margin-top: 14px; font-size: .78rem; color: #8ea0c0; letter-spacing: .04em; }
.radio-hero__waves { position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; pointer-events: none; }
.radio-hero__waves i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(143,176,255,.35); animation: ripple 3.6s var(--ease) infinite; }
.radio-hero__waves i:nth-child(2) { animation-delay: 1.2s; }
.radio-hero__waves i:nth-child(3) { animation-delay: 2.4s; }
@keyframes ripple { from { transform: scale(.3); opacity: .9; } to { transform: scale(1.2); opacity: 0; } }
.float-card { position: absolute; background: #fff; color: var(--ink); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow-lg); font-size: .85rem; font-weight: 700; display: flex; align-items: center; gap: 10px; animation: fadeUp .7s var(--ease) both; }
.float-card small { display: block; font-weight: 500; color: var(--muted); }
.float-card .dot { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); }
.float-card--a { left: -28px; bottom: -58px; animation-delay: .5s; }
.float-card--b { right: -12px; top: -22px; animation-delay: .9s; }

/* ------------------------------------------------------------ brands */

.brand-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.seg { display: inline-flex; background: var(--bg-2); padding: 4px; border-radius: 12px; }
.seg button { border: 0; background: transparent; padding: 8px 16px; border-radius: 9px; font-weight: 700; color: var(--muted); cursor: pointer; font-size: .92rem; }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.search { position: relative; flex: 1; max-width: 340px; min-width: 220px; }
.search input { width: 100%; height: 44px; padding: 0 14px 0 40px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; }
.search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(39,84,245,.12); }
.search .ic { position: absolute; left: 13px; top: 12px; color: var(--faint); width: 20px; height: 20px; }

.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.brand-card {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center;
  padding: 20px 12px 16px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s;
}
.brand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c9d6ff; color: var(--ink); }
.brand-card__logo { height: 54px; width: 100%; display: grid; place-items: center; }
.brand-card__logo img { max-height: 50px; max-width: 86px; width: auto; height: auto; object-fit: contain; transition: transform .3s var(--ease); }
.brand-card:hover .brand-card__logo img { transform: scale(1.06); }
.brand-card__mark { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; }
.brand-card--radio .brand-card__mark { background: linear-gradient(135deg, var(--brand), #7b5cff); }
.brand-card__name { font-weight: 800; font-size: 1rem; line-height: 1.2; }
.brand-card__meta { font-size: .78rem; color: var(--muted); }
.brand-card--more { border-style: dashed; background: var(--bg); justify-content: center; }
.brand-card--more .brand-card__mark { background: #fff; color: var(--brand); border: 1px dashed #b7c7ff; }
.brand-empty { padding: 30px; text-align: center; color: var(--muted); }

/* -------------------------------------------------------------- steps */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step-card { position: relative; padding: 26px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step-card__num { position: absolute; top: 18px; right: 20px; font-size: 3rem; font-weight: 800; line-height: 1; color: var(--bg-2); letter-spacing: -0.05em; }
.step-card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 16px; }
.step-card__icon .ic { width: 26px; height: 26px; }
.step-card h3 { margin-bottom: 6px; }
.step-card p { color: var(--muted); margin: 0; font-size: .96rem; }

/* ----------------------------------------------------------- features */

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px; color: #fff; background: linear-gradient(135deg, var(--brand), #6a7dff); }
.feature__icon--amber { background: linear-gradient(135deg, #ff9d2e, var(--accent)); color: #1a1000; }
.feature__icon--green { background: linear-gradient(135deg, #0ea968, #34d399); }
.feature h3 { font-size: 1.08rem; margin-bottom: 6px; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

/* -------------------------------------------------------------- price */

.price-band { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); background: linear-gradient(135deg, #0a1628, #16305f); color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.price-band::after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(255,178,36,.35), transparent 65%); }
.price-band h2 { color: #fff; }
.price-band p { color: #c7d3e8; }
.price-band__amount { font-size: clamp(3.2rem, 8vw, 4.8rem); font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.price-band__amount small { font-size: 1rem; letter-spacing: 0; font-weight: 600; color: #9fb0cc; margin-left: 8px; }
.price-band__list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.price-band__list li { display: flex; gap: 10px; align-items: center; color: #e3ebfa; }
.price-band__list li .ic { color: #6ee7a8; }
.price-band__cta { position: relative; z-index: 1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 22px; }
.strike { text-decoration: line-through; opacity: .7; }

/* ------------------------------------------------------- guide cards */

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card-grid--3 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.link-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, border-color .2s; }
.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--ink); border-color: #c9d6ff; }
.link-card .ic { color: var(--brand); width: 26px; height: 26px; margin-bottom: 6px; }
.link-card strong { font-size: 1.05rem; }
.link-card span { color: var(--muted); font-size: .93rem; }
.link-card em { margin-top: auto; padding-top: 8px; font-style: normal; font-weight: 700; color: var(--brand); font-size: .9rem; }

/* ---------------------------------------------------------------- faq */

.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: #cfdaf5; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq__a { padding: 0 20px 18px; color: var(--ink-3); }
.faq .faq__a p:last-child { margin: 0; }

/* -------------------------------------------------------------- cta */

.cta-band { text-align: center; padding: clamp(36px, 6vw, 64px) var(--gutter); border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--brand), #5b3df5); color: #fff; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #dbe4ff; max-width: 560px; margin: 0 auto 22px; }
.cta-band .btn { --b: #fff; background: #fff; color: var(--brand-2); }
.cta-band .btn:hover { background: #eef2ff; color: var(--brand-2); }

/* -------------------------------------------------------------- footer */

.site-footer { background: var(--ink); color: #aebbd1; padding: 64px 0 28px; margin-top: 0; font-size: .93rem; }
.site-footer a { color: #d6e0f2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-grid .footer-title { color: #fff; font-size: .82rem; line-height: 1.4; letter-spacing: .12em; word-spacing: normal; text-transform: uppercase; margin: 0 0 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .logo { color: #fff; margin-bottom: 12px; }
.site-footer .logo b { color: #8fb0ff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; padding-top: 22px; display: grid; gap: 14px; font-size: .82rem; color: #8193b0; }
.footer-bottom__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }

/* ------------------------------------------------------ brand page */

.brand-hero__grid { display: grid; grid-template-columns: 1fr minmax(320px, 460px); gap: clamp(24px, 4vw, 56px); align-items: start; }
.quickfacts { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.quickfacts li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: .86rem; font-weight: 600; color: #e3ebfa; }
.quickfacts .ic { width: 16px; height: 16px; color: #6ee7a8; }

.systems { display: grid; gap: 18px; }
.system-card { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: 24px; padding: 22px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.system-card.is-off { background: var(--bg); }
.system-card.is-off .system-card__art { filter: grayscale(1); opacity: .6; }
.system-card__art { border-radius: 14px; overflow: hidden; background: #1b1e23; align-self: start; }
.system-card__art img { width: 100%; }
.system-card__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 6px; }
.system-card__head h3 { margin: 0; }
.system-card__serial { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); margin-bottom: 12px; }
.system-card__serial code, .serial-code { font-family: var(--mono); font-weight: 700; color: var(--ink); background: #fff7d6; border: 1px solid #f1dd8a; padding: 2px 8px; border-radius: 6px; letter-spacing: .06em; }
.system-card__units { font-size: .88rem; color: var(--muted); margin: 0 0 12px; }
.numbered { list-style: none; padding: 0; margin: 0; counter-reset: n; display: grid; gap: 8px; }
.numbered li { counter-increment: n; position: relative; padding-left: 36px; min-height: 26px; }
.numbered li::before { content: counter(n); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-2); font-weight: 800; font-size: .82rem; }
.system-card .advice { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-size: .92rem; color: var(--ink-3); }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tabs button { border: 1px solid var(--line); background: #fff; padding: 8px 16px; border-radius: 999px; font: inherit; font-weight: 700; font-size: .92rem; color: var(--muted); cursor: pointer; transition: color .2s, background .2s, border-color .2s, box-shadow .2s; }
.tabs button:hover { color: var(--ink); border-color: #c9d6ff; }
.tabs button[aria-selected="true"] { color: #fff; background: var(--brand); border-color: var(--brand); box-shadow: 0 6px 16px rgba(39, 84, 245, .25); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.box { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.box h3, .box .h3 { display: flex; align-items: center; gap: 10px; }
.box--ok h3 .ic { color: var(--ok); }
.box--no h3 .ic { color: var(--bad); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 14px; height: 8px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.ticks--no li::before { width: 12px; height: 12px; border: 0; top: 7px; background: linear-gradient(45deg, transparent 43%, var(--bad) 43% 57%, transparent 57%), linear-gradient(-45deg, transparent 43%, var(--bad) 43% 57%, transparent 57%); transform: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; }

.callout { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: var(--radius); background: var(--warn-bg); border: 1px solid var(--warn-line); }
.callout .ic { color: var(--warn); width: 26px; height: 26px; margin-top: 2px; }
.callout h3, .prose .callout h3 { margin: 0 0 4px; }
.callout p { margin: 0; color: #5f3a0c; }
.callout--info { background: var(--brand-soft); border-color: #c9d6ff; }
.callout--info .ic { color: var(--brand); }
.callout--info p { color: var(--ink-3); }

/* ------------------------------------------------------------ prose */

.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--ink-3); }
.prose li { margin-bottom: .4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg); font-weight: 700; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 12px; margin: 1em 0 1.6em; }
.table-wrap table { margin: 0; }
.toc { padding: 18px 20px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); margin-bottom: 28px; }
.toc strong { display: block; margin-bottom: 8px; }
.toc ol { margin: 0; }

.layout-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.aside-sticky { position: sticky; top: 90px; }

/* -------------------------------------------------------------- forms */

.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .92rem; }
.field small { color: var(--muted); }
.input, .select, .textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; transition: border-color .2s, box-shadow .2s; }
.textarea { min-height: 130px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(39,84,245,.12); }
.input.is-bad { border-color: #ef6b5e; box-shadow: 0 0 0 4px rgba(239,107,94,.12); }
.form-note { padding: 12px 14px; border-radius: 12px; font-size: .92rem; animation: fadeUp .3s var(--ease); }
.form-note--ok { background: var(--ok-bg); color: var(--ok); border: 1px solid var(--ok-line); }
.form-note--bad { background: var(--bad-bg); color: var(--bad); border: 1px solid var(--bad-line); }
.hp { position: absolute; left: -5000px; }

/* ---------------------------------------------------------- order page */

.order-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.progress { display: flex; align-items: center; gap: 0; list-style: none; padding: 0; margin: 0 0 24px; }
.progress li { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; font-size: .82rem; font-weight: 700; color: #66738a; text-align: center; }
.progress li::before { content: ""; position: absolute; top: 15px; left: -50%; right: 50%; height: 3px; background: var(--line); z-index: 0; }
.progress li:first-child::before { display: none; }
.progress li i { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid var(--line); font-style: normal; }
.progress li.is-done { color: var(--ok); }
.progress li.is-done::before { background: #22b573; }
.progress li.is-done i { background: #22b573; border-color: #22b573; color: #fff; }
.progress li.is-now { color: var(--ink); }
.progress li.is-now i { border-color: var(--brand); box-shadow: 0 0 0 5px rgba(39,84,245,.15); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(39,84,245,.05); } }

.code-card { padding: clamp(20px, 3vw, 30px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.code-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.code-card__alt { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--warn-bg); border: 1px solid var(--warn-line); color: #5f3a0c; font-size: .93rem; }
.waiting { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 14px; background: var(--bg); }
.waiting .spinner { width: 26px; height: 26px; color: var(--brand); }
.summary { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.summary li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.summary li:last-child { border: 0; }
.summary span:first-child { color: var(--muted); }
.summary span:last-child { font-weight: 700; text-align: right; word-break: break-all; }
.feedback-box { margin-top: 18px; padding: 18px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.feedback-box__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.testmode { padding: 16px; border-radius: 14px; border: 2px dashed #f59e0b; background: #fffbeb; margin-top: 16px; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 8px; height: 14px; border-radius: 2px; animation: fall 2.6s cubic-bezier(.3,.6,.4,1) forwards; }
@keyframes fall { to { transform: translate3d(var(--dx, 0), 105vh, 0) rotate(var(--rot, 540deg)); opacity: .9; } }

/* lockout timer */
.timer { display: grid; gap: 14px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.timer__face { font-family: "Seg", var(--mono); font-size: 2.6rem; }
.timer__btns { display: flex; flex-wrap: wrap; gap: 8px; }

/* ------------------------------------------------------ animations */

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
@keyframes shake { 10%, 90% { transform: translateX(-1px); } 20%, 80% { transform: translateX(2px); } 30%, 50%, 70% { transform: translateX(-4px); } 40%, 60% { transform: translateX(4px); } }
.shake { animation: shake .45s; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .04s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: .08s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .12s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: .16s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .2s; }
.reveal-stagger.is-in > *:nth-child(7) { transition-delay: .24s; }
.reveal-stagger.is-in > *:nth-child(8) { transition-delay: .28s; }
.reveal-stagger.is-in > *:nth-child(n+9) { transition-delay: .32s; }
.no-js .reveal, .no-js .reveal-stagger > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
  .radio-hero { transform: none; }
}

/* Narrow checkers (sidebars, phones): stack the controls. */
.checker { container-type: inline-size; }
@container (max-width: 400px) {
  .result__row { flex-direction: column; align-items: stretch; }
  .result__row .btn { width: 100%; }
  .checker__row { flex-direction: column; }
  .checker__row .btn { width: 100%; }
  .checker__row .serial-input, .checker__row .plate-input { flex: none; width: 100%; }
}

/* ---------------------------------------------------------- responsive */

@media (max-width: 1040px) {
  .hero__grid, .brand-hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 520px; margin: 10px auto 0; }
  .radio-hero { transform: none; animation: none; }
  .layout-aside, .order-wrap { grid-template-columns: 1fr; }
  .aside-sticky { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .steps, .features { grid-template-columns: 1fr; }
  .price-band { grid-template-columns: 1fr; }
  .system-card { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .checker__row { flex-direction: column; }
  .checker__row .btn { width: 100%; }
  .checker__row .serial-input, .checker__row .plate-input { flex: none; width: 100%; }
  .paylogos { gap: 5px; }
  .paylogos li { height: 28px; min-width: 38px; padding: 3px 5px; }
  .paylogos img { height: 16px; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .brand-card { padding: 16px 8px 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .float-card { display: none; }
  .hero__art { display: none; }
  .search { max-width: none; }
  .brand-tools { flex-direction: column; align-items: stretch; }
  .seg { width: 100%; }
  .seg button { flex: 1; }
}

@media print {
  .site-header, .site-footer, .announce, .no-print, .feedback-box, .checker__tabs { display: none !important; }
  body { background: #fff; }
  .lcd { background: #fff !important; color: #000 !important; text-shadow: none !important; box-shadow: none !important; border: 2px solid #000; }
  .lcd::after { display: none; }
}

/* ------------------------------------------------------------ cookies */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 520px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 16px; background: var(--ink); color: #dfe7f5; box-shadow: var(--shadow-lg); font-size: .9rem; animation: fadeUp .4s var(--ease); }
.cookie p { margin: 0; }
.cookie a { color: #fff; }
