/* SimpleSecurity v19 public pages: shared stylesheet (self-sufficient).
   Tokens, base, nav, footer, type, buttons, chips, cards, stats, forms, toggle, tabs, FAQ,
   tables, status rows, notices, breadcrumb, TOC, emblem, reveal, dark band, UIKit toast/modal.
   Fonts are relative to THIS file, so it works from / and from /legal/. */

@font-face { font-family: 'Jost'; src: url('../fonts/jost-latin-300-normal.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('../fonts/jost-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jost'; src: url('../fonts/jost-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Josefin Sans'; src: url('../fonts/josefin-sans-latin-300-normal.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('../fonts/Geist-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('../fonts/Geist-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('../fonts/GeistMono-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  color-scheme: light;
  --j1: #1a2230;
  --j2: #2f6bff;
  --ink: #1a2230;
  --ink-2: #3a4659;
  --hair: rgba(26, 34, 48, .22);
  --hair-soft: rgba(26, 34, 48, .12);
  --glass: rgba(255, 255, 255, .55);
  --glass-b: rgba(255, 255, 255, .8);
  --glass-in: rgba(255, 255, 255, .62);
  --accent: #1b49c9;
  --accent-2: #2f6bff;
  --alert: #b42318;
  --alert-ink: #b42318;
  --ok: #30d158;
  --warn: #ffd60a;
  --pill-fg: #fff;
  --bg: #DCE1E8;
  --bg-a: #DCE1E8;
  --bg-b: #C9D0DA;
  --scrim: rgba(220, 225, 232, .9);
  --shadow-card: 0 24px 50px -30px rgba(26, 34, 48, .45);
  --shadow-toast: 0 22px 44px -22px rgba(26, 34, 48, .5);
  --card-hi: rgba(255, 255, 255, .9);
  --card-hover-hi: #fff;
  --card-hover-b: #fff;
  --card-hover-sh: 0 32px 60px -26px rgba(26, 34, 48, .5);
  --field-bg: rgba(255, 255, 255, .6);
  --field-focus: #fff;
  --field-solid: #f1f4f8;
  --ph: rgba(58, 70, 89, .85);
  --ghost-bg: rgba(255, 255, 255, .35);
  --row-hover: rgba(255, 255, 255, .4);
  --chip-hov: rgba(47, 107, 255, .1);
  --toast-bg: rgba(255, 255, 255, .82);
  --modal-bg: rgba(240, 243, 247, .94);
  --btn-shadow: 0 14px 34px -14px rgba(26, 34, 48, .55);
  --btn-shadow-h: 0 18px 40px -12px rgba(26, 34, 48, .6), 0 0 0 6px rgba(47, 107, 255, .18);
  --pill-sh: 0 10px 26px -10px rgba(26, 34, 48, .6), 0 0 0 5px rgba(47, 107, 255, .16);
  --tag-best-bg: #1a2230;
  --tag-best-fg: #fff;
  --link-u: rgba(31, 85, 224, .35);
  --str-good: #1f55e0;
  --err-bg: rgba(255, 59, 48, .06);
  --warn-ink: #8a5a00;
  --warn-icon: #8a5a00;
  --ok-ink: #17703a;
  --hl: rgba(47, 107, 255, .2);
  --sel: rgba(47, 107, 255, .25);
  --band-bg: linear-gradient(180deg, #0E1116, #161B23);
  --band-edge: transparent;
  --nav-bg: rgba(220, 225, 232, .74);
  --nav-line: rgba(26, 34, 48, .16);
  --menu-bg: rgba(220, 225, 232, .94);
  --menu-sh: rgba(26, 34, 48, .4);
  --tb: 0; /* theme-button morph: 0 = moon showing (light page, click = go dark), 1 = sun showing (dark page) */
  /* emblem + globe art, light and dark variants */
  --cyl-l:
    radial-gradient(ellipse .7% 15% at 93.4% 50%, rgba(26,34,48,.75) 0, rgba(26,34,48,.55) 70%, rgba(26,34,48,0) 100%),
      radial-gradient(ellipse 7.2% 45% at 93.4% 50%, #f1f3f7 0, #cdd3dc 62%, #9aa3b0 70%, rgba(154,163,176,0) 74%),
      repeating-linear-gradient(90deg, rgba(48,58,78,.30) 0 5px, rgba(48,58,78,0) 5px 38px) 24% 3% / 58% 9% no-repeat,
      repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 1px, rgba(40,50,70,.07) 1px 3px) 3% 0 / 9% 100% no-repeat,
      linear-gradient(90deg, rgba(255,255,255,.0) 0 14%, rgba(255,255,255,.0) 70%, rgba(60,70,90,.18) 88%, rgba(60,70,90,.0) 100%),
      linear-gradient(180deg, #fcfdfe 0, #e3e7ee 13%, #b4bcc8 42%, #eef0f4 58%, #a2abb8 84%, #7d8794 100%);
  --cyl-d:
    radial-gradient(ellipse .7% 15% at 93.4% 50%, rgba(0,0,0,.85) 0, rgba(0,0,0,.6) 70%, rgba(0,0,0,0) 100%),
      radial-gradient(ellipse 7.2% 45% at 93.4% 50%, #59616f 0, #394150 62%, #20262f 70%, rgba(32,38,47,0) 74%),
      repeating-linear-gradient(90deg, rgba(0,0,0,.45) 0 5px, rgba(0,0,0,0) 5px 38px) 24% 3% / 58% 9% no-repeat,
      repeating-linear-gradient(90deg, rgba(220,228,240,.28) 0 1px, rgba(0,0,0,.18) 1px 3px) 3% 0 / 9% 100% no-repeat,
      linear-gradient(180deg, #7b8493 0, #596271 14%, #343b47 44%, #5a6372 58%, #282e38 84%, #191d25 100%);
  --emb-edge: inset 0 0 0 1px rgba(255,255,255,.55), inset 0 -10px 18px -8px rgba(40,50,70,.25);
  --emb-drop: drop-shadow(0 28px 34px rgba(20,30,50,.16));
  --emb-edge-d: inset 0 0 0 1px rgba(220,228,240,.14), inset 0 -10px 18px -8px rgba(0,0,0,.5);
  --emb-drop-d: drop-shadow(0 0 40px rgba(47,107,255,.22));
  --emblem-cyl: var(--cyl-l);
  --globe-l:
    radial-gradient(ellipse 5% 7% at 56% 22%, rgba(47,107,255,.85), rgba(47,107,255,0) 100%),
      radial-gradient(ellipse 13% 10% at 52% 32%, rgba(47,107,255,.5), rgba(47,107,255,.14) 60%, rgba(47,107,255,0) 100%),
      radial-gradient(circle at 50% 50%, rgba(120,132,152,0) 56%, rgba(120,132,152,.32) 100%),
      radial-gradient(circle, rgba(84,96,116,.34) 0 1px, rgba(84,96,116,0) 1.6px) 0 0 / 9px 9px,
      radial-gradient(circle at 34% 28%, #ffffff 0, #eef0f4 38%, #d4d9e2 74%, #bcc4cf 100%);
  --globe-d:
    radial-gradient(ellipse 5% 7% at 56% 22%, rgba(111,155,255,.9), rgba(111,155,255,0) 100%),
    radial-gradient(ellipse 13% 10% at 52% 32%, rgba(111,155,255,.5), rgba(111,155,255,.14) 60%, rgba(111,155,255,0) 100%),
    radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 56%, rgba(0,0,0,.4) 100%),
    radial-gradient(circle, rgba(190,205,230,.3) 0 1px, rgba(190,205,230,0) 1.6px) 0 0 / 9px 9px,
    radial-gradient(circle at 34% 28%, #3c4554 0, #272e3a 38%, #1a1f29 74%, #11151b 100%);
  --globe-bg: var(--globe-l);
  --globe-sh: inset 0 0 0 1px rgba(255,255,255,.7), 0 44px 70px -26px rgba(20,30,50,.3);
  --gut: clamp(20px, 6.2vw, 150px);
  --max: 1240px;
  --read: 72ch;
  --nav-h: 68px;
  --sec: clamp(72px, 10vw, 160px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --head: 'Jost', 'Josefin Sans', system-ui, sans-serif;
  --body: 'Geist', 'Jost', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
}


/* ---------- dark theme ----------
   Follows the OS until the visitor picks one (js/theme-init.js sets data-theme from localStorage `ss-theme`).
   KEEP THE TWO PAGE-DARK BLOCKS IDENTICAL (dev/themecheck.mjs verifies). The .band-dark block reuses only the shared set. */
:root[data-theme="dark"] {
  color-scheme: dark;
  --j1: #F2F5FA;
  --j2: #8fb0ff;
  --bg: #0E1116;
  --bg-a: #0E1116;
  --bg-b: #161B23;
  --band-bg: radial-gradient(ellipse 60% 55% at 50% 0, rgba(47, 107, 255, .07), transparent 75%), linear-gradient(180deg, #07090D, #0B0E13);
  --band-edge: rgba(238, 241, 245, .08);
  --nav-bg: rgba(14, 17, 22, .72);
  --nav-line: rgba(238, 241, 245, .12);
  --menu-bg: rgba(14, 17, 22, .96);
  --menu-sh: rgba(0, 0, 0, .6);
  --sel: rgba(143, 176, 255, .35);
  --tb: 1;
  --ink: #eef1f5;
  --ink-2: rgba(238, 241, 245, .72);
  --hair: rgba(238, 241, 245, .16);
  --hair-soft: rgba(238, 241, 245, .1);
  --glass: rgba(255, 255, 255, .06);
  --glass-b: rgba(255, 255, 255, .12);
  --glass-in: rgba(255, 255, 255, .05);
  --accent: #8fb0ff;
  --accent-2: #6f9bff;
  --alert: #ff453a;
  --alert-ink: #ff8f87;
  --pill-fg: #0E1116;
  --scrim: rgba(14, 17, 22, .88);
  --shadow-card: 0 24px 50px -30px rgba(0, 0, 0, .7);
  --shadow-toast: 0 22px 44px -22px rgba(0, 0, 0, .8);
  --card-hi: rgba(255, 255, 255, .08);
  --card-hover-hi: rgba(255, 255, 255, .12);
  --card-hover-b: rgba(143, 176, 255, .5);
  --card-hover-sh: 0 32px 60px -26px rgba(0, 0, 0, .8);
  --field-bg: rgba(255, 255, 255, .05);
  --field-focus: rgba(255, 255, 255, .09);
  --field-solid: #181d26;
  --ph: rgba(238, 241, 245, .6);
  --ghost-bg: rgba(255, 255, 255, .04);
  --row-hover: rgba(255, 255, 255, .05);
  --chip-hov: rgba(47, 107, 255, .22);
  --toast-bg: rgba(30, 36, 46, .92);
  --modal-bg: rgba(22, 27, 35, .97);
  --btn-shadow: 0 14px 34px -14px rgba(0, 0, 0, .7);
  --btn-shadow-h: 0 18px 40px -12px rgba(0, 0, 0, .7), 0 0 0 6px rgba(143, 176, 255, .2);
  --pill-sh: 0 10px 26px -10px rgba(0, 0, 0, .7), 0 0 0 5px rgba(143, 176, 255, .18);
  --tag-best-bg: #eef1f5;
  --tag-best-fg: #0E1116;
  --link-u: rgba(143, 176, 255, .4);
  --str-good: #6f9bff;
  --err-bg: rgba(255, 69, 58, .12);
  --warn-ink: #ffc23a;
  --warn-icon: #ffc23a;
  --ok-ink: #5fdc83;
  --hl: rgba(143, 176, 255, .28);
  --emblem-cyl: var(--cyl-d);
  --emb-edge: var(--emb-edge-d);
  --emb-drop: var(--emb-drop-d);
  --globe-bg: var(--globe-d);
  --globe-sh: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 44px 70px -26px rgba(0, 0, 0, .7);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  color-scheme: dark;
    --j1: #F2F5FA;
    --j2: #8fb0ff;
    --bg: #0E1116;
    --bg-a: #0E1116;
    --bg-b: #161B23;
    --band-bg: radial-gradient(ellipse 60% 55% at 50% 0, rgba(47, 107, 255, .07), transparent 75%), linear-gradient(180deg, #07090D, #0B0E13);
    --band-edge: rgba(238, 241, 245, .08);
    --nav-bg: rgba(14, 17, 22, .72);
    --nav-line: rgba(238, 241, 245, .12);
    --menu-bg: rgba(14, 17, 22, .96);
    --menu-sh: rgba(0, 0, 0, .6);
    --sel: rgba(143, 176, 255, .35);
    --tb: 1;
  --ink: #eef1f5;
    --ink-2: rgba(238, 241, 245, .72);
    --hair: rgba(238, 241, 245, .16);
    --hair-soft: rgba(238, 241, 245, .1);
    --glass: rgba(255, 255, 255, .06);
    --glass-b: rgba(255, 255, 255, .12);
    --glass-in: rgba(255, 255, 255, .05);
    --accent: #8fb0ff;
    --accent-2: #6f9bff;
    --alert: #ff453a;
    --alert-ink: #ff8f87;
    --pill-fg: #0E1116;
    --scrim: rgba(14, 17, 22, .88);
    --shadow-card: 0 24px 50px -30px rgba(0, 0, 0, .7);
    --shadow-toast: 0 22px 44px -22px rgba(0, 0, 0, .8);
    --card-hi: rgba(255, 255, 255, .08);
    --card-hover-hi: rgba(255, 255, 255, .12);
    --card-hover-b: rgba(143, 176, 255, .5);
    --card-hover-sh: 0 32px 60px -26px rgba(0, 0, 0, .8);
    --field-bg: rgba(255, 255, 255, .05);
    --field-focus: rgba(255, 255, 255, .09);
    --field-solid: #181d26;
    --ph: rgba(238, 241, 245, .6);
    --ghost-bg: rgba(255, 255, 255, .04);
    --row-hover: rgba(255, 255, 255, .05);
    --chip-hov: rgba(47, 107, 255, .22);
    --toast-bg: rgba(30, 36, 46, .92);
    --modal-bg: rgba(22, 27, 35, .97);
    --btn-shadow: 0 14px 34px -14px rgba(0, 0, 0, .7);
    --btn-shadow-h: 0 18px 40px -12px rgba(0, 0, 0, .7), 0 0 0 6px rgba(143, 176, 255, .2);
    --pill-sh: 0 10px 26px -10px rgba(0, 0, 0, .7), 0 0 0 5px rgba(143, 176, 255, .18);
    --tag-best-bg: #eef1f5;
    --tag-best-fg: #0E1116;
    --link-u: rgba(143, 176, 255, .4);
    --str-good: #6f9bff;
    --err-bg: rgba(255, 69, 58, .12);
    --warn-ink: #ffc23a;
  --warn-icon: #ffc23a;
    --ok-ink: #5fdc83;
    --hl: rgba(143, 176, 255, .28);
    --emblem-cyl: var(--cyl-d);
    --emb-edge: var(--emb-edge-d);
    --emb-drop: var(--emb-drop-d);
    --globe-bg: var(--globe-d);
    --globe-sh: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 44px 70px -26px rgba(0, 0, 0, .7);
  }
}

/* dark band: re-scopes the shared dark tokens so every component restyles itself inside it */
.band-dark {
  --ink: #eef1f5;
  --ink-2: rgba(238, 241, 245, .72);
  --hair: rgba(238, 241, 245, .16);
  --hair-soft: rgba(238, 241, 245, .1);
  --glass: rgba(255, 255, 255, .06);
  --glass-b: rgba(255, 255, 255, .12);
  --glass-in: rgba(255, 255, 255, .05);
  --accent: #8fb0ff;
  --accent-2: #6f9bff;
  --alert: #ff453a;
  --alert-ink: #ff8f87;
  --pill-fg: #0E1116;
  --scrim: rgba(14, 17, 22, .88);
  --shadow-card: 0 24px 50px -30px rgba(0, 0, 0, .7);
  --shadow-toast: 0 22px 44px -22px rgba(0, 0, 0, .8);
  --card-hi: rgba(255, 255, 255, .08);
  --card-hover-hi: rgba(255, 255, 255, .12);
  --card-hover-b: rgba(143, 176, 255, .5);
  --card-hover-sh: 0 32px 60px -26px rgba(0, 0, 0, .8);
  --field-bg: rgba(255, 255, 255, .05);
  --field-focus: rgba(255, 255, 255, .09);
  --field-solid: #181d26;
  --ph: rgba(238, 241, 245, .6);
  --ghost-bg: rgba(255, 255, 255, .04);
  --row-hover: rgba(255, 255, 255, .05);
  --chip-hov: rgba(47, 107, 255, .22);
  --toast-bg: rgba(30, 36, 46, .92);
  --modal-bg: rgba(22, 27, 35, .97);
  --btn-shadow: 0 14px 34px -14px rgba(0, 0, 0, .7);
  --btn-shadow-h: 0 18px 40px -12px rgba(0, 0, 0, .7), 0 0 0 6px rgba(143, 176, 255, .2);
  --pill-sh: 0 10px 26px -10px rgba(0, 0, 0, .7), 0 0 0 5px rgba(143, 176, 255, .18);
  --tag-best-bg: #eef1f5;
  --tag-best-fg: #0E1116;
  --link-u: rgba(143, 176, 255, .4);
  --str-good: #6f9bff;
  --err-bg: rgba(255, 69, 58, .12);
  --warn-ink: #ffc23a;
  --warn-icon: #ffc23a;
  --ok-ink: #5fdc83;
  --hl: rgba(143, 176, 255, .28);
  --emblem-cyl: var(--cyl-d);
  --emb-edge: var(--emb-edge-d);
  --emb-drop: var(--emb-drop-d);
  --globe-bg: var(--globe-d);
  --globe-sh: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 44px 70px -26px rgba(0, 0, 0, .7);
  background: var(--band-bg);
  box-shadow: inset 0 1px 0 var(--band-edge), inset 0 -1px 0 var(--band-edge);
  color: var(--ink);
}

/* ---------- base ---------- */
@property --bg-a { syntax: "<color>"; inherits: true; initial-value: #DCE1E8; }
@property --bg-b { syntax: "<color>"; inherits: true; initial-value: #C9D0DA; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 92px; background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html, body { margin: 0; overflow-x: clip; }
body {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg-a), var(--bg-b));
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img, svg, video { max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--sel); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--pill-fg); padding: 10px 16px; font-size: 14px; border-radius: 6px; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }
main { display: block; }

/* ---------- nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 var(--gut); color: var(--ink); transition: background .25s, box-shadow .5s; }
.nav.is-scrolled, .nav.is-open { background: var(--nav-bg); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 1px 0 var(--nav-line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 500 15px/1 var(--head); letter-spacing: .3em; text-transform: uppercase; white-space: nowrap; }
.brand svg { flex: none; }
.brand .mark { width: 26px; height: 26px; }
.nav .brand { min-width: 0; }
.nav .brand span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.links { display: flex; gap: clamp(20px, 3vw, 48px); margin-right: auto; margin-left: clamp(24px, 5vw, 90px); }
.links a, .signin { font: 500 13px/1 var(--head); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; padding: 10px 0; position: relative; white-space: nowrap; }
.links a::after, .signin::after { content: ""; position: absolute; left: 0; right: .22em; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.links a:hover::after, .signin:hover::after, .links a:focus-visible::after, .links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.pill { display: inline-flex; align-items: center; height: 42px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: var(--pill-fg); font: 500 13px/1 var(--head); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.pill:hover { box-shadow: var(--pill-sh); }
.pill > span { display: inline-block; pointer-events: none; }
/* theme toggle: sun/moon morph driven by --tb (0 light page = moon, 1 dark page = sun) */
.theme-btn { flex: none; position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--hair); color: var(--ink); transition: border-color .3s, background .3s; }
.theme-btn:hover { background: var(--glass); border-color: var(--ink-2); }
.theme-btn svg { width: 20px; height: 20px; overflow: visible; }
.theme-btn .tb-core { transform-box: fill-box; transform-origin: center; transform: scale(calc(1.6 - .6 * var(--tb))); transition: transform .5s var(--ease); }
.theme-btn .tb-cut { transform: translate(calc(5px + 9px * var(--tb)), calc(-4px - 10px * var(--tb))); transition: transform .5s var(--ease); }
.theme-btn .tb-rays { transform-box: fill-box; transform-origin: center; opacity: var(--tb); transform: rotate(calc((1 - var(--tb)) * -70deg)) scale(calc(.6 + .4 * var(--tb))); transition: transform .5s var(--ease), opacity .3s; }
.theme-btn--float { position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); right: calc(var(--gut) * .5 + 8px); z-index: 60; background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.menu-btn { display: none; position: relative; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--hair); }
.menu-btn i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn i:nth-child(1) { top: 17px; }
.menu-btn i:nth-child(2) { top: 24px; }
.menu-btn[aria-expanded="true"] i:nth-child(1) { top: 20.5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:nth-child(2) { top: 20.5px; transform: rotate(-45deg); }
.links .m-only { display: none; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.wrap--narrow { max-width: calc(940px + 2 * var(--gut)); }
.section { padding-block: var(--sec); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 96px); }
.section + .section:not(.band-dark):not(.cta-band) { padding-top: calc(var(--sec) * .35); }
.section--hair { border-top: 1px solid var(--hair); }
.band-dark.section { padding-block: var(--sec); }
.center { text-align: center; }
.center .lede, .center .sec-head, .sec-head.center { margin-inline: auto; }
.sec-head { max-width: 46rem; margin-bottom: clamp(32px, 4.5vw, 64px); }
.grid { display: grid; gap: clamp(14px, 1.6vw, 26px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.stack > * + * { margin-top: var(--gap, 16px); }

/* hero */
.hero { position: relative; padding-top: calc(var(--nav-h) + clamp(80px, 12vw, 180px)); padding-bottom: clamp(56px, 8vw, 120px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.hero-art { display: flex; justify-content: center; align-items: center; min-width: 0; }
.hero--narrow { padding-bottom: clamp(32px, 4vw, 64px); }
.hero--narrow .h1 { max-width: 20ch; }
.hero .lede { margin-bottom: 36px; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 22px 0 0; font: 400 12.5px/1.4 var(--mono); letter-spacing: .04em; color: var(--ink-2); }
.doc-meta b { font-weight: 400; color: var(--ink); }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; }
.h1, h1.h { font: 300 clamp(34px, 4.2vw, 72px)/1.14 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); margin: 0 0 24px; }
.h2, h2.h { font: 300 clamp(26px, 2.6vw, 44px)/1.2 var(--head); letter-spacing: .13em; text-transform: uppercase; color: var(--ink); margin: 0 0 20px; }
.h3 { font: 500 14px/1.35 var(--head); letter-spacing: .24em; text-transform: uppercase; color: var(--ink); margin: 0 0 10px; }
.eyebrow { margin: 0 0 20px; font: 500 12px/1.4 var(--head); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2); }
.lede { margin: 0 0 28px; font: 400 clamp(17px, 1.25vw, 21px)/1.6 var(--body); color: var(--ink-2); max-width: 60ch; }
.fine { margin: 22px 0 0; font: 400 14.5px/1.5 var(--body); color: var(--ink-2); letter-spacing: .01em; }
.mono { font-family: var(--mono); letter-spacing: .02em; }
.muted { color: var(--ink-2); }
p { margin: 0 0 1em; }
.link { display: inline-flex; gap: 12px; align-items: center; font: 500 13px/1 var(--head); letter-spacing: .24em; text-transform: uppercase; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--hair); transition: border-color .4s, gap .4s var(--ease); }
.link:hover { border-color: currentColor; gap: 18px; }
.link i { font-style: normal; }
.tlink { color: var(--accent); text-decoration: underline; text-decoration-color: var(--link-u); text-underline-offset: 3px; transition: text-decoration-color .3s; }
.tlink:hover { text-decoration-color: currentColor; }
code, kbd { font: 400 .86em/1 var(--mono); padding: .3em .55em; border: 1px solid var(--hair); border-radius: 8px; background: var(--glass); }
code.asset { font-size: .72em; border-radius: 999px; padding: .38em .7em; white-space: nowrap; }
hr { border: 0; border-top: 1px solid var(--hair); margin: 40px 0; }

/* prose (legal + long text) */
.prose { max-width: var(--read); font: 400 17px/1.7 var(--body); color: var(--ink); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font: 300 clamp(22px, 2vw, 30px)/1.25 var(--head); letter-spacing: .12em; text-transform: uppercase; margin: 2.4em 0 .8em; padding-top: 1.2em; border-top: 1px solid var(--hair); }
.prose h2 .num { font: 400 .55em/1 var(--mono); letter-spacing: .1em; color: var(--accent); margin-right: 1em; vertical-align: .22em; }
.prose > h2:first-child, .doc-meta + h2 { border-top: 0; padding-top: 0; margin-top: 1.4em; }
.prose h3 { font: 500 14px/1.4 var(--head); letter-spacing: .2em; text-transform: uppercase; margin: 2em 0 .6em; }
.prose p, .prose li { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--ink-2); }
.prose a { color: var(--accent); text-underline-offset: 3px; text-decoration-color: var(--link-u); }
.prose a:hover { text-decoration-color: currentColor; }
.prose strong { font-weight: 500; }
.prose table { margin: 1.6em 0; }
.prose .fill-row, .fill-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 12px 0; border-bottom: 1px solid var(--hair); }
.fill-row label { font: 500 13.5px/1.3 var(--head); letter-spacing: .02em; text-transform: none; color: var(--ink-2); min-width: 11em; }
.fill-row .fill-field { flex: 1; min-width: 12em; border-bottom: 1px dashed var(--hair); min-height: 1.4em; }
.signature-block { margin: 2.4em 0; padding: 28px clamp(20px, 3vw, 36px); border: 1px solid var(--glass-b); border-radius: 18px; background: var(--glass); box-shadow: var(--shadow-card); }
.signature-block h3 { margin-top: 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 34px; border-radius: 999px; font: 500 14px/1 var(--head); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; white-space: nowrap; border: 1px solid transparent; transition: box-shadow .5s var(--ease), background .4s, color .4s, border-color .4s, transform .4s var(--ease); }
.btn > span { display: inline-block; pointer-events: none; }
.btn-primary { background: var(--ink); color: var(--pill-fg); height: 60px; padding: 0 42px; font-size: 15px; box-shadow: var(--btn-shadow); }
.btn-primary:hover { box-shadow: var(--btn-shadow-h); }
.btn-ghost, .btn-secondary { border-color: var(--ink); color: var(--ink); background: var(--ghost-bg); }
.band-dark .btn-ghost, .band-dark .btn-secondary { border-color: rgba(238, 241, 245, .5); }
.btn-ghost:hover, .btn-secondary:hover { background: var(--ink); color: var(--pill-fg); }
.btn-danger { background: var(--alert); color: #fff; }
.btn-danger:hover { box-shadow: 0 0 0 5px rgba(255, 59, 48, .2); }
.btn-sm { height: 42px; padding: 0 22px; font-size: 12px; }
.btn[disabled], .btn:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.center .cta-row { justify-content: center; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink-2); transition: color .3s, background .3s; }
.icon-btn:hover { color: var(--ink); background: var(--glass); }
.is-spinning { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- chips, tags ---------- */
.chips { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip, .chips li { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 18px 0 14px; border-radius: 999px; border: 1px solid var(--hair); background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 400 15px/1 var(--body); color: var(--ink); text-decoration: none; transition: border-color .35s, background .35s, transform .35s var(--ease); }
.chips li > a.chip { height: 100%; padding: 0; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.chips li > a.chip:hover { background: none; transform: none; }
.chips em, .chip em { font: 400 11px/1 var(--mono); font-style: normal; color: var(--ink-2); letter-spacing: .08em; }
a.chip:hover, .chips li:hover { border-color: var(--accent-2); background: var(--chip-hov); transform: translateY(-2px); }
.tags { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; font: 400 11.5px/1.3 var(--mono); letter-spacing: .05em; color: var(--ink-2); }
.tags li::before { content: "#"; opacity: .55; margin-right: 1px; }
.tag { position: absolute; top: 14px; right: 16px; padding: 6px 11px; border-radius: 999px; font: 500 10.5px/1 var(--head); letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.tag-rec { background: #1f55e0; }
.tag-best { background: var(--tag-best-bg); color: var(--tag-best-fg); }
.tag-mono { position: static; display: inline-block; padding: 4px 9px; border: 1px solid var(--hair); background: transparent; color: var(--ink-2); font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: none; }

/* chip-tabs (features tiers) and segmented toggle (pricing) */
.chip-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 clamp(28px, 4vw, 52px); }
.chip-tabs .tier-nav-item { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--hair); background: var(--glass); font: 500 12.5px/1 var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); text-decoration: none; cursor: pointer; transition: background .35s, color .35s, border-color .35s; }
.chip-tabs .tier-nav-item:hover { border-color: var(--ink); }
.chip-tabs .tier-nav-item.active, .chip-tabs [aria-selected="true"] { background: var(--ink); color: var(--pill-fg); border-color: var(--ink); }
.seg, .account-toggle-wrap .tabs { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; border: 1px solid var(--hair); background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.seg .tab, .seg button, .account-toggle-wrap .tab { height: 44px; padding: 0 28px; border-radius: 999px; font: 500 13px/1 var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); transition: background .35s var(--ease), color .35s; }
.seg .tab:hover, .account-toggle-wrap .tab:hover { color: var(--ink); }
.seg .tab.active, .seg [aria-selected="true"], .account-toggle-wrap .tab.active { background: var(--ink); color: var(--pill-fg); box-shadow: 0 8px 20px -10px rgba(26, 34, 48, .6); }
.account-toggle-wrap { display: flex; justify-content: center; margin: 0 0 clamp(28px, 4vw, 48px); }
.pricing-grid { display: none; }
.pricing-grid.active { display: grid; }

/* ---------- cards ---------- */
.card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2vw, 34px) clamp(22px, 1.8vw, 28px) clamp(22px, 1.8vw, 28px); border-radius: 22px; text-decoration: none; color: var(--ink); background: var(--glass); border: 1px solid var(--glass-b); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: var(--shadow-card), inset 0 1px 0 var(--card-hi); transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .4s; }
a.card:hover, a.card:focus-visible { transform: translateY(-6px); box-shadow: var(--card-hover-sh), inset 0 1px 0 var(--card-hover-hi); border-color: var(--card-hover-b); }
.card.is-rec { border-color: rgba(31, 85, 224, .55); }
.card-name, .service-card h3 { margin: 0; font: 500 13px/1.3 var(--head); letter-spacing: .26em; text-transform: uppercase; color: var(--ink); }
.card-title { margin: 0; font: 400 20px/1.3 var(--head); letter-spacing: .08em; text-transform: uppercase; }
.card-price { font: 400 18px/1 var(--head); color: var(--ink-2); letter-spacing: .06em; }
.card-price b { font: 300 clamp(36px, 2.9vw, 50px)/1 var(--head); color: var(--ink); letter-spacing: .02em; margin-right: .1em; white-space: nowrap; }
.card-price small { font: 400 12px/1 var(--mono); letter-spacing: .04em; margin-left: .4em; }
.card-allow, .card-text { margin: 0; font: 400 15px/1.5 var(--body); color: var(--ink-2); flex: 1; }
.card-go { font: 500 12px/1 var(--head); letter-spacing: .24em; text-transform: uppercase; color: var(--ink); display: flex; gap: 10px; transition: gap .4s var(--ease); }
a.card:hover .card-go { gap: 16px; }
.card-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 9px; font: 400 14.5px/1.4 var(--body); color: var(--ink-2); }
.card-list li { display: flex; gap: 10px; align-items: baseline; }
.card-list li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-2); transform: translateY(-2px); }
.card-list .no { opacity: .5; text-decoration: line-through; }
.card-list .no::before { background: var(--hair); }
.card .ic, .card > i.fas, .card > i.far { font-size: 15px; color: var(--ink-2); width: 20px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 22px); text-align: left; }
.cards li { display: flex; }
.cards .card { flex: 1; padding-top: 40px; }
.service-card { padding: 26px 24px; }
.service-card p { margin: 0; font: 400 15px/1.5 var(--body); color: var(--ink-2); }
.service-tier { padding-top: clamp(32px, 4vw, 56px); }
.glass { background: var(--glass); border: 1px solid var(--glass-b); border-radius: 22px; box-shadow: var(--shadow-card); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); padding: clamp(24px, 3vw, 44px); }

/* stats */
.stats { display: flex; flex-wrap: wrap; gap: 24px clamp(28px, 4vw, 64px); margin: 8px 0 30px; padding: 22px 0 0; border-top: 1px solid var(--hair); }
.stats > div { display: flex; flex-direction: column-reverse; gap: 6px; }
.stats dd { margin: 0; font: 300 clamp(40px, 3.6vw, 60px)/1 var(--head); letter-spacing: .04em; }
.stats dt { font: 400 14px/1.3 var(--body); color: var(--ink-2); max-width: 11em; }
.stats .mono-v { font-family: var(--mono); font-size: clamp(30px, 2.8vw, 46px); }

/* hairline rows: values, rules, scope, libraries */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.row { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; gap: 8px clamp(14px, 2vw, 32px); align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--hair); color: var(--ink); text-decoration: none; }
.row-n { font: 400 12px/1.4 var(--mono); letter-spacing: .1em; color: var(--accent); }
.row-t { margin: 0 0 4px; font: 500 15px/1.4 var(--head); letter-spacing: .02em; text-transform: none; }
.row-d { margin: 0; font: 400 15.5px/1.55 var(--body); color: var(--ink-2); max-width: 62ch; }
.row-go { font: 400 14px/1 var(--mono); color: var(--ink-2); transition: transform .4s var(--ease), color .3s; }
a.row:hover .row-go { transform: translateX(6px); color: var(--ink); }
a.row { transition: padding .4s var(--ease), background .4s; }
a.row:hover { background: linear-gradient(90deg, var(--row-hover), transparent 70%); padding-inline: 14px; }
.layers { counter-reset: lay; }

