/* AUTO-GENERATED by scripts/build-page-css.mjs — do not edit directly.
   Sources (in order): public/assets/css/site.base.css, public/assets/css/site/header.css, public/assets/css/site/hero.css, public/assets/css/site/offer.css, public/assets/css/site/why.css, public/assets/css/site/plans.css, public/assets/css/site/access.css, public/assets/css/site/steps.css, public/assets/css/site/platforms.css, public/assets/css/site/faq.css, public/assets/css/site/cta.css, public/assets/css/site/footer.css, public/assets/css/site/popup.css, public/assets/css/site/chat.css, public/assets/css/site/toast.css, public/assets/css/site/subpage.css */

/* Landing v5 — SV Funded pit-wall tokens (SVFUNDED-DESIGN.md frontmatter is normative). Public pages only
   (/, /rules, /terms, /refund, /privacy, 404), dark only. No hex outside this block and the documented
   gradients. Sections live in public/assets/css/site/*.css; `node scripts/build-page-css.mjs site` builds
   public/assets/css/site.css. */
@font-face { font-family: Poppins; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/poppins-latin-400.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/poppins-latin-ext-400.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/poppins-latin-500.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/poppins-latin-ext-500.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/poppins-latin-600.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/poppins-latin-ext-600.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/poppins-latin-700.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Poppins; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/poppins-latin-ext-700.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Chakra Petch'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/chakra-petch-latin-700.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap; src: url(/assets/fonts/jetbrains-mono-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 100 800; font-display: swap; src: url(/assets/fonts/jetbrains-mono-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --carbon: #0B0C0E; --graphite: #141619; --slate: #1C1F24; --line: #2A2E35;
  --signal: #F4F5F7; --mist: #A3A9B4; --muted: #6B7280;
  --red: #E01B24; --red-press: #B3131C; --red-lit: #FF3B52;
  --profit: #12B76A; --loss: #F04438; --hold: #F5A524;
  --font-sans: Poppins, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'JetBrains Mono Fallback', ui-monospace, Menlo, Consolas, monospace;
  --font-timing: 'Chakra Petch', 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1); --t-micro: 120ms; --t-std: 220ms; --t-page: 420ms;
  --r-control: 4px; --r-button: 8px; --r-panel: 10px; --r-card: 16px; --r-banner: 20px;
  --gutter: clamp(16px, 4vw, 40px); --rail: 1280px;
  --top-h: 64px; --deal-h: 0px;
  --grad-primary: linear-gradient(180deg, #F02A34 0%, #D4161F 100%);
  --shadow-deep: inset 0 1px 0 rgba(255, 255, 255, .06), 0 30px 80px -40px rgba(0, 0, 0, .9);
  /* aliases for the chat widget and toast CSS copied from base.css (site/chat.css, site/toast.css) */
  --bg: var(--carbon); --bg2: var(--carbon); --panel: var(--graphite); --panel2: var(--slate);
  --border: var(--line); --border2: #3A3F48; --text: var(--signal);
  --accent: var(--red); --accent-strong: var(--red-press); --accent-soft: rgba(224, 27, 36, .12); --accent2: var(--red-lit);
  --ok: var(--profit); --ok-soft: rgba(18, 183, 106, .14); --warn: var(--hold); --warn-soft: rgba(245, 165, 36, .14);
  --danger: var(--loss); --danger-soft: rgba(240, 68, 56, .14);
  --radius: var(--r-card); --radius-ctl: var(--r-control);
  --t-std-legacy: 260ms; --shadow-2: 0 2px 6px rgba(0, 0, 0, .35), 0 18px 50px rgba(0, 0, 0, .5);
  --grad-red: var(--grad-primary); --spring: var(--ease); /* no overshoot on public pages (DESIGN.md motion) */
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --top-h: 76px; } }
body:has(.deal) { --deal-h: 44px; }

