/* AUTO-GENERATED by scripts/build-page-css.mjs — do not edit directly.
   Sources (in order): public/assets/css/v5/fonts.css, public/assets/css/site/chat.css, public/assets/css/site/toast.css, public/assets/css/v3/system.css, public/assets/css/v3/public.css, public/assets/css/free/compat.css, public/assets/css/free/hero.css, public/assets/css/free/panel.css, public/assets/css/free/sections.css, public/assets/css/free/demo.css, public/assets/css/free/rules.css, public/assets/css/free/faq.css, public/assets/css/free/final.css, public/assets/css/free/confirm.css, public/assets/css/free/responsive.css, public/assets/css/free/load.css, public/assets/css/v3/motion.css */

/* Dashboard v5 — self-hosted type (the landing's files, same @font-face rules as public/assets/css/site.base.css,
   copied verbatim): Poppins 400/500/600/700 latin + latin-ext, Chakra Petch 700, JetBrains Mono variable. */
@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; }
/* Metric-matched stand-in while JetBrains Mono loads (font-display: swap): a local monospace (all about 0.6 em wide, as
   JetBrains Mono is) with JetBrains Mono's vertical metrics (upm 1000: ascent 1020, descent 300, no line gap), so the
   swap changes neither size nor position — no shift, no late "largest paint" (account page speed, 2026-09-28). */
@font-face { font-family: 'JetBrains Mono Fallback'; src: local('Menlo Regular'), local('Menlo-Regular'), local('DejaVu Sans Mono'), local('Droid Sans Mono'), local('Noto Sans Mono'), local('Liberation Mono'), local('Courier New'), local('Nimbus Mono PS'), local('NimbusMonoPS-Regular'); ascent-override: 102%; descent-override: 30%; line-gap-override: 0%; size-adjust: 100%; }

/* 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; } }

/* v3/system.css: the SV Funded redesign-v3 core. FIRST in every v3 bundle (free, auth, and the app bundle once the
   app tracks switch it on). Tokens, base reset, utilities, glass, buttons (glow primary), CSS glyphs, kicker, bolt,
   pill and the entry keyframes. Verbatim from the reference css/free.css (+ css/landing.css where noted); the one
   deliberate change is --mono, which gains the metric-matched JetBrains Mono Fallback face of v5/fonts.css.
   Fonts come from v5/fonts.css (load it before this part). Public-page kit: v3/public.css. Reveal + reduced motion:
   v3/motion.css (LAST in the bundle). */
: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;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "JetBrains Mono Fallback", ui-monospace, Menlo, monospace;
  --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;
  --rail: 1280px; --gutter: clamp(16px, 4vw, 40px);
  --glow: rgba(224, 27, 36, 0.55);
}
/* ---------- base ---------- */
*, ::before, ::after { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--carbon); color: var(--signal); font: 400 15px/1.625 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 600; letter-spacing: -0.02em; }
p, dl, dd, figure, ul, ol { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red-lit); outline-offset: 2px; }
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }
summary::-webkit-details-marker { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 8px; background: var(--signal); color: var(--carbon); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--rail); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 860px; }
.tnum { font-variant-numeric: tabular-nums lining-nums; }
.timing { font-family: var(--timing); font-weight: 700; letter-spacing: -0.02em; }
.mono { font-family: var(--mono); }
.label { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.4; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red-lit); box-shadow: 0 0 10px var(--red-lit); flex: none; }

/* ---------- glass: four CSS layers, nothing vector inside ---------- */
.glass { position: relative; isolation: isolate; border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.13) 0%, rgba(255,255,255,0.06) 45%, rgba(255,255,255,0.035) 100%);
  backdrop-filter: blur(26px) saturate(180%); -webkit-backdrop-filter: blur(26px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.30), inset 0 -1px 0 rgba(255,255,255,0.05), 0 28px 70px -26px rgba(0,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,0.42), rgba(255,255,255,0.10) 38%, rgba(255,255,255,0.05) 70%, rgba(255,255,255,0.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,0.15) 0%, rgba(255,255,255,0.03) 30%, transparent 52%); }
.glass > * { position: relative; z-index: 1; }
.glass-pill { border-radius: 999px; }
.glass-hot { background: linear-gradient(135deg, rgba(224,27,36,0.34) 0%, rgba(224,27,36,0.14) 55%, rgba(255,255,255,0.04) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.30), 0 0 40px -8px rgba(255,59,82,0.6), 0 28px 70px -26px rgba(0,0,0,0.85); }

/* ---------- buttons: one primary per view ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border-radius: 8px; border: 0;
  font-weight: 600; font-size: 15px; line-height: 1; text-decoration: none; white-space: nowrap; cursor: pointer; background: transparent; color: var(--signal);
  transition: background-color var(--t-micro) var(--ease), border-color var(--t-micro) var(--ease), color var(--t-micro) var(--ease), transform var(--t-micro) var(--ease), filter var(--t-micro) var(--ease); }
.btn:active { transform: translateY(1px); }
/* Primary CTA, the reference site's glow button in SV Funded colours: a white face, an animated red-to-white
   gradient ring (three stacked backgrounds, the middle one fades the ring out towards the top) and a blurred
   streak of the same gradient glowing underneath. One primary per view. */