/* status */
.status-banner { --dotc: var(--warn); display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); padding: clamp(24px, 3vw, 44px); border-radius: 24px; background: var(--band-bg); color: #eef1f5; box-shadow: 0 30px 60px -34px rgba(14, 17, 22, .8), inset 0 0 0 1px var(--band-edge); }
.status-banner.state-ok { --dotc: #30d158; }
.status-banner.state-warn { --dotc: #ffd60a; }
.status-banner.state-down { --dotc: #ff453a; }
.status-banner > i { font-size: 22px; color: var(--dotc); }
.status-banner h2 { margin: 0 0 4px; font: 300 clamp(22px, 2.2vw, 34px)/1.2 var(--head); letter-spacing: .12em; text-transform: uppercase; color: #eef1f5; }
.status-banner p { margin: 0; color: rgba(238, 241, 245, .72); font-size: 15.5px; }
.status-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); }
.component-item { display: flex; align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--hair); }
.component-info { flex: 1; min-width: 0; }
.component-name { font: 500 15px/1.4 var(--head); letter-spacing: .02em; text-transform: none; color: var(--ink); }
.component-detail, .status-meta { margin-top: 3px; font: 400 12.5px/1.4 var(--mono); letter-spacing: .03em; color: var(--ink-2); }
.dot, .component-dot { position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--dc, var(--ok)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dc, var(--ok)) 22%, transparent); }
.dot.state-ok, .component-dot.state-ok, .state-ok { --dc: #30d158; }
.dot.state-warn, .component-dot.state-warn, .component-dot.state-degraded, .state-warn { --dc: #ffd60a; }
.dot.state-down, .component-dot.state-down, .state-down { --dc: #ff453a; }
.component-dot.state-unknown { --dc: #8a94a6; }
.dot.pulse, .status-banner .pulse { animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--dc, var(--ok)) 22%, transparent); } 50% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--dc, var(--ok)) 0%, transparent); } }
.components-empty { padding: 24px 0; color: var(--ink-2); font-family: var(--mono); font-size: 13px; list-style: none; }
.last-checked { font: 400 12.5px/1.4 var(--mono); letter-spacing: .04em; color: var(--ink-2); }