*, ::before, ::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: calc(var(--top-h) + 16px); }
body {
  margin: 0; min-height: 100vh; background: var(--carbon); color: var(--signal);
  font-family: var(--font-sans); font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.no-scroll, html.no-scroll { overflow: hidden; }
img, picture, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; font-weight: 600; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--red); color: #FFFFFF; }
:focus-visible { outline: 2px solid var(--red-lit); outline-offset: 2px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 80; padding: 10px 16px; background: var(--signal); color: var(--carbon); border-radius: var(--r-button); font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- utilities ---------- */
.wrap { margin-inline: auto; width: 100%; max-width: var(--rail); padding-inline: var(--gutter); }
.tnum { font-variant-numeric: tabular-nums lining-nums; }
.mono { font-family: var(--font-mono); }
.label { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.label.red { color: var(--red-lit); }
.timing { font-family: var(--font-timing); font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums lining-nums; }
.dashed { border-bottom: 1px dashed rgba(255, 255, 255, .28); padding-bottom: 2px; }
.scroll-x { overflow-x: auto; scrollbar-width: none; }
.scroll-x::-webkit-scrollbar { display: none; }
.ic { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.surface {
  background: linear-gradient(180deg, #181B1F 0%, #141619 100%); border: 1px solid var(--line); border-radius: var(--r-card);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 60px -36px rgba(0, 0, 0, .9);
}
.surface-hot {
  background: radial-gradient(90% 45% at 50% 0%, rgba(224, 27, 36, .30), transparent 70%), linear-gradient(180deg, #1C1A1C 0%, #141619 100%);
  border: 1px solid rgba(224, 27, 36, .45); border-radius: var(--r-card);
  box-shadow: inset 0 1px 0 rgba(255, 120, 130, .25), 0 0 0 1px rgba(224, 27, 36, .08), 0 30px 70px -30px rgba(224, 27, 36, .45);
}
.glow { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 10px 28px -12px rgba(224, 27, 36, .75); }
.pill-3d { background: linear-gradient(180deg, #FF3B52 0%, #C8151F 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 18px -6px rgba(224, 27, 36, .8); color: #FFFFFF; }
.pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 1px 10px; font-size: 12px; font-weight: 600; line-height: 20px; white-space: nowrap; }
.pill.ghost { border: 1px solid rgba(255, 255, 255, .22); color: var(--mist); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; }

/* glass: CSS only, four layers (fill + blur, masked hairline, specular sweep, deep drop) — floating chrome only */
.glass {
  position: relative; isolation: isolate; border-radius: var(--r-card);
  background: linear-gradient(135deg, rgba(255, 255, 255, .13) 0%, rgba(255, 255, 255, .06) 45%, rgba(255, 255, 255, .035) 100%);
  -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .30), inset 0 -1px 0 rgba(255, 255, 255, .05), 0 28px 70px -26px rgba(0, 0, 0, .85);
}
.glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .10) 38%, rgba(255, 255, 255, .05) 70%, rgba(255, 255, 255, .22));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.glass::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(165deg, rgba(255, 255, 255, .15) 0%, rgba(255, 255, 255, .03) 30%, transparent 52%); }
.glass > * { position: relative; z-index: 1; }
.glass-pill { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 500; }

/* ---------- buttons (one primary per view) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap;
  height: 48px; padding: 0 24px; border-radius: var(--r-button); font-size: 15px; font-weight: 600; line-height: 1;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color var(--t-micro) var(--ease), border-color var(--t-micro) var(--ease), color var(--t-micro) var(--ease), filter var(--t-micro) var(--ease), transform var(--t-micro) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn.sm { height: 40px; padding: 0 16px; font-size: 13.5px; }
.btn.lg { height: 52px; padding: 0 28px; font-size: 15.5px; }
.btn.block { display: flex; width: 100%; }
.btn.primary { background: var(--grad-primary); color: #FFFFFF; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16); }
.btn.primary.glow { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 10px 28px -12px rgba(224, 27, 36, .75); }
.btn.primary:hover { filter: brightness(1.1); }
.btn.secondary { border-color: var(--line); color: var(--signal); }
.btn.secondary:hover { border-color: var(--mist); background: var(--slate); }
.btn.white { background: var(--signal); color: var(--carbon); }
.btn.white:hover { background: #FFFFFF; }
.btn.ghost { color: var(--mist); }
.btn.ghost:hover { color: var(--signal); }
/* the chat widget's own buttons (chatwidget.js uses .btn without a variant) read as primary */
.btn:not(.secondary):not(.white):not(.ghost):not(.primary) { background: var(--grad-primary); color: #FFFFFF; }

/* ---------- type ---------- */
.h2 { font-size: 30px; line-height: 1.1; letter-spacing: -0.02em; }
.h2.sm { font-size: 26px; }
.h2.center, .sub.center { text-align: center; margin-inline: auto; }
.sub { margin-top: 14px; max-width: 60ch; font-size: 15.5px; line-height: 1.625; color: var(--mist); }
.why .sub { margin-top: 8px; font-size: 15px; }
@media (min-width: 768px) {
  .h2 { font-size: 46px; }
  .h2.sm { font-size: 34px; }
  .sub { font-size: 17px; }
  .why .sub { font-size: 16px; }
}

/* ---------- motion: rise on load, reveal on scroll (content visible without JS: .rv is only added by site.js) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .5s var(--ease) both; }  /* DESIGN.md: nothing over 500 ms */
.rise-2 { animation-delay: .08s; }
.rise-3 { animation-delay: .16s; }
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .rv.rv-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; }
}

/* ---------- deal strip + header (handoff: announcement.tsx, nav.tsx) ----------
   The strip and the header ride together in a fixed stack over the video hero: transparent over the
   picture, glass once the page has scrolled 24 px. Under 1024 px the nav moves into a full sheet. */
.topstack { position: fixed; inset: 0 0 auto 0; z-index: 40; }
.deal {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 var(--gutter);
  border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--signal);
  background: linear-gradient(90deg, rgba(11, 12, 14, .85) 0%, rgba(58, 12, 16, .92) 50%, rgba(11, 12, 14, .85) 100%);
  transition: background-color var(--t-micro) var(--ease);
}
.deal:hover { background-color: var(--slate); }
.deal::before { content: ""; width: 15px; height: 15px; flex: none; background: var(--red-lit); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.6 2.6A2 2 0 0 0 11.2 2H4a2 2 0 0 0-2 2v7.2a2 2 0 0 0 .6 1.4l8.7 8.7a2.4 2.4 0 0 0 3.4 0l6.6-6.6a2.4 2.4 0 0 0 0-3.4z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12.6 2.6A2 2 0 0 0 11.2 2H4a2 2 0 0 0-2 2v7.2a2 2 0 0 0 .6 1.4l8.7 8.7a2.4 2.4 0 0 0 3.4 0l6.6-6.6a2.4 2.4 0 0 0 0-3.4z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1'/%3E%3C/svg%3E") center / contain no-repeat; }
.deal-tx { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.deal i { width: 7px; height: 7px; flex: none; border-top: 2px solid var(--mist); border-right: 2px solid var(--mist); transform: rotate(45deg); margin-left: 2px; }
@media (min-width: 768px) { .deal { font-size: 14px; } }

.top { border-bottom: 1px solid transparent; transition: background-color var(--t-std) var(--ease), border-color var(--t-std) var(--ease); }
.top.scrolled, .menu-open .top {
  background: rgba(11, 12, 14, .78); border-bottom-color: rgba(255, 255, 255, .10);
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
}
.top-in { display: flex; align-items: center; gap: 24px; height: var(--top-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; min-height: 44px; }
.brand img { height: 20px; width: auto; }
.brand span { font-size: 15px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.top-nav { display: none; align-items: center; gap: 2px; }
.top-nav a { padding: 8px 14px; border-radius: 6px; font-size: 15px; font-weight: 500; color: rgba(244, 245, 247, .9); transition: background-color var(--t-micro) var(--ease); }
.top-nav a:hover { background: var(--slate); color: var(--signal); }
.top-end { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.top-end .lang, .top-login { display: none; }
.menu-btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-button); font-size: 20px; }
@media (min-width: 640px) { .top-login { display: inline-flex; } }
@media (min-width: 1024px) {
  .top-nav, .top-end .lang { display: flex; }
  .menu-btn { display: none; }
}

.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(20, 22, 25, .6); }
.lang-btn { min-width: 40px; height: 40px; padding: 0 10px; border-radius: 999px; font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--mist); }
.lang-btn[aria-pressed="true"] { background: var(--signal); color: var(--carbon); }
.menu .lang-btn { min-width: 56px; }

.menu {
  position: fixed; inset: calc(var(--deal-h) + var(--top-h)) 0 0 0; z-index: 39; display: flex; flex-direction: column;
  background: rgba(11, 12, 14, .96); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); overflow-y: auto;
}
.menu-nav { display: grid; padding-top: 8px; }
.menu-nav a { display: flex; align-items: center; height: 56px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 500; }
.menu-end { margin-top: auto; display: grid; gap: 10px; padding-top: 24px; padding-bottom: max(env(safe-area-inset-bottom), 20px); }
.menu-end .lang { justify-self: start; }
@media (min-width: 1024px) { .menu { display: none !important; } }

/* ---------- hero: the owner's full-screen video kept (spec §2), the handoff's words, account card and proof
   strip over it (hero.tsx, glass.tsx, stats.tsx). Phones: copy, then the card, then the strip, stacked. */
.hero { position: relative; isolation: isolate; min-height: 100svh; display: flex; flex-direction: column; padding-top: calc(var(--deal-h) + var(--top-h)); overflow: hidden; background: var(--carbon); }
.hero-media { position: absolute; inset: 0; z-index: -2; will-change: transform; }
.hero-media picture, .hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media video { opacity: 0; transition: opacity .5s var(--ease); }
.hero.ready .hero-media video { opacity: 1; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(224, 27, 36, .20), transparent 70%),
    linear-gradient(180deg, rgba(11, 12, 14, .55) 0%, rgba(11, 12, 14, .35) 35%, rgba(11, 12, 14, .82) 78%, var(--carbon) 100%);
}
.hero-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding-top: 36px; padding-bottom: 28px; }
.hero-copy { max-width: 768px; margin-inline: auto; text-align: center; }
.hero h1 { font-size: 40px; line-height: 1.02; letter-spacing: -0.03em; }
.hero h1 span, .hero h1 em { display: block; font-style: normal; }
.hero h1 em { color: var(--red-lit); }
.hero .lead { margin: 20px auto 0; max-width: 56ch; font-size: 16px; line-height: 1.625; color: rgba(244, 245, 247, .82); }
.cta-row { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.cta-row.center { justify-content: center; }
.checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-top: 24px; font-size: 13.5px; color: var(--mist); }
.checks li { display: inline-flex; align-items: center; gap: 6px; }
.checks .ic { color: var(--profit); font-size: 15px; }
@media (min-width: 640px) { .cta-row { flex-direction: row; } .hero .cta-row { justify-content: center; } }
@media (min-width: 768px) { .hero h1 { font-size: 72px; } .hero .lead { font-size: 18px; } }

/* the glass account card (sample figures, labelled Example) */
.acct { width: 100%; max-width: 360px; margin-inline: auto; padding: 16px; }
.acct-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.acct-t { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; }
.acct-t img { height: 14px; width: auto; }
.acct-g { display: grid; grid-template-columns: auto auto 1fr; align-items: end; gap: 16px; margin-top: 12px; }
.acct-g small { display: block; font-size: 11.5px; color: var(--mist); }
.acct-g b { display: block; font-size: 15px; font-weight: 600; }
.bars { position: relative; display: flex; align-items: flex-end; gap: 3px; height: 40px; width: 104px; margin-left: auto; border-bottom: 1px dashed rgba(255, 255, 255, .25); }
.bars i { display: block; flex: 1; height: var(--h); border-radius: 2px 2px 0 0; background: linear-gradient(180deg, #25D689, var(--profit)); opacity: .9; }
.acct-f { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 500; color: var(--profit); }
.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--profit); box-shadow: 0 0 8px var(--profit); }
@media (min-width: 1024px) {
  .hero-body { position: relative; }
  .acct { position: absolute; right: var(--gutter); bottom: 24px; width: 340px; margin: 0; }
  .hero-copy { padding-bottom: 72px; }
}