:root { --rb-1: 356 100% 62%; --rb-2: 0 0% 100%; --rb-3: 357 83% 49%; --rb-4: 352 100% 72%; --rb-5: 0 0% 94%; --rb-speed: 2.6s; }
@keyframes rb { 0% { background-position: 0%; } 100% { background-position: 200%; } }
.btn.primary { position: relative; isolation: isolate; color: var(--carbon); border: 2px solid transparent; border-radius: 12px;
  background: linear-gradient(#FFFFFF, #FFFFFF) padding-box, linear-gradient(#FFFFFF 50%, rgba(255,255,255,0.6) 80%, rgba(255,255,255,0)) border-box, linear-gradient(90deg, hsl(var(--rb-1)), hsl(var(--rb-5)), hsl(var(--rb-3)), hsl(var(--rb-4)), hsl(var(--rb-2))) border-box;
  background-size: 100%, 100%, 200%; background-origin: border-box; animation: rb var(--rb-speed) linear infinite; box-shadow: 0 0 0 1px rgba(224,27,36,0.35), 0 8px 24px -10px rgba(224,27,36,0.6); }
.btn.primary::before { content: ""; position: absolute; left: 50%; bottom: -22%; z-index: -1; width: 60%; height: 22%; transform: translateX(-50%); border-radius: 999px; pointer-events: none;
  background: linear-gradient(90deg, hsl(var(--rb-1)), hsl(var(--rb-5)), hsl(var(--rb-3)), hsl(var(--rb-4)), hsl(var(--rb-2))); background-size: 200%; filter: blur(0.8rem); animation: rb var(--rb-speed) linear infinite; }
.btn.primary:hover { filter: brightness(1.04); box-shadow: 0 0 0 1px rgba(224,27,36,0.55), 0 10px 30px -10px rgba(224,27,36,0.85); }
.btn.primary .bolt { color: var(--red); }
.btn.primary .fr-spin { border-color: rgba(11,12,14,0.25); border-top-color: var(--carbon); }
.btn.glow { box-shadow: 0 0 0 1px rgba(224,27,36,0.35), 0 12px 32px -10px rgba(224,27,36,0.75); }
.btn.secondary { border: 1px solid var(--line); }
.btn.secondary:hover { border-color: var(--mist); background: var(--slate); }
.btn.white { background: var(--signal); color: var(--carbon); }
.btn.white:hover { background: #fff; }
.btn.lg { height: 52px; padding: 0 28px; font-size: 15.5px; }
.btn.block { width: 100%; }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.5; pointer-events: none; }
.fr-spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff; animation: spin 0.8s linear infinite; }
[aria-busy="true"] .fr-spin { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- CSS glyphs (no vectors inside glass) ---------- */
.tick { position: relative; display: inline-block; width: 20px; height: 20px; border-radius: 50%; background: rgba(18,183,106,0.16); flex: none; }
.tick::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px; border: solid var(--profit); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tick.sm { width: 16px; height: 16px; } .tick.sm::after { left: 5px; top: 3px; width: 4px; height: 7px; }
.chev { display: inline-block; width: 8px; height: 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); opacity: 0.7; }
.plus { position: relative; display: inline-block; width: 18px; height: 18px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; background: currentColor; border-radius: 1px; transition: transform var(--t-std) var(--ease); }
.plus::before { left: 2px; right: 2px; top: 8px; height: 2px; }
.plus::after { top: 2px; bottom: 2px; left: 8px; width: 2px; }
details[open] > summary .plus::after { transform: scaleY(0); }
.gl { position: relative; display: inline-block; width: 22px; height: 22px; }
.gl-clock { border: 2px solid currentColor; border-radius: 50%; }
.gl-clock::after { content: ""; position: absolute; left: 8px; top: 4px; width: 2px; height: 7px; background: currentColor; box-shadow: 2px 5px 0 0 currentColor; }
.gl-pause::before, .gl-pause::after { content: ""; position: absolute; top: 3px; bottom: 3px; width: 4px; border-radius: 2px; background: currentColor; }
.gl-pause::before { left: 5px; } .gl-pause::after { right: 5px; }
.gl-flag::before { content: ""; position: absolute; left: 4px; top: 2px; bottom: 2px; width: 2px; background: currentColor; }
.gl-flag::after { content: ""; position: absolute; left: 6px; top: 3px; width: 12px; height: 8px; background: currentColor; clip-path: polygon(0 0, 100% 0, 80% 50%, 100% 100%, 0 100%); }
.gl-list::before { content: ""; position: absolute; left: 4px; right: 4px; top: 5px; height: 2px; background: currentColor; box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor; }

/* ---------- bolt + kicker (reference css/landing.css) ---------- */
.bolt { display: inline-block; width: 12px; height: 16px; background: currentColor; clip-path: polygon(45% 0, 100% 0, 60% 42%, 95% 42%, 25% 100%, 40% 55%, 0 55%); }
.kicker { display: inline-flex; align-items: center; height: 32px; padding: 0 16px; border-radius: 999px; border: 1px solid transparent; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal);
  background: linear-gradient(#17191d, #17191d) padding-box, linear-gradient(90deg, hsl(var(--rb-1)) 0%, rgba(255,255,255,0.28) 45%, rgba(255,255,255,0.18) 55%, hsl(var(--rb-1)) 100%) border-box;
  box-shadow: 0 0 0 1px rgba(224,27,36,0.12), 0 0 18px -2px rgba(255,59,82,0.45), inset 0 1px 0 rgba(255,255,255,0.08); backdrop-filter: none; -webkit-backdrop-filter: none; }
.kicker::before, .kicker::after { display: none; }

/* ---------- status pills ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.pill.live { background: rgba(224,27,36,0.14); color: var(--red-lit); }
.pill.live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.pill.hold { background: rgba(245,165,36,0.14); color: var(--hold); }

/* ---------- entry keyframes ---------- */
@keyframes rise-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: scale(0.88) translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes slide-in { from { opacity: 0; transform: translateX(32px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes light-in { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: none; } }
@keyframes breathe { 0%, 100% { opacity: 0.85; } 50% { opacity: 1; } }

/* v3/public.css: the public-page kit of the v3 redesign (/free, /free/confirm, later the landing): deal strip,
   sticky header, alert + form field + phone with dial popover, answer chips, consent tick, section frame, payout
   certificates, footer. Verbatim from the reference css/free.css. Apps do not load it. Needs v3/system.css before it. */
/* ---------- deal strip + header ---------- */
.strip { background: #0e1013; border-bottom: 1px solid var(--line); color: var(--mist); font-size: 12.5px; }
.strip-in { display: flex; align-items: center; gap: 10px; height: 36px; white-space: nowrap; overflow: hidden; }
.strip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red-lit); box-shadow: 0 0 10px var(--red-lit); flex: none; }
.strip-kick { color: var(--signal); font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.strip-more { display: none; }
.strip-sep { color: var(--muted); margin: 0 8px; }
.strip-link { margin-left: auto; color: var(--signal); font-weight: 500; text-decoration: none; }
.strip-link:hover { color: var(--red-lit); }
.top { position: sticky; top: 0; z-index: 40; transition: background-color var(--t-std) var(--ease), border-color var(--t-std) var(--ease); border-bottom: 1px solid transparent; }
.top.is-scrolled { background: rgba(11,12,14,0.74); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border-bottom-color: rgba(255,255,255,0.08); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 20px; width: auto; }
.brand span { font: 700 15px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--signal); }
.top-r { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; padding: 3px; gap: 2px; }
.lang-btn { height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--mist); font: 600 12px/1 var(--mono); letter-spacing: 0.08em; cursor: pointer; transition: background-color var(--t-micro), color var(--t-micro); }
.lang-btn[aria-pressed="true"] { background: var(--signal); color: var(--carbon); }
.top-cta { display: none; }

.fr-alert { display: none; padding: 10px 12px; border-radius: 10px; background: rgba(240,68,56,0.14); color: #ffb8b2; font-size: 13px; }
.fr-alert:not(:empty) { display: block; }
.fr-field { display: grid; gap: 6px; }
.fr-field label, .fr-q legend { font-size: 13.5px; font-weight: 500; }
.fr-field input, .fr-pop-q { width: 100%; height: 46px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.14); background: rgba(11,12,14,0.72); color: var(--signal); font: 400 15px var(--sans);
  transition: border-color var(--t-micro), box-shadow var(--t-micro); }
.fr-field input::placeholder, .fr-pop-q::placeholder { color: var(--muted); }
.fr-field input:focus, .fr-pop-q:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 3px rgba(224,27,36,0.18); }
.fr-field input[aria-invalid="true"] { border-color: var(--loss); }
.fr-err { font-size: 12.5px; color: var(--loss); }
.fr-err:empty { display: none; }
.fr-help { font-size: 12.5px; color: var(--mist); }
.fr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* phone + dial code */
.fr-phone { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.fr-dial { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.14); background: rgba(11,12,14,0.72); cursor: pointer; }
.fr-dial[aria-invalid="true"] { border-color: var(--loss); }
.fr-dial-v { display: inline-flex; gap: 6px; align-items: baseline; }
.fr-dial-iso { font: 600 11.5px var(--mono); color: var(--mist); }
.fr-dial-code { font: 500 15px var(--mono); }
.fr-pop { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; padding: 8px; border-radius: 12px; background: #111317; border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(0,0,0,0.9); }
.fr-pop[hidden] { display: none; }
.fr-pop-q { height: 40px; font-size: 14px; }
.fr-pop-list { list-style: none; margin: 6px 0 0; padding: 0; max-height: 220px; overflow: auto; }
.fr-opt { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 8px; font-size: 14px; cursor: pointer; }
.fr-opt.active, .fr-opt:hover { background: var(--slate); }
.fr-opt .i { font: 600 11px var(--mono); color: var(--muted); }
.fr-opt .d { font: 500 13px var(--mono); color: var(--mist); }
.fr-pop-none { padding: 10px; font-size: 13px; color: var(--mist); }

/* answer chips */
.fr-q { border: 0; margin: 0; padding: 0; min-width: 0; }
.fr-q legend { padding: 0; margin-bottom: 8px; }
.fr-chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.fr-chips-4 { grid-template-columns: repeat(4, 1fr); }
.fr-chip { position: relative; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.14); background: rgba(11,12,14,0.55);
  font-size: 13.5px; font-weight: 500; line-height: 1.25; text-align: center; cursor: pointer; transition: border-color var(--t-micro), background-color var(--t-micro), box-shadow var(--t-micro); }