/* ---------- forms ---------- */
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label, .label { font: 500 13.5px/1.3 var(--head); letter-spacing: .02em; text-transform: none; color: var(--ink); }
.input, .field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea, input.input, select.input, textarea.input { width: 100%; height: 52px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--hair); background: var(--field-bg); color: var(--ink); font: 400 16px/1.2 var(--body); transition: border-color .3s, box-shadow .3s, background .3s; -webkit-appearance: none; appearance: none; }
.field textarea, textarea.input { height: auto; min-height: 120px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.input::placeholder, .field input::placeholder, .field textarea::placeholder { color: var(--ph); }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-2); background: var(--field-focus); box-shadow: 0 0 0 3px rgba(47, 107, 255, .25); }
.field.is-error input, .input.is-error, .input[aria-invalid="true"] { border-color: var(--alert); }
.error-text, .validation-message { color: var(--alert-ink); font: 400 13.5px/1.4 var(--body); min-height: 0; }
.validation-message:empty { display: none; }
.field-hint { font: 400 13px/1.4 var(--body); color: var(--ink-2); }
.input-wrap { position: relative; }
.input-wrap .input, .input-wrap input { padding-right: 52px; }
.input-wrap .icon-btn { position: absolute; right: 6px; top: 6px; }
.check { display: flex; align-items: flex-start; gap: 12px; font: 400 15px/1.5 var(--body); color: var(--ink-2); }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; border-radius: 6px; border: 1px solid var(--hair); background: var(--field-bg); -webkit-appearance: none; appearance: none; display: grid; place-content: center; cursor: pointer; transition: background .25s, border-color .25s; }
.check input::after { content: ""; width: 10px; height: 6px; border: solid var(--pill-fg); border-width: 0 0 2px 2px; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform .2s var(--ease); }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check a { color: var(--accent); }
/* autofill: keep the field on-theme (browsers paint it pale yellow) */
.input:-webkit-autofill, .field input:-webkit-autofill { -webkit-text-fill-color: var(--ink); caret-color: var(--ink); box-shadow: 0 0 0 100px var(--field-solid) inset; transition: background-color 9999s; }
.password-strength { margin-top: 10px; }
.strength-bar { height: 4px; background: var(--hair); -webkit-mask: repeating-linear-gradient(90deg, #000 0 calc(25% - 3px), transparent calc(25% - 3px) 25%); mask: repeating-linear-gradient(90deg, #000 0 calc(25% - 3px), transparent calc(25% - 3px) 25%); }
.strength-fill { height: 100%; width: var(--sw, 0%); background: var(--sc, var(--alert)); transition: width .4s var(--ease), background .3s; }
.strength-weak { --sw: 25%; --sc: #ff3b30; }
.strength-fair { --sw: 50%; --sc: #ff9f0a; }
.strength-good { --sw: 75%; --sc: var(--str-good); }
.strength-strong { --sw: 100%; --sc: #30b350; }
.strength-text { margin-top: 8px; font: 400 12px/1.3 var(--mono); letter-spacing: .04em; color: var(--ink-2); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

/* ---------- FAQ accordion ---------- */
.faq { border-top: 1px solid var(--hair); }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-question { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; width: 100%; padding: 26px 0; text-align: left; font: 500 16px/1.5 var(--head); letter-spacing: .02em; text-transform: none; color: var(--ink); }
.faq-question > i { display: none; }
.faq-question::after { content: "+"; flex: none; font: 400 20px/1 var(--mono); color: var(--ink-2); transition: transform .4s var(--ease), color .3s; }
.faq-question[aria-expanded="true"]::after { content: "\2013"; color: var(--accent); }
.faq-question:hover::after { color: var(--ink); }
.faq-answer { display: none; padding: 0 3.5rem 28px 0; font: 400 16px/1.65 var(--body); color: var(--ink-2); max-width: 70ch; }
.faq-answer.show { display: block; animation: rise .5s var(--ease); }
.faq-answer p:last-child { margin-bottom: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; margin: 0; border-top: 1px solid var(--hair); -webkit-overflow-scrolling: touch; }
table.data, .prose table { width: 100%; border-collapse: collapse; font: 400 15px/1.5 var(--body); }
table.data caption { text-align: left; padding: 0 0 12px; font: 400 12px/1 var(--mono); color: var(--ink-2); }
table.data th, .prose th { text-align: left; font: 500 13px/1.3 var(--head); letter-spacing: .02em; text-transform: none; color: var(--ink-2); padding: 16px 18px 14px 0; border-bottom: 1px solid var(--hair); white-space: nowrap; }
table.data td, .prose td { padding: 16px 18px 16px 0; border-bottom: 1px solid var(--hair-soft); vertical-align: top; color: var(--ink); }
table.data td.mono, table.data .num { font-family: var(--mono); font-size: 14px; white-space: nowrap; }
table.data tbody tr:hover td { background: var(--row-hover); }
table.data .yes { color: var(--accent); }
table.data .no { color: var(--ink-2); opacity: .55; }
.cell-limit { font-family: var(--mono); font-size: 14px; }

/* ---------- notice ---------- */
.notice, .callout { --nc: var(--accent-2); display: flex; gap: 14px; align-items: flex-start; margin: 1.6em 0; padding: 18px 22px 18px 20px; border-radius: 16px; border: 1px solid var(--hair); border-left: 3px solid var(--nc); background: var(--glass-in); font: 400 15.5px/1.55 var(--body); color: var(--ink); }
.notice > i, .callout > i { margin-top: 3px; color: var(--nc); }
.notice p, .callout p { margin: 0; }
.notice p + p, .callout p + p { margin-top: .6em; }
.notice b, .notice strong { font-weight: 500; }
.notice--warn { --nc: var(--warn-ink); }
.notice--ok { --nc: #30b350; }

/* ---------- breadcrumb ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 22px; padding: 0; list-style: none; font: 400 12px/1.4 var(--mono); letter-spacing: .06em; color: var(--ink-2); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- sticky TOC (legal) ---------- */
.doc { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.toc { position: sticky; top: 100px; max-height: calc(100vh - 130px); overflow: auto; }
.toc summary { list-style: none; font: 500 11.5px/1 var(--head); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2); padding: 0 0 14px; cursor: default; }
.toc summary::-webkit-details-marker { display: none; }
.toc nav { display: grid; border-top: 1px solid var(--hair); }
.toc a { display: block; padding: 11px 0 11px 14px; border-bottom: 1px solid var(--hair-soft); border-left: 2px solid transparent; margin-left: -2px; font: 400 14px/1.4 var(--body); color: var(--ink-2); text-decoration: none; transition: color .3s, border-color .3s, padding .3s var(--ease); }
.toc a:hover { color: var(--ink); }
.toc a.is-active, .toc a[aria-current="location"] { color: var(--ink); border-left-color: var(--accent-2); padding-left: 18px; }
.toc a .n { font-family: var(--mono); font-size: 11px; margin-right: 10px; color: var(--accent); }

/* ---------- emblem: CSS-only lock cylinder (port of the v16 poster lock) ---------- */
.emblem {
  --s: min(40vw, 440px); --rot: -7deg;
  --none: linear-gradient(transparent, transparent);
  --top: var(--none);
  --cyl: var(--emblem-cyl);
  position: relative; display: block; flex: none; width: var(--s); max-width: 100%; aspect-ratio: 2.6; transform: rotate(var(--rot));
}
.emblem::before {
  content: ""; position: absolute; inset: 0; border-radius: 7% / 24%;
  background: var(--top), var(--cyl);
  box-shadow: var(--emb-edge);
  filter: var(--emb-drop);
}
.emblem--open {
  --top: linear-gradient(90deg, rgba(47,107,255,0) 0, rgba(47,107,255,.85) 20%, rgba(47,107,255,.85) 80%, rgba(47,107,255,0) 100%) 6% 31% / 88% 1.4% no-repeat, linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.1) 40%, rgba(255,255,255,.28));
}
.emblem--open::before { -webkit-mask-image: linear-gradient(90deg, #000 0 45%, transparent 45% 55%, #000 55%); mask-image: linear-gradient(90deg, #000 0 45%, transparent 45% 55%, #000 55%); }
.emblem--open::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 10%; aspect-ratio: .6 / 1; transform: translate(-50%, -50%); opacity: .85;
  background: radial-gradient(closest-side, rgba(47,107,255,.5), rgba(47,107,255,0)), repeating-radial-gradient(circle at 50% 30%, rgba(47,107,255,.65) 0 1px, transparent 1px 6px);
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent);
}
.emblem--alert { --top: radial-gradient(ellipse 3% 12% at 42% 14%, rgba(255,59,48,.95), rgba(255,59,48,.35) 55%, rgba(255,59,48,0) 100%), linear-gradient(90deg, rgba(47,107,255,0) 0, rgba(47,107,255,.6) 20%, rgba(47,107,255,.6) 80%, rgba(47,107,255,0) 100%) 6% 31% / 88% 1% no-repeat; }
.emblem--flat { --rot: 0deg; }

/* globe crop for the Trust page: dotted satin sphere with a blue Europe hint */
.globe { --s: min(80vw, 460px); position: relative; width: var(--s); aspect-ratio: 1; border-radius: 50%; flex: none; max-width: 100%;
  background: var(--globe-bg);
  box-shadow: var(--globe-sh); }

/* ---------- reveal ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- CTA band + footer ---------- */
.cta-band { padding-block: clamp(72px, 9vw, 140px); text-align: center; }
.cta-band .h2 { max-width: 22ch; margin-inline: auto; }
.cta-band .cta-row { justify-content: center; margin-top: 32px; }
.site-foot { position: relative; padding: clamp(48px, 6vw, 88px) var(--gut) 32px; border-top: 1px solid var(--hair); color: var(--ink); }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: clamp(28px, 4vw, 72px); max-width: calc(var(--max) + 0px); margin-inline: auto; }
.foot-brand .brand { margin-bottom: 18px; }
.foot-brand .fine { margin: 0; max-width: 30ch; }
.foot-grid nav { display: grid; align-content: start; gap: 4px; }
.foot-h { margin: 0 0 12px; font: 500 11.5px/1 var(--head); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2); }
.foot-grid nav a { padding: 5px 0; font: 400 15px/1.4 var(--body); color: var(--ink); text-decoration: none; width: fit-content; }
.foot-grid nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; max-width: var(--max); margin: clamp(36px, 5vw, 72px) auto 0; padding-top: 22px; border-top: 1px solid var(--hair); font: 400 13.5px/1.4 var(--body); color: var(--ink-2); }
.foot-base a { text-decoration: none; }
.foot-base a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- auth layout ---------- */
.auth { display: grid; grid-template-columns: 44% 1fr; min-height: 100vh; }
.auth-panel { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 4vw, 64px); overflow: hidden; }
.auth-panel .brand { color: var(--ink); }
.auth-panel .h2 { max-width: 14ch; }
.auth-panel .emblem { margin-block: auto; --s: min(32vw, 420px); margin-inline: auto; }
.auth-main { display: grid; place-items: center; padding: 96px var(--gut) 56px; }
.auth-card { width: 100%; max-width: 440px; padding: clamp(28px, 3vw, 40px); border-radius: 22px; background: var(--glass); border: 1px solid var(--glass-b); box-shadow: var(--shadow-card), inset 0 1px 0 var(--card-hi); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.auth-card .h2 { font-size: clamp(22px, 2vw, 30px); margin-bottom: 8px; }
.auth-card .lede { font-size: 15.5px; margin-bottom: 24px; }
.auth-card .btn { width: 100%; }
.auth-alt { margin-top: 20px; text-align: center; font: 400 14.5px/1.5 var(--body); color: var(--ink-2); }
.auth-alt a { color: var(--accent); }
.secret-box { padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--hair); background: var(--field-bg); font: 400 14px/1.5 var(--mono); letter-spacing: .08em; word-break: break-all; }

/* ---------- UIKit toast + modal restyle ---------- */
.toast-container { position: fixed; top: calc(var(--nav-h) + 14px); right: clamp(14px, 2vw, 28px); z-index: 1000; display: grid; gap: 10px; width: min(380px, calc(100vw - 28px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: flex-start; gap: 12px; padding: 14px 14px 14px 16px; border-radius: 16px; border: 1px solid var(--glass-b); border-left: 3px solid var(--accent-2); background: var(--toast-bg); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: var(--shadow-toast); color: var(--ink); font: 400 14.5px/1.45 var(--body); animation: toast-in .35s var(--ease); }
.toast span { flex: 1; padding-top: 1px; }
.toast-icon { margin-top: 3px; color: var(--accent-2); }
.toast-close { flex: none; width: 24px; height: 24px; border-radius: 50%; color: var(--ink-2); font-size: 18px; line-height: 1; transition: background .25s, color .25s; }
.toast-close:hover { background: var(--hair-soft); color: var(--ink); }
.toast-success { border-left-color: var(--ok-ink); } .toast-success .toast-icon { color: var(--ok-ink); }
.toast-error { border-left-color: var(--alert); } .toast-error .toast-icon { color: var(--alert); }
.toast-warn { border-left-color: var(--warn-ink); } .toast-warn .toast-icon { color: var(--warn-ink); }
.toast-info { border-left-color: var(--accent-2); } .toast-info .toast-icon { color: var(--accent-2); }
.toast.toast-hide { animation: toast-out .2s ease-in forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-6px); } }
.modal { position: fixed; inset: 0; z-index: 900; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(14,17,22,.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal.active { display: flex; animation: fade .25s var(--ease); }
.modal-content { width: min(520px, 100%); max-height: calc(100vh - 40px); overflow: auto; border-radius: 22px; border: 1px solid var(--glass-b); background: var(--modal-bg); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); animation: rise .4s var(--ease); }
.modal-content:focus { outline: none; }
.modal-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px 16px; border-bottom: 1px solid var(--hair); }
.modal-header h2, .modal-header h3 { margin: 0; font: 400 18px/1.3 var(--head); letter-spacing: .02em; text-transform: none; }
.modal-close { width: 36px; height: 36px; border-radius: 50%; color: var(--ink-2); transition: background .25s, color .25s; }
.modal-close:hover { background: var(--hair-soft); color: var(--ink); }
.modal-body { padding: 20px 24px; font: 400 15.5px/1.6 var(--body); color: var(--ink-2); }
.modal-footer { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; padding: 8px 24px 24px; }
.modal-footer .btn { height: 44px; padding: 0 24px; font-size: 12px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- wide screens ---------- */
@media (min-width: 2200px) {
  :root { --max: 2000px; --read: 80ch; --nav-h: 88px; }
  body { font-size: 20px; }
  .nav { padding-inline: var(--gut); }
  .links a, .signin, .brand, .pill { font-size: 15px; }
  .brand .mark { width: 30px; height: 30px; }
  .theme-btn { width: 50px; height: 50px; } .theme-btn svg { width: 24px; height: 24px; }
  .pill { height: 50px; padding: 0 28px; }
  .eyebrow { font-size: 14px; }
  .lede { font-size: 24px; }
  .fine { font-size: 17px; }
  .btn { height: 68px; font-size: 16px; padding: 0 44px; }
  .btn-primary { height: 76px; font-size: 18px; padding: 0 56px; }
  .btn-sm { height: 52px; font-size: 14px; }
  .chip, .chips li { height: 50px; font-size: 18px; }
  .card-price b { font-size: 60px; } .card-allow, .card-text { font-size: 18px; } .card-name { font-size: 15px; } .card { padding: 40px 32px 32px; }
  .stats dd { font-size: 72px; } .stats dt { font-size: 17px; }
  .row-d { font-size: 18px; } .row-t { font-size: 16px; }
  .faq-question { font-size: 16px; } .faq-answer { font-size: 18px; }
  table.data { font-size: 17px; }
  .doc { grid-template-columns: 320px minmax(0, 1fr); }
  .emblem { --s: min(26vw, 760px); }
  .toc a { font-size: 16px; }
  .field label { font-size: 13.5px; } .input { height: 60px; font-size: 18px; }
  .foot-grid nav a { font-size: 17px; } .foot-base { font-size: 16px; }
}

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .hero-art { justify-content: flex-start; margin-top: 12px; }
  .menu-btn { display: inline-block; }
  .links { position: fixed; top: var(--nav-h); left: 0; right: 0; margin: 0; flex-direction: column; gap: 0; padding: 8px var(--gut) 22px; background: var(--menu-bg); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 24px 40px -24px var(--menu-sh); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s; }
  .nav.is-open .links { opacity: 1; visibility: visible; transform: none; }
  .links a { padding: 18px 0; font-size: 14px; border-bottom: 1px solid var(--hair-soft); }
  .links a::after { display: none; }
  .doc { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .toc { position: static; max-height: none; overflow: visible; border: 1px solid var(--hair); border-radius: 16px; padding: 16px 18px; background: var(--glass); }
  .toc summary { padding: 0; cursor: pointer; color: var(--ink); display: flex; justify-content: space-between; }
  .toc summary::after { content: "+"; font: 400 18px/1 var(--mono); }
  .toc[open] summary::after { content: "\2013"; }
  .toc[open] summary { padding-bottom: 14px; }
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
  .auth { grid-template-columns: 1fr; min-height: 0; }
  .auth-panel { position: relative; height: 140px; padding: 20px var(--gut); flex-direction: row; align-items: center; justify-content: flex-start; gap: 20px; }
  .auth-panel .h2, .auth-panel .mono, .auth-panel .lede { display: none; }
  .auth-panel .emblem { --s: 150px; margin: 0 0 0 auto; }
  .auth-main { padding-top: 40px; }
}

/* ---------- phone ---------- */
@media (max-width: 720px) {
  :root { --nav-h: 58px; }
  body { font-size: 16px; }
  .nav { padding: 0 16px; gap: 8px; }
  .brand span { font-size: 12.5px; letter-spacing: .1em; }
  .brand { gap: 8px; }
  .nav-right { gap: 6px; }
  .nav-right .signin { display: none; }
  .links .m-only { display: block; }
  .pill { height: 36px; padding: 0 11px; font-size: 10.5px; letter-spacing: .1em; }
  .menu-btn, .theme-btn { width: 36px; height: 36px; }
  .theme-btn svg { width: 18px; height: 18px; }
  .menu-btn i { left: 9px; right: 9px; }
  .menu-btn i:nth-child(1) { top: 14px; } .menu-btn i:nth-child(2) { top: 20px; }
  .menu-btn[aria-expanded="true"] i:nth-child(1), .menu-btn[aria-expanded="true"] i:nth-child(2) { top: 17px; }
  .h1, h1.h { font-size: clamp(26px, 8vw, 34px); letter-spacing: .1em; }
  .h2, h2.h { font-size: clamp(22px, 6.4vw, 30px); letter-spacing: .1em; }
  .lede { font-size: 16px; margin-bottom: 22px; }
  .eyebrow { font-size: 11px; letter-spacing: .24em; margin-bottom: 14px; }
  .btn { height: 52px; padding: 0 24px; font-size: 13px; letter-spacing: .16em; }
  .btn-primary { height: 56px; padding: 0 32px; }
  .cta-row { gap: 10px; }
  .grid, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; gap: 10px; }
  .card { padding: 22px 20px; border-radius: 18px; }
  .stats { gap: 20px 28px; }
  .stats dd { font-size: 36px; }
  .row { grid-template-columns: 2.6rem minmax(0, 1fr); padding: 20px 0; }
  .row-go { display: none; }
  .faq-question { padding: 22px 0; font-size: 13px; letter-spacing: .12em; }
  .faq-answer { padding-right: 0; }
  .seg .tab, .account-toggle-wrap .tab { padding: 0 20px; height: 42px; font-size: 12px; }
  .chips { gap: 8px; }
  .chip, .chips li { height: 38px; font-size: 14px; padding: 0 14px 0 11px; }
  .chip-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); scrollbar-width: none; }
  .chip-tabs > * { flex: none; }
  .status-banner { flex-direction: row; padding: 22px; border-radius: 20px; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-base { flex-direction: column; }
  .hero { padding-top: calc(var(--nav-h) + 56px); }
  .emblem { --s: min(78vw, 360px); }
  .auth-panel { height: 120px; }
  .auth-panel .emblem { --s: 120px; }
  .auth-main { padding-inline: 18px; }
  .toast-container { right: 14px; left: 14px; width: auto; }
  .modal-footer .btn { flex: 1; }
  .fill-row label { min-width: 0; width: 100%; }
}

