/* PremiumRadar marketing — shared tokens */
:root {
  --bg: 250 250 248; --surface: 255 255 255; --raised: 244 243 240; --sunken: 236 234 229; --band: 244 243 240;
  --hair: 231 229 224; --hair2: 207 203 195;
  --ink: 28 28 28; --ink2: 74 74 74; --muted: 110 108 104;
  --brand: 11 61 145; --brand-ink: 10 52 128; --brand-soft: 232 238 248;
  --siva: 143 98 12; --siva-tint: 246 238 220; --gold: 122 90 0;
  --coral: 154 58 38; --coral-tint: 247 230 225;
  --v1: #1F4E9E; --v2: #8F620C; --v3: #1E6B5A; --v4: #B5452F; --v5: #5B6E8F; --v6: #6E3C6B;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: 23 22 20; --surface: 30 29 27; --raised: 38 37 34; --sunken: 46 45 42; --band: 18 17 16;
  --hair: 46 44 41; --hair2: 64 62 58;
  --ink: 236 234 230; --ink2: 201 198 192; --muted: 160 157 151;
  --brand: 110 147 214; --brand-ink: 143 176 232; --brand-soft: 36 44 60;
  --siva: 217 164 65; --siva-tint: 44 38 24; --gold: 217 179 92;
  --coral: 224 138 116; --coral-tint: 48 31 26;
  --v1: #1F4E9E; --v2: #8F620C; --v3: #1E6B5A; --v4: #B5452F; --v5: #5B6E8F; --v6: #6E3C6B;
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 10px 28px rgba(0,0,0,.45);
  color-scheme: dark;
} }
:root[data-theme="dark"] {
  --bg: 23 22 20; --surface: 30 29 27; --raised: 38 37 34; --sunken: 46 45 42; --band: 18 17 16;
  --hair: 46 44 41; --hair2: 64 62 58;
  --ink: 236 234 230; --ink2: 201 198 192; --muted: 160 157 151;
  --brand: 110 147 214; --brand-ink: 143 176 232; --brand-soft: 36 44 60;
  --siva: 217 164 65; --siva-tint: 44 38 24; --gold: 217 179 92;
  --coral: 224 138 116; --coral-tint: 48 31 26;
  --v1: #1F4E9E; --v2: #8F620C; --v3: #1E6B5A; --v4: #B5452F; --v5: #5B6E8F; --v6: #6E3C6B;
  --shadow: 0 1px 0 rgba(255,255,255,.03) inset, 0 10px 28px rgba(0,0,0,.45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.ready { scroll-behavior: smooth; }
body {
  margin: 0; font-family: "Google Sans Flex", Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-optical-sizing: auto; font-size: 16px; line-height: 1.55; color: rgb(var(--ink)); background: rgb(var(--bg));
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.015em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .18em; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { display: block; max-width: 100%; }
abbr[title] { text-decoration: none; }
:focus-visible { outline: 2px solid rgb(var(--brand)); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgb(var(--muted)); }
.eyebrow.s { color: rgb(var(--siva)); }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: rgb(var(--ink2)); max-width: 56ch; text-wrap: pretty; }
.muted { color: rgb(var(--muted)); }
.num { font-variant-numeric: tabular-nums; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent; font-weight: 600; font-size: 15px; white-space: nowrap; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: rgb(var(--brand)); color: #fff; }
.btn.primary:hover { background: rgb(var(--brand-ink)); }
:root[data-theme="dark"] .btn.primary, :root:not([data-theme="light"]) .btn.primary { color: rgb(var(--bg)); }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .btn.primary { color: #fff; } }
.btn.ghost { background: transparent; border-color: rgb(var(--hair2)); color: rgb(var(--ink)); }
.btn.ghost:hover { border-color: rgb(var(--ink)); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }

/* brand mark (quarter-disc + point) */
.mark { width: 28px; height: 28px; flex: none; }
.mark .disc { fill: rgb(var(--brand)); }
.mark .pt { fill: rgb(var(--siva)); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.01em; font-size: 17px; }
.wordmark:hover { text-decoration: none; }

/* SIVA lockup: always the full expansion somewhere near */
.siva-lock { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: .14em; font-size: 12.5px; color: rgb(var(--ink)); }
.siva-lock .sg { width: 10px; height: 10px; border-radius: 50%; background: rgb(var(--siva)); flex: none; }
.siva-lock small { font-weight: 500; letter-spacing: .02em; font-size: 12.5px; color: rgb(var(--muted)); text-transform: none; }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: rgb(var(--bg) / .82); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgb(var(--hair)); }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.top nav { display: flex; gap: 22px; margin-left: 18px; font-size: 14.5px; color: rgb(var(--ink2)); }
.top nav a[aria-current="page"] { color: rgb(var(--ink)); font-weight: 600; }
.top .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.theme { width: 36px; height: 36px; border-radius: 10px; border: 1px solid rgb(var(--hair2)); background: transparent; display: grid; place-items: center; color: rgb(var(--ink2)); }
.theme svg { width: 16px; height: 16px; }
.menu-btn { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgb(var(--hair2)); background: transparent; }
@media (max-width: 860px) {
  .top nav { display: none; }
  .top[data-open="true"] nav { display: grid; position: absolute; left: 0; right: 0; top: 64px; padding: 12px 16px 18px; gap: 12px; background: rgb(var(--bg)); border-bottom: 1px solid rgb(var(--hair)); margin: 0; }
  .menu-btn { display: inline-grid; place-items: center; }
  .top .right .btn { display: none; }
}

/* footer */
footer.site { border-top: 1px solid rgb(var(--hair)); padding: 40px 0 48px; font-size: 14px; color: rgb(var(--muted)); }
footer.site .wrap { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 24px; }
footer.site h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgb(var(--ink2)); margin-bottom: 10px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer.site .legal { grid-column: 1 / -1; margin-top: 20px; padding-top: 16px; border-top: 1px solid rgb(var(--hair)); display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; }
@media (max-width: 720px) { footer.site .wrap { grid-template-columns: 1fr 1fr; } }

/* illustrative label */
.illus { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgb(var(--muted)); border: 1px solid rgb(var(--hair2)); border-radius: 999px; padding: 3px 10px; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .4s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-timeline: auto !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

[hidden] { display: none !important; }