.fr-chip:hover { border-color: rgba(255,255,255,0.3); }
.fr-chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.fr-chip:has(input:checked) { border-color: rgba(224,27,36,0.75); background: rgba(224,27,36,0.14); box-shadow: inset 0 0 0 1px rgba(224,27,36,0.35); }
.fr-chip:has(input:focus-visible) { outline: 2px solid var(--red-lit); outline-offset: 2px; }
.fr-chip:has(input[aria-invalid="true"]) { border-color: var(--loss); }

/* consent */
.fr-tick { position: relative; display: grid; gap: 6px; }
.fr-tick input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.fr-tick label { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 13px; line-height: 1.5; color: var(--mist); cursor: pointer; }
.fr-box { position: relative; width: 22px; height: 22px; margin-top: 1px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.22); background: rgba(11,12,14,0.72); transition: background-color var(--t-micro), border-color var(--t-micro); }
.fr-box::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0; }
.fr-tick input:checked + label .fr-box { background: var(--red); border-color: var(--red); }
.fr-tick input:checked + label .fr-box::after { opacity: 1; }
.fr-tick input:focus-visible + label .fr-box { outline: 2px solid var(--red-lit); outline-offset: 2px; }
.fr-tick input[aria-invalid="true"] + label .fr-box { border-color: var(--loss); }
.fr-fine { font-size: 12px; line-height: 1.5; color: var(--muted); }
.fr-fine a { color: var(--mist); }

.sec { padding: 64px 0; }
.sec-slim { padding: 8px 0 64px; }
.sec-tint { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.025) 20%, rgba(255,255,255,0.025) 80%, transparent); }
.sec h2 { font-size: clamp(30px, 6vw, 46px); line-height: 1.1; }
.lead { margin-top: 12px; max-width: 60ch; font-size: 15.5px; color: var(--mist); }
.sec-head { max-width: 760px; }

/* payout certificates: real documents, scroll-snap row on phones, a grid from 768 */
.certs { list-style: none; margin: 28px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter); display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.certs::-webkit-scrollbar { display: none; }
.cert { flex: 0 0 min(82vw, 360px); scroll-snap-align: start; padding: 8px; border-radius: 18px; }
.cert-img { display: block; border-radius: 12px; overflow: hidden; }
.cert-img img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform var(--t-std) var(--ease); }
.cert-img:hover img { transform: scale(1.02); }
.cert-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 8px 6px; }
.cert-meta b { font-size: 24px; line-height: 1; }
.cert-meta span { display: block; font-size: 13px; color: var(--mist); }
.cert-meta a { font-size: 12.5px; font-weight: 600; color: var(--red-lit); text-decoration: none; }
.cert-meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
.certs-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); }

/* footer */
.foot { padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 16px; }
.foot-links a { color: var(--mist); text-decoration: none; font-size: 13.5px; }
.foot-links a:hover { color: var(--signal); }
.foot-risk { margin-top: 22px; color: var(--mist); }
.foot-legal { margin-top: 10px; max-width: 110ch; }
.foot-copy { margin-top: 12px; }

.strip, .top-in { animation: fade-in 0.6s var(--ease) both; }