/* ---------- small phone ---------- */
@media (max-width: 380px) { .brand span { font-size: 11.5px; letter-spacing: .06em; } .brand { gap: 7px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}

/* theme switch: colours cross-fade for ~250ms (class is added by js/site.js only on a switch, never on first paint) */
html.theme-anim, html.theme-anim *:not(.theme-btn *), html.theme-anim *::before, html.theme-anim *::after {
  transition: color .25s ease, background-color .25s ease, border-color .25s ease, fill .25s ease, stroke .25s ease, box-shadow .25s ease, --bg-a .25s ease, --bg-b .25s ease !important;
}

@media print {
  /* print is black on white whatever the theme (beats both dark selectors) */
  :root:root:root { color-scheme: light; --ink: #111; --ink-2: #333; --hair: #bbb; --hair-soft: #ddd; --glass: transparent; --glass-b: #bbb; --accent: #1a2230; --bg-a: #fff; --bg-b: #fff; --bg: #fff; --pill-fg: #fff; --band-bg: none; --band-edge: transparent; --field-bg: #fff; }
  .theme-btn { display: none !important; }
  .nav, .site-foot, .skip, .toc, .emblem, .globe, .menu-btn, .toast-container, .modal, .btn-print, .cta-band { display: none !important; }
  html, body { background: #fff !important; color: #111 !important; }
  .hero { padding-top: 0; }
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .card, .glass, .signature-block, .notice { background: none !important; box-shadow: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .band-dark { background: none !important; --ink: #111; --ink-2: #333; --hair: #bbb; }
  .doc { display: block; }
}

/* ---------- touch targets: >=44px on coarse pointers ---------- */
@media (pointer: coarse) {
  .pill { min-height: 44px; height: 44px; }
  .theme-btn, .menu-btn { width: 44px; height: 44px; min-width: 44px; min-height: 44px; }
  .menu-btn i { left: 13px; right: 13px; }
  .menu-btn i:nth-child(1) { top: 17px; } .menu-btn i:nth-child(2) { top: 24px; }
  .menu-btn[aria-expanded="true"] i:nth-child(1), .menu-btn[aria-expanded="true"] i:nth-child(2) { top: 20.5px; }
  .signin, .links a { min-height: 44px; display: inline-flex; align-items: center; }
  .links a { display: flex; }
  .foot-grid nav a, .foot-base a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding-block: 8px; }
  .toast-close { width: 44px; height: 44px; margin: -10px -8px -10px 0; display: inline-grid; place-items: center; }
  .chip-tabs .tier-nav-item, .seg .tab, .seg button, .account-toggle-wrap .tab { min-height: 44px; height: 44px; }
  .link, .tlink { min-height: 44px; }
  .faq-question { min-height: 44px; }
}
