/* Dusk Analyst marketing pages, 2026-10-24.
   One design system for every page the compiler renders (build/build.cjs),
   matching the homepage (build/home.cjs). The page bodies in build/pages/*.json
   still use the old class names (hero, section-head, landing-title, plat-card,
   faq-item...), so the second half of this file restyles those names. The old
   stylesheets are archived in archive/site-2026-10-24/public/. */

:root {
  --bg: #07080f; --bg-2: #0e1020; --bg-3: #141733;
  --text: #f4f5fb; --text-2: #a9aec6; --muted: #737896;
  --violet: #7a2cff; --violet-2: #a78bfa; --violet-3: #c4b5fd;
  --blue: #2563eb; --green: #34d399; --red: #fb7185;
  --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.14);
  --glass: rgba(16,18,34,.62);
  --gut: clamp(16px, 4.5vw, 56px); --max: 1180px; --sec: clamp(56px, 8vw, 104px);
  --r: 18px; --r-lg: 24px;
  --grad: linear-gradient(135deg, var(--blue), var(--violet));
  --grad-text: linear-gradient(100deg, #60a5fa, #a78bfa 45%, #e879f9);
  /* names older page styles (help centre, page.styles) still read */
  --text-primary: var(--text); --text-secondary: var(--text-2); --text-muted: var(--muted);
  --bg-primary: var(--bg); --bg-secondary: var(--bg-2); --bg-card: var(--bg-2);
  --border: var(--line); --border-strong: var(--line-2); --border-hover: rgba(167,139,250,.4);
  --accent-text: var(--violet-2); --accent-soft: rgba(122,44,255,.16); --accent-blue: var(--violet); --accent-2: var(--violet-2);
  --accent-green: var(--green); --accent-red: var(--red); --radius: var(--r); --font: Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; }