/* ---------- widening ---------- */
@media (min-width: 640px) {
  .strip-more { display: inline; }
}
@media (min-width: 768px) {
  .sec { padding: 96px 0; }
  .sec-slim { padding: 0 0 96px; }
  .lead { font-size: 17px; }
  .certs { margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; overflow: visible; }
  .cert { flex: none; }
}
@media (min-width: 1024px) {
  .top-cta { display: inline-flex; height: 40px; padding: 0 18px; font-size: 13.5px; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity var(--t-std) var(--ease), transform var(--t-std) var(--ease); }
  .top.is-scrolled .top-cta { opacity: 1; transform: none; pointer-events: auto; }
  .certs { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .cert-meta b { font-size: 22px; }
  .foot { padding: 48px 0; }
}
@media (min-width: 1280px) {
  .cert-meta b { font-size: 26px; }
}

/* /free v3 — legacy alias tokens for site/chat.css and site/toast.css (site.base.css L31-39, mapped to the v3 tokens).
   The chat widget and the site.js toasts are built on the site tokens; the v3 bundle carries only these aliases. */
:root {
  --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);
  --font-sans: var(--sans); --font-mono: var(--mono); --font-timing: var(--timing);
  --radius: 16px; --radius-ctl: 4px;
  --shadow-2: 0 2px 6px rgba(0, 0, 0, .35), 0 18px 50px rgba(0, 0, 0, .5);
  --grad-red: linear-gradient(180deg, #F02A34 0%, #D4161F 100%); --spring: var(--ease);
}
[hidden] { display: none !important; }

/* Small grey text at body size reaches 4.5:1. --muted (#6B7280) measures 3.4-4.1:1 on carbon, graphite and the glass tiles;
   --fr-dim (= the auth page --a-dim) measures 5.3-6.1:1 there. --muted stays for decoration (separators) and large type. */
:root { --fr-dim: #B4BAC6; }
.certs-note, .fr-fine, .foot, .fr-field input::placeholder, .fr-pop-q::placeholder { color: var(--fr-dim); }

/* Chat widget (site/chat.css + chatwidget.js) on the v3 bundle. Its button variants live in site.base.css L109-130, which
   this bundle does not load, and the v3 `.btn` is transparent and the v3 `.dot` glows red: the widget keeps the look it
   has on the other public pages. Scoped to the widget, so the page buttons are untouched. */
.chatfab, .chatpanel { line-height: 1.6; }
:where(.chatfab, .chatpanel button) { padding: 0; border: 0; background: none; cursor: pointer; }
.chatpanel .btn { border: 1px solid transparent; background: var(--grad-red); color: #FFFFFF; }
.chatpanel .btn.sm { height: 40px; padding: 0 16px; font-size: 13.5px; }
.chatpanel .btn.block { display: flex; width: 100%; }
.chatpanel .btn.ghost { background: none; color: var(--mist); }
.chatpanel .btn.ghost:hover { color: var(--signal); }
.chatpanel .dot { background: currentColor; box-shadow: none; }

/* Chat launcher (critic PR #65): a 48 px graphite button above the safe area, never on the page's own controls.
   free-ui.js sets html[data-fab-away] while the claim panel, ticket, a hero chip or the open dial list is on screen (phones),
   or touches the corner (desktop): the launcher is then hidden and out of the tab order, except while its own panel is open.
   html[data-sticky-on] (the phone sticky CTA is showing) lifts it above that button. The panel follows the launcher. */
:root { --fr-fab-b: calc(16px + env(safe-area-inset-bottom)); }
@media (max-width: 639px) { html[data-sticky-on] { --fr-fab-b: calc(80px + env(safe-area-inset-bottom)); } }
.chatfab {
  right: 16px; bottom: var(--fr-fab-b); width: 48px; height: 48px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14); background: var(--graphite); color: var(--red-lit);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
  transition: opacity var(--t-std) var(--ease), transform var(--t-std) var(--ease), bottom var(--t-std) var(--ease), visibility 0s;
}
.chatfab:hover { transform: none; background: var(--slate); box-shadow: 0 10px 28px rgba(0, 0, 0, .55); }
.chatfab svg { width: 22px; height: 22px; }
.chatfab-dot { top: -7px; right: -7px; }
html[data-fab-away] .chatfab:not(:has(+ .chatpanel:not([hidden]))) {
  visibility: hidden; opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity var(--t-std) var(--ease), transform var(--t-std) var(--ease), bottom var(--t-std) var(--ease), visibility 0s linear var(--t-std);
}
.chatpanel { right: 16px; bottom: calc(var(--fr-fab-b) + 60px); height: min(520px, calc(100dvh - var(--fr-fab-b) - 72px)); }
@media (prefers-reduced-motion: reduce) { .chatfab, html[data-fab-away] .chatfab { transition: none; } }

/* a11y (1.4.3): on the glass panel and the hero chips the small grey, error-red and link-red text measured 3.1-4.4:1
   (the panel is lighter than carbon and carries the red glow). Lighter inks, panel and chips only. */
.fr-panel { --mist: #BCC2CC; }
.fr-panel .fr-err { color: #FF8077; }
.fr-panel .fr-link { color: #FF7A8A; }
.chip small { color: #D0D4DC; }

/* a11y (WCAG 1.4.1/2.4.7): the header CTA of the desktop layout fades in after the first scroll. Opacity 0 alone kept it in the tab
   order with an invisible focus ring (1.00:1); visibility hidden removes it until .is-scrolled, and the delay lets the fade finish. */
@media (min-width: 1024px) {
  .top-cta { visibility: hidden; transition: opacity var(--t-std) var(--ease), transform var(--t-std) var(--ease), visibility 0s linear var(--t-std); }
  .top.is-scrolled .top-cta { visibility: visible; transition-delay: 0s; }
}

/* Target size (2.5.8, house 44 px): the language buttons were 40x30 and the certificate Verify link 40x20, so no side reached 44 px. Widen both; the heights (and the row) stay. */
.lang-btn { min-width: 44px; }
.cert-meta a { display: inline-block; min-width: 44px; text-align: center; padding-block: 4px; }

/* /free v3 — hero (copy, ticket, countdown pill, trader figure + chips). Ported from the redesign-v3 reference free.css.
   @keyframes pulse is named fr-pulse here: site/chat.css (same bundle) defines its own pulse. */
/* no overflow clip on the section itself: the open dial-code list (a popover of the claim panel) runs past its bottom edge and must paint over the next
   section. The glows are clipped by .hero-bg instead (same box as the section, so they render exactly as before). */
.hero { position: relative; padding: 36px 0 56px; }
.hero-bg { position: absolute; inset: 0; overflow: clip; pointer-events: none; }
.hero-glow { position: absolute; right: -30%; top: -10%; width: 110vw; max-width: 1100px; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(224,27,36,0.30), rgba(224,27,36,0.10) 40%, transparent 70%); filter: blur(12px); }
.hero-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
  background: radial-gradient(60% 55% at 60% 100%, rgba(224,27,36,0.22), transparent 70%), linear-gradient(180deg, transparent, rgba(255,255,255,0.025)); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; min-height: 34px; max-width: 100%; padding: 6px 14px 6px 11px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal); }
h1 { margin-top: 18px; overflow-wrap: anywhere; font-size: clamp(38px, 10vw, 72px); line-height: 1.02; letter-spacing: -0.03em; }
h1 em { font-style: normal; color: var(--red-lit); }
.sub { margin-top: 16px; max-width: 52ch; font-size: 15.5px; color: var(--mist); }
.hero-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.hero-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; font-size: 14.5px; }
.mark { display: inline-block; width: 20px; height: 20px; border-radius: 50%; flex: none; position: relative; background: rgba(224,27,36,0.14); }
.mark::after { content: ""; position: absolute; left: 6px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--red-lit); box-shadow: 0 0 8px var(--red-lit); }
.ticket { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 22px; padding: 4px; }
.ticket > div { padding: 12px 10px 12px 14px; border-left: 1px solid rgba(255,255,255,0.10); min-width: 0; }
.ticket > div:first-child { border-left: 0; }
.ticket dt { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.1em; line-height: 1.3; text-transform: uppercase; color: var(--fr-dim); overflow-wrap: anywhere; }
.ticket dd { margin-top: 4px; font-size: clamp(18px, 5.6vw, 24px); line-height: 1; }
/* "up to 90%" keeps one line at the real widths: below 640 px the two short columns size to their content and the third takes the
   rest; from 1024 px the third column is wider (the copy column is only 456 px at 1440). Text spacing (WCAG 1.4.12) may still wrap
   it at a word: it wraps, it never clips. */
@media (max-width: 639px) { .ticket { grid-template-columns: auto auto minmax(0, 1fr); } }
@media (max-width: 400px) { .ticket dd { font-size: clamp(20px, 5.6vw, 24px); } }
@media (min-width: 1024px) { .ticket { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr); } }
.fr-proof { display: none; align-items: center; gap: 10px; margin-top: 14px; height: 40px; padding: 0 16px 0 12px; font-size: 12.5px; color: var(--mist); width: fit-content; max-width: 100%; }
.fr-proof[data-show="1"] { display: inline-flex; }
.fr-proof .gl { width: 16px; height: 16px; color: var(--red-lit); }
.fr-proof .gl-clock::after { left: 5px; top: 2px; height: 5px; box-shadow: 2px 3px 0 currentColor; }
.fr-proof b { font-size: 18px; color: var(--signal); }
.hero-cta { margin-top: 22px; width: 100%; }

/* the trader: a framed block on phones, a free-standing cutout on desktop */
.hero-fig { position: relative; height: clamp(300px, 86vw, 420px); border-radius: 20px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(70% 60% at 62% 45%, rgba(224,27,36,0.28), transparent 70%), linear-gradient(180deg, #131518, #0d0e11); }
.hero-fig .person { position: absolute; left: 50%; bottom: -3%; transform: translateX(-50%); height: 104%; width: auto; max-width: none; }
.hero-fig .person img { height: 100%; width: auto; max-width: none; }
/* phones and tablets: no box around the trader; he stands full-bleed on the page and the bottom dissolves into it,
   the same transition the desktop uses (the owner: a framed figure "looks vibecoded") */
.hero-fig { height: auto; margin: 8px -16px 0; padding: 0 16px; border: 0; border-radius: 0; background: none; overflow: visible; }
/* the trader sits in normal flow and his bottom edge dissolves through a mask, so nothing behind him shows a seam */
.hero-fig .person { position: relative; left: auto; bottom: auto; transform: none; display: block; width: min(100%, 400px); height: auto; margin: 0 auto; -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent 100%); mask-image: linear-gradient(180deg, #000 74%, transparent 100%); }
.hero-fig .person img { display: block; width: 100%; height: auto; }
.hero-fig .chip { z-index: 2; }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 14px; }
.chip img { width: 36px; height: 36px; }
.chip small { display: block; font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); white-space: nowrap; }
.chip b { display: block; font-size: 14px; line-height: 1.2; white-space: nowrap; }
.chip-a { left: 12px; bottom: 16px; }
.chip-b { right: 12px; top: 46%; }
.chip-c { right: 12px; top: 14px; padding: 8px 14px; gap: 9px; }
.chip-c b { font-size: 18px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-lit); box-shadow: 0 0 10px var(--red-lit); animation: fr-pulse 2s var(--ease) infinite; }
@keyframes fr-pulse { 50% { box-shadow: 0 0 2px var(--red-lit); opacity: 0.7; } }

