/* carmediabox.uz — CarBox. Colours are the app's: each section has its own, day and night. */
:root {
  --blue: #2563EB; --blue-d: #1D4ED8;
  --red: #E11D48;
  --green: #22C55E; --on-green: #052E16;
  --amber: #F59E0B; --on-amber: #1C1206;
  --violet: #7C3AED;
  --sky: #38BDF8;
  --ink: #0B0C0F;
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-lg: 32px; --r: 28px; --r-btn: 24px; --r-ctl: 20px; --r-chip: 16px;
  --wrap: 1200px;
  --gut: 20px;
  /* day by default (no script) */
  --bg: #EEF0F4; --card: #FFFFFF; --card2: #F1F3F6; --text: #0F1115; --muted: #5B6170;
  --line: rgba(15, 17, 21, 0.08);
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.06), 0 8px 24px rgba(16, 24, 40, 0.06);
  --i-blue: #2563EB; --i-red: #E11D48; --i-green: #16A34A; --i-amber: #B45309; --i-violet: #7C3AED; --i-sky: #0369A1;
  --box: #B45309;
  --screen-bg: #EEF0F4;
  color-scheme: light;
}
:root[data-theme="night"] {
  --bg: #0F1115; --card: #1C2029; --card2: #262B36; --text: #F2F4F7; --muted: #A7AFBD;
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
  --i-blue: #60A5FA; --i-red: #FB7185; --i-green: #4ADE80; --i-amber: #FBBF24; --i-violet: #A78BFA; --i-sky: #38BDF8;
  --box: #FBBF24;
  --screen-bg: #0F1115;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #0F1115; --card: #1C2029; --card2: #262B36; --text: #F2F4F7; --muted: #A7AFBD;
    --line: rgba(255, 255, 255, 0.08); --shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
    --i-blue: #60A5FA; --i-red: #FB7185; --i-green: #4ADE80; --i-amber: #FBBF24; --i-violet: #A78BFA; --i-sky: #38BDF8;
    --box: #FBBF24; --screen-bg: #0F1115; color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 500 1.0625rem/1.6 var(--body);
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--i-blue); outline-offset: 3px; border-radius: 10px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- wordmark, buttons ---------- */
.brand { font: 800 1.375rem/1 var(--body); letter-spacing: -0.04em; text-decoration: none; color: var(--text); }
.brand span { color: var(--box); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px; text-decoration: none; cursor: pointer;
  font: 800 1rem/1.15 var(--body); letter-spacing: -0.01em;
  transition: transform 0.12s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 0.9375rem; }
.btn-lg { min-height: 60px; padding: 14px 28px; font-size: 1.0625rem; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 12px 28px rgba(37, 99, 235, 0.32); }
.btn-blue:hover { background: var(--blue-d); }
.btn-quiet { background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.btn-quiet:hover { background: var(--card2); }
.btn-ink { background: var(--on-amber); color: #fff; }
.btn-ink:hover { background: #000; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background-color 0.4s ease;
}
.top.is-scrolled { border-bottom-color: var(--line); }
.top-in { height: 72px; display: flex; align-items: center; gap: 28px; }
.top-nav { display: flex; gap: 4px; margin-right: auto; }
.top-nav a { text-decoration: none; font-weight: 700; font-size: 0.9375rem; color: var(--muted); padding: 10px 12px; border-radius: 12px; }
.top-nav a:hover { color: var(--text); background: var(--card2); }
.top-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.langs { display: flex; background: var(--card2); border-radius: 999px; padding: 4px; }
.langs a { text-decoration: none; font-weight: 800; font-size: 0.8125rem; padding: 8px 11px; border-radius: 999px; color: var(--muted); }
.langs a[aria-current] { background: var(--card); color: var(--text); box-shadow: var(--shadow); }
.theme-btn {
  width: 44px; height: 44px; border-radius: 999px; border: 0; cursor: pointer;
  display: grid; place-items: center; background: var(--card); box-shadow: var(--shadow);
}
.i-sun, :root[data-theme="night"] .i-moon { display: none; }
:root[data-theme="night"] .i-sun { display: block; }

/* ---------- hero ---------- */
.hero { padding: 44px 0 32px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--card); box-shadow: var(--shadow);
  font-weight: 700; font-size: 0.9375rem;
}
.kdot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2); }
h1 {
  margin-top: 22px; max-width: 18ch;
  font: 700 clamp(2.05rem, 5.4vw, 4.35rem)/1.04 var(--display); letter-spacing: -0.045em;
  text-wrap: balance;
}
h1 .w { white-space: nowrap; }
h1 .w-yt { color: var(--i-red); }
h1 .w-nav { color: var(--i-blue); }
h1 .w-radar { color: var(--i-violet); }
.hero-row { margin-top: 26px; display: flex; gap: 32px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.lead { max-width: 56ch; color: var(--muted); font-size: 1.1875rem; line-height: 1.55; font-weight: 600; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 22px 0 0; color: var(--muted); font-weight: 700; font-size: 0.9375rem; }
.facts li { display: flex; align-items: center; gap: 9px; }
.facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.6; }