/* proof strip at the hero's bottom edge: only figures the plans table and settings hold */
.hero-proof { position: relative; padding-bottom: 8px; }
.proof { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.proof li { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.proof b { font-size: 20px; }
.proof span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; color: var(--mist); }
@media (min-width: 768px) {
  .proof { display: flex; justify-content: center; gap: 40px; }
  .proof li + li { border-left: 1px solid var(--line); padding-left: 40px; }
  .proof b { font-size: 22px; }
  .proof span { font-size: 14px; }
}

/* ---------- 2-Step special offer (offer.tsx): the tag hangs off the top-left, copy left, the red "2" right ---------- */
.offer { position: relative; padding-top: 56px; }
.offer-tag { position: absolute; left: calc(var(--gutter) - 8px); top: 16px; z-index: 2; width: 96px; filter: drop-shadow(0 18px 30px rgba(224, 27, 36, .45)); }
.offer-tag img { width: 100%; height: auto; }
/* review #3: any discount other than the 40 % the tag art shows gets a computed pill in the same spot */
.offer-pct { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; filter: none; }
.offer-card {
  position: relative; overflow: hidden; display: grid; align-items: center; gap: 24px; padding: 56px 28px 28px;
  border: 1px solid var(--line); border-radius: var(--r-banner);
  background: linear-gradient(120deg, #17191D 0%, #101214 60%, var(--carbon) 100%); box-shadow: var(--shadow-deep);
}
.offer-card::before { content: ""; position: absolute; right: 0; top: 0; width: 55%; height: 100%; pointer-events: none; background: radial-gradient(60% 70% at 70% 50%, rgba(224, 27, 36, .35), transparent 70%); }
.offer-copy { position: relative; }
.offer h2 { font-size: 30px; line-height: 1.05; letter-spacing: -0.02em; }
.offer .lead { margin-top: 12px; max-width: 46ch; font-size: 15.5px; line-height: 1.625; color: var(--mist); }
.offer-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 20px; }
.offer-price b { font-family: var(--font-mono); font-size: 30px; font-weight: 700; }
.offer-price s { font-family: var(--font-mono); font-size: 15px; color: var(--muted); }
.offer-price small { font-size: 13px; color: var(--mist); }
.offer-copy .btn { margin-top: 24px; }
.offer-art { position: relative; justify-self: center; width: 220px; filter: drop-shadow(0 0 60px rgba(224, 27, 36, .55)); }
.offer-art img { width: 100%; height: auto; }
@media (min-width: 768px) {
  .offer { padding-top: 80px; }
  .offer-tag { left: calc(var(--gutter) - 32px); top: 24px; width: 140px; }
  .offer-pct { height: 140px; font-size: 36px; }
  .offer-card { grid-template-columns: 1.2fr 1fr; padding: 80px 48px 48px; }
  .offer h2 { font-size: 44px; }
  .offer .lead { font-size: 17px; }
  .offer-art { width: 320px; }
}

/* ---------- built like a pit crew (why.tsx, clock.tsx): pit-lane banner with the payout clock, four cards ---------- */
.why { padding-top: 64px; }
.why-banner { position: relative; overflow: hidden; margin-top: 24px; border: 1px solid var(--line); border-radius: var(--r-banner); background: var(--graphite); box-shadow: var(--shadow-deep); }
.why-img { display: block; aspect-ratio: 4 / 3; }
.why-img img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; }
.why-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 12, 14, .1) 30%, rgba(11, 12, 14, .9) 100%); }
.why-clock { position: absolute; left: 16px; right: 16px; bottom: 16px; }
.clock { display: inline-block; font-size: 46px; line-height: 1; text-shadow: 0 0 24px rgba(255, 255, 255, .12); }
.clock b { color: var(--red-lit); font-weight: inherit; text-shadow: 0 0 18px rgba(255, 59, 82, .7); animation: blink 1s steps(1, end) infinite; }
@keyframes blink { 50% { opacity: .35; } }
.why-clock > div { margin-top: 4px; }
.why-t { margin-top: 8px; font-size: 14.5px; font-weight: 600; }
.why-s { display: none; margin-top: 4px; font-size: 13.5px; line-height: 1.6; color: var(--mist); }
.feats { display: grid; gap: 12px; margin-top: 16px; }
.feat { display: flex; gap: 16px; padding: 20px; }
.feat-ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; font-size: 20px; color: var(--red-lit); background: linear-gradient(180deg, rgba(224, 27, 36, .28), rgba(224, 27, 36, .10)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); }
.feat h3 { font-size: 17px; }
.feat p { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--mist); }
@media (min-width: 640px) {
  .why-img { aspect-ratio: 16 / 9; }
  .why-scrim { background: linear-gradient(90deg, rgba(11, 12, 14, 0) 0%, rgba(11, 12, 14, .1) 40%, rgba(11, 12, 14, .92) 100%); }
  .why-clock { left: auto; right: 32px; bottom: auto; top: 50%; max-width: 420px; transform: translateY(-50%); }
  .why-s { display: block; }
  .feats { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .why { padding-top: 96px; }
  .clock { font-size: 76px; }
  .why-t { font-size: 18px; }
  .why-s { font-size: 14.5px; }
  .feat h3 { font-size: 19px; }
}
@media (min-width: 1024px) {
  .why-img { aspect-ratio: 21 / 8; }
  .feats { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .feat { display: block; padding: 24px; }
  .feat-ic { margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) { .clock b { animation: none; } }

/* ---------- plans (challenge.tsx): spotlight, 2-Step / 1-Step switch, show-numbers switch, a label column
   from 1280 px and one value card per size; below 1280 px the labels move into each card and the cards
   scroll sideways. Rows are 44 px (56 px for the two-phase target) so columns line up across cards. ---------- */
.plans { position: relative; padding-top: 80px; }
.plans::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 460px; pointer-events: none; background: radial-gradient(40% 60% at 50% 0%, rgba(224, 27, 36, .32), transparent 70%); }
.plans::after { content: ""; position: absolute; left: 50%; top: 0; width: min(60vw, 560px); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--red-lit), transparent); }
.plans-in { position: relative; }

.plan-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; max-width: 720px; margin: 32px auto 0; padding: 4px; border: 1px solid var(--line); border-radius: 14px; background: var(--graphite); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 20px 50px -30px rgba(0, 0, 0, .9); }
.ps-tab { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 56px; padding: 10px 12px; border-radius: var(--r-panel); text-align: left; transition: background-color var(--t-micro) var(--ease); }
.ps-tab:hover { background: var(--slate); }
.ps-tab > .ic { font-size: 20px; color: var(--mist); }
.ps-tab b { display: block; font-size: 16px; font-weight: 600; line-height: 1.2; }
.ps-tab small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; color: var(--mist); }
.ps-tab > b, .ps-tab > small { min-width: 0; }
.ps-tab { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 12px; }
.ps-tab > .ic { grid-row: 1 / 3; }
.ps-tab > .pill-3d { grid-column: 3; grid-row: 1 / 3; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 11px; font-weight: 700; font-style: normal; }
.ps-tab[aria-selected="true"] { background: var(--signal); color: var(--carbon); box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .8); }
.ps-tab[aria-selected="true"] > .ic { color: var(--red); }
.ps-tab[aria-selected="true"] small { color: rgba(11, 12, 14, .7); }
@media (max-width: 479px) { .ps-tab > .pill-3d { display: none; } .ps-tab { grid-template-columns: auto 1fr; padding: 10px; column-gap: 8px; } }

.plans-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; padding: 16px 0; border-block: 1px solid var(--line); }
.chips { display: flex; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r-panel); font-size: 14px; font-weight: 500; color: var(--mist); }
.chip.on { background: var(--slate); color: var(--signal); font-weight: 600; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.chip.on i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--signal); color: var(--carbon); font-size: 10px; font-weight: 700; font-style: normal; }
.switch { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 8px; font-size: 14.5px; font-weight: 500; }
.switch .ic { color: var(--mist); font-size: 16px; }
.sw { position: relative; width: 48px; height: 28px; border-radius: 999px; border: 1px solid var(--line); background: var(--slate); box-shadow: inset 0 2px 6px rgba(0, 0, 0, .5); transition: background-color var(--t-micro) var(--ease); }
.sw i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--signal); box-shadow: 0 2px 6px rgba(0, 0, 0, .5); transition: left var(--t-std) var(--ease); }
.switch[aria-checked="true"] .sw { background: var(--red); border-color: transparent; }
.switch[aria-checked="true"] .sw i { left: 23px; }