/* /free v3 — the claim panel: offer states, step 1 to 3. Ported from the redesign-v3 reference free.css. */
.fr-panel { padding: 22px 18px 18px; border-radius: 20px; }
.fr-panel > .fr-lights { position: absolute; top: 22px; right: 20px; display: flex; gap: 7px; z-index: 2; }
.fr-lights i { display: block; width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); transition: background-color var(--t-std) var(--ease), box-shadow var(--t-std) var(--ease); }
.fr-lights i.on { background: var(--red-lit); box-shadow: 0 0 10px var(--red-lit), inset 0 0 0 1px rgba(255,255,255,0.35); }
.fr-panel:not([data-offer="open"]) > .fr-lights, .fr-panel[data-view="closed"] > .fr-lights { display: none; }
.fr-step { padding-right: 64px; color: var(--mist); font-size: 10px; letter-spacing: 0.1em; }
.fr-title { margin-top: 6px; padding-right: 56px; font-size: 22px; line-height: 1.15; }
.fr-panel[data-view="step2"] .fr-title { font-size: 24px; }
.fr-form, .fr-s2, .fr-sent, .fr-off, .fr-queue, .fr-off-cta { display: none; }
.fr-panel[data-offer="open"][data-view="form"] .fr-form { display: grid; gap: 14px; }
.fr-panel[data-offer="open"][data-view="step2"] .fr-s2 { display: grid; gap: 16px; animation: up var(--t-std) var(--ease) both; }
.fr-panel[data-offer="open"][data-view="sent"] .fr-sent { display: grid; gap: 12px; animation: up var(--t-std) var(--ease) both; }
.fr-panel:not([data-offer="open"]) .fr-off-cta, .fr-panel[data-view="closed"] .fr-off-cta { display: flex; margin-top: 14px; }
.fr-panel[data-offer="paused"] .fr-off[data-off="paused"], .fr-panel[data-offer="ended"] .fr-off[data-off="ended"],
.fr-panel[data-offer="full_day"] .fr-off[data-off="full_day"], .fr-panel[data-offer="full_total"] .fr-off[data-off="full_total"] { display: flex; }
.fr-off { gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--mist); }
.fr-off-ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(224,27,36,0.14); color: var(--red-lit); flex: none; }
.fr-panel[data-queue="queue"] .fr-queue { display: flex; gap: 10px; padding: 12px; border-radius: 12px; background: rgba(245,165,36,0.10); font-size: 13px; color: var(--mist); }
.fr-queue-ic { color: var(--hold); flex: none; }
.fr-queue-t { font-weight: 600; color: var(--signal); }
@keyframes up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.fr-assure { list-style: none; margin: 0; padding: 12px 0 0; display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255,255,255,0.10); font-size: 12px; color: var(--mist); }
.fr-assure li { display: flex; align-items: center; gap: 6px; }
.fr-disc summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; font-size: 13px; font-weight: 500; color: var(--mist); }
.fr-disc summary:hover { color: var(--signal); }
.fr-disc-b { padding-top: 10px; font-size: 12.5px; color: var(--mist); }
.fr-disc-b a { color: var(--signal); }

/* step 3 */
.fr-env { width: 92px; margin: 0 auto; }
.fr-sent .fr-step, .fr-sent .fr-title, .fr-lede { text-align: center; }
.fr-sent .fr-title { padding: 0; }
.fr-lede { font-size: 14px; color: var(--mist); }
.fr-addr { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 10px; font-size: 15px; }
.fr-addr b { overflow-wrap: anywhere; }
.fr-link { background: none; border: 0; padding: 0; color: var(--red-lit); font: inherit; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.fr-change { display: grid; gap: 10px; padding: 12px; border-radius: 12px; background: rgba(11,12,14,0.5); }
.fr-change[hidden] { display: none; }
.fr-change-a { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fr-status { font-size: 12.5px; color: var(--mist); text-align: center; }
.fr-status:empty { display: none; }
.fr-status[data-tone="err"] { color: var(--loss); }
.fr-hold { display: grid; justify-items: center; gap: 2px; padding: 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.10); background: rgba(11,12,14,0.45); }
.fr-hold-l { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); }
.fr-ttl { font-size: 40px; line-height: 1.1; }
.fr-ttl b { text-shadow: 0 0 24px rgba(255,255,255,0.14); }
.fr-ttl-note { text-align: center; }
.fr-hold-x { display: none; font-size: 13px; color: var(--hold); text-align: center; }
.fr-hold[data-state="expired"] { border-color: rgba(245,165,36,0.45); }
.fr-hold[data-state="expired"] > :not(.fr-hold-x) { display: none; }
.fr-hold[data-state="expired"] > .fr-hold-x { display: block; }
.fr-mail { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fr-mail .btn { border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.06); padding: 0 12px; }
.fr-mail .btn:first-child { background: var(--signal); color: var(--carbon); border-color: transparent; }
.fr-resend { font-size: 13px; color: var(--mist); text-align: center; }

/* the dial-code list never runs past the visible viewport on a phone (free.js also scrolls the page so the open list and the
   selected country are on screen) */
.fr-pop { scroll-margin-block: 16px; }
.fr-pop-list { max-height: min(220px, calc(100vh - 150px)); max-height: min(220px, calc(100dvh - 150px)); }

/* /free v3 — the catch + how the money reaches you. Ported from the redesign-v3 reference free.css. */
.catch { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.catch li { padding: 22px 20px 24px; border-radius: 18px; }
.catch img { width: 64px; height: 64px; }
.catch h3 { margin-top: 12px; font-size: 19px; line-height: 1.2; }
.catch p { margin-top: 8px; font-size: 14.5px; color: var(--mist); }
.fr-why { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; font-size: 14.5px; color: var(--mist); }
.fr-why .dot { margin-top: 8px; }

.paid { display: grid; gap: 36px; margin-top: 32px; }
.fr-tl { list-style: none; margin: 0; padding: 0; }
.fr-s { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding-bottom: 26px; }
.fr-s::before { content: ""; position: absolute; left: 27px; top: 62px; bottom: 4px; width: 1px; background: linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0.04)); }
.fr-s:last-child::before { display: none; }
.fr-s img { width: 56px; height: 56px; }
.fr-when { font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-lit); }
.fr-s.pay .fr-when { color: var(--profit); }
.fr-s h3 { margin-top: 4px; font-size: 19px; line-height: 1.2; }
.fr-s .d { margin-top: 6px; font-size: 14.5px; color: var(--mist); }
.plat { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 5px 12px 5px 5px; font-size: 12.5px; font-weight: 500; }
.plat img { width: 24px; height: 24px; border-radius: 6px; }
.plat > span { white-space: nowrap; }
.plat-s { display: none; color: var(--mist); font-weight: 400; }
.plat-s::before { content: "·"; margin-right: 8px; color: var(--muted); }