body.dusk { background: var(--bg); color: var(--text); font: 16px/1.6 Inter, system-ui, sans-serif; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
.dusk a { color: inherit; text-decoration: none; }
.dusk img { max-width: 100%; }
.dusk button { font: inherit; color: inherit; }
.dusk h1, .dusk h2, .dusk h3 { text-wrap: balance; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.hidden { display: none !important; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 100; padding: 8px 14px; border-radius: 10px; background: var(--violet); color: #fff; }

/* ---------- buttons ---------- */
.btn, .dusk .btn-outline { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1px solid var(--line-2); background: var(--glass); color: var(--text); cursor: pointer; transition: transform .15s, box-shadow .15s; white-space: nowrap; text-decoration: none; }
.btn:active, .dusk .btn-outline:active { transform: scale(.98); }
.btn-primary, .dusk .btn-lg-cta { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 10px 30px rgba(122,44,255,.4); }
.btn-primary:hover, .dusk .btn-lg-cta:hover { box-shadow: 0 14px 40px rgba(122,44,255,.55); }
.btn-glass { background: var(--glass); border-color: var(--line-2); color: var(--text); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.btn-sm, .dusk .btn-small { min-height: 40px; padding: 0 16px; font-size: 14px; }
.dusk .btn-full { width: 100%; }

/* ---------- nav ---------- */
.nav { position: fixed; z-index: 40; top: 0; left: 0; right: 0; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.nav.solid { background: rgba(7,8,15,.72); border-bottom-color: var(--line); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.nav .brand { display: flex; align-items: center; }
.nav .brand img { display: block; height: 28px; width: auto; }
.links { display: flex; gap: 28px; font-size: 14px; color: var(--text-2); }
.links a:hover { color: var(--text); }
.nav-r { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 40px; height: 40px; padding: 0; border-radius: 12px; border: 1px solid var(--line-2); background: var(--glass); cursor: pointer; place-items: center; }
.sheet { position: fixed; z-index: 60; inset: 0; background: rgba(5,6,12,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .25s; }
.sheet.open { opacity: 1; pointer-events: auto; }
.sheet-in { position: absolute; top: 10px; left: 10px; right: 10px; padding: 18px; border-radius: 22px; background: #0f1122; border: 1px solid var(--line-2); transform: translateY(-12px); transition: transform .25s; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.sheet.open .sheet-in { transform: none; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.sheet-top img { height: 26px; width: auto; display: block; }
.sheet nav a { display: flex; justify-content: space-between; padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 600; }
.sheet nav a::after { content: "›"; color: var(--muted); }
.sheet .ctas { display: flex; gap: 10px; margin-top: 16px; } .sheet .ctas .btn { flex: 1; }
.x { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line-2); background: transparent; font-size: 18px; cursor: pointer; }

/* ---------- shared blocks ---------- */
.eyebrow, .dusk .t-ls1 { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-2); margin: 0; }
.card { border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); }
.glance-sec { padding-top: var(--sec); }
.glance { width: 100%; max-width: 880px; margin: 0 auto; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.glance th, .glance td { text-align: left; vertical-align: top; padding: 15px 20px; border-top: 1px solid var(--line); font-size: 15px; }
.glance tr:first-child th, .glance tr:first-child td { border-top: 0; }
.glance th { width: 32%; font-weight: 600; color: var(--text); }
.glance td { color: var(--text-2); }
.answer { margin: 0 0 22px; padding: 16px 18px; border-left: 3px solid var(--violet-2); border-radius: 0 14px 14px 0; background: rgba(122,44,255,.08); color: var(--text); font-size: 16px; max-width: 620px; }

/* guides */
.guides-sec { padding-top: var(--sec); }
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.g-card { padding: 4px 20px; }
.g-card summary { list-style: none; cursor: default; display: flex; align-items: center; justify-content: space-between; padding: 16px 0 12px; font-weight: 700; }
.g-card summary::-webkit-details-marker { display: none; }
.g-card summary em { font-style: normal; font-size: 12px; color: var(--muted); font-weight: 600; }
.g-card ul { list-style: none; margin: 0; padding: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.g-card a { display: inline-block; font-size: 13px; padding: 6px 11px; border-radius: 99px; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--text-2); }
.g-card a:hover { color: var(--text); border-color: rgba(167,139,250,.5); }
.g-card a[aria-current] { border-color: var(--violet); color: var(--text); }

/* footer */
.foot { margin-top: var(--sec); padding: 36px 0 44px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; }
.foot .brand img { height: 24px; display: block; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot nav a:hover { color: var(--text); }
.foot p { margin: 0; width: 100%; }

/* ======================================================================
   The page bodies (old class names, restyled)
   ====================================================================== */
.dusk main { display: block; }
.dusk .reveal { opacity: 1 !important; transform: none !important; }
.dusk .t-muted { color: var(--muted); }
.dusk .t-sm { font-size: 14px; }
.dusk .t-sub { font-size: clamp(16px, 1.3vw, 18px); }
.dusk .t-body { font-size: 16px; }
.dusk .t-fw600 { font-weight: 600; }
.dusk .mono, .dusk .t-mono { font-family: inherit; font-variant-numeric: tabular-nums; }
.dusk em { font-style: normal; }
.dusk main a:not(.btn):not(.btn-outline) { color: var(--violet-2); }
.dusk main a:not(.btn):not(.btn-outline):hover { text-decoration: underline; }

/* every top-level section shares one rhythm */
.dusk main > section, .dusk main > div.section-cta { max-width: var(--max); margin: 0 auto; padding: var(--sec) var(--gut) 0; }

/* hero */
.dusk .hero { position: relative; isolation: isolate; max-width: none !important; padding: 0 !important; overflow: hidden; }
.dusk .hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 8% 0%, rgba(122,44,255,.33), transparent 70%), radial-gradient(50% 50% at 100% 50%, rgba(59,130,246,.18), transparent 70%); }
.dusk .hero::after { content: ""; position: absolute; z-index: -1; left: calc(clamp(260px, 30vw, 520px) * -.36); top: calc(clamp(260px, 30vw, 520px) * -.22); width: clamp(260px, 30vw, 520px); aspect-ratio: 1; background: url(/homepage_images/dusk-globe.webp) center / contain no-repeat; opacity: .9; -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 95%); mask-image: linear-gradient(to bottom, #000 55%, transparent 95%); animation: dusk-float 9s ease-in-out infinite; }
@keyframes dusk-float { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(6px, 12px) rotate(2.5deg); } }
.dusk .hero-bg { display: none; }
.dusk .hero-inner { max-width: var(--max); margin: 0 auto; padding: clamp(120px, 13vw, 170px) var(--gut) clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.dusk .hero-copy { min-width: 0; }
.dusk .hero h1 { font-size: clamp(38px, 5vw, 68px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; margin: 14px 0 18px; }
.dusk .hero h1 em, .dusk .landing-title em { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dusk .hero-sub { color: var(--text-2); margin: 0 0 24px; max-width: 580px; }
.dusk .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.dusk .hero-cta-note, .dusk .hero-trust { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.dusk .hero-xlink { margin-top: 14px; font-size: 14px; }
.dusk .hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.dusk .hero-tag { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 99px; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--text-2); }
.dusk .hero-visual { min-width: 0; }

/* the product mock window */
.dusk .mock-window { border-radius: var(--r-lg); overflow: hidden; background: #f4f5f9; color: #1e2235; border: 1px solid rgba(255,255,255,.6); box-shadow: 0 40px 100px rgba(0,0,0,.55), 0 0 0 8px rgba(255,255,255,.04); transform: perspective(1400px) rotateY(-8deg) rotateX(2deg); }
.dusk .mock-titlebar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #fff; border-bottom: 1px solid #e6e8f0; font-size: 12px; }
.dusk .dot { width: 9px; height: 9px; border-radius: 50%; background: #d4d6e0; }
.dusk .mock-title { margin-left: 8px; color: #667; }
.dusk .mock-sync { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #059669; }
.dusk .pulse-dot, .dusk .live-dot { width: 7px; height: 7px; border-radius: 50%; background: #10b981; box-shadow: 0 0 0 4px rgba(16,185,129,.18); }
.dusk .mock-body { padding: 4px 0; }
.dusk .mock-row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; align-items: center; padding: 10px 16px; border-top: 1px solid #eef0f5; font-size: 13px; }
.dusk .mock-row:first-child { border-top: 0; }
.dusk .mock-hdr { font-size: 11px; color: #8a8fa6; font-weight: 600; }
.dusk .mock-row .pos-up { color: #059669; font-weight: 600; } .dusk .mock-row .pos-down { color: #e11d48; font-weight: 600; }
.dusk .chip { font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: rgba(122,44,255,.12); color: var(--violet); }
.dusk .mock-footer { padding: 10px 16px; border-top: 1px solid #eef0f5; font-size: 11px; color: #667; }
.dusk .mock-live { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }

/* section heads */
.dusk .section-head { max-width: 760px; margin: 0 auto clamp(26px, 4vw, 44px); text-align: center; }
.dusk .landing-title, .dusk main h2 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; margin: 10px 0 14px; }
.dusk .section-sub { color: var(--text-2); margin: 0 auto; max-width: 660px; }
.dusk .sub-section .section-head { margin-bottom: 0; }
.dusk main h3 { font-size: 18px; letter-spacing: -.01em; margin: 0 0 8px; }
.dusk main p { margin: 0 0 12px; }
.dusk .section-cta { text-align: center; }
.dusk .section-cta p { margin-top: 10px; }

/* platform / feature / problem / step cards: one card style */
.dusk .plat-grid, .dusk .feat-grid, .dusk .problem-grid, .dusk .how-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.dusk .plat-card, .dusk .feat-card, .dusk .problem-card, .dusk .how-step, .dusk .proof-stat { padding: 22px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); }
.dusk .plat-card p, .dusk .feat-card p, .dusk .problem-card p, .dusk .how-step p { color: var(--text-2); font-size: 15px; margin: 0 0 10px; }
.dusk .plat-badge, .dusk .step-num { display: inline-grid; place-items: center; min-width: 34px; height: 30px; padding: 0 9px; border-radius: 9px; background: rgba(122,44,255,.2); color: var(--violet-3); font-size: 12px; font-weight: 700; margin-bottom: 12px; }
.dusk .plat-tag { font-size: 12px; color: var(--green); font-weight: 600; }
.dusk .feat-icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(122,44,255,.16); color: var(--violet-2); margin-bottom: 12px; }
.dusk .feat-icon svg { width: 20px; height: 20px; }

/* guide content (lists, tables, steps inside sub-sections) */
.dusk .guide-box { max-width: 820px; margin: 22px auto 0; padding: 22px 24px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); text-align: left; }
.dusk .guide-list, .dusk .guide-steps { margin: 6px 0 0; padding-left: 20px; color: var(--text-2); }
.dusk .guide-list li, .dusk .guide-steps li { margin: 0 0 8px; }
.dusk .guide-steps li::marker { color: var(--violet-2); font-weight: 700; }
.dusk .guide-table, .dusk main table:not(.glance) { width: 100%; border-collapse: collapse; font-size: 14px; }
.dusk main table:not(.glance) th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.dusk main table:not(.glance) td { padding: 11px 12px; border-top: 1px solid var(--line); color: var(--text-2); vertical-align: top; }
.dusk .table-wrap, .dusk .guide-box:has(table) { overflow-x: auto; }

/* stats band */
.dusk .stats { max-width: none !important; padding: 0 !important; margin-top: var(--sec); border-block: 1px solid var(--line); background: var(--bg-2); }
.dusk .stats-note { max-width: var(--max); margin: 0 auto; padding: 22px var(--gut) 0; text-align: center; color: var(--text-2); }
.dusk .stats-inner { max-width: var(--max); margin: 0 auto; padding: 22px var(--gut) 26px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.dusk .stat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 10px; border-left: 1px solid var(--line); }
.dusk .stat:first-child { border-left: 0; }
.dusk .stat-num, .dusk .proof-num { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.dusk .stat-label { font-size: 13px; color: var(--text-2); }

/* demo video + AI demo */
.dusk .demo-video-inner, .dusk .demo-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(26px, 5vw, 64px); align-items: center; }
.dusk .demo-video-frame { border-radius: var(--r-lg); padding: 8px; background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.03)); border: 1px solid var(--line); box-shadow: 0 40px 100px rgba(0,0,0,.55); }
.dusk .demo-video-frame video { display: block; width: 100%; border-radius: 16px; background: #000; }
.dusk .ai-list { list-style: none; padding: 0; margin: 16px 0 0; }
.dusk .ai-list li { display: flex; gap: 12px; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--line); }
.dusk .ai-list li:last-child { border-bottom: 1px solid var(--line); }
.dusk .ai-list li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--violet-2); transform: translateY(-2px); }
.dusk .chat { display: flex; flex-direction: column; gap: 10px; padding: clamp(18px, 2.5vw, 26px); border-radius: var(--r-lg); background: radial-gradient(120% 90% at 100% 0%, rgba(122,44,255,.22), transparent 60%), linear-gradient(160deg, #121528, #0b0d18); border: 1px solid var(--line); }
.dusk .chat-name { margin: 0; font-size: 12px; font-weight: 600; color: var(--violet-3); }
.dusk .chat-name-me { align-self: flex-end; }
.dusk .chat-q { align-self: flex-end; max-width: 88%; padding: 12px 15px; border-radius: 16px 16px 4px 16px; background: var(--grad); color: #fff; font-size: 14px; }
.dusk .chat-a { max-width: 92%; padding: 12px 15px; border-radius: 16px 16px 16px 4px; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); font-size: 14px; }
.dusk .demo-caption { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* prop firms */
.dusk .props-block, .dusk .props { padding: clamp(22px, 3vw, 32px) !important; margin-top: var(--sec); border-radius: var(--r); border: 1px solid rgba(122,44,255,.35); background: linear-gradient(135deg, rgba(122,44,255,.12), var(--bg-2)); }
.dusk .prop-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.dusk .prop-chip { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--text-2); }

/* pricing */
.dusk .price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 880px; margin: 0 auto; }
.dusk .price-card { position: relative; display: flex; flex-direction: column; padding: 28px; border-radius: var(--r); background: var(--bg-2); border: 1px solid var(--line); }
.dusk .price-featured { border: 2px solid var(--violet); background: linear-gradient(180deg, rgba(122,44,255,.14), var(--bg-2) 60%); }
.dusk .featured-tag { position: absolute; top: 22px; right: 22px; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 99px; background: var(--violet); color: #fff; }
.dusk .price { font-size: 48px; font-weight: 800; letter-spacing: -.04em; margin: 8px 0 4px; line-height: 1.1; }
.dusk .price .cur { font-size: 26px; vertical-align: 14px; margin-right: 2px; } .dusk .price .per { font-size: 16px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.dusk .price-sub { color: var(--text-2); font-size: 14px; }
.dusk .price-card ul { list-style: none; padding: 0; margin: 14px 0 20px; display: grid; gap: 10px; color: var(--text-2); font-size: 15px; flex: 1; }
.dusk .price-card li::before { content: "✓"; color: var(--green); margin-right: 10px; font-weight: 700; }
.dusk .price-note { font-size: 13px; color: var(--muted); }
.dusk .price-featured .btn-outline { background: var(--grad); border-color: transparent; color: #fff; }
.dusk .price-video-link { display: block; margin-top: 12px; text-align: center; font-size: 13px; }
.dusk .pricing-note { max-width: 680px; margin: 18px auto 0; text-align: center; font-size: 13px; color: var(--muted); }

/* FAQ */
.dusk .faq-list { max-width: 820px; margin: 0 auto; }
.dusk .faq-item { border-bottom: 1px solid var(--line); }
.dusk .faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; }
.dusk .faq-item summary::-webkit-details-marker { display: none; }
.dusk .faq-item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--text-2); }
.dusk .faq-item[open] summary::after { content: "−"; }
.dusk .faq-q { margin: 0; font-size: 17px; font-weight: 600; }
.dusk .faq-item p { color: var(--text-2); margin: 0 0 18px; }

/* final call to action: the homepage's card */
.dusk .final-inner { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 72px); border-radius: 28px; text-align: left; background: radial-gradient(80% 120% at 100% 100%, rgba(122,44,255,.35), transparent 60%), linear-gradient(160deg, var(--bg-3), #0b0d18); border: 1px solid rgba(167,139,250,.25); }
.dusk .final-inner::after { content: ""; position: absolute; right: -8%; bottom: -38%; width: min(560px, 50%); aspect-ratio: 1; background: url(/homepage_images/dusk-globe.webp) center / contain no-repeat; animation: dusk-float 9s ease-in-out infinite; pointer-events: none; }
.dusk .final-inner > * { position: relative; z-index: 1; max-width: 560px; }
.dusk .final-inner .landing-title { text-align: left; }

/* loop, misc */
.dusk .loop-flow { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.dusk .loop-step { padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); font-weight: 700; font-size: 13px; letter-spacing: .1em; }
.dusk .loop-arrow { color: var(--muted); align-self: center; }
.dusk .video-link { color: var(--violet-2); }
.dusk .related { display: none; } /* replaced by the guides cards */

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .links { display: none; }
  .guides { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .dusk .hero-inner, .dusk .demo-video-inner, .dusk .demo-inner { grid-template-columns: minmax(0, 1fr); }
  .dusk .mock-window { transform: none; }
}
/* ---------- phone ---------- */
@media (max-width: 680px) {
  body.dusk { font-size: 15px; }
  .nav-in { height: 62px; }
  .nav-r .btn-glass { display: none; }
  .nav-r .btn-primary { min-height: 36px; padding: 0 14px; font-size: 13px; }
  .menu-btn { display: grid; }
  .nav .brand img { height: 24px; }
  .dusk .hero-inner { padding-top: 104px; }
  .dusk .hero h1 { font-size: clamp(34px, 10vw, 46px); }
  .dusk .hero-cta .btn-outline { flex: 1 1 100%; }
  .dusk .landing-title, .dusk main h2 { font-size: clamp(26px, 7.6vw, 34px); }
  .dusk .section-head { text-align: left; }
  .dusk .section-sub { margin: 0; }
  .dusk .mock-row { grid-template-columns: 1fr 1fr auto; } .dusk .mock-row > :first-child { display: none; }
  .dusk .price-grid { grid-template-columns: minmax(0, 1fr); } .dusk .price-featured { order: -1; }
  .dusk .stat:nth-child(odd) { border-left: 0; }
  .glance th, .glance td { display: block; width: auto; padding: 0 16px; border: 0; }
  .glance th { padding-top: 14px; border-top: 1px solid var(--line); } .glance td { padding-bottom: 14px; }
  .glance tr:first-child th { border-top: 0; }
  .guides { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .g-card summary { cursor: pointer; padding: 16px 0; }
  .g-card summary::after { content: "+"; margin-left: 10px; color: var(--muted); }
  .g-card[open] summary::after { content: "−"; }
  .g-card summary em { margin-left: auto; }
  .dusk .final-inner::after { width: 80%; opacity: .35; }
}
@media (prefers-reduced-motion: reduce) { .dusk .hero::after, .dusk .final-inner::after { animation: none; } }

/* help centre video (helpPages in build.cjs) */
.dusk .help-video-live, .dusk .help-video-frame { max-width: 820px; margin: 24px auto; }
.dusk .help-video-frame { border-radius: var(--r-lg); padding: 8px; background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.03)); border: 1px solid var(--line); overflow: hidden; }
.dusk .help-video-frame video, .dusk .help-body video { display: block; width: 100%; height: auto; border-radius: 16px; background: #000; }
.dusk main video { max-width: 100%; }

/* at a glance tiles (build/glance.cjs) */
.gl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1080px; margin: 0 auto; padding: 0; }
.gl { position: relative; margin: 0; padding: 22px; border-radius: 18px; background: linear-gradient(160deg, rgba(122,44,255,.10), rgba(14,16,32,.9) 55%); border: 1px solid rgba(255,255,255,.08); overflow: hidden; transition: border-color .2s, transform .2s; }
.gl:hover { border-color: rgba(167,139,250,.45); transform: translateY(-2px); }
.gl-i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(135deg, #2563eb, #7a2cff); color: #fff; box-shadow: 0 8px 22px rgba(122,44,255,.35); margin-bottom: 16px; }
.gl dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #a78bfa; margin: 0 0 6px; }
.gl dd { margin: 0; }
.gl dd b { display: block; font-size: clamp(20px, 2vw, 24px); font-weight: 800; letter-spacing: -.02em; color: #f4f5fb; line-height: 1.2; margin-bottom: 6px; }
.gl dd span { display: block; font-size: 14px; color: #a9aec6; line-height: 1.5; }
@media (max-width: 960px) { .gl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gl-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; } .gl { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 16px; } .gl-i { grid-row: span 2; margin: 0; } }

/* guides: collapsed everywhere */
.g-card summary { cursor: pointer; padding: 16px 0; }
.g-card summary::after { content: "+"; margin-left: 10px; color: var(--muted); }
.g-card[open] summary::after { content: "\2212"; }
.g-card summary em { margin-left: auto; }

/* brokers directory (/brokers/) */
.bd-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 22px 0 16px; }
.bd-search { flex: 1 1 260px; display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 48px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--muted); }
.bd-search:focus-within { border-color: rgba(167,139,250,.6); }
.bd-search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 16px; }
.bd-f { height: 40px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); font-weight: 600; font-size: 14px; cursor: pointer; }
.bd-f.on { background: var(--grad); border-color: transparent; color: #fff; }
.bd-count { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.bd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.dusk main .bd-grid a.bd { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .15s; }
.dusk main .bd-grid a.bd:hover { border-color: rgba(167,139,250,.5); }
.dusk main .bd-grid a.bd[hidden] { display: none; }
.bd b { font-weight: 600; font-size: 15px; }
.bd .tags { display: flex; flex-wrap: wrap; gap: 5px; }
.bd .tags i { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: rgba(122,44,255,.18); color: var(--violet-3); }
.bd .tags i.file { background: rgba(255,255,255,.06); color: var(--muted); }
.bd-more { display: flex; margin: 16px auto 0; }
.bd-more[hidden] { display: none; }

.g-ico { display: grid; place-items: center; width: 34px; height: 34px; margin-right: 12px; border-radius: 10px; background: var(--grad); color: #fff; flex: none; }
.g-card summary > span:not(.g-ico) { flex: 1; }
.dusk main .bd-grid a.bd { flex-direction: row; align-items: center; gap: 12px; }
.bd-logo { flex: none; width: 36px; height: 36px; border-radius: 10px; object-fit: contain; background: #fff; }
.bd-init { display: grid; place-items: center; background: hsl(var(--h) 55% 45%); color: #fff; font-weight: 800; font-size: 16px; }
.bd-t { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bd-t b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Quick answers (page.qa, build.cjs qaPartial; home.cjs) */
.qa { padding: clamp(28px, 5vw, 48px) var(--gut) 0; }
.qa-wrap { max-width: var(--max); margin: 0 auto; }
.qa-list { display: grid; gap: 14px; margin-top: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.qa-item { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r); background: rgba(255,255,255,.03); }
.dusk main .qa-item h2, .qa-item h2 { margin: 0 0 8px; font-size: 18px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.dusk main .qa-item p, .qa-item p { margin: 0; color: var(--text-2); font-size: 15.5px; line-height: 1.6; }
@media (max-width: 680px) { .qa-list { grid-template-columns: 1fr; } }

/* Cluster modules (build/modules.cjs) */
.mod { padding: clamp(40px, 6vw, 72px) var(--gut) 0; }
.mod-wrap { max-width: var(--max); margin: 0 auto; }
.dusk main .mod-h { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; margin: 8px 0 18px; }
.mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.mod-grid + .mod-grid, .mod-note + .mod-grid { margin-top: 12px; }
.dusk main a.mod-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; min-width: 0; }
.dusk main a.mod-card:hover { border-color: var(--border-hover); transform: translateY(-1px); }
.mod-t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mod-t b { font-size: 15px; font-weight: 650; color: var(--text); line-height: 1.3; }
.mod-t span { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mod-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--grad); color: #fff; flex: none; }
.mod-note { margin: 14px 0 0; color: var(--text-2); font-size: 14.5px; line-height: 1.6; max-width: 760px; }
.mod-note a { color: var(--violet-3); }
.mod-find { display: flex; gap: 10px; max-width: 640px; }
.mod-find .bd-search { flex: 1; }
.mod-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.dusk main a.mod-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 14px; }
.dusk main a.mod-chip:hover { border-color: var(--border-hover); }
.mod-chip .bd-logo { width: 26px; height: 26px; border-radius: 50%; font-size: 12px; }
@media (max-width: 680px) { .mod-grid { grid-template-columns: 1fr; gap: 8px; } .dusk main a.mod-card { padding: 12px 14px; } .mod-find .btn { padding-inline: 16px; } }
@media (max-width: 680px) { .mod[data-mod="props"] .mod-grid:first-of-type .mod-card:nth-child(n+7) { display: none; } }

/* ======================================================================
   Homepage hero + proof bar on every page (build.cjs homeHero, 2026-10-25).
   Same rules as build/home.cjs, scoped to .dusk.
   ====================================================================== */
.dusk .hero::after { display: none; }
.dusk .hero { padding-bottom: clamp(40px, 6vw, 80px) !important; }
.dusk .hero::before { z-index: 0; background: radial-gradient(60% 50% at 8% 0%, rgba(122,44,255,.35), transparent 70%), radial-gradient(50% 45% at 100% 60%, rgba(59,130,246,.2), transparent 70%); }
.dusk .moon { position: absolute; z-index: 2; left: 0; top: 0; --mw: clamp(300px, 42vw, 680px); animation: moonrise 2.6s cubic-bezier(.16,.8,.24,1) .15s both; pointer-events: none; }
.dusk .moon::before { content: ""; position: absolute; left: calc(var(--mw) * -.42); top: calc(var(--mw) * -.3); width: calc(var(--mw) * 1.35); height: calc(var(--mw) * 1.35); border-radius: 50%; background: radial-gradient(closest-side, rgba(140,110,255,.32), rgba(122,44,255,.12) 55%, transparent 72%); animation: halo 7s ease-in-out 2.8s infinite; }
.dusk .float { position: absolute; left: calc(var(--mw) * -.34); top: calc(var(--mw) * -.2); width: var(--mw); animation: float 9s ease-in-out 2.8s infinite; }
.dusk .globe { display: block; width: 100%; max-width: none; height: auto; filter: drop-shadow(0 30px 60px rgba(122,44,255,.35)); -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 97%); mask-image: linear-gradient(to bottom, #000 62%, transparent 97%); }
@keyframes float { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(6px, 12px) rotate(2.5deg); } }
@keyframes moonrise { from { transform: translate(-28%, -70%) rotate(-14deg); opacity: 0; filter: blur(6px); } 60% { opacity: 1; filter: blur(0); } to { transform: none; opacity: 1; filter: none; } }
@keyframes halo { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
.dusk .hero-inner { position: relative; z-index: 3; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 0; padding-top: clamp(120px, 14vw, 200px); padding-bottom: 0; }
.dusk .hero-copy { position: relative; z-index: 4; max-width: 580px; }
.dusk .hero h1 { font-size: clamp(40px, 5.4vw, 80px); line-height: .98; letter-spacing: -.045em; margin: 18px 0; }
.dusk .hero .t-ls1 { color: var(--violet-2); }
.dusk .hero-sub { max-width: 480px; margin-bottom: 26px; }
.dusk .hero-cta { gap: 12px; }
.dusk .price-line { margin: 18px 0 0; font-size: 15px; color: var(--text-2); }
.dusk .ticks { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); }
.dusk .ticks span::before { content: "✓"; color: var(--green); margin-right: 6px; }
.dusk .hero .answer { position: relative; margin: 24px 0 0; padding: 16px 18px 16px; border: 1px solid var(--line-2); border-left: 1px solid var(--line-2); border-radius: 16px; background: rgba(16,18,34,.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 15px; color: var(--text-2); max-width: 540px; }
.dusk .hero .answer::before { content: "In short"; display: block; margin-bottom: 6px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-2); }
.dusk .hero-tags, .dusk .hero-xlink, .dusk .hero-pair { position: relative; }
.dusk .stage { position: relative; z-index: 2; min-height: 460px; }
.dusk .dash { position: absolute; top: 50%; left: -14%; width: 150%; max-width: none; height: auto; transform: translateY(-50%); pointer-events: none; }

/* proof bar */
.dusk .proofbar { max-width: none !important; padding: 0 !important; border-block: 1px solid var(--line); background: var(--bg-2); }
.dusk .pb-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 28px 0; }
.dusk .pb-stats div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 0 10px; border-left: 1px solid var(--line); }
.dusk .pb-stats div:first-child { border-left: 0; }
.dusk .pb-stats b { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.dusk .pb-stats span { font-size: 13px; color: var(--text-2); }
.dusk .marquee { position: relative; display: flex; align-items: center; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.dusk .track { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.dusk .belt { display: flex; gap: 12px; width: max-content; animation: belt 38s linear infinite; }
.dusk .track:hover .belt { animation-play-state: paused; }
@keyframes belt { to { transform: translateX(-50%); } }
.dusk main a.lg:not(.btn):not(.btn-outline) { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px 0 9px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--text-2); white-space: nowrap; text-decoration: none; }
.dusk main a.lg:not(.btn):not(.btn-outline):hover { color: var(--text); border-color: var(--border-hover); text-decoration: none; }
.dusk .lg img { width: 22px; height: 22px; border-radius: 6px; object-fit: contain; background: #fff; padding: 2px; }
.dusk .syncs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 12px; padding: 20px 0; border-top: 1px solid var(--line); }
.dusk .syncs em, .dusk .marquee em { flex: none; font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.dusk main a.lg.big:not(.btn):not(.btn-outline) { height: 44px; font-size: 15px; color: var(--text); border-color: rgba(167,139,250,.35); background: rgba(122,44,255,.1); }
.dusk .lg.big img { width: 24px; height: 24px; }
.dusk .imports { margin: 0; padding: 0 0 18px; font-size: 13px; color: var(--muted); text-align: center; }

@media (max-width: 960px) {
  .dusk .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .dusk .stage { min-height: 0; height: min(72vw, 560px); margin: 28px calc(var(--gut) * -1) 0 0; }
  .dusk .dash { width: 125%; left: 0; }
}
@media (max-width: 680px) {
  .dusk .moon { --mw: min(86vw, 380px); }
  .dusk .hero-inner { padding-top: 132px; }
  .dusk .hero h1 { font-size: clamp(38px, 11vw, 50px); margin: 14px 0; }
  .dusk .hero-sub { font-size: 16px; margin-bottom: 22px; }
  .dusk .hero-cta .btn { flex: 1 1 100%; }
  .dusk .stage { height: 80vw; margin-top: 24px; }
  .dusk .dash { width: 170%; left: -4%; }
  .dusk .pb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0; padding: 22px 0; }
  .dusk .pb-stats div:nth-child(3) { border-left: 0; }
  .dusk .pb-stats span { font-size: 12px; }
  .dusk .marquee { flex-direction: column; align-items: stretch; gap: 12px; }
  .dusk .marquee em, .dusk .syncs em { text-align: center; width: 100%; margin: 0; }
  .dusk .syncs { gap: 8px; } .dusk main a.lg.big { height: 40px; font-size: 14px; }
  .dusk main a.lg { height: 36px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .dusk .moon, .dusk .moon::before, .dusk .float, .dusk .belt { animation: none !important; } }

/* ---------- body sections in the homepage's language (2026-10-25) ---------- */
.dusk .t-ls1.t-muted, .dusk .section-head .t-ls1 { color: var(--violet-2); }
.dusk .sub-section .section-head:not(:last-child) { margin-bottom: clamp(24px, 4vw, 40px); }
.dusk .landing-title, .dusk main h2:not(.mod-h):not(.qa-item h2) { font-size: clamp(30px, 4vw, 52px); line-height: 1.05; }
/* text-only sections become the homepage's glass panel */
.dusk .sub-section:has(> .section-head:only-child) .section-head { max-width: 980px; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-lg); border: 1px solid var(--line-2); background: radial-gradient(120% 90% at 100% 0%, rgba(122,44,255,.22), transparent 60%), linear-gradient(160deg, #121528, #0b0d18); box-shadow: 0 40px 100px rgba(0,0,0,.35); }
.dusk .sub-section:has(> .section-head:only-child) .section-sub { max-width: 640px; }
/* cards: icon chip like the homepage's fix/plat cards */
.dusk .plat-card, .dusk .how-step { position: relative; transition: border-color .2s, transform .2s; }
.dusk .plat-card:hover, .dusk .how-step:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.dusk .plat-card:not(:has(.plat-badge))::before { content: "✓"; display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 10px; background: var(--grad); color: #fff; font-weight: 800; font-size: 15px; box-shadow: 0 8px 22px rgba(122,44,255,.35); }
.dusk a.plat-card:not(:has(.plat-badge))::before { content: "→"; }
.dusk .plat-card h3, .dusk .how-step h3 { font-size: 17px; }
.dusk .step-num { background: var(--grad); color: #fff; }
.dusk .how .section-head, .dusk .demo .section-head { margin-bottom: clamp(24px, 4vw, 40px); }
.dusk .guide-box { background: radial-gradient(120% 90% at 100% 0%, rgba(122,44,255,.14), transparent 60%), var(--bg-2); border-color: var(--line-2); }
/* stats band: the proof bar's grid */
.dusk .stats-inner { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); row-gap: 18px; }
.dusk .chat-name-ai { display: flex; align-items: center; gap: 8px; }
.dusk .chat-name-ai::before { content: ""; width: 20px; height: 20px; background: url(/homepage_images/logo-2d.webp) center / contain no-repeat; }

@media (max-width: 680px) {
  /* carousels instead of long stacks, like the homepage */
  .dusk .plat-grid, .dusk .how-flow, .dusk .gl-grid { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 8px; scrollbar-width: none; }
  .dusk .plat-grid::-webkit-scrollbar, .dusk .how-flow::-webkit-scrollbar, .dusk .gl-grid::-webkit-scrollbar { display: none; }
  .dusk .plat-grid > *, .dusk .how-flow > *, .dusk .gl-grid > * { flex: 0 0 84%; scroll-snap-align: start; }
  .dusk .sub-section:has(> .section-head:only-child) .section-head { padding: 24px 20px; }
  .dusk .stat { border-left: 0; }
}
@media (max-width: 680px) { .dusk .landing-title, .dusk main h2:not(.mod-h):not(.qa-item h2) { font-size: clamp(28px, 8.2vw, 36px); } }
.dusk .hero h1.h1-long { font-size: clamp(36px, 4.4vw, 62px); line-height: 1.02; }
.dusk .hero .t-ls1 { display: inline-flex; align-items: center; gap: 10px; }
.dusk .hero-logo { width: 30px; height: 30px; border-radius: 9px; }
@media (max-width: 680px) { .dusk .hero h1.h1-long { font-size: clamp(32px, 9vw, 42px); } }
.dusk .price-card ul { align-content: start; }
@media (max-width: 680px) { .dusk .guide-table { min-width: 620px; } }
/* Consent banner (consent.js builds .import-toast); dusk.css had no rule, so it showed as plain text (2026-10-26). */
.dusk .import-toast { position: fixed; z-index: 200; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(560px, calc(100% - 32px)); padding: 18px 20px; border-radius: 16px; background: var(--bg-2); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 20px 60px rgba(0,0,0,.55); color: var(--text-secondary); font-size: 14px; line-height: 1.5; text-align: left; }
.dusk .import-toast.hidden { display: none; }
.dusk .import-toast a { color: var(--violet-2); }
.dusk .import-toast .modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 14px; }
.dusk .import-toast .btn-outline { padding: 9px 18px; font-size: 14px; }
.dusk .import-toast [data-tj-consent="yes"] { background: var(--grad); border-color: transparent; color: #fff; }
.dusk .guide-table td:first-child { white-space: nowrap; color: var(--text-primary); }
.dusk .import-toast:focus { outline: none; }

/* Calculator cards (2026-11-01, build/tools.cjs + public/calc.js): in the hero's stage slot on calculator pages. */
.dusk .stage.stage-tool { min-height: 0; height: auto; display: flex; align-items: center; justify-content: center; margin: 0; padding-left: clamp(0px, 3vw, 40px); }
.calc { width: 100%; max-width: 500px; padding: 22px 22px 18px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.calc-title { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--violet-2); }
.calc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; align-items: end; }
.calc-f { display: grid; gap: 6px; min-width: 0; font-size: 13px; color: var(--text-2); }
.calc-f:has(select) { grid-column: 1 / -1; }
.calc-in { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255,255,255,.04); transition: border-color .15s; }
.calc-in:focus-within { border-color: var(--violet-2); }
.calc-in input, .calc-in select { flex: 1; min-width: 0; width: 100%; background: transparent; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 16px; font-variant-numeric: tabular-nums; }
.calc-in select { cursor: pointer; }
.calc-in select option { background: var(--bg-2); color: var(--text); }
.calc-in em { font-style: normal; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.calc-out { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.calc-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.calc-main b { font-size: clamp(30px, 4vw, 40px); font-weight: 800; letter-spacing: -.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.calc-main span { font-size: 14px; color: var(--text-2); }
.calc-rows { margin: 12px 0 0; display: grid; gap: 6px; }
.calc-rows div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.calc-rows dt { color: var(--text-2); }
.calc-rows dd { margin: 0; color: var(--text); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.calc-note { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
@media (max-width: 980px) { .dusk .stage.stage-tool { height: auto; margin: 28px 0 0; padding-left: 0; justify-content: flex-start; } }
@media (max-width: 680px) { .dusk .stage.stage-tool { height: auto; margin-top: 24px; } .calc { padding: 18px 16px 14px; } .calc-fields { grid-template-columns: 1fr; } }