/* the grid: phones/tablets = sideways rail of cards, from 1280 px = label column + six columns */
.plan-grid { margin-top: 8px; }
.pl-labels { display: none; }
.pl-cards { display: flex; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding: 40px var(--gutter) 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pl-cards::-webkit-scrollbar { display: none; }
.pl-card { position: relative; flex: none; width: 280px; padding: 20px; scroll-snap-align: center; }
.pl-best { position: absolute; top: -14px; left: 16px; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.pl-disc { position: absolute; top: -14px; left: 16px; padding: 3px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--graphite); font-size: 12px; font-weight: 600; color: var(--mist); }
.pl-tag { position: absolute; right: -12px; top: -32px; width: 72px; filter: drop-shadow(0 10px 20px rgba(224, 27, 36, .5)); }
.pl-tag img { width: 100%; height: auto; }
.pl-tag-txt { position: absolute; right: -8px; top: -16px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.pl-size { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 76px; border-bottom: 1px solid var(--line); }
.pl-size > span { font-size: 13px; color: var(--mist); }
.pl-size b { font-family: var(--font-mono); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.pl-rows { margin-top: 4px; }
.pl-r { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 44px; border-bottom: 1px solid rgba(42, 46, 53, .6); font-size: 13px; }
.pl-r.tall { height: 56px; }
.pl-k { color: var(--mist); }
.pl-v { text-align: right; font-family: var(--font-mono); font-weight: 600; }
.pl-v small { margin-left: 6px; font-family: var(--font-sans); font-size: 11px; font-weight: 400; color: var(--muted); }
.pl-v .ph { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.pl-v .ph > span:first-child { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pl-v .ph + .ph { margin-top: 2px; }
.chip-ok { margin-left: 6px; padding: 2px 6px; border-radius: 6px; background: rgba(18, 183, 106, .15); color: var(--profit); font-size: 11px; font-style: normal; font-weight: 600; }
.pl-price { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.pl-price b { font-family: var(--font-mono); font-size: 24px; font-weight: 700; }
.pl-card.best .pl-price b { color: var(--red-lit); }
.pl-price s { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.pl-price small { flex-basis: 100%; font-size: 11.5px; color: var(--muted); }
.pl-card .btn { margin-top: 16px; }
.plans:not(.show-usd) .usd, .plans.show-usd .pct { display: none; }
.pl-foot { margin-top: 24px; font-size: 13px; line-height: 1.35; color: var(--mist); }

@media (min-width: 768px) { .plans { padding-top: 112px; } }
@media (min-width: 1280px) {
  .plan-grid { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 12px; margin-top: 32px; }
  .pl-labels { display: block; padding-top: 0; }
  .pl-spacer { height: 97px; }
  .pl-l { display: flex; align-items: center; gap: 10px; height: 44px; font-size: 14px; font-weight: 500; }
  .pl-l.tall { height: 56px; }
  .pl-l > i { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--slate); color: var(--mist); font-size: 14px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
  .pl-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; overflow: visible; }
  .pl-card { width: auto; padding: 16px; }
  .pl-size b { font-size: 26px; }
  .pl-r { border-bottom: 0; }
  .pl-k { display: none; }
  .pl-v { text-align: left; }
  .pl-v .ph { justify-content: flex-start; }
  .pl-price b { font-size: 22px; }
  .pl-price small { display: none; }
  .pl-card .btn { height: 44px; }
  .pl-card.best .btn { height: 48px; }
}

/* ---------- "you will also get access to" (access.tsx, mocks.tsx): a chip per tool; on fine pointers from
   768 px the preview card opens above the chip on hover/focus, on touch a tap shows it under the row
   (site.js copies the card into #acc-panel). The previews are drawn in HTML with sample figures. ---------- */
.access { margin-top: 32px; }
.access-lead { font-size: 14px; color: var(--mist); }
.acc-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.acc { position: relative; }
.acc-chip { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--graphite); font-size: 14px; font-weight: 500; transition: border-color var(--t-micro) var(--ease), background-color var(--t-micro) var(--ease); }
.acc-chip .ic { font-size: 16px; color: var(--mist); }
.acc-chip:hover { border-color: rgba(163, 169, 180, .6); }
.acc-chip[aria-expanded="true"] { border-color: rgba(224, 27, 36, .6); background: rgba(224, 27, 36, .10); }
.acc-card { display: none; width: 340px; max-width: calc(100vw - 32px); padding: 12px; border: 1px solid rgba(255, 255, 255, .10); border-radius: var(--r-card); background: linear-gradient(180deg, #1B1E23, #141619); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 30px 80px -30px rgba(0, 0, 0, .95); }
.acc-panel { margin-top: 12px; }
.acc-panel .acc-card { display: block; width: 100%; max-width: none; }
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .acc > .acc-card { display: block; position: absolute; bottom: calc(100% + 12px); left: 50%; z-index: 30; transform: translateX(-50%); opacity: 0; visibility: hidden; transition: opacity var(--t-std) var(--ease), visibility var(--t-std); }
  .acc:first-child > .acc-card { left: 0; transform: none; }
  .acc:last-child > .acc-card { left: auto; right: 0; transform: none; }
  .acc:hover > .acc-card, .acc:focus-within > .acc-card { opacity: 1; visibility: visible; }
  .acc-panel { display: none !important; }
}
.acc-txt { padding: 12px 4px 4px; }
.acc-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.acc-h b { font-size: 15px; font-weight: 600; }
.acc-txt p { margin-top: 4px; font-size: 13px; line-height: 1.6; color: var(--mist); }
.acc-txt a { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 500; color: var(--red-lit); }
.acc-txt a:hover { color: var(--signal); }

/* sample panels (60 % scale of the product, data colours only in figures) */
.mk { padding: 12px; border: 1px solid rgba(255, 255, 255, .10); border-radius: var(--r-panel); background: #0C0E11; font-size: 10px; line-height: 1.25; color: var(--mist); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.mk b { color: var(--signal); font-weight: 600; }
.mk .up { color: var(--profit); }
.mk .dn { color: var(--loss); }
.mk-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mk-3 small { display: block; font-size: 9px; }
.mk-3 b { display: block; font-family: var(--font-mono); font-size: 11px; font-variant-numeric: tabular-nums; }
.mk-tools { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 9px; }
.mk-seg { display: inline-flex; padding: 2px; border-radius: 5px; background: rgba(255, 255, 255, .08); }
.mk-seg i { padding: 2px 8px; font-style: normal; }
.mk-seg i.on { border-radius: 4px; background: var(--red); color: #FFFFFF; font-weight: 600; }
.mk-btn { padding: 3px 8px; border: 1px solid rgba(255, 255, 255, .10); border-radius: 5px; }
.mk-tools .mk-btn:first-of-type { margin-left: auto; }
.mk-chart { position: relative; height: 96px; margin-top: 10px; }
.mk-chart .ref { position: absolute; left: 0; right: 0; top: var(--y); border-top: 1px dashed; }
.mk-chart .ref em { position: absolute; top: -7px; left: 0; padding: 0 4px; border-radius: 3px; font-size: 7.5px; font-style: normal; font-weight: 600; }
.mk-chart .ref.t { border-color: rgba(18, 183, 106, .7); } .mk-chart .ref.t em { background: var(--profit); color: var(--carbon); }
.mk-chart .ref.d { border-color: rgba(240, 68, 56, .6); } .mk-chart .ref.d em { background: var(--loss); color: #FFFFFF; }
.mk-chart .ref.a { border-color: rgba(255, 255, 255, .4); } .mk-chart .ref.a em { background: var(--signal); color: var(--carbon); }
.mk-bars { position: absolute; left: 22%; right: 0; bottom: 14%; height: 46%; display: flex; align-items: flex-end; gap: 2px; }
.mk-bars i { flex: 1; height: var(--h); border-radius: 1px 1px 0 0; background: linear-gradient(180deg, rgba(18, 183, 106, .95), rgba(18, 183, 106, .25)); }
.mk-t { padding: 0; }
.mk-tr { display: grid; grid-template-columns: 1.6fr .6fr .7fr .6fr .6fr .6fr; gap: 4px; align-items: center; padding: 6px 12px; border-bottom: 1px solid rgba(255, 255, 255, .05); font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.mk-tr > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--font-sans); color: var(--signal); }
.mk-tr.h { font-size: 8.5px; color: var(--muted); border-bottom-color: rgba(255, 255, 255, .10); }
.mk-tr.h > span:first-child { color: var(--muted); }
.mk-tr.hot { background: rgba(224, 27, 36, .12); }
.mk-tr.hot em { margin-left: 4px; font-size: 8px; font-style: normal; color: var(--red-lit); }
.mk-tr.j { grid-template-columns: .6fr 1.1fr .5fr .5fr .8fr .9fr .7fr; }
.mk-tr.j > span:first-child { font-family: var(--font-mono); color: var(--mist); }
.mk-tr.j > span:nth-child(5) { font-family: var(--font-sans); color: var(--signal); }
.mk-tr.j > span:nth-child(3) { font-family: var(--font-sans); }
.mk-chip { display: inline-flex; padding: 2px 6px; border-radius: 4px; font-family: var(--font-mono); font-size: 9px; font-style: normal; font-weight: 600; }
.mk-chip.up { background: rgba(18, 183, 106, .15); color: var(--profit); }
.mk-chip.dn { background: rgba(240, 68, 56, .15); color: var(--loss); }
.mk-hd { display: flex; align-items: center; justify-content: space-between; }
.mk-hd b { font-size: 11px; }
.mk-list { margin-top: 8px; }
.mk-list div { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px solid rgba(255, 255, 255, .05); }
.mk-list div > span:first-child { color: var(--signal); }
.mk-list div > span:last-child { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); }
.mk-list i.ok { display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: var(--profit); color: var(--carbon); font-size: 8px; font-style: normal; font-weight: 700; }
.mk-note { margin-top: 8px; padding: 6px 8px; border-radius: 6px; background: rgba(18, 183, 106, .12); font-size: 9.5px; color: var(--profit); }
.mk-prog { display: grid; gap: 7px; margin-top: 8px; }
.mk-prog div { display: grid; grid-template-columns: 1fr auto; }
.mk-prog div > span:first-child { color: var(--signal); }
.mk-prog div > span:last-child { font-family: var(--font-mono); }
.mk-prog i { grid-column: 1 / -1; height: 4px; margin-top: 4px; border-radius: 999px; background: var(--profit); }
.mk-pay { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding: 6px 8px; border: 1px solid rgba(255, 255, 255, .10); border-radius: 6px; }
.mk-pay b { font-family: var(--font-mono); font-size: 11px; }
.mk-req { padding: 3px 8px; border-radius: 5px; background: var(--red); color: #FFFFFF; font-size: 9px; font-weight: 600; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.pills li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--mist); }
.pay-note { margin-top: 16px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }

/* ---------- sign-up to payout, three moves (steps.tsx): tall gradient cards red / green / amber ---------- */
.steps { padding-top: 64px; }
.steps-grid { position: relative; display: grid; gap: 16px; margin-top: 40px; }
.step { position: relative; display: flex; flex-direction: column; min-height: 520px; overflow: hidden; padding: 24px; border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--r-banner); text-align: center; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 30px 80px -40px rgba(0, 0, 0, .9); }
.s-red { background: linear-gradient(180deg, #8E1822 0%, #3B0E13 50%, #121316 100%); }
.s-green { background: linear-gradient(180deg, #127146 0%, #0B3A25 50%, #121316 100%); }
.s-amber { background: linear-gradient(180deg, #8F5D12 0%, #3E2A0C 50%, #121316 100%); }
.step-ic { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto; border-radius: 50%; background: rgba(255, 255, 255, .15); font-size: 18px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
.step .label { margin-top: 16px; color: rgba(255, 255, 255, .7); }
.step h3 { margin-top: 8px; font-size: 28px; line-height: 1.05; letter-spacing: -0.02em; }
.step p { max-width: 34ch; margin: 12px auto 0; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .8); }
.step-list { display: grid; gap: 8px; margin-top: auto; padding-top: 32px; text-align: left; }
.step-list li { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; background: rgba(11, 12, 14, .6); font-size: 14px; font-weight: 500; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.step-list i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #FFFFFF; font-size: 13px; }
.step-art { width: 100%; max-width: 360px; margin: auto auto 0; transform: translateY(24px); filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .7)); }
.s-amber .step-art { max-width: 380px; transform: translateY(16px); }
.step-art img { width: 100%; height: auto; }
.step-arrow { display: none; }
.steps > .cta-row { margin-top: 32px; }
@media (min-width: 640px) { .steps > .cta-row { justify-content: center; } }
@media (min-width: 768px) { .steps { padding-top: 96px; } .step { padding: 32px; } .step h3 { font-size: 34px; } }
@media (min-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .step { min-height: 600px; }
  .step-arrow { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; background: var(--carbon); color: var(--mist); font-size: 18px; transform: translate(-50%, -50%); box-shadow: 0 10px 30px rgba(0, 0, 0, .7); }
  .step-arrow.a1 { left: 33.333%; }
  .step-arrow.a2 { left: 66.666%; }
}

/* ---------- platforms (platforms.tsx): devices picture, two glass tiles under it, nothing on the picture ---------- */
.plat { display: grid; align-items: center; gap: 40px; padding-top: 64px; }
.plat .sub { margin-bottom: 28px; }
.plat-img { display: block; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: var(--r-banner); box-shadow: var(--shadow-deep); }
.plat-img img { width: 100%; height: 100%; object-fit: cover; }
.tiles { display: grid; gap: 8px; margin-top: 12px; }
.tile { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 72px; padding: 12px; font-size: 15px; font-weight: 600; }
.tile img { width: auto; height: 24px; }
.tile .pill { font-size: 10.5px; padding: 0 8px; }
.tile-2 { display: flex; flex-direction: column; line-height: 1.2; }
.tile-2 small { font-size: 11px; font-weight: 500; color: var(--mist); }
/* two platform cards (2026-10-03): the glass tile, laid out as a short list */
.plat-card { display: block; text-align: left; justify-content: initial; padding: 16px; font-weight: 500; }
.plat-card-t { margin: 0; font-size: 17px; font-weight: 700; }
.plat-card small { display: block; margin-bottom: 10px; font-size: 12px; color: var(--mist); }
.plat-card ul { margin: 0; padding: 0 0 0 18px; display: grid; gap: 6px; font-size: 14px; line-height: 1.4; }
.plat-choose { margin: 14px 0 0; font-size: 13.5px; color: var(--mist); }
@media (min-width: 640px) { .plat-img { aspect-ratio: 16 / 9; } .tiles { grid-template-columns: 1fr 1fr; gap: 12px; } }
@media (min-width: 768px) { .plat { padding-top: 96px; } }
@media (min-width: 1024px) { .plat { grid-template-columns: 1fr 1.25fr; gap: 56px; } }

/* ---------- FAQ (faq.tsx): the admin-edited FAQ as native <details> ---------- */
.faq { display: grid; gap: 32px; padding-top: 64px; }
.faq-list { border-block: 1px solid var(--line); }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 16px 0; font-size: 15.5px; font-weight: 500; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { position: relative; width: 18px; height: 18px; flex: none; color: var(--mist); transition: transform var(--t-std) var(--ease); }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; border-radius: 2px; background: currentColor; transform: translate(-50%, -50%); }
.faq-item summary i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item .a { padding-bottom: 20px; font-size: 14.5px; line-height: 1.65; color: var(--mist); }
.faq-item .a p + p, .faq-item .a p + ul, .faq-item .a ul + p { margin-top: 10px; }
.faq-item .a ul { padding-left: 18px; list-style: disc; }
.faq-item .a li + li { margin-top: 4px; }
.faq-item .a h3, .faq-item .a h4 { margin: 12px 0 6px; font-size: 15px; color: var(--signal); }
@media (min-width: 768px) { .faq { padding-top: 96px; } .faq-item summary { font-size: 17px; } }
@media (min-width: 1024px) { .faq { grid-template-columns: 1fr 2fr; gap: 64px; align-items: start; } .faq-head { position: sticky; top: calc(var(--top-h) + 24px); } }

/* ---------- lights out (cta.tsx): five red lights over wet tarmac, one line, one button ---------- */
.closer { padding-top: 64px; padding-bottom: 64px; }
.closer-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-banner); background: var(--graphite); box-shadow: var(--shadow-deep); }
.closer-img { display: block; aspect-ratio: 3 / 4; }
.closer-img img { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; }
.closer-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 12, 14, .05) 25%, rgba(11, 12, 14, .92) 100%); }
.closer-copy { position: absolute; left: 24px; right: 24px; bottom: 24px; }
.closer-t { margin-top: 8px; font-size: 32px; font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; }
.closer-s { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--mist); }
.closer-copy .btn { margin-top: 24px; }
@media (min-width: 640px) {
  .closer-img { aspect-ratio: 16 / 8; }
  .closer-scrim { background: linear-gradient(90deg, rgba(11, 12, 14, .94) 0%, rgba(11, 12, 14, .6) 45%, rgba(11, 12, 14, 0) 100%); }
  .closer-copy { right: auto; bottom: auto; top: 50%; max-width: 448px; transform: translateY(-50%); }
}
@media (min-width: 768px) { .closer { padding-top: 96px; padding-bottom: 96px; } .closer-copy { left: 40px; } .closer-t { font-size: 52px; } .closer-s { font-size: 16px; } }
@media (min-width: 1024px) { .closer-img { aspect-ratio: 21 / 8; } }

/* ---------- footer (footer.tsx): about, three columns, payments row, the legal disclaimer ---------- */
.foot { border-top: 1px solid var(--line); }
.foot-grid { display: grid; gap: 40px; padding-top: 48px; padding-bottom: 48px; }
.foot-about { max-width: 384px; }
.foot-about p { margin-top: 16px; font-size: 14px; line-height: 1.65; color: var(--mist); }
.foot-col { display: grid; align-content: start; gap: 0; }
.foot-h { margin-bottom: 4px; font-size: 13px; font-weight: 600; }
.foot-col a { display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; color: var(--mist); transition: color var(--t-micro) var(--ease); }
.foot-col a:hover { color: var(--signal); }
.foot-pay { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 20px; padding-bottom: 20px; border-top: 1px solid var(--line); }
.foot-pay > span { margin-right: 8px; font-size: 12.5px; color: var(--mist); }
.foot-pay i { padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--graphite); font-size: 12px; font-style: normal; font-weight: 500; color: var(--mist); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05); }
.foot-legal { padding-top: 24px; padding-bottom: calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.65; color: var(--muted); }
.foot-legal p + p { margin-top: 12px; }
@media (min-width: 640px) { .foot-grid { grid-template-columns: repeat(3, 1fr); } .foot-about { grid-column: 1 / -1; } }
@media (min-width: 768px) { .foot-grid { grid-template-columns: 1.4fr repeat(3, 1fr); padding-top: 64px; padding-bottom: 64px; } .foot-about { grid-column: auto; } }

/* ---------- TradingView launch popup (launch-popup.tsx): native <dialog> in the top layer, film on top,
   one action under it. The film has no <source> until the dialog opens (site.js), so it costs nothing before. */
.launch {
  width: min(720px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 0; overflow-y: auto; overscroll-behavior: contain;
  border: 1px solid var(--line); border-radius: var(--r-banner); background: var(--graphite); color: var(--signal);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 40px 120px -30px rgba(0, 0, 0, .95), 0 0 80px -30px rgba(224, 27, 36, .55);
  opacity: 0; transform: translateY(14px) scale(.985);
  transition: opacity .35s var(--ease), transform .42s var(--ease), overlay .35s allow-discrete, display .35s allow-discrete;
}
.launch[open] { opacity: 1; transform: none; }
@starting-style { .launch[open] { opacity: 0; transform: translateY(14px) scale(.985); } }
.launch::backdrop { background: rgba(5, 6, 7, 0); transition: background-color .35s ease, backdrop-filter .35s ease, overlay .35s allow-discrete, display .35s allow-discrete; }
.launch[open]::backdrop { background: rgba(5, 6, 7, .74); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@starting-style { .launch[open]::backdrop { background: rgba(5, 6, 7, 0); } }
.launch-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--carbon); }
.launch-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.launch video::cue { font-family: var(--font-sans); font-size: .95em; font-weight: 600; color: #FFFFFF; background: rgba(11, 12, 14, .72); }
.launch-sound { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 999px; background: rgba(11, 12, 14, .75); font-size: 13.5px; font-weight: 600; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.launch-sound .ic { font-size: 17px; }
.launch-sound .vol-on, .launch-sound .s-off, .launch-sound[aria-pressed="true"] .vol-off, .launch-sound[aria-pressed="true"] .s-on { display: none; }
.launch-sound[aria-pressed="true"] .vol-on, .launch-sound[aria-pressed="true"] .s-off { display: inline; }
.launch-play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(11, 12, 14, .35); }
.launch-play i { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--grad-primary); color: #FFFFFF; font-size: 26px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 10px 28px -12px rgba(224, 27, 36, .75); }
.launch-play:hover { background: rgba(11, 12, 14, .2); }
.launch-body { display: flex; flex-direction: column; gap: 20px; padding: 20px; }
.launch-body .pill { margin-bottom: 12px; }
.launch-body h2 { font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; outline: none; }
.launch-body p { max-width: 44ch; margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--mist); }
.launch-act { display: grid; gap: 8px; }
.launch-more { height: 44px; font-size: 14px; }
.launch-close { position: absolute; right: 12px; top: 12px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .15); border-radius: 50%; background: rgba(11, 12, 14, .75); font-size: 18px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.launch-close:hover { background: rgba(11, 12, 14, .95); }
@media (min-width: 640px) {
  .launch-body { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; padding: 28px; }
  .launch-body h2 { font-size: 26px; }
  .launch-act { width: 190px; flex: none; }
}

/* Live chat widget (chatwidget.js) — copied verbatim from public/assets/css/base.css lines 306-453
   ("live chat" section) for the public pages, which no longer load base.css; it resolves through the
   alias variables in site.base.css (--panel, --border, --accent, …), so it wears the v5 tokens. */
/* ---------- live chat ---------- */
.chatfab {
  position: fixed; right: 18px; bottom: 18px; z-index: 135;
  width: 54px; height: 54px; border-radius: 16px; border: 0; cursor: pointer;
  background: var(--grad-red); color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(224, 27, 36, .4);
  transition: transform var(--t-std) var(--spring), box-shadow var(--t-std) var(--ease);
}
.chatfab:hover { transform: translateY(-3px) rotate(-3deg); box-shadow: 0 16px 40px rgba(224, 27, 36, .5); }
.chatfab svg { width: 24px; height: 24px; }
.chatfab-dot { /* unread-count badge on the minimized bubble */
  position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px;
  padding: 0 5px; border-radius: 10px;
  background: var(--warn); color: #0A0B0D; border: 2px solid var(--bg);
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.chat-endlink {
  display: block; margin: 8px auto 0; padding: 2px 8px;
  background: none; border: 0; cursor: pointer;
  color: var(--muted); font-family: var(--font-sans); font-size: 11.5px; font-weight: 600;
  transition: color var(--t-micro) var(--ease);
}
.chat-endlink:hover { color: var(--danger); }
/* typing indicator (widget + staff console) */
.chat-typing {
  display: flex; align-items: center; gap: 8px;
  padding: 2px 17px 8px; color: var(--muted); font-size: 12px;
}
.chatc-thread .chat-typing { padding: 4px 2px 6px; }
.chat-typing .tdots { display: inline-flex; gap: 3px; }
.chat-typing .tdots i {
  width: 5px; height: 5px; border-radius: 50%; background: var(--muted);
  animation: tdot 1.2s ease-in-out infinite;
}
.chat-typing .tdots i:nth-child(2) { animation-delay: .18s; }
.chat-typing .tdots i:nth-child(3) { animation-delay: .36s; }
@keyframes tdot { 0%, 70%, 100% { opacity: .25; transform: none; } 35% { opacity: 1; transform: translateY(-2px); } }
.chatpanel {
  position: fixed; right: 18px; bottom: 84px; z-index: 140;
  width: min(370px, calc(100vw - 24px)); height: min(520px, calc(100dvh - 110px));
  background: var(--panel); border: 1px solid var(--border2); border-radius: 18px;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: var(--shadow-2);
  animation: chatin var(--t-page) var(--spring);
}
@keyframes chatin { from { transform: translateY(16px) scale(.97); opacity: 0; } }
.chat-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 15px 17px; border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(224, 27, 36, .07), transparent), var(--panel2);
}
.chat-head b { font-size: 14px; font-weight: 800; letter-spacing: .02em; }
/* U1: title + AI badge stay on one row; the title truncates (and shortens below) before the badge wraps */
.chat-title-row { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; min-width: 0; }
.chat-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.chat-title .ttl-short { display: none; }
@media (max-width: 420px) {
  .chat-title .ttl-full { display: none; }
  .chat-title .ttl-short { display: inline; }
}
/* S4: honeypot field — visually hidden but present in the DOM/tab order removed, so a form-filling
   bot that ignores CSS still fills it while a sighted human never sees or reaches it. */
.chat-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chat-sub { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-top: 3px; }
.chat-sub .dot.on { background: var(--ok); box-shadow: 0 0 8px rgba(18, 183, 106, .8); }
.chat-sub .dot.off { background: var(--muted); }
.chat-x { border: 0; background: none; color: var(--muted); font-size: 15px; cursor: pointer; padding: 4px; }
.chat-x:hover { color: var(--text); }
.chat-body { flex: 1; overflow-y: auto; padding: 15px 17px; }
.chat-msgs { display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 85%; animation: msgin var(--t-std) var(--spring); }
@keyframes msgin { from { transform: translateY(6px); opacity: 0; } }
.chat-msg .who { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.chat-msg .bubble {
  padding: 10px 14px; border-radius: 4px 12px 12px 12px; font-size: 14px; white-space: pre-wrap; word-break: break-word;
  background: var(--panel2); border: 1px solid var(--border);
}
.chat-msg.mine { align-self: flex-end; text-align: right; }
.chat-msg.mine .bubble {
  background: var(--grad-red); color: #FFFFFF; border: 0; text-align: left;
  border-radius: 12px 4px 12px 12px;
}
.chat-foot { padding: 13px 15px; border-top: 1px solid var(--border); background: var(--panel); }
.chat-row { display: flex; gap: 8px; }
.chat-row input { flex: 1; }
/* widget: conversation history on the home view */
.chat-hist-t {
  font-family: var(--font-mono); font-size: 10px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 16px 0 8px;
}
.chat-hist-item {
  display: block; width: 100%; text-align: left; cursor: pointer;
  background: var(--bg2); border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 12px; margin-bottom: 8px; color: var(--text); font: inherit;
  transition: border-color var(--t-micro) var(--ease);
}
.chat-hist-item:hover { border-color: var(--accent); }
.chat-hist-item .chi-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; }
.chat-hist-item .chi-top b { font-family: var(--font-mono); font-size: 12px; }
.chat-hist-item .chi-body { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-hist-item .chi-at { display: block; color: var(--muted); font-family: var(--font-mono); font-size: 10px; margin-top: 4px; }
.chat-back { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 3px; display: inline-flex; flex-shrink: 0; margin-top: 1px; }
.chat-back:hover { color: var(--text); }
.chat-back svg { width: 17px; height: 17px; }

/* U3: dashboard "chat history" — stacked cards on narrow screens, the table stays on desktop */
.chathist-cards { display: none; }
@media (max-width: 600px) {
  .chathist-table { display: none; }
  .chathist-cards { display: flex; flex-direction: column; gap: 10px; }
}
.chathist-card {
  display: block; width: 100%; text-align: left; cursor: pointer; font: inherit; color: var(--text);
  background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px;
  transition: border-color var(--t-micro) var(--ease);
}
.chathist-card:hover { border-color: var(--border2); }
.chathist-card .chc-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 5px; }
.chathist-card .chc-top b { font-family: var(--font-mono); font-size: 12.5px; }
.chathist-card .chc-date { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.chathist-card .chc-msg {
  font-size: 13px; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* staff chat console */
.chatc { display: grid; grid-template-columns: 310px 1fr; gap: 16px; align-items: start; }
.chatc > * { min-width: 0; }
.chatc-list { display: flex; flex-direction: column; gap: 8px; max-height: 70vh; overflow-y: auto; }
.chatc-item {
  background: var(--panel); border: 1px solid var(--border); border-radius: 10px;
  padding: 12px 14px; cursor: pointer;
  transition: border-color var(--t-micro) var(--ease), background var(--t-micro) var(--ease);
}
.chatc-item:hover { border-color: var(--border2); background: var(--panel2); }
.chatc-item.sel { border-color: var(--accent); }
.chatc-item.off { opacity: .55; }
.chatc-item .clip { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chatc-thread {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; display: flex; flex-direction: column; min-height: 420px; max-height: 74vh;
}
.chatc-msgs { flex: 1; overflow-y: auto; padding: 4px 2px; }
.chatc-thread .chat-foot { padding: 12px 0 0; border-top: 1px solid var(--border); background: transparent; }
@media (max-width: 900px) { .chatc { grid-template-columns: 1fr; } .chatc-list { max-height: 300px; } }


/* Badges + form fields the chat widget's ticket form uses — base.css lines 199-249 ("badges", "forms"),
   plus .muted/.small (752-753), .empty (761) and .fld small (1346), verbatim. */
/* ---------- badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px;
  border-radius: 999px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .04em; white-space: nowrap; border: 1px solid transparent;
}
.badge.gray { background: var(--panel2); color: var(--muted); border-color: var(--border); }
.badge.blue { background: var(--accent-soft); color: var(--accent2); border-color: rgba(224, 27, 36, .25); }
.badge.green { background: var(--ok-soft); color: var(--ok); border-color: rgba(18, 183, 106, .25); }
.badge.red { background: var(--danger-soft); color: var(--danger); border-color: rgba(240, 68, 56, .25); }
.badge.yellow { background: var(--warn-soft); color: var(--warn); border-color: rgba(245, 165, 36, .25); }
/* U1: AI chip on the chat header — never allowed to wrap onto its own line (title shrinks first) */
.badge.ai { background: var(--accent-soft); color: var(--accent2); border-color: rgba(224, 27, 36, .25); flex-shrink: 0; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }
.dot.pulse { animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- forms ---------- */
label.fld { display: block; margin-bottom: 15px; }
label.fld > span {
  display: block; font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px;
}
input, select, textarea {
  width: 100%; padding: 12px 15px; border-radius: var(--radius-ctl); border: 1px solid var(--border);
  background: var(--bg2); color: var(--text); font: inherit; outline: none;
  transition: border-color var(--t-micro) var(--ease), box-shadow var(--t-micro) var(--ease), background var(--t-micro) var(--ease);
}
input:hover, select:hover, textarea:hover { border-color: var(--border2); }
input:focus, select:focus, textarea:focus {
  border-color: var(--accent); background: var(--panel);
  box-shadow: var(--ring);
}
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .7; }
/* password show/hide */
.pwwrap { position: relative; display: block; width: 100%; }
.pwwrap input { padding-right: 46px; }
.pw-eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border: 0; background: transparent; color: var(--muted);
  border-radius: 6px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: color var(--t-micro) var(--ease), background var(--t-micro) var(--ease);
}
.pw-eye:hover { color: var(--accent2); background: var(--accent-soft); }
.pw-eye svg { width: 19px; height: 19px; }
textarea { resize: vertical; min-height: 96px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.checkline { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.checkline input { width: 17px; height: 17px; min-width: 17px; padding: 0; margin: 0; flex: 0 0 auto; accent-color: #E01B24; cursor: pointer; }
.checkline { font-size: 14px; line-height: 1.4; }

.muted { color: var(--muted); }
.small { font-size: 13px; }
.empty { text-align: center; color: var(--muted); padding: 44px 12px; font-size: 14px; }
.fld small { display: block; margin-top: 5px; font-size: 12px; }

/* Toasts (core.js toast()) — copied verbatim from public/assets/css/base.css lines 534-581 ("toast"). */
/* ---------- toast ---------- */
/* Glass cards with an icon chip, a close button and a linear progress strip
   that mirrors the auto-dismiss timer (override with --tdur). */
#toasts {
  position: fixed; bottom: 18px; right: 18px; z-index: 300;
  display: flex; flex-direction: column; gap: 10px;
  width: min(370px, calc(100vw - 24px));
}
.toast {
  position: relative; overflow: hidden;
  background: color-mix(in srgb, var(--panel) 88%, transparent); color: var(--text);
  border: 1px solid var(--border2); border-radius: 14px; padding: 13px 14px 15px;
  backdrop-filter: blur(14px) saturate(1.25); -webkit-backdrop-filter: blur(14px) saturate(1.25);
  font-size: 13.5px; line-height: 1.5; box-shadow: var(--shadow-2);
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer;
  animation: toastin var(--t-page) var(--spring);
}
.toast::after { /* auto-dismiss progress strip */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); opacity: .75; transform-origin: left;
  animation: toastbar var(--tdur, 4.2s) linear forwards;
}
.toast .toast-ic {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent2);
  font-family: var(--font-mono); font-weight: 800;
}
.toast .toast-ic svg { width: 17px; height: 17px; }
.toast .tmsg { flex: 1; min-width: 0; padding-top: 4px; overflow-wrap: anywhere; }
.toast .tmsg b { display: block; font-weight: 800; letter-spacing: .01em; }
.toast .tx {
  flex-shrink: 0; border: 0; background: none; color: var(--muted); cursor: pointer;
  font-size: 16px; line-height: 1; padding: 3px 5px; border-radius: 6px; margin: 1px -3px 0 0;
}
.toast .tx:hover { color: var(--text); background: var(--panel2); }
.toast.ok::after { background: var(--ok); }
.toast.ok .toast-ic { background: var(--ok-soft); color: var(--ok); }
.toast.err::after { background: var(--danger); }
.toast.err .toast-ic { background: var(--danger-soft); color: var(--danger); }
.toast.notify::after { background: var(--warn); }
.toast.notify .toast-ic { background: var(--warn-soft); color: var(--warn); }
.toast.out { animation: toastout .28s var(--ease) forwards; pointer-events: none; }
@keyframes toastin { from { transform: translateX(60px) scale(.96); opacity: 0; } }
@keyframes toastout { to { transform: translateX(50px); opacity: 0; } }
@keyframes toastbar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes slidein { from { transform: translateX(40px); opacity: 0; } }

/* ---------- public subpages (/rules, /terms, /refund, /privacy, 404) on the v5 chrome — ported from pub.css to
   the pit-wall tokens. Content is rendered by subpage.js from the admin-edited content API (text only). ---------- */
.top.solid { background: rgba(11, 12, 14, .88); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); }
.top-nav a.on { color: var(--signal); background: var(--slate); }
.sub-main { padding-top: var(--top-h); }

.pagehead { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--carbon); }
.pagehead::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 90% at 50% 0%, rgba(224, 27, 36, .22), transparent 70%); }
.pagehead-inner { position: relative; z-index: 1; max-width: var(--rail); margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter); }
.pagehead .kicker { font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--red-lit); margin-bottom: 12px; }
.pagehead h1 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.1; letter-spacing: -0.02em; }