/* /free v3 — the dashboard shot with the $1,000 card in front. Ported from the redesign-v3 reference free.css. */
.demo-wrap { position: relative; }
.demo-shot img { width: 100%; height: auto; border-radius: 16px; }
.demo-card { position: absolute; right: -8px; bottom: -28px; width: 150px; transform: rotate(8deg); filter: drop-shadow(0 20px 30px rgba(0,0,0,0.6)); pointer-events: none; }

/* /free v3 — every rule is public + the rules in four numbers. Ported from the redesign-v3 reference free.css. */
.fr-pub { display: grid; gap: 16px; padding: 22px 20px; border-radius: 20px; }
.fr-pub img { width: 64px; height: 64px; }
.fr-pub h2 { font-size: 22px; }
.fr-pub p { margin-top: 6px; font-size: 14.5px; color: var(--mist); }

.fr-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.fr-tiles > div { padding: 16px 14px; border-radius: 16px; }
.fr-tiles dt { font-size: 12.5px; color: var(--mist); }
.fr-tiles dd.timing { margin-top: 6px; font-size: 34px; line-height: 1; }
.fr-tile-s { margin-top: 6px; font-family: var(--mono); font-size: 10.5px; color: var(--fr-dim); }
.fr-dd > span + span { display: none; }
.fr-all { margin-top: 12px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--graphite); }
.fr-all > summary { height: 54px; font-size: 15px; color: var(--signal); }
.fr-all .fr-disc-b { padding: 6px 0 20px; }
.fr-rgrid { display: grid; gap: 0; }
.fr-r { display: flex; justify-content: space-between; gap: 12px; min-height: 44px; align-items: center; padding: 8px 0; border-top: 1px solid rgba(42,46,53,0.6); font-size: 13.5px; }
.fr-r dt { color: var(--mist); }
.fr-r dd { font-family: var(--mono); font-size: 13px; text-align: right; color: var(--signal); }
.fr-r.loss dd { color: var(--loss); }
.fr-note { margin-top: 14px; font-size: 12.5px; color: var(--fr-dim); }
.fr-all .btn { margin-top: 16px; }

/* /free v3 — faq. Ported from the redesign-v3 reference free.css. */
.fr-faq { margin-top: 24px; border-top: 1px solid var(--line); }
.fr-qa { border-bottom: 1px solid var(--line); }
.fr-qa summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 0; cursor: pointer; list-style: none; font-size: 15.5px; font-weight: 500; }
.fr-qa summary:hover { color: var(--red-lit); }
.fr-qa-a { padding: 0 0 18px; max-width: 70ch; font-size: 14.5px; color: var(--mist); }
.fr-more { margin-top: 18px; font-size: 14px; color: var(--mist); }

/* /free v3 — closer + the phone-only sticky CTA. Ported from the redesign-v3 reference free.css. */
.final-sec { position: relative; overflow: clip; padding: 48px 0 72px; }
.final-bg { position: absolute; inset: 0; z-index: 0; }
.final-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 50%; opacity: 0.85; }
.final-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--carbon) 0%, rgba(11,12,14,0.25) 40%, rgba(11,12,14,0.55) 100%); }
.final-sec .wrap { position: relative; z-index: 1; }
.fr-final { display: grid; justify-items: center; gap: 12px; padding: 32px 20px 30px; border-radius: 24px; text-align: center; }
.fr-final .fr-lights { display: flex; gap: 8px; }
.fr-final .fr-lights i { width: 12px; height: 12px; border-radius: 50%; background: var(--red-lit); box-shadow: 0 0 12px var(--red-lit); }
.fr-final h2 { font-size: clamp(26px, 6vw, 40px); }
.fr-final p { font-size: 14.5px; color: var(--mist); }
.fr-final .btn { margin-top: 6px; width: 100%; }

.btn.primary.sticky-cta { display: none; position: fixed; left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; height: 52px; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity var(--t-std) var(--ease), transform var(--t-std) var(--ease); }
.btn.primary.sticky-cta.show { opacity: 1; transform: none; pointer-events: auto; }
/* phones only; the right edge leaves room for the chat button (52px + its 18px inset + a 14px gap) */
@media (max-width: 639px) { .btn.primary.sticky-cta { display: inline-flex; } }

/* /free/confirm v3 — one glass card over the lights photo (the /free closer pattern: .final-bg + glass), one view at a time
   from #fc[data-view] (free-confirm.js). The three start lights at the top of the card carry the state: red = one click
   left (ask), green = account live (ok), amber = in the queue (proc, fail), unlit = nothing running (exp, bad, end,
   existing). No vectors inside the glass: the quiz options are label chips like the /free step 2 chips (.fr-chip).
   Uses from other parts: .final-bg (free/final.css), .fr-lights i + @keyframes up (free/panel.css), .fr-field / .fr-alert /
   .fr-err (v3/public.css), .kicker / .btn / .fr-spin / .chev / rise-in (v3/system.css), [hidden] (free/compat.css). */
.fx-main { position: relative; overflow: clip; display: grid; align-items: center; min-height: calc(100svh - 64px); padding: 28px 0 64px; }
.fx-main > .final-bg img { object-position: 50% 40%; opacity: 0.7; }
.fx-wrap { position: relative; z-index: 1; display: grid; justify-items: center; }
.fx-card { width: 100%; max-width: 540px; min-width: 0; padding: 26px 18px 22px; border-radius: 24px; text-align: center; animation: rise-in 0.7s var(--ease) 0.1s both; }