/* the head unit: a dark glass bezel set into the dash */
.unit { margin: 40px 0 0; position: relative; }
.unit-bezel {
  position: relative;
  padding: clamp(8px, 1.3vw, 15px); border-radius: clamp(22px, 3.4vw, 42px);
  background: linear-gradient(180deg, #23262D 0%, #0B0C0F 9%, #07080A 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 30px 60px -28px rgba(10, 14, 20, 0.55);
}
.unit-bezel::after { /* the unit's shadow on the dash */
  content: ""; position: absolute; left: 7%; right: 7%; bottom: -30px; height: 46px; z-index: -1;
  background: radial-gradient(closest-side, rgba(10, 14, 20, 0.32), transparent);
}
.unit-screen {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; touch-action: pan-y;
  border-radius: clamp(14px, 2.4vw, 30px); background: var(--screen-bg);
  transition: background-color 0.4s ease;
}
.unit-screen::after { /* glass */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 38%);
}
.stage { position: absolute; left: 0; top: 0; width: 1280px; height: 720px; transform-origin: 0 0; }
.scr { position: absolute; inset: 0; }
.scr-shot { width: 1280px; height: 720px; max-width: none; }
.scr[hidden] { display: none; }
.hits { position: absolute; inset: 0; }
.hit { position: absolute; border: 0; padding: 0; background: transparent; cursor: pointer; border-radius: 24px; }
.hit:hover { background: rgba(127, 127, 127, 0.08); }
.unit-cap { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.unit-cap p { color: var(--muted); font-weight: 600; font-size: 0.9375rem; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  height: 44px; padding: 0 18px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--card); box-shadow: var(--shadow); font-weight: 800; font-size: 0.9375rem;
}
.chip[aria-pressed="true"] { background: var(--blue); color: #fff; box-shadow: none; }

/* ---------- live antiradar screen (design 4.1b, in 1280 x 720 units) ---------- */
.scr-radar { display: flex; gap: 16px; padding: 20px; background: var(--screen-bg); color: var(--text); font-family: var(--body); }
.ar-rail { width: 76px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ar-brand { height: 64px; margin-bottom: 4px; display: flex; align-items: center; font-size: 17px; font-weight: 800; letter-spacing: -0.03em; }
.ar-brand span { color: var(--box); }
.ar-rb { width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; background: var(--card); box-shadow: var(--shadow); color: var(--text); }
.ar-rb.is-on { background: var(--blue); color: #fff; box-shadow: none; }
.ar-rb.ar-red { color: var(--i-red); }
.ar-rb.ar-green { color: var(--i-green); }
.ar-grow { flex-grow: 1; }
.ar-main { flex-grow: 1; min-width: 0; display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 14px; }
.ar-speed { border-radius: 32px; background: var(--card); box-shadow: var(--shadow); padding: 24px; display: flex; flex-direction: column; }
.ar-head { display: flex; align-items: center; justify-content: space-between; font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.ar-limit { width: 76px; height: 76px; border-radius: 38px; border: 8px solid var(--red); background: #fff; color: #0F1115; display: grid; place-items: center; font-size: 26px; font-weight: 800; letter-spacing: -0.04em; }
.ar-mid { flex-grow: 1; display: flex; flex-direction: column; justify-content: center; }
.ar-num { font-size: 160px; font-weight: 800; letter-spacing: -0.07em; line-height: 0.85; font-variant-numeric: tabular-nums; transition: color 0.3s ease; }
.is-over .ar-num { color: var(--i-red); }
.ar-unit { margin-top: 10px; font-size: 20px; font-weight: 700; color: var(--muted); }
.ar-bar { position: relative; margin-top: 28px; height: 14px; border-radius: 7px; background: var(--card2); }
.ar-fill { width: 39%; height: 100%; border-radius: 7px; background: var(--green); transition: background-color 0.3s ease; }
.is-ahead .ar-fill { background: var(--amber); }
.is-over .ar-fill { background: var(--red); }
.ar-mark { position: absolute; left: 43%; top: -8px; width: 3px; height: 30px; margin-left: -1.5px; border-radius: 2px; background: var(--text); }
.ar-scale { position: relative; height: 22px; margin-top: 8px; font-size: 13px; font-weight: 800; color: var(--muted); }
.ar-scale span { position: absolute; left: 0; }
.ar-scale .ar-scale-l { left: 43%; transform: translateX(-50%); color: var(--text); }
.ar-scale .ar-scale-r { left: auto; right: 0; }
.ar-stats { display: flex; flex-direction: column; gap: 10px; margin: 6px 0 20px; }
.ar-stat { display: flex; align-items: center; gap: 12px; }
.ar-stat b { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; min-width: 62px; }
.ar-stat span:last-child { font-size: 15px; font-weight: 700; color: var(--muted); }
.ar-si { width: 40px; height: 40px; flex-shrink: 0; border-radius: 13px; background: var(--card2); display: grid; place-items: center; }
.ar-si-v { color: var(--i-violet); } .ar-si-a { color: var(--i-amber); } .ar-si-s { color: var(--i-sky); }
.ar-chips { display: flex; gap: 10px; }
.ar-chip { height: 48px; padding: 0 18px; border-radius: 18px; background: var(--card2); display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; }
.ar-chip i { width: 10px; height: 10px; border-radius: 5px; }
.d-green { background: var(--green); box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2); }
.d-sky { background: var(--sky); box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2); }
.ar-road { position: relative; border-radius: 32px; overflow: hidden; background: #DDE3EA; box-shadow: var(--shadow); }
:root[data-theme="night"] .ar-road { background: #0D1016; }
.ar-video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 100%; }
.ar-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ar-svg polygon { fill: var(--green); fill-opacity: 0.28; transition: fill 0.3s ease; }
.is-ahead .ar-svg polygon { fill: var(--amber); }
.is-over .ar-svg polygon { fill: var(--red); }
.ar-cam { opacity: 0; transition: opacity 0.3s ease; --hue: var(--amber); }
.is-ahead .ar-cam, .is-over .ar-cam { opacity: 1; }
.is-over .ar-cam { --hue: var(--red); }
.ar-cam circle { fill: var(--hue); }
.ar-h2 { fill-opacity: 0.12; transform-box: fill-box; transform-origin: center; animation: ring 1.4s ease-out infinite; }
.ar-h1 { fill-opacity: 0.2; transform-box: fill-box; transform-origin: center; animation: ring 1.4s ease-out 0.2s infinite; }
.ar-dot { stroke: #fff; stroke-width: 4; }
.ar-glyph { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes ring { 0% { transform: scale(0.85); opacity: 1; } 100% { transform: scale(1.25); opacity: 0.15; } }
.ar-fade { position: absolute; left: 0; right: 0; top: 0; height: 160px; background: linear-gradient(180deg, #DDE3EA 12%, rgba(221, 227, 234, 0)); }
:root[data-theme="night"] .ar-fade { background: linear-gradient(180deg, #0D1016 12%, rgba(13, 16, 22, 0)); }
.ar-top { position: absolute; left: 22px; top: 22px; right: 22px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ar-pill {
  border-radius: 26px; padding: 14px 24px 14px 14px; display: flex; align-items: center; gap: 16px;
  background: var(--green); color: var(--on-green); box-shadow: 0 16px 40px rgba(34, 197, 94, 0.35);
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.is-ahead .ar-pill { background: var(--amber); color: var(--on-amber); box-shadow: 0 16px 40px rgba(245, 158, 11, 0.35); }
.is-over .ar-pill { background: var(--red); color: #fff; box-shadow: 0 16px 40px rgba(225, 29, 72, 0.4); animation: beat 1.4s ease-in-out infinite; }
@keyframes beat { 50% { transform: scale(1.03); } }
.ar-pi { width: 64px; height: 64px; flex-shrink: 0; border-radius: 20px; background: rgba(5, 46, 22, 0.14); display: grid; place-items: center; }
.is-ahead .ar-pi { background: rgba(28, 18, 6, 0.14); }
.is-over .ar-pi { background: rgba(255, 255, 255, 0.2); }
.ar-pi svg { display: none; }
.ar-pi .p-clear { display: block; }
.is-ahead .ar-pi .p-clear, .is-over .ar-pi .p-clear { display: none; }
.is-ahead .ar-pi .p-ahead, .is-over .ar-pi .p-over { display: block; }
.ar-pt b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.ar-pt small { display: block; margin-top: 4px; font-size: 15px; font-weight: 700; opacity: 0.9; }
.ar-dist { flex-shrink: 0; border-radius: 26px; background: var(--card); box-shadow: var(--shadow); padding: 12px 22px; text-align: right; opacity: 0; transform: translateY(-6px); transition: opacity 0.3s ease, transform 0.3s ease; }
.is-ahead .ar-dist, .is-over .ar-dist { opacity: 1; transform: none; }
.ar-dist b { display: block; font-size: 52px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.ar-dist small { font-size: 24px; color: var(--muted); }
.ar-dist > span { display: block; margin-top: 2px; font-size: 13px; font-weight: 700; color: var(--muted); }
.ar-actions { position: absolute; right: 22px; bottom: 22px; display: flex; gap: 12px; }
.ar-power { width: 80px; height: 80px; border-radius: 40px; background: var(--card); box-shadow: var(--shadow); display: grid; place-items: center; }
.ar-add { height: 80px; padding: 0 30px; border-radius: 40px; background: var(--blue); color: #fff; display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; box-shadow: 0 12px 28px rgba(37, 99, 235, 0.32); }

/* ---------- sections ---------- */
.sec { padding: clamp(64px, 9vw, 120px) 0 0; }
.sec-head { display: grid; gap: 14px; margin-bottom: 36px; max-width: 760px; }
h2 { font: 700 clamp(1.75rem, 3.6vw, 2.9rem)/1.08 var(--display); letter-spacing: -0.04em; text-wrap: balance; }
.sec-head p { color: var(--muted); font-size: 1.125rem; font-weight: 600; max-width: 60ch; }

/* features: laid out like the app's home screen, each tile in its section colour */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(210px, auto); gap: 14px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 12px; background: var(--card); box-shadow: var(--shadow); }
.tile h3 { display: flex; align-items: center; gap: 12px; font: 700 1.3125rem/1.2 var(--display); letter-spacing: -0.03em; }
.tile h3 svg { flex-shrink: 0; }
.tile p { font-weight: 600; line-height: 1.5; }
.t-nav { grid-column: 1 / span 2; grid-row: span 2; background: var(--blue); color: #fff; padding: 0; justify-content: space-between; }
.t-nav .map { position: absolute; inset: 0; }
.t-nav .map svg { width: 100%; height: 100%; }
.m-road { fill: none; stroke: rgba(255, 255, 255, 0.14); stroke-width: 18; stroke-linecap: round; }
.m-route { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; transition: stroke-dashoffset 2.2s cubic-bezier(0.3, 0.6, 0.2, 1); }
.t-nav.is-seen .m-route { stroke-dashoffset: 0; }
.m-pin { fill: var(--amber); stroke: #fff; stroke-width: 5; }
.t-search { position: relative; margin: 22px 22px 0; height: 56px; border-radius: 18px; background: #fff; color: #0F1115; display: flex; align-items: center; gap: 12px; padding: 0 8px 0 18px; font-weight: 700; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16); }
.t-search span { flex-grow: 1; }
.t-search i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue); color: #fff; }
.t-nav .t-body { position: relative; margin: 22px; padding: 22px; border-radius: 24px; background: rgba(15, 23, 60, 0.42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: grid; gap: 10px; }
.t-radar { background: var(--violet); color: #fff; }
.t-big { font: 700 1rem/1.1 var(--body); opacity: 0.92; }
.t-big b { display: block; font: 700 clamp(2.4rem, 4.2vw, 3.3rem)/1 var(--display); letter-spacing: -0.05em; margin-bottom: 4px; }
.t-phone { background: var(--green); color: var(--on-green); }
.t-media { grid-column: 3 / span 2; grid-row: span 2; background: var(--red); color: #fff; justify-content: space-between; }
.t-player { display: grid; grid-template-columns: auto 1fr; gap: 14px 20px; align-items: center; padding: 6px 0 0; }
.tp-art { grid-row: span 2; width: 120px; height: 120px; border-radius: 26px; background: #BE123C; display: grid; place-items: center; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18); }
.tp-bar { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.28); overflow: hidden; }
.tp-bar i { display: block; width: 38%; height: 100%; background: #fff; border-radius: 4px; }
.tp-ctl { display: flex; align-items: center; gap: 14px; }
.tp-ctl i { width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); display: grid; place-items: center; }
.tp-ctl i svg { fill: #fff; transform: scaleX(-1); }
.tp-ctl i.fwd svg { transform: none; }
.tp-ctl b { width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--red); display: grid; place-items: center; }
.tp-ctl b svg { fill: currentColor; margin-left: 3px; }
.t-media .t-body { display: grid; gap: 10px; max-width: 46ch; }
.t-msg { background: var(--amber); color: var(--on-amber); }
.t-tag { align-self: flex-start; margin-top: auto; padding: 6px 12px; border-radius: 999px; background: rgba(28, 18, 6, 0.12); font-weight: 800; font-size: 0.8125rem; }
.t-car p, .t-apps p, .t-day p { color: var(--muted); }
.t-car h3 svg { color: var(--i-amber); }
.t-apps { background: var(--text); color: var(--bg); }
.t-apps p { color: color-mix(in srgb, var(--bg) 72%, transparent); }
.t-apps { grid-column: span 2; }
.t-day { grid-column: span 2; padding-right: 110px; }
.t-switch { position: absolute; right: 22px; top: 22px; width: 72px; height: 72px; border: 0; border-radius: 24px; background: var(--card2); color: var(--i-amber); cursor: pointer; display: grid; place-items: center; }
.t-switch:hover { background: var(--line); }

/* how to buy: the bot chat, next to the steps */
.how { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: start; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 20px; padding: 22px; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.st-n { flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--card2); font: 700 1.375rem/1 var(--display); color: var(--i-blue); }
.steps h3 { font: 800 1.1875rem/1.3 var(--body); letter-spacing: -0.01em; margin-bottom: 4px; }
.steps p { color: var(--muted); font-weight: 600; }
.how-alt { margin-top: 18px; padding-left: 18px; border-left: 3px solid var(--amber); color: var(--muted); font-weight: 700; }
.tg { position: sticky; top: 100px; border-radius: 36px; background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.tg-top { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.tg-ava { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--amber); display: grid; place-items: center; }
.tg-top b { display: block; font-weight: 800; }
.tg-top small { color: var(--muted); font-weight: 600; }
.tg-feed { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--card2); }
.b { max-width: 84%; padding: 12px 16px; border-radius: 20px; font-weight: 600; font-size: 0.9875rem; line-height: 1.45; }
.b-in { align-self: flex-start; background: var(--card); border-bottom-left-radius: 6px; }
.b-out { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.b-file { display: flex; align-items: center; gap: 8px; }
.kb { display: grid; gap: 6px; margin-top: 10px; }
.kb-row { grid-template-columns: repeat(3, 1fr); }
.kb i { font-style: normal; text-align: center; padding: 9px 10px; border-radius: 12px; background: var(--card2); font-weight: 800; font-size: 0.875rem; color: var(--i-blue); }
.b code { display: block; margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: var(--ink); color: var(--amber); font: 700 1.125rem/1 var(--display); letter-spacing: 0.04em; text-align: center; }
.tg-feed .b { opacity: 0; transform: translateY(10px); transition: opacity 0.4s ease, transform 0.4s ease; }
.tg.is-seen .b { opacity: 1; transform: none; }
.tg.is-seen .b:nth-child(2) { transition-delay: 0.5s; }
.tg.is-seen .b:nth-child(3) { transition-delay: 1s; }
.tg.is-seen .b:nth-child(4) { transition-delay: 1.5s; }
.tg.is-seen .b:nth-child(5) { transition-delay: 2.1s; }

/* pricing: read like the speed on the antiradar — a big number and its unit */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.plan { border-radius: var(--r-lg); padding: 30px; background: var(--card); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.plan h3 { font: 800 1.25rem/1.2 var(--body); }
.pr { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.pr b { font: 700 clamp(3rem, 7vw, 5.4rem)/0.95 var(--display); letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.pr span { font-weight: 800; font-size: 1.25rem; color: var(--muted); }
.pn { color: var(--muted); font-weight: 700; margin-bottom: 14px; }
.plan .btn { margin-top: auto; align-self: flex-start; }
.plan-year { background: var(--amber); color: var(--on-amber); box-shadow: 0 20px 44px -18px rgba(245, 158, 11, 0.55); }
.plan-year .pr span, .plan-year .pn { color: rgba(28, 18, 6, 0.72); }
.after { margin-top: 18px; color: var(--muted); font-weight: 700; }

/* comparison */
.cmp-wrap { overflow-x: auto; border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); }
.cmp { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmp th, .cmp td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); font-weight: 700; }
.cmp thead th { font-size: 0.875rem; color: var(--muted); font-weight: 800; }
.cmp tbody th { font-weight: 700; color: var(--muted); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }
.cmp td:nth-child(2), .cmp thead th:nth-child(2) { background: color-mix(in srgb, var(--blue) 9%, transparent); color: var(--i-blue); font-weight: 800; }

/* faq */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.faq { display: grid; gap: 10px; }
.faq details { border-radius: 22px; background: var(--card); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 22px; position: relative; font-weight: 800; font-size: 1.0625rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; border-right: 3px solid var(--muted); border-bottom: 3px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); font-weight: 600; }

/* contact */
.contact { padding-bottom: clamp(64px, 9vw, 110px); }
.contact-card { border-radius: 40px; padding: clamp(28px, 5vw, 56px); background: var(--ink); color: #F2F4F7; position: relative; overflow: hidden; }
.contact-card::before { /* the logo's four colours, as a road line */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px;
  background: linear-gradient(90deg, var(--red) 0 25%, #C026D3 25% 50%, var(--green) 50% 75%, var(--amber) 75% 100%);
}
:root[data-theme="night"] .contact-card { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07); }
.contact-card h2 { color: #fff; }
.contact-card p { margin-top: 14px; color: #A7AFBD; font-weight: 600; font-size: 1.125rem; max-width: 60ch; }
.contact-links { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.contact-card .btn-quiet { background: #1C2029; color: #F2F4F7; box-shadow: none; }
.contact-card .btn-quiet:hover { background: #262B36; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 34px 0 44px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; color: var(--muted); font-weight: 600; font-size: 0.9375rem; }
.foot-langs { display: flex; gap: 14px; margin-right: auto; }
.foot-langs a { text-decoration: none; font-weight: 700; }
.foot-langs a:hover { color: var(--text); }
.foot p:last-child { width: 100%; }

.nf { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 18px; text-align: center; padding: 24px; }
.nf h1 { margin: 0; }

/* ---------- guides (answers to what people search) ---------- */
.g-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.g-card {
  position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 190px; padding: 24px 24px 64px;
  border-radius: var(--r); background: var(--card); box-shadow: var(--shadow); text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.g-card:hover { transform: translateY(-2px); }
.g-card span { font-weight: 800; font-size: 0.875rem; color: var(--i-blue); }
.g-card b { font: 700 1.1875rem/1.3 var(--display); letter-spacing: -0.03em; }
.g-card i { position: absolute; left: 24px; bottom: 22px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--card2); }
.g-wrap { max-width: 860px; padding: 26px 0 0; }
.crumbs { display: flex; gap: 10px; flex-wrap: wrap; color: var(--muted); font-weight: 700; font-size: 0.9375rem; }
.crumbs a { text-decoration: none; color: var(--i-blue); }
.g-head { margin-top: 22px; }
.g-head h1 { margin: 0; max-width: none; font-size: clamp(1.9rem, 4.4vw, 3.1rem); line-height: 1.08; }
.g-answer {
  margin-top: 22px; padding: 22px 24px; border-radius: 24px; background: var(--card); box-shadow: var(--shadow);
  border-left: 6px solid var(--blue); font-size: 1.125rem; font-weight: 600; line-height: 1.6;
}
.g-date { margin-top: 14px; color: var(--muted); font-weight: 700; font-size: 0.9375rem; }
.g-head .hero-cta { margin-top: 22px; }
.g-body { margin-top: 46px; }
.g-body h2, .g-faq h2, .g-more h2 { margin: 46px 0 16px; font-size: clamp(1.4rem, 2.8vw, 2rem); }
.g-body > h2:first-child { margin-top: 0; }
.g-body p { margin: 0 0 16px; color: var(--text); font-weight: 500; line-height: 1.7; }
.g-body ul { margin: 0 0 16px; padding-left: 22px; line-height: 1.7; font-weight: 600; }
.g-body li + li { margin-top: 6px; }
.g-steps { list-style: none; counter-reset: st; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.g-steps li { counter-increment: st; position: relative; padding: 16px 18px 16px 70px; border-radius: 20px; background: var(--card); box-shadow: var(--shadow); font-weight: 600; line-height: 1.5; }
.g-steps li::before { content: counter(st); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--card2); color: var(--i-blue); font: 700 1.0625rem/1 var(--display); }
.g-table { min-width: 560px; }
.g-table.hl-col { min-width: 0; }  /* three columns fit a phone */
.g-table td:nth-child(2), .g-table thead th:nth-child(2) { background: none; color: inherit; font-weight: 700; }
.g-table.hl-col td:last-child, .g-table.hl-col thead th:last-child,
.g-table.hl-row tbody tr:last-child th, .g-table.hl-row tbody tr:last-child td { background: color-mix(in srgb, var(--blue) 9%, transparent); color: var(--i-blue); font-weight: 800; }
.cmp-wrap + p { margin-top: 12px; color: var(--muted); font-size: 0.9375rem; font-weight: 600; }
.g-fig { margin: 24px 0; }
.g-fig img { width: 100%; height: auto; border-radius: 22px; box-shadow: var(--shadow); background: var(--card2); }
.g-fig figcaption { margin-top: 10px; color: var(--muted); font-weight: 600; font-size: 0.9375rem; }
.g-src { margin-top: 24px !important; color: var(--muted) !important; font-size: 0.875rem; }
.g-src a { color: var(--i-blue); }
.g-more { padding-bottom: clamp(56px, 8vw, 96px); }
.g-more .g-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.foot-guides { display: flex; flex-wrap: wrap; gap: 8px 16px; width: 100%; }
.foot-guides a { text-decoration: none; font-weight: 700; color: var(--muted); }
.foot-guides a:hover { color: var(--text); }

/* ---------- smaller screens ---------- */
@media (max-width: 1080px) {
  .top-nav { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-nav { grid-column: 1 / -1; grid-row: span 2; min-height: 420px; }
  .t-media { grid-column: 1 / -1; grid-row: auto; }
  .t-day { grid-column: 1 / -1; }
  .how, .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .g-cards { grid-template-columns: 1fr; }
  .g-more .g-cards { grid-template-columns: 1fr; }
  .tg { position: static; }
}
@media (max-width: 640px) {
  :root { --gut: 16px; }
  html { scroll-padding-top: 72px; }
  .top-in { height: 64px; gap: 10px; }
  .top-tools { gap: 6px; }
  .langs a { padding: 7px 8px; }
  .top .btn-sm { display: none; }
  .hero { padding-top: 26px; }
  .lead { font-size: 1.0625rem; }
  .hero-cta, .hero-cta .btn { width: 100%; }
  .unit { margin-top: 30px; margin-inline: -6px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gut)); padding: 2px var(--gut) 6px; width: calc(100% + 2 * var(--gut)); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento > .tile { grid-column: 1 / -1; grid-row: auto; }
  .tile { padding: 22px; }
  .t-nav { min-height: 400px; }
  .t-player { grid-template-columns: 1fr; }
  .tp-art { grid-row: auto; width: 84px; height: 84px; }
  .t-day { padding-right: 22px; padding-top: 108px; }
  .steps li { padding: 18px; gap: 14px; }
  .st-n { width: 44px; height: 44px; }
  .plans { grid-template-columns: 1fr; }
  .plan .btn { align-self: stretch; }
  .contact-links .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .m-route { stroke-dashoffset: 0; }
  .tg-feed .b { opacity: 1; transform: none; }
}