.pagebody { max-width: var(--rail); margin: 0 auto; padding: clamp(28px, 4vw, 48px) var(--gutter) 64px; }
.pagebody .prose, .pagebody .card.prose { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--graphite); font-size: 15px; line-height: 1.7; color: rgba(244, 245, 247, .88); }
.prose h2 { margin: 28px 0 10px; font-size: 20px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 20px 0 8px; font-size: 16px; }
.prose p { margin: 10px 0; }
.prose ul { margin: 10px 0; padding-left: 20px; list-style: disc; }
.prose li { margin: 6px 0; }

.rules-layout { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.rules-layout > * { min-width: 0; }
.toc .rules-search { position: relative; margin-bottom: 14px; }
.toc .rules-search svg { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; color: var(--muted); transform: translateY(-50%); pointer-events: none; }
.toc .rules-search input { height: 44px; padding-left: 38px; font-size: 14px; }
.toc nav { display: flex; flex-wrap: wrap; gap: 8px; }
.toc nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--graphite); font-size: 13px; font-weight: 500; color: var(--mist); transition: color var(--t-micro) var(--ease), border-color var(--t-micro) var(--ease), background-color var(--t-micro) var(--ease); }
.toc nav a:hover { color: var(--signal); border-color: rgba(163, 169, 180, .6); }
.toc nav a.on { color: var(--signal); border-color: rgba(224, 27, 36, .6); background: rgba(224, 27, 36, .10); }
.rules-content .rule-sec { margin-bottom: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--graphite); scroll-margin-top: calc(var(--top-h) + 16px); font-size: 15px; line-height: 1.7; color: rgba(244, 245, 247, .88); }
.rules-content .rule-sec h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 19px; }
.rules-content .rule-sec h2 .n { font-family: var(--font-mono); font-size: 13px; color: var(--red-lit); }
.rules-content .rule-sec h3 { margin: 16px 0 6px; font-size: 16px; }
.rules-content .rule-sec ul { margin: 8px 0; padding-left: 20px; list-style: disc; }
.rules-content .rule-sec li { margin: 6px 0; }
.rules-content .rule-sec p { margin: 8px 0; }
.rules-content mark { padding: 0 2px; border-radius: 2px; background: rgba(245, 165, 36, .18); color: var(--hold); }
.rules-empty { padding: 40px 0; text-align: center; color: var(--mist); }
.params-title { margin: 32px 0 8px; font-size: 20px; }
.params-pick { display: flex; margin: 12px 0; }
.params-pick select { height: 44px; max-width: 280px; }
.params-scroll { margin-top: 12px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--graphite); }
.params-scroll.d { display: none; }
table.params { width: 100%; border-collapse: collapse; font-size: 14px; }
.params th, .params td { padding: 12px 16px; border-bottom: 1px solid rgba(42, 46, 53, .6); text-align: center; }
.params td:first-child, .params th:first-child { text-align: left; color: var(--mist); font-weight: 500; }
.params thead th { background: var(--carbon); font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.params tbody tr:last-child td { border-bottom: 0; }
.params td.v { font-family: var(--font-mono); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .rules-layout { grid-template-columns: 250px 1fr; gap: 32px; }
  .toc { position: sticky; top: calc(var(--top-h) + 16px); }
  .toc nav { flex-direction: column; flex-wrap: nowrap; gap: 2px; }
  .toc nav a { min-height: 0; padding: 9px 14px; border: 0; border-left: 2px solid var(--line); border-radius: 0; background: none; }
  .toc nav a.on { border-left-color: var(--red); background: linear-gradient(90deg, rgba(224, 27, 36, .12), transparent 80%); }
  .params-pick, .params-scroll.m { display: none; }
  .params-scroll.d { display: block; }
  table.params { min-width: 560px; }
}

/* 404 */
.nf { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 72vh; padding: calc(var(--top-h) + 48px) var(--gutter) 64px; text-align: center; }
.nf-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(40% 50% at 50% 40%, rgba(224, 27, 36, .18), transparent 70%); }
.nf-code { font-size: clamp(96px, 22vw, 180px); line-height: .9; }
.nf .label { margin-top: 12px; }
.nf h1 { margin-top: 8px; font-size: clamp(24px, 3vw, 32px); }
.nf-s { max-width: 360px; margin: 10px auto 28px; color: var(--mist); }