/* start lights: state by data-view */
.fx-lights { display: flex; justify-content: center; gap: 8px; margin-bottom: 18px; }
.fx-lights i { width: 12px; height: 12px; }
.fx-card[data-view="ask"] .fx-lights i { background: var(--red-lit); box-shadow: 0 0 12px var(--red-lit), inset 0 0 0 1px rgba(255,255,255,0.35); }
.fx-card[data-view="ok"] .fx-lights i { background: var(--profit); box-shadow: 0 0 12px rgba(18,183,106,0.8), inset 0 0 0 1px rgba(255,255,255,0.35); }
.fx-card[data-view="proc"] .fx-lights i, .fx-card[data-view="fail"] .fx-lights i { background: var(--hold); box-shadow: 0 0 12px rgba(245,165,36,0.75), inset 0 0 0 1px rgba(255,255,255,0.35); }
.fx-card[data-view="proc"] .fx-lights i { animation: fx-wait 1.5s ease-in-out infinite; }
.fx-card[data-view="proc"] .fx-lights i:nth-child(2) { animation-delay: 0.2s; }
.fx-card[data-view="proc"] .fx-lights i:nth-child(3) { animation-delay: 0.4s; }
@keyframes fx-wait { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.fx-card[data-view="quiz"] .fx-lights { display: none; }

/* views: one display rule per data-view, `existing` included (the legacy CSS had none: an empty card) */
.fx-view { display: none; justify-items: center; gap: 14px; min-width: 0; }
.fx-card[data-view="ask"] > [data-v="ask"], .fx-card[data-view="ok"] > [data-v="ok"], .fx-card[data-view="proc"] > [data-v="proc"],
.fx-card[data-view="fail"] > [data-v="fail"], .fx-card[data-view="exp"] > [data-v="exp"], .fx-card[data-view="bad"] > [data-v="bad"],
.fx-card[data-view="end"] > [data-v="end"], .fx-card[data-view="existing"] > [data-v="existing"] { display: grid; animation: up var(--t-std) var(--ease) both; }
.fx-title { margin: 0; max-width: 20ch; font-size: clamp(26px, 7vw, 34px); line-height: 1.12; letter-spacing: -0.02em; }
.fx-title:focus { outline: none; } /* programmatic landing target after each result (tabindex -1), never a tab stop */
.fx-text { max-width: 50ch; font-size: 15px; line-height: 1.6; color: var(--mist); overflow-wrap: anywhere; }
.fx-note { max-width: 50ch; font-size: 12.5px; line-height: 1.55; color: var(--mist); }
.fx-nojs { color: var(--hold); }

/* actions: the glow primary once per view; labels may wrap (Serbian) */
.fx-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; margin-top: 6px; }
.fx-card .btn { max-width: 100%; height: auto; min-height: 48px; padding-block: 12px; white-space: normal; text-align: center; line-height: 1.25; }
.fx-card .btn.lg { min-height: 52px; }
.fx-ctas > .btn { flex: 1 1 100%; }
.fx-view > .btn.block { margin-top: 6px; }
.btn.white .fr-spin { border-color: rgba(11,12,14,0.25); border-top-color: var(--carbon); }
.fx-view > .fr-alert { width: 100%; text-align: left; }
.fx-form { display: grid; gap: 14px; width: 100%; margin-top: 4px; text-align: left; }
.fx-done { font-size: 13.5px; line-height: 1.5; color: var(--profit); text-align: center; overflow-wrap: anywhere; }
.fx-form .fx-done { min-height: 20px; }

/* ok view sub-states (free-confirm.js sets #fc[data-pw]): set = the create-your-password form and no actions, done = dashboard
   + rules, dead / mail / none = log in + forgot password. Exactly one block per sub-state; the quiz offer follows in each. */
#fc-pw, .fx-ctas > .fc-c-done, .fx-ctas > .fc-c-login { display: none; }
.fx-card[data-pw="set"] #fc-pw { display: grid; }
.fx-card[data-pw="set"] #fc-ok-ctas { display: none; }
.fx-card[data-pw="done"] .fx-ctas > .fc-c-done,
.fx-card[data-pw="dead"] .fx-ctas > .fc-c-login, .fx-card[data-pw="mail"] .fx-ctas > .fc-c-login, .fx-card[data-pw="none"] .fx-ctas > .fc-c-login { display: inline-flex; }

/* password field with the show / hide eye inside its right edge: a real 44 x 44 px button, the input leaves room for it */
.fc-pw-wrap { position: relative; display: block; }
.fc-pw-wrap input { padding-right: 52px; }
.fc-pw-eye { position: absolute; top: 1px; right: 1px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 9px; background: none; color: var(--mist); cursor: pointer; transition: color var(--t-micro); }
.fc-pw-eye:hover { color: var(--signal); }
.fc-pw-eye:focus-visible { outline: 2px solid var(--signal); outline-offset: -2px; }
.fc-pw-eye svg { display: block; }
.fc-pw-eye .fc-eye-off, .fc-pw-eye[aria-pressed="true"] .fc-eye-on { display: none; }
.fc-pw-eye[aria-pressed="true"] .fc-eye-off { display: block; }
#fc-pw .fx-note { max-width: none; }
@media (prefers-reduced-motion: reduce) { .fc-pw-eye { transition: none; } }

/* "Forgot password?" under the bad-link actions: a quiet link with a 44 px target */
.fc-forgot { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px; color: var(--mist); font-size: 13.5px; font-weight: 500; }
.fc-forgot:hover { color: var(--signal); }

/* the questions offer under a result (old leads: the confirm answer carries qt) */
.fc-q { display: grid; justify-items: center; gap: 10px; width: 100%; margin-top: 6px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.10); }
.fc-q .fx-ctas { margin-top: 0; }

/* the questions (free-quiz.js): one .fq at a time, label chips */
.fr-quiz { display: none; text-align: left; }
.fx-card[data-view="quiz"] > .fr-quiz { display: grid; gap: 16px; animation: up var(--t-std) var(--ease) both; }
.fq-intro { padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.10); background: rgba(11,12,14,0.45); font-size: 13px; line-height: 1.5; color: var(--mist); }
.fq-consent a { color: var(--signal); }
.fr-quiz:not([data-n="1"]) .fq-intro { display: none; }
.fq-more { display: block; min-height: 44px; padding: 10px 0; }
@media (max-width: 640px) { .fq-consent:not(.open) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; } }
.fq-head { display: grid; gap: 8px; }
.fq-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; }
.fq-count { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); }
.fq-bar { height: 4px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,0.10); }
.fq-fill { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--red), var(--red-lit)); transform: scaleX(var(--fq-p, 0)); transform-origin: left center; transition: transform var(--t-std) var(--ease); }
.fq { display: grid; gap: 14px; min-width: 0; animation: fq-in var(--t-std) var(--ease) both; }
.fr-quiz[data-dir="back"] .fq { animation-name: fq-in-back; }
@keyframes fq-in { from { opacity: 0; transform: translateX(16px); } }
@keyframes fq-in-back { from { opacity: 0; transform: translateX(-16px); } }
.fq-t { font-size: 20px; line-height: 1.25; letter-spacing: -0.01em; }
.fq-t:focus { outline: none; }
.fq-help { margin-top: -6px; font-size: 13px; line-height: 1.5; color: var(--mist); }
.fq-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.fq-opts.fq-rows { grid-template-columns: 1fr; }
.fq-o { display: grid; align-content: center; min-width: 0; min-height: 48px; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.14); background: rgba(11,12,14,0.55);
  font-size: 13.5px; font-weight: 500; line-height: 1.25; text-align: center; cursor: pointer; transition: border-color var(--t-micro), background-color var(--t-micro), box-shadow var(--t-micro); }
.fq-o:hover { border-color: rgba(255,255,255,0.3); }
.fq-o[aria-checked="true"] { border-color: rgba(224,27,36,0.75); background: rgba(224,27,36,0.14); box-shadow: inset 0 0 0 1px rgba(224,27,36,0.35); }
.fq-l { display: grid; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.fq-d { font-size: 12.5px; font-weight: 400; line-height: 1.4; color: var(--mist); }
.fq-grid .fq-l { font-family: var(--timing); font-size: 18px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums lining-nums; }
.fq-pns { justify-self: start; }
.fq-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fq-back, .fq-skip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.fq-back .chev { transform: rotate(135deg); }
.fq-skip .chev { transform: rotate(-45deg); }
.fr-quiz[data-n="1"] .fq-back { visibility: hidden; }
.fr-quiz .fr-link { color: var(--mist); font-size: 13.5px; font-weight: 500; }
.fr-quiz .fr-link:hover { color: var(--signal); }

/* phones: the lit gantry and the wet track sit right of centre in the photo (the centre crop is black); stacked actions
   get a tighter glow so the primary's shadow does not tint the translucent secondary under it */
@media (max-width: 639px) { .fx-main > .final-bg img { object-position: 74% 30%; } }
@media (max-width: 479px) {
  .fx-ctas { gap: 12px; }
  .fx-ctas > .btn.glow:not(:last-child) { box-shadow: 0 0 0 1px rgba(224,27,36,0.35), 0 10px 22px -14px rgba(224,27,36,0.75); }
}
@media (min-width: 480px) {
  .fx-ctas > .btn { flex: 0 1 auto; }
  .fq-t { font-size: 22px; }
}
@media (min-width: 640px) {
  .fx-main { padding: 48px 0 96px; }
  .fx-card { padding: 40px 36px 34px; }
}

/* /free v3 — widths (640 / 768 / 1024 / 1280 / 1440). The shared kit has its own media rules in v3/public.css. */
@media (min-width: 640px) {
  .plat-s { display: inline; }
  .fr-panel { padding: 26px 26px 22px; }
  .hero-fig { height: auto; }
  .hero-fig .person { width: min(100%, 440px); }
  .chip-a { left: 24px; bottom: 24px; } .chip-b { right: 24px; top: 46%; } .chip-c { right: 24px; top: 24px; }
  .catch { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .fr-tiles { grid-template-columns: repeat(4, 1fr); }
  .fr-tiles dd.timing { font-size: 40px; }
  .fr-pub { grid-template-columns: 64px 1fr auto; align-items: center; padding: 24px 26px; }
  .fr-final { padding: 40px 36px; }
  .fr-final .btn { width: auto; }
  .hero-cta { width: auto; }
  .ticket dd { font-size: 28px; }
}

@media (min-width: 768px) {
  .sub { font-size: 17px; }
  .hero-list li { font-size: 15.5px; }
  .paid { grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
  .demo-card { width: 190px; right: -14px; top: -44px; }
  /* the reference lets `.sec { padding: 96px 0 }` (768 px up) win over `.final-sec`; that rule now lives in v3/public.css,
     which loads before this part, so the section padding is restated here */
  .final-sec { padding: 96px 0; }
}

@media (min-width: 1024px) {
  .hero { padding: 48px 0 64px; }
  .hero-in { grid-template-columns: minmax(0, 1fr) 400px; grid-template-areas: "copy panel" "fig panel"; align-items: start; column-gap: 40px; row-gap: 24px; }
  .hero-copy { grid-area: copy; padding: 8px 0 0; }
  .hero-cta { display: none; }
  .hero-fig { grid-area: fig; height: auto; }
  .hero-fig .person { width: min(100%, 360px); }
  .chip-a { left: 20px; bottom: 20px; } .chip-b { right: 20px; top: 44%; } .chip-c { right: 20px; top: 20px; }
  .fr-panel { grid-area: panel; align-self: start; margin: 8px 0 0; z-index: 2; }
  .fr-panel.glass { box-shadow: inset 0 1px 0 rgba(255,255,255,0.30), inset 0 -1px 0 rgba(255,255,255,0.05), 0 40px 90px -30px rgba(0,0,0,0.95), 0 0 0 1px rgba(255,255,255,0.03); }
  .hero-glow { right: -12%; top: -24%; width: 60vw; }
  .catch li { padding: 26px 24px 28px; }
  .fr-s { grid-template-columns: 60px 1fr; gap: 18px; padding-bottom: 30px; }
  .fr-s::before { left: 29px; }
  .fr-s img { width: 60px; height: 60px; }
  .fr-s h3 { font-size: 20px; }
  .paid { gap: 64px; }
  .fr-pub h2 { font-size: 26px; }
  .fr-tiles dd.timing { font-size: 46px; }
  .fr-tiles > div { padding: 20px 20px; }
  .fr-final { padding: 48px 56px; }
}

@media (min-width: 1280px) {
  .hero { padding: 56px 0 0; }
  .hero .wrap { max-width: 1440px; }
  .hero-in { grid-template-columns: minmax(380px, 1fr) 360px 400px; grid-template-areas: "copy fig panel"; align-items: center; column-gap: 24px; row-gap: 0; min-height: 740px; }
  .hero-copy { grid-area: copy; padding: 0 0 72px; }
  h1 { font-size: clamp(48px, 3.9vw, 64px); }
  .hero-fig { grid-area: fig; align-self: stretch; height: auto; min-height: 660px; border: 0; border-radius: 0; background: none; overflow: visible; z-index: 3; }
  .hero-fig .person { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: min(100%, 640px); width: auto; margin: 0; display: block; -webkit-mask-image: linear-gradient(180deg, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, #000 86%, transparent 100%); }
  .hero-fig .person img { width: auto; height: 100%; }
  .chip-c { left: 0; right: auto; top: 11%; bottom: auto; }
  .chip-a { left: 0; right: auto; top: auto; bottom: 24%; }
  .chip-b { right: 0; left: auto; top: 42%; bottom: auto; }
  .fr-panel { grid-area: panel; align-self: center; margin: 24px 0 72px; z-index: 2; }
  .fr-rgrid { grid-template-columns: 1fr 1fr; column-gap: 40px; }
}

@media (min-width: 1440px) {
  .hero-in { grid-template-columns: minmax(440px, 1fr) 420px 420px; column-gap: 32px; min-height: 780px; }
  .hero-fig .person { height: min(100%, 700px); }
  .chip-c { left: 0; }
}

/* /free v3 — load: the hero comes in like a start sequence (copy, trader, chips, panel, lights). Reduced motion: v3/motion.css. */
.hero-copy > * { animation: rise-in 0.7s var(--ease) both; }
.hero-copy > :nth-child(1) { animation-delay: 0.05s; }
.hero-copy > :nth-child(2) { animation-delay: 0.14s; }
.hero-copy > :nth-child(3) { animation-delay: 0.24s; }
.hero-copy > :nth-child(4) { animation-delay: 0.32s; }
.hero-copy > :nth-child(5) { animation-delay: 0.40s; }
.hero-copy > :nth-child(6) { animation-delay: 0.46s; }
.hero-copy > :nth-child(7) { animation-delay: 0.52s; }
.hero-fig { animation: fade-in 0.5s var(--ease) 0.2s both; }
.hero-fig .person img { animation: slide-in 0.9s var(--ease) 0.3s both; }
.chip { animation: pop-in 0.55s var(--ease) both; }
.chip-c { animation-delay: 0.85s; }
.chip-a { animation-delay: 1.0s; }
.chip-b { animation-delay: 1.15s; }
.fr-panel { animation: rise-in 0.8s var(--ease) 0.35s both; }
.fr-panel > .fr-lights i { animation: light-in 0.35s var(--ease) both; }
.fr-panel > .fr-lights i:nth-child(1) { animation-delay: 1.0s; }
.fr-panel > .fr-lights i:nth-child(2) { animation-delay: 1.12s; }
.fr-panel > .fr-lights i:nth-child(3) { animation-delay: 1.24s; }
.hero-glow { animation: breathe 7s ease-in-out infinite; }
/* reveal stagger (free-ui.js adds rv-d1..3; no inline style) */
.rv.rv-d1 { transition-delay: 60ms; }
.rv.rv-d2 { transition-delay: 120ms; }
.rv.rv-d3 { transition-delay: 180ms; }

/* v3/motion.css: reveal on scroll + reduced motion. LAST in every v3 bundle (build-page-css.mjs "tail"): .rv sits on
   elements that also carry section rules (.glass, .fr-s, .sec-head ...), so it must win by position. */
/* reveal on scroll: visible without JS, .rv only arrives from free-ui.js */
.rv { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.7s var(--ease); }
.rv-in { opacity: 1; transform: none; }


/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}
