/* =========================================================
   Royce Markets — site stylesheet
   Colours and fonts from the Royce Markets brand tokens v2.
   ========================================================= */

/* ---------- Fonts (self-hosted, SIL OFL) ---------- */
@font-face { font-family: "Archivo"; src: url("../fonts/Archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/InstrumentSerif-Italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/InstrumentSerif-Regular.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --rm-emerald: #0F2E25;
  --rm-champagne: #D8B76A;
  --rm-white: #FFFFFF;
  --rm-cream: #F3EEE3;
  --rm-onyx: #0C0D10;
  --rm-antique-gold: #8C6D2E;
  --rm-stone: #8E897E;
  --rm-line: #E6E1D6;
  --qx-signal: #5ED1C2;
  --qx-signal-deep: #1E8A7E;
  --qx-signal-tint: #E9F7F5;

  /* derived surfaces */
  --emerald-2: #15392F;
  --emerald-3: #1D4A3D;
  --emerald-line: rgba(243, 238, 227, .12);
  --ink: #16201C;              /* body text on light */
  --ink-2: rgba(15, 46, 37, .72); /* secondary text on light */
  --cream-ink: rgba(243, 238, 227, .74);

  --rm-font-display: "Archivo", system-ui, sans-serif;
  --rm-font-accent: "Instrument Serif", Georgia, serif;
  --rm-font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rm-font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --rm-radius-card: 22px;
  --rm-radius-pill: 999px;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(88px, 12vw, 168px);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --header-h: 76px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--rm-white); color: var(--ink);
  font-family: var(--rm-font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas, video { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--rm-champagne); color: var(--rm-emerald); }
:focus-visible { outline: 2px solid var(--qx-signal-deep); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--rm-emerald); color: var(--rm-cream); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: clamp(64px, 8vw, 104px) 0; }
.bg-white { background: var(--rm-white); }
.bg-cream { background: var(--rm-cream); }
.bg-emerald { background: var(--rm-emerald); color: var(--rm-cream); }
.bg-onyx { background: var(--rm-onyx); color: var(--rm-cream); }
.bg-champagne { background: var(--rm-champagne); color: var(--rm-emerald); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--rm-font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--rm-antique-gold);
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--plain::before { display: none; }
.bg-emerald .eyebrow, .bg-onyx .eyebrow { color: var(--rm-champagne); }
.eyebrow--signal { color: var(--qx-signal-deep); }
.bg-emerald .eyebrow--signal, .bg-onyx .eyebrow--signal { color: var(--qx-signal); }

.display {
  font-family: var(--rm-font-display); font-weight: 780; font-stretch: 112%;
  line-height: .92; letter-spacing: -.01em; color: var(--rm-emerald);
  text-transform: uppercase; font-size: clamp(52px, 9.4vw, 138px);
}
.display--md { font-size: clamp(44px, 7vw, 104px); }
.display--sm { font-size: clamp(38px, 5.4vw, 76px); }
.accent {
  display: block; font-family: var(--rm-font-accent); font-style: italic; font-weight: 400;
  text-transform: none; letter-spacing: -.01em; line-height: 1; color: var(--rm-antique-gold);
  font-size: .78em; margin-bottom: .04em; font-stretch: normal;
}
.bg-emerald .display, .bg-onyx .display { color: var(--rm-cream); }
.bg-emerald .accent, .bg-onyx .accent { color: var(--rm-champagne); }
.bg-champagne .display { color: var(--rm-emerald); }
.bg-champagne .accent { color: var(--rm-emerald); }

.h2 {
  font-family: var(--rm-font-display); font-weight: 760; font-stretch: 112%;
  font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.015em; color: var(--rm-emerald);
}
.h3 { font-family: var(--rm-font-display); font-weight: 740; font-stretch: 108%; font-size: clamp(22px, 2vw, 28px); line-height: 1.12; color: var(--rm-emerald); }
.bg-emerald .h2, .bg-onyx .h2, .bg-emerald .h3, .bg-onyx .h3 { color: var(--rm-cream); }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; color: var(--ink-2); max-width: 38em; }
.bg-emerald .lead, .bg-onyx .lead { color: var(--cream-ink); }
.muted { color: var(--ink-2); }
.bg-emerald .muted, .bg-onyx .muted { color: var(--cream-ink); }
.mono { font-family: var(--rm-font-mono); }
.label { font-family: var(--rm-font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.bg-emerald .label, .bg-onyx .label { color: rgba(243, 238, 227, .55); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { max-width: 820px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head .lead { margin-top: 22px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--rm-champagne); --fg: var(--rm-emerald);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: var(--rm-radius-pill);
  background: var(--bg); color: var(--fg); font-weight: 600; font-size: 16px;
  border: 1.5px solid transparent; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(15, 46, 37, .45); }
.btn:hover::after { transform: translateX(120%); }
.btn .arr { transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--outline { --bg: transparent; --fg: var(--rm-emerald); border-color: var(--rm-emerald); }
.btn--outline:hover { --bg: var(--rm-emerald); --fg: var(--rm-cream); }
.btn--emerald { --bg: var(--rm-emerald); --fg: var(--rm-cream); }
.bg-emerald .btn--outline, .bg-onyx .btn--outline, .on-dark .btn--outline, .page-hero--emerald .btn--outline, .full-screen .btn--outline { --fg: var(--rm-cream); border-color: rgba(243,238,227,.5); }
.bg-emerald .btn--outline:hover, .bg-onyx .btn--outline:hover, .on-dark .btn--outline:hover, .page-hero--emerald .btn--outline:hover, .full-screen .btn--outline:hover { --bg: var(--rm-cream); --fg: var(--rm-emerald); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--rm-emerald); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.bg-emerald .link-arrow, .bg-onyx .link-arrow { color: var(--rm-champagne); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s, transform .5s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--rm-line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; width: 168px; flex: none; }
.brand img { width: 100%; height: auto; }
.brand .logo-dark { display: none; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav a { font-size: 15px; font-weight: 500; color: var(--rm-emerald); position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--rm-champagne); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--rm-emerald); align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before { display: block; width: 18px; height: 1.5px; background: var(--rm-emerald); position: relative; transition: transform .4s var(--ease); }
.menu-btn span::before { content: ""; position: absolute; top: 6px; }
.menu-btn span { transform: translateY(-3px); }

/* dark header variant (emerald heroes) */
body.header-dark .site-header:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.header-dark .site-header:not(.is-scrolled) .logo-light { display: none; }
body.header-dark .site-header:not(.is-scrolled) .logo-dark { display: block; }
body.header-dark .site-header:not(.is-scrolled) .nav a { color: var(--rm-cream); }
body.header-dark .site-header:not(.is-scrolled) .btn--emerald { --bg: var(--rm-champagne); --fg: var(--rm-emerald); }
body.header-dark .site-header:not(.is-scrolled) .menu-btn { border-color: var(--rm-cream); }
body.header-dark .site-header:not(.is-scrolled) .menu-btn span, body.header-dark .site-header:not(.is-scrolled) .menu-btn span::before { background: var(--rm-cream); }

/* mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 95; background: var(--rm-emerald); color: var(--rm-cream);
  display: flex; flex-direction: column; padding: 96px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 40px) 38px); transition: clip-path .8s var(--ease); visibility: hidden;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a { font-family: var(--rm-font-display); font-weight: 760; font-stretch: 112%; font-size: clamp(30px, 8vw, 44px); line-height: 1.25; text-transform: uppercase; }
.mobile-menu nav a[aria-current="page"] { color: var(--rm-champagne); }
.mobile-menu .mm-ctas .btn { margin-top: 0; }
.mobile-menu-close { position: absolute; top: 15px; right: var(--gutter); width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--rm-cream); }
.mobile-menu-close::before, .mobile-menu-close::after { content: ""; position: absolute; left: 13px; top: 21.5px; width: 18px; height: 1.5px; background: var(--rm-cream); transform: rotate(45deg); }
.mobile-menu-close::after { transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav, .header-cta .btn { display: none; }
  .menu-btn { display: inline-flex; }
}
/* Mobile: emerald screens */
@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .brand { width: 140px; }
  .site-header, .site-header.is-scrolled { background: rgba(15, 46, 37, .92); border-bottom-color: var(--emerald-line); }
  .site-header .logo-light { display: none !important; }
  .site-header .logo-dark { display: block !important; }
  .menu-btn { border-color: var(--rm-cream) !important; }
  .menu-btn span, .menu-btn span::before { background: var(--rm-cream) !important; }
}

/* ---------- Page transition curtain ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 300; pointer-events: none; display: none;
  background: var(--rm-emerald); align-items: center; justify-content: center;
}
.curtain img { width: 56px; height: auto; opacity: 0; transform: scale(.9); transition: opacity .4s, transform .6s var(--ease); }
html.pt .curtain { display: flex; transform: translateY(0); }
html.pt.pt-ready .curtain { transform: translateY(-101%); transition: transform .9s var(--ease) .05s; }
html.pt.pt-leave .curtain { transform: translateY(0); transition: transform .6s var(--ease); pointer-events: all; }
html.pt.pt-leave .curtain img { opacity: 1; transform: none; transition-delay: .25s; }
html.pt-leave .curtain { transform-origin: bottom; }
html.pt.pt-from-bottom .curtain { transform: translateY(101%); transition: none; }

/* ---------- Reveal (JS adds .is-in) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.96); }
.line-mask { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.line-mask > span { display: inline-block; }
.js .split .line-mask > span { transform: translateY(105%); transition: transform 1.15s var(--ease); transition-delay: var(--d, 0s); }
.js .split.is-in .line-mask > span { transform: none; }

/* ---------- Hero (home) ---------- */
.hero { padding: calc(var(--header-h) + clamp(28px, 4vw, 56px)) 0 clamp(48px, 6vw, 80px); position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: stretch; min-height: min(760px, calc(100svh - var(--header-h) - 60px)); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 24px 0; }
.hero-copy .display { font-size: clamp(48px, 6.4vw, 100px); }
.hero-copy .lead { margin-top: 30px; color: rgba(22, 32, 28, .78); max-width: 30em; }
.hero-panel {
  position: relative; border-radius: 30px; overflow: hidden; background: var(--rm-emerald);
  min-height: 520px; box-shadow: 0 40px 90px -50px rgba(15, 46, 37, .7);
}
.hero-panel canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.hero-panel .panel-fallback { position: absolute; right: -6%; bottom: -8%; width: 78%; opacity: .95; }
.hero-panel.has-3d .panel-fallback { display: none; }
.panel-glow { position: absolute; inset: 0; background: radial-gradient(60% 50% at 70% 45%, rgba(216, 183, 106, .16), transparent 70%), radial-gradient(40% 40% at 20% 85%, rgba(94, 209, 194, .10), transparent 70%); pointer-events: none; }
.panel-meta { position: absolute; left: 26px; bottom: 22px; right: 26px; display: flex; justify-content: space-between; color: rgba(243,238,227,.66); font-family: var(--rm-font-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; pointer-events: none; }

/* Quantix reading card */
.reading-card {
  position: absolute; top: 30px; left: 30px; width: min(310px, calc(100% - 60px)); z-index: 3;
  background: var(--rm-white); border-radius: 18px; padding: 20px 22px 18px; color: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.55);
}
.reading-card .label { color: var(--ink-2); display: flex; justify-content: space-between; gap: 10px; white-space: nowrap; letter-spacing: .16em; font-size: 10px; }
.reading-card .rc-title { font-weight: 600; font-size: 17px; margin: 8px 0 12px; color: var(--rm-onyx); }
.reading-card .rc-bar { height: 6px; border-radius: 6px; background: var(--qx-signal-tint); overflow: hidden; }
.reading-card .rc-bar i { display: block; height: 100%; width: 0; background: var(--qx-signal); border-radius: 6px; transition: width 1.6s var(--ease); }
.reading-card .rc-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: 12px; }
.reading-card .rc-val { font-family: var(--rm-font-mono); font-size: 34px; letter-spacing: .02em; color: var(--rm-emerald); }
.reading-card .rc-delta { font-family: var(--rm-font-mono); font-size: 12px; color: var(--qx-signal-deep); }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--qx-signal); box-shadow: 0 0 0 0 rgba(94,209,194,.6); animation: pulse 2s infinite; vertical-align: middle; margin-right: 6px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(94,209,194,.55); } 70% { box-shadow: 0 0 0 9px rgba(94,209,194,0); } 100% { box-shadow: 0 0 0 0 rgba(94,209,194,0); } }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-panel { min-height: 460px; }
}
/* Mobile: home hero becomes an emerald screen */
@media (max-width: 760px) {
  .hero--home { background: var(--rm-emerald); color: var(--rm-cream); }
  .hero--home .display { color: var(--rm-cream); }
  .hero--home .accent { color: var(--rm-champagne); }
  .hero--home .eyebrow { color: var(--rm-champagne); }
  .hero--home .lead { color: var(--cream-ink); }
  .hero--home .btn--outline { --fg: var(--rm-cream); border-color: rgba(243,238,227,.5); }
  .hero--home .hero-panel { box-shadow: none; background: var(--emerald-2); min-height: 420px; border-radius: 24px; }
  .hero-copy .btn { flex: 1 1 100%; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(64px, 9vw, 130px)) 0 clamp(64px, 8vw, 120px); position: relative; overflow: hidden; }
.page-hero .lead { margin-top: 30px; }
.page-hero--emerald { background: var(--rm-emerald); color: var(--rm-cream); }
.page-hero--emerald .display { color: var(--rm-cream); }
.page-hero--emerald .accent { color: var(--rm-champagne); }
.page-hero--emerald .eyebrow { color: var(--rm-champagne); }
.page-hero--emerald .lead { color: var(--cream-ink); }
.page-hero--emerald .label, .full-screen .label { color: rgba(243,238,227,.66); }
.full-screen .display { color: var(--rm-cream); } .full-screen .accent { color: var(--rm-champagne); } .full-screen .eyebrow { color: var(--rm-champagne); } .full-screen .lead, .full-screen .muted { color: var(--cream-ink); }
.page-hero .bg-mark { position: absolute; right: -4%; bottom: -14%; width: min(46vw, 620px); opacity: .06; pointer-events: none; }
.page-hero--cream { background: var(--rm-cream); }
@media (max-width: 760px) {
  .page-hero { background: var(--rm-emerald); color: var(--rm-cream); }
  .page-hero .display { color: var(--rm-cream); }
  .page-hero .accent { color: var(--rm-champagne); }
  .page-hero .eyebrow { color: var(--rm-champagne); }
  .page-hero .lead { color: var(--cream-ink); }
  .page-hero .btn--outline { --fg: var(--rm-cream); border-color: rgba(243,238,227,.5); }
  .page-hero .bg-mark { opacity: .08; filter: brightness(3); }
}

/* Quantix hero with 3D core */
.qx-hero { min-height: min(920px, 100svh); display: flex; align-items: center; background: radial-gradient(80% 70% at 75% 50%, #17463a 0%, var(--rm-emerald) 60%); }
.qx-hero canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.qx-hero .wrap { position: relative; z-index: 2; pointer-events: none; }
.qx-hero .wrap a, .qx-hero .wrap button { pointer-events: auto; }
.qx-hero-copy { max-width: 640px; }
.qx-wordmark { display: inline-flex; flex-direction: column; gap: 6px; margin-bottom: 34px; }
.qx-wordmark b { font-family: var(--rm-font-display); font-weight: 800; font-stretch: 125%; font-size: 26px; letter-spacing: .14em; color: var(--rm-cream); line-height: 1; }
.qx-wordmark small { font-family: var(--rm-font-mono); font-size: 10.5px; letter-spacing: .42em; color: var(--rm-champagne); }
.qx-wordmark--light b { color: var(--rm-emerald); }
.qx-wordmark--light small { color: var(--rm-antique-gold); }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--rm-font-mono); font-size: 10px; letter-spacing: .3em; color: rgba(243,238,227,.66); text-transform: uppercase; }
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(var(--rm-champagne), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 760px) { .qx-hero canvas { opacity: .55; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--rm-line); border-bottom: 1px solid var(--rm-line); background: var(--rm-white); }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font-family: var(--rm-font-mono); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; color: var(--rm-emerald); padding: 22px 28px; display: inline-flex; align-items: center; gap: 28px; white-space: nowrap; }
.marquee span::after { content: ""; width: 6px; height: 6px; background: var(--rm-champagne); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 760px) { .marquee { background: var(--rm-emerald); border-color: var(--emerald-line); } .marquee span { color: var(--rm-cream); } }

/* ---------- Signals statement (pinned) ---------- */
.signals { background: var(--rm-cream); }
.signals-stage { min-height: 100svh; display: flex; align-items: center; }
.signals-lines { font-family: var(--rm-font-display); font-weight: 780; font-stretch: 112%; font-size: clamp(40px, 7.4vw, 112px); line-height: 1; color: var(--rm-emerald); letter-spacing: -.015em; }
.signals-lines li { opacity: .12; transition: opacity .6s var(--ease), transform .8s var(--ease); transform: translateX(0); }
.signals-lines li.on { opacity: 1; }
.signals-lines li .accent { display: inline; font-size: .9em; }
.signals-foot { margin-top: 48px; display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.no-js .signals-lines li, .reduced .signals-lines li { opacity: 1; }

/* ---------- Cards ---------- */
.card {
  background: var(--rm-white); border: 1px solid var(--rm-line); border-radius: var(--rm-radius-card);
  padding: clamp(26px, 3vw, 38px); position: relative; overflow: hidden;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(15,46,37,.35); }
.bg-cream .card { border-color: transparent; }
.card--emerald { background: var(--rm-emerald); color: var(--rm-cream); border-color: transparent; }
.card--emerald .h3 { color: var(--rm-cream); }
.card--line { border-top: 2px solid var(--rm-champagne); border-radius: 0; background: transparent; padding: 26px 0 0; border-left: 0; border-right: 0; border-bottom: 0; }
.card--line:hover { transform: none; box-shadow: none; }
.bg-emerald .card { background: var(--emerald-2); border-color: var(--emerald-line); color: var(--rm-cream); }
.bg-emerald .card .h3 { color: var(--rm-cream); }
.bg-emerald .card--line, .bg-onyx .card--line { background: transparent; border-color: var(--rm-champagne); }
.card .num { font-family: var(--rm-font-mono); font-size: 12px; letter-spacing: .2em; color: var(--rm-antique-gold); margin-bottom: 26px; display: block; }
.bg-emerald .card .num, .bg-onyx .card .num, .card--emerald .num { color: var(--rm-champagne); }
.card .h3 { margin-bottom: 12px; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--ink-2); font-size: 16px; }
.bg-emerald .card p, .bg-onyx .card p, .card--emerald p { color: var(--cream-ink); }
.icon-ring { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--rm-champagne); display: grid; place-items: center; margin-bottom: 26px; }
.icon-ring svg { width: 24px; height: 24px; stroke: var(--rm-emerald); fill: none; stroke-width: 1.6; }
.bg-emerald .icon-ring svg, .card--emerald .icon-ring svg { stroke: var(--rm-champagne); }

/* ---------- Stats ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--emerald-line); }
.stat { padding: 34px 26px 10px 0; border-right: 1px solid var(--emerald-line); }
.stat + .stat { padding-left: 26px; }
.stat:last-child { border-right: 0; }
.stat .v { font-family: var(--rm-font-display); font-weight: 780; font-stretch: 112%; font-size: clamp(40px, 4.6vw, 66px); line-height: 1; color: var(--rm-champagne); }
.stat .t { margin-top: 14px; color: var(--cream-ink); font-size: 15.5px; }
.stat .s { margin-top: 10px; font-family: var(--rm-font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(243,238,227,.66); }
.stat .s a { border-bottom: 1px solid currentColor; }
.bg-white .stat-grid, .bg-cream .stat-grid { border-color: var(--rm-line); }
.bg-white .stat, .bg-cream .stat { border-color: var(--rm-line); }
.bg-white .stat .v, .bg-cream .stat .v { color: var(--rm-emerald); }
.bg-white .stat .t, .bg-cream .stat .t { color: var(--ink-2); }
.bg-white .stat .s, .bg-cream .stat .s { color: var(--ink-2); }
@media (max-width: 960px) { .stat-grid { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(3) { padding-left: 0; } .stat:nth-child(n+3) { border-top: 1px solid var(--emerald-line); } }
@media (max-width: 520px) { .stat-grid { grid-template-columns: 1fr; } .stat, .stat + .stat { padding-left: 0; border-right: 0; border-top: 1px solid var(--emerald-line); } }

/* ---------- Pipeline ---------- */
.pipeline { display: grid; grid-template-columns: repeat(8, 1fr); gap: 0; position: relative; margin-top: 20px; }
.pipeline::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 1px; background: var(--emerald-line); }
.pipeline .prog { position: absolute; left: 0; top: 22px; height: 1px; width: 0; background: linear-gradient(90deg, var(--qx-signal), var(--rm-champagne)); transition: width .6s var(--ease); }
.pipe-step { position: relative; padding-right: 14px; }
.pipe-step .dot { width: 45px; height: 45px; border-radius: 50%; border: 1px solid var(--emerald-line); background: var(--rm-emerald); display: grid; place-items: center; font-family: var(--rm-font-mono); font-size: 11px; color: rgba(243,238,227,.66); position: relative; z-index: 1; transition: all .5s var(--ease); }
.pipe-step.on .dot { background: var(--rm-champagne); color: var(--rm-emerald); border-color: var(--rm-champagne); box-shadow: 0 0 0 8px rgba(216,183,106,.12); }
.pipe-step b { display: block; margin-top: 20px; font-family: var(--rm-font-display); font-weight: 740; font-stretch: 108%; font-size: 17px; line-height: 1.15; color: var(--rm-cream); }
.pipe-step small { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: rgba(243,238,227,.62); }
@media (max-width: 960px) {
  .pipeline { grid-template-columns: 1fr; gap: 26px; }
  .pipeline::before { left: 22px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .pipeline .prog { display: none; }
  .pipe-step { display: grid; grid-template-columns: 45px 1fr; column-gap: 20px; }
  .pipe-step b { margin-top: 2px; }
  .pipe-step small { grid-column: 2; margin-top: 4px; }
}

/* Pinned pipeline (How it works) */
.pin-pipeline { min-height: 100svh; display: flex; align-items: center; }
.pp-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; width: 100%; }
.pp-list li { display: grid; grid-template-columns: 56px 1fr; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--emerald-line); color: rgba(243,238,227,.66); transition: color .5s var(--ease); cursor: default; }
.pp-list li .n { font-family: var(--rm-font-mono); font-size: 12px; letter-spacing: .14em; }
.pp-list li .t { font-family: var(--rm-font-display); font-weight: 760; font-stretch: 112%; font-size: clamp(20px, 2.2vw, 30px); text-transform: uppercase; line-height: 1.1; }
.pp-list li.on { color: var(--rm-cream); }
.pp-list li.on .n { color: var(--rm-champagne); }
.pp-detail { position: relative; min-height: 420px; }
.pp-card { position: absolute; inset: 0; background: var(--emerald-2); border: 1px solid var(--emerald-line); border-radius: 26px; padding: clamp(28px, 3.4vw, 46px); opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .6s var(--ease), transform .7s var(--ease); display: flex; flex-direction: column; }
.pp-card.on { opacity: 1; transform: none; }
.pp-card .big { font-family: var(--rm-font-display); font-weight: 800; font-stretch: 112%; font-size: clamp(64px, 8vw, 120px); line-height: .9; color: var(--rm-champagne); opacity: .9; }
.pp-card h3 { font-family: var(--rm-font-display); font-weight: 760; font-stretch: 112%; font-size: clamp(26px, 2.6vw, 36px); margin: 18px 0 14px; color: var(--rm-cream); }
.pp-card p { color: var(--cream-ink); font-size: 17px; max-width: 32em; }
.pp-card .chips { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--rm-font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--emerald-line); color: rgba(243,238,227,.75); }
.bg-white .chip, .bg-cream .chip { border-color: var(--rm-line); color: var(--rm-emerald); background: var(--rm-white); }
.chip--signal { border-color: rgba(94,209,194,.4); color: var(--qx-signal); }
@media (max-width: 960px) {
  .pin-pipeline { min-height: 0; padding: var(--section) 0; }
  .pp-grid { grid-template-columns: 1fr; }
  .pp-list { display: none; }
  .pp-detail { min-height: 0; display: grid; gap: 16px; }
  .pp-card { position: relative; opacity: 1; transform: none; }
}

/* ---------- Gap visual ---------- */
.gap-viz { background: var(--rm-white); border: 1px solid var(--rm-line); border-radius: 26px; padding: clamp(26px, 3.4vw, 44px); }
.gap-q { font-weight: 600; font-size: 19px; color: var(--rm-onyx); margin: 10px 0 30px; }
.gap-row { display: grid; grid-template-columns: 150px 1fr 64px; gap: 18px; align-items: center; margin-bottom: 18px; }
.gap-row .k { font-family: var(--rm-font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.gap-row .bar { height: 12px; border-radius: 12px; background: var(--rm-cream); overflow: hidden; position: relative; }
.gap-row .bar i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 12px; transition: width 1.6s var(--ease); }
.gap-row .bar--implied i { background: var(--rm-stone); }
.gap-row .bar--qx i { background: var(--qx-signal); }
.gap-row .v { font-family: var(--rm-font-mono); font-size: 18px; color: var(--rm-emerald); text-align: right; }
.gap-result { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--rm-line); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--qx-signal-tint); color: var(--qx-signal-deep); font-family: var(--rm-font-mono); font-size: 12.5px; letter-spacing: .06em; }
.pill--gold { background: #F6EFDC; color: var(--rm-antique-gold); }
.pill--emerald { background: var(--rm-emerald); color: var(--rm-cream); }
@media (max-width: 560px) { .gap-row { grid-template-columns: 1fr 60px; } .gap-row .k { grid-column: 1 / -1; } }

/* ---------- Stream card ---------- */
.stream { background: var(--rm-onyx); color: var(--rm-cream); border-radius: 26px; padding: clamp(24px, 3vw, 40px); font-family: var(--rm-font-mono); position: relative; overflow: hidden; box-shadow: 0 40px 80px -50px rgba(12,13,16,.8); }
.stream-head { display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(243,238,227,.66); padding-bottom: 18px; border-bottom: 1px solid rgba(243,238,227,.1); }
.stream-head b { color: var(--qx-signal); font-weight: 600; }
.stream ol { margin-top: 10px; }
.stream li { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px dashed rgba(243,238,227,.08); font-size: 14.5px; color: rgba(243,238,227,.66); transition: color .4s; }
.stream li .ar { color: rgba(243,238,227,.66); }
.stream li .val { color: inherit; }
.stream li.done { color: rgba(243,238,227,.82); }
.stream li.done .ar { color: var(--rm-champagne); }
.stream li.now { color: var(--rm-cream); }
.stream li.now .ar { color: var(--qx-signal); }
.stream li.now .val, .stream li.done .val.sig { color: var(--qx-signal); }
.stream li.done .val.gold { color: var(--rm-champagne); }
.stream-foot { margin-top: 16px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(243,238,227,.66); display: flex; justify-content: space-between; }

/* ---------- Dashboard (Quantix prototype) ---------- */
.qx-dash { background: #0A1A15; border: 1px solid rgba(94,209,194,.16); border-radius: 26px; color: var(--rm-cream); overflow: hidden; box-shadow: 0 60px 120px -60px rgba(10,26,21,.9); font-family: var(--rm-font-body); }
.qd-top { display: flex; align-items: center; gap: 22px; padding: 16px 22px; border-bottom: 1px solid rgba(243,238,227,.08); font-family: var(--rm-font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; flex-wrap: wrap; }
.qd-top .qd-brand { font-family: var(--rm-font-display); font-stretch: 125%; font-weight: 800; letter-spacing: .16em; font-size: 14px; }
.qd-top .on { color: var(--qx-signal); }
.qd-top .qd-sp { margin-left: auto; color: rgba(243,238,227,.66); }
.qd-body { display: grid; grid-template-columns: 1.1fr 1.5fr .9fr; min-height: 560px; }
.qd-col { border-right: 1px solid rgba(243,238,227,.08); padding: 20px; min-width: 0; }
.qd-col:last-child { border-right: 0; }
.qd-h { font-family: var(--rm-font-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--qx-signal); margin-bottom: 14px; display: flex; justify-content: space-between; }
.qd-h span { color: rgba(243,238,227,.66); }
.qd-feed { display: flex; flex-direction: column; }
.qd-row { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; text-align: left; padding: 11px 10px; margin: 0 -10px; border-radius: 10px; font-size: 14px; color: rgba(243,238,227,.85); transition: background .25s; width: calc(100% + 20px); }
.qd-row:hover { background: rgba(243,238,227,.04); }
.qd-row.sel { background: rgba(94,209,194,.09); }
.qd-row .q { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qd-row .cat { display: block; font-family: var(--rm-font-mono); font-size: 9.5px; letter-spacing: .16em; color: rgba(243,238,227,.66); text-transform: uppercase; margin-top: 2px; }
.qd-row .p { font-family: var(--rm-font-mono); font-size: 13px; color: rgba(243,238,227,.7); min-width: 38px; text-align: right; }
.qd-row .g { font-family: var(--rm-font-mono); font-size: 11px; padding: 3px 7px; border-radius: 6px; min-width: 44px; text-align: center; background: rgba(243,238,227,.06); color: rgba(243,238,227,.66); }
.qd-row .g.hot { background: rgba(94,209,194,.16); color: var(--qx-signal); }
.qd-row .g.neg { background: rgba(216,183,106,.14); color: var(--rm-champagne); }
.flash-up { animation: flashUp .9s; } .flash-dn { animation: flashDn .9s; }
@keyframes flashUp { 0% { color: var(--qx-signal); } 100% { color: rgba(243,238,227,.7); } }
@keyframes flashDn { 0% { color: var(--rm-champagne); } 100% { color: rgba(243,238,227,.7); } }
.qd-detail .dq { font-size: 19px; font-weight: 600; line-height: 1.3; margin-bottom: 4px; }
.qd-detail .dc { font-family: var(--rm-font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(243,238,227,.66); }
.qd-chart { position: relative; height: 300px; margin: 18px 0 10px; }
.qd-chart canvas { width: 100%; height: 100%; }
.qd-legend { display: flex; gap: 18px; font-family: var(--rm-font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(243,238,227,.66); }
.qd-legend i { display: inline-block; width: 14px; height: 2px; vertical-align: middle; margin-right: 8px; }
.qd-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.qd-kpi { background: rgba(243,238,227,.04); border-radius: 12px; padding: 12px; }
.qd-kpi small { display: block; font-family: var(--rm-font-mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(243,238,227,.66); }
.qd-kpi b { display: block; margin-top: 6px; font-family: var(--rm-font-mono); font-weight: 500; font-size: 20px; color: var(--rm-cream); }
.qd-kpi b.sig { color: var(--qx-signal); }
.qd-stages { display: flex; gap: 6px; margin-top: 18px; }
.qd-stages span { flex: 1; text-align: center; font-family: var(--rm-font-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; padding: 8px 0; border-radius: 8px; background: rgba(243,238,227,.04); color: rgba(243,238,227,.66); transition: all .4s; }
.qd-stages span.on { background: rgba(94,209,194,.16); color: var(--qx-signal); }
.qd-stages span.done { color: rgba(243,238,227,.7); }
.qd-big { margin-bottom: 14px; padding: 16px; border-radius: 14px; background: rgba(243,238,227,.04); }
.qd-big small { font-family: var(--rm-font-mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--qx-signal); }
.qd-big b { display: block; font-family: var(--rm-font-mono); font-weight: 500; font-size: 36px; line-height: 1.1; margin-top: 6px; }
.qd-big span { font-size: 13px; color: rgba(243,238,227,.66); }
.qd-log { font-family: var(--rm-font-mono); font-size: 11.5px; line-height: 1.5; color: rgba(243,238,227,.66); max-height: 190px; overflow: hidden; mask-image: linear-gradient(#000 70%, transparent); -webkit-mask-image: linear-gradient(#000 70%, transparent); }
.qd-log div { padding: 6px 0; border-bottom: 1px dashed rgba(243,238,227,.06); animation: logIn .5s var(--ease); }
.qd-log time { color: rgba(243,238,227,.66); margin-right: 8px; }
.qd-log em { font-style: normal; color: var(--qx-signal); }
@keyframes logIn { from { opacity: 0; transform: translateY(-6px); } }
.qd-note { padding: 14px 22px; border-top: 1px solid rgba(243,238,227,.08); font-family: var(--rm-font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(243,238,227,.66); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
@media (max-width: 1100px) { .qd-body { grid-template-columns: 1fr 1.4fr; } .qd-col:last-child { grid-column: 1 / -1; border-top: 1px solid rgba(243,238,227,.08); display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; } .qd-col:last-child .qd-logwrap { grid-column: 1 / -1; } }
@media (max-width: 760px) { .qd-body { grid-template-columns: 1fr; } .qd-col { border-right: 0; border-bottom: 1px solid rgba(243,238,227,.08); } .qd-col:last-child { grid-template-columns: 1fr; } .qd-kpis { grid-template-columns: 1fr 1fr; } .qd-stages span { font-size: 8px; letter-spacing: .04em; } .qd-top .qd-sp { margin-left: 0; } }

/* mini preview card (home) */
.mini-dash { background: #0A1A15; border-radius: 26px; padding: 24px; color: var(--rm-cream); box-shadow: 0 50px 100px -60px rgba(10,26,21,.9); }
.mini-dash .md-head { display: flex; justify-content: space-between; font-family: var(--rm-font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(243,238,227,.66); margin-bottom: 14px; }
.mini-dash .md-head b { color: var(--qx-signal); font-weight: 500; }

/* ---------- Market card (prediction markets) ---------- */
.market-card { background: var(--rm-white); border-radius: 24px; padding: clamp(24px, 3vw, 36px); border: 1px solid var(--rm-line); box-shadow: 0 40px 80px -60px rgba(15,46,37,.45); }
.market-card .mq { font-size: clamp(20px, 2vw, 25px); font-weight: 600; color: var(--rm-onyx); line-height: 1.3; margin: 12px 0 26px; }
.yn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.yn button { padding: 18px; border-radius: 16px; text-align: left; border: 1.5px solid var(--rm-line); transition: all .3s var(--ease); }
.yn button b { display: block; font-family: var(--rm-font-mono); font-size: 34px; font-weight: 500; color: var(--rm-emerald); margin-top: 4px; }
.yn button small { font-family: var(--rm-font-mono); font-size: 11px; letter-spacing: .2em; color: var(--ink-2); }
.yn button.yes { border-color: var(--qx-signal); background: var(--qx-signal-tint); }
.yn button.yes small { color: var(--qx-signal-deep); }
.market-card .mfoot { margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.prob-track { margin-top: 20px; height: 8px; border-radius: 8px; background: var(--rm-cream); overflow: hidden; }
.prob-track i { display: block; height: 100%; width: 63%; background: linear-gradient(90deg, var(--qx-signal-deep), var(--qx-signal)); transition: width .8s var(--ease); }

/* ---------- Quotes ---------- */
.quote-card { display: flex; flex-direction: column; height: 100%; }
.quote-card blockquote { margin: 0 0 28px; font-family: var(--rm-font-accent); font-style: italic; font-size: clamp(24px, 2.3vw, 31px); line-height: 1.22; color: var(--rm-emerald); }
.quote-card blockquote::before { content: "\201C"; display: block; font-size: 64px; line-height: .6; color: var(--rm-champagne); margin-bottom: 14px; font-style: normal; font-family: var(--rm-font-display); }
.bg-emerald .quote-card blockquote, .card--emerald blockquote { color: var(--rm-cream); }
.quote-card .who { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--rm-line); }
.bg-emerald .quote-card .who, .card--emerald .who { border-color: var(--emerald-line); }
.quote-card .who b { display: block; font-weight: 600; color: var(--rm-onyx); }
.bg-emerald .quote-card .who b, .card--emerald .who b { color: var(--rm-cream); }
.quote-card .who span { display: block; font-size: 14px; color: var(--ink-2); }
.bg-emerald .quote-card .who span, .card--emerald .who span { color: var(--cream-ink); }
.src { display: inline-flex; margin-top: 10px; font-family: var(--rm-font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--rm-antique-gold); border-bottom: 1px solid currentColor; }
.bg-emerald .src, .card--emerald .src, .bg-onyx .src { color: var(--rm-champagne); }
.quote-wide blockquote { font-size: clamp(30px, 3.6vw, 52px); }

/* timeline */
.timeline { position: relative; }
.timeline li { display: grid; grid-template-columns: 180px 1fr; gap: 32px; padding: 30px 0; border-top: 1px solid var(--rm-line); }
.timeline li:last-child { border-bottom: 1px solid var(--rm-line); }
.timeline .when { font-family: var(--rm-font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--rm-antique-gold); padding-top: 6px; }
.timeline h3 { font-family: var(--rm-font-display); font-weight: 740; font-stretch: 108%; font-size: clamp(20px, 2vw, 26px); color: var(--rm-emerald); line-height: 1.2; margin-bottom: 8px; }
.timeline p { color: var(--ink-2); margin: 0; }
@media (max-width: 700px) { .timeline li { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { border-radius: 28px; padding: clamp(28px, 3.4vw, 44px); background: var(--rm-white); border: 1px solid var(--rm-line); position: relative; overflow: hidden; display: flex; flex-direction: column; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.price-card:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -50px rgba(15,46,37,.45); }
.price-card--feature { background: var(--rm-emerald); color: var(--rm-cream); border-color: transparent; }
.price-card .tag { position: absolute; top: 24px; right: 24px; font-family: var(--rm-font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; background: var(--rm-champagne); color: var(--rm-emerald); }
.price-card .term { font-family: var(--rm-font-display); font-weight: 780; font-stretch: 112%; font-size: 28px; text-transform: uppercase; color: var(--rm-emerald); }
.price-card--feature .term { color: var(--rm-cream); }
.price-card .was { margin-top: 26px; font-family: var(--rm-font-mono); font-size: 16px; color: var(--ink-2); text-decoration: line-through; }
.price-card--feature .was { color: rgba(243,238,227,.66); }
.price-card .now { font-family: var(--rm-font-display); font-weight: 800; font-stretch: 112%; font-size: clamp(64px, 7vw, 92px); line-height: 1; color: var(--rm-emerald); display: flex; align-items: flex-start; gap: 4px; }
.price-card .now sup { font-size: .38em; margin-top: .25em; }
.price-card .now small { font-family: var(--rm-font-mono); font-weight: 400; font-size: 14px; letter-spacing: .1em; align-self: flex-end; margin-bottom: 12px; margin-left: 10px; color: var(--ink-2); }
.price-card--feature .now { color: var(--rm-champagne); }
.price-card--feature .now small { color: rgba(243,238,227,.66); }
.price-card ul { margin: 28px 0 32px; display: grid; gap: 12px; }
.price-card li { display: flex; gap: 12px; font-size: 15.5px; color: var(--ink-2); }
.price-card--feature li { color: var(--cream-ink); }
.price-card li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 8px; background: var(--rm-champagne); transform: rotate(45deg); }
.price-card .btn { margin-top: auto; }
.price-note { margin-top: 22px; font-family: var(--rm-font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); text-align: center; }

/* subscription picker */
.sub-picker { background: var(--rm-white); border-radius: 28px; padding: clamp(28px, 4vw, 52px); border: 1px solid var(--rm-line); }
.sub-amount { font-family: var(--rm-font-display); font-weight: 800; font-stretch: 112%; font-size: clamp(64px, 9vw, 132px); line-height: 1; color: var(--rm-emerald); letter-spacing: -.01em; }
.sub-amount small { font-family: var(--rm-font-mono); font-size: 16px; font-weight: 400; letter-spacing: .14em; color: var(--ink-2); margin-left: 14px; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; margin: 34px 0 18px; background: linear-gradient(90deg, var(--rm-champagne) var(--p, 0%), var(--rm-cream) var(--p, 0%)); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: var(--rm-emerald); border: 5px solid var(--rm-champagne); cursor: grab; box-shadow: 0 6px 16px rgba(15,46,37,.3); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--rm-emerald); border: 5px solid var(--rm-champagne); cursor: grab; }
.sub-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sub-chips button { font-family: var(--rm-font-mono); font-size: 13px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--rm-line); color: var(--rm-emerald); transition: all .25s; }
.sub-chips button:hover, .sub-chips button.on { background: var(--rm-emerald); color: var(--rm-cream); border-color: var(--rm-emerald); }
.sub-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--rm-line); }
.sub-facts div b { display: block; font-family: var(--rm-font-display); font-weight: 760; font-stretch: 112%; font-size: 20px; color: var(--rm-emerald); }
.sub-facts div span { font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 700px) { .sub-facts { grid-template-columns: 1fr; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 32px 26px 30px; border-radius: var(--rm-radius-card); background: var(--rm-white); border: 1px solid var(--rm-line); }
.bg-cream .step { border-color: transparent; }
.step .n { font-family: var(--rm-font-display); font-weight: 800; font-stretch: 112%; font-size: 64px; line-height: 1; color: var(--rm-champagne); }
.step h3 { font-family: var(--rm-font-display); font-weight: 760; font-stretch: 108%; font-size: 22px; line-height: 1.15; color: var(--rm-emerald); margin: 26px 0 10px; }
.step p { color: var(--ink-2); font-size: 15.5px; margin: 0; }
.step .connector { position: absolute; top: 58px; right: -20px; width: 20px; height: 1px; background: var(--rm-champagne); }
.step:last-child .connector { display: none; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } .step .connector { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- The idea / mark ---------- */
.idea-mark { position: relative; aspect-ratio: 1; border-radius: 30px; background: #08090B; border: 1px solid rgba(216,183,106,.18); display: grid; place-items: center; overflow: hidden; }
.idea-mark img { width: 52%; height: auto; position: relative; z-index: 1; }
.idea-mark::before { content: ""; position: absolute; inset: -30%; background: conic-gradient(from 0deg, transparent 0 70%, rgba(216,183,106,.25) 80%, transparent 90%); animation: spin 9s linear infinite; }
.idea-mark::after { content: ""; position: absolute; inset: 1px; border-radius: 29px; background: #08090B; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Manifesto ---------- */
.manifesto { font-family: var(--rm-font-display); font-weight: 700; font-stretch: 108%; font-size: clamp(30px, 4.2vw, 60px); line-height: 1.12; letter-spacing: -.012em; color: var(--rm-emerald); max-width: 18em; }
.manifesto .w { opacity: .14; transition: opacity .4s; }
.manifesto .w.on { opacity: 1; }
.manifesto em { font-family: var(--rm-font-accent); font-weight: 400; color: var(--rm-antique-gold); font-stretch: normal; }
.bg-emerald .manifesto { color: var(--rm-cream); }
.bg-emerald .manifesto em { color: var(--rm-champagne); }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(80px, 11vw, 150px) 0; position: relative; overflow: hidden; }
.cta-band .bg-mark { position: absolute; right: -3%; top: 50%; transform: translateY(-50%); width: min(38vw, 480px); opacity: .14; pointer-events: none; }
.cta-band .btn--outline { --fg: var(--rm-emerald); border-color: var(--rm-emerald); }
.cta-band .btn--outline:hover { --bg: var(--rm-emerald); --fg: var(--rm-cream); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rm-line); }
.faq details { border-bottom: 1px solid var(--rm-line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 56px 26px 0; position: relative; font-family: var(--rm-font-display); font-weight: 720; font-stretch: 106%; font-size: clamp(18px, 1.7vw, 22px); color: var(--rm-emerald); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--rm-line); display: grid; place-items: center; font-family: var(--rm-font-body); font-weight: 400; font-size: 20px; transition: transform .4s var(--ease), background .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--rm-champagne); border-color: var(--rm-champagne); }
.faq .ans { padding: 0 56px 26px 0; color: var(--ink-2); max-width: 46em; }

/* ---------- Notes / disclaimers ---------- */
.note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: 16px; background: var(--rm-cream); color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.note::before { content: "i"; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--rm-antique-gold); color: var(--rm-antique-gold); display: grid; place-items: center; font-family: var(--rm-font-accent); font-style: italic; font-size: 14px; margin-top: 1px; }
.bg-cream .note { background: var(--rm-white); }
.bg-emerald .note, .bg-onyx .note { background: rgba(243,238,227,.05); color: var(--cream-ink); }
.bg-emerald .note::before { border-color: var(--rm-champagne); color: var(--rm-champagne); }
.sources { margin-top: 40px; font-size: 13.5px; color: var(--ink-2); }
.sources ol { list-style: decimal; padding-left: 20px; display: grid; gap: 6px; }
.sources a { border-bottom: 1px solid var(--rm-line); }
.bg-emerald .sources { color: var(--cream-ink); }
.bg-emerald .sources a { border-color: var(--emerald-line); }

/* ---------- Legal pages ---------- */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--rm-font-display); font-weight: 760; font-stretch: 110%; font-size: clamp(22px, 2.2vw, 28px); color: var(--rm-emerald); margin: 48px 0 14px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { list-style: disc; padding-left: 22px; margin-bottom: 1em; }
.draft-flag { display: inline-flex; gap: 10px; align-items: center; padding: 10px 16px; border-radius: 999px; background: #F6EFDC; color: var(--rm-antique-gold); font-family: var(--rm-font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--rm-onyx); color: var(--rm-cream); padding: clamp(72px, 9vw, 120px) 0 40px; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(243,238,227,.1); }
.footer-brand img { width: 190px; }
.footer-brand p { margin-top: 24px; color: rgba(243,238,227,.66); max-width: 22em; font-size: 15px; }
.footer-col h4 { font-family: var(--rm-font-mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--rm-champagne); margin-bottom: 20px; }
.footer-col a { display: block; padding: 6px 0; color: rgba(243,238,227,.78); font-size: 15px; transition: color .25s; }
.footer-col a:hover { color: var(--rm-champagne); }
.footer-risk { padding: 36px 0; font-size: 13px; line-height: 1.65; color: rgba(243,238,227,.66); max-width: 980px; border-bottom: 1px solid rgba(243,238,227,.1); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-family: var(--rm-font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(243,238,227,.66); }
.footer-giant { font-family: var(--rm-font-display); font-weight: 800; font-stretch: 125%; font-size: clamp(60px, 15vw, 230px); line-height: .8; color: rgba(243,238,227,.66); letter-spacing: .02em; margin-top: 60px; white-space: nowrap; user-select: none; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Sign in / 404 ---------- */
.full-screen { min-height: 100svh; display: flex; align-items: center; background: var(--rm-emerald); color: var(--rm-cream); position: relative; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 60px; }
.full-screen .bg-mark { position: absolute; right: -6%; bottom: -10%; width: min(60vw, 720px); opacity: .07; }
.signin-card { max-width: 520px; background: var(--emerald-2); border: 1px solid var(--emerald-line); border-radius: 28px; padding: clamp(28px, 4vw, 48px); position: relative; z-index: 1; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 16px; } .mt-2 { margin-top: 32px; } .mt-3 { margin-top: 56px; } .mt-4 { margin-top: 88px; }
.mb-0 { margin-bottom: 0 !important; }
.maxw-sm { max-width: 560px; } .maxw-md { max-width: 720px; }
.divider { height: 1px; background: var(--rm-line); margin: 0; border: 0; }
.ital { font-family: var(--rm-font-accent); font-style: italic; font-weight: 400; }
.sig { color: var(--qx-signal-deep); }
.bg-emerald .sig, .bg-onyx .sig { color: var(--qx-signal); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .split .line-mask > span { opacity: 1 !important; transform: none !important; }
}

/* 5-up grid (Quantix loop) */
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1100px) { .grid-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .grid-5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .grid-5 { grid-template-columns: 1fr; } }

/* vertical pipeline */
.pipeline--v { grid-template-columns: 1fr; gap: 26px; }
.pipeline--v::before { left: 22px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
.pipeline--v .prog { display: none; }
.pipeline--v .pipe-step { display: grid; grid-template-columns: 45px 1fr; column-gap: 20px; }
.pipeline--v .pipe-step b { margin-top: 2px; font-size: 20px; }
.pipeline--v .pipe-step small { grid-column: 2; margin-top: 4px; }
@media (max-width: 520px) {
  .reading-card { top: 18px; left: 18px; width: 210px; padding: 14px 16px 12px; border-radius: 14px; }
  .reading-card .rc-title { font-size: 14.5px; margin: 6px 0 10px; }
  .reading-card .rc-val { font-size: 26px; }
}
@media (max-width: 520px) { .reading-card .label { letter-spacing: .08em; font-size: 9px; } }

/* ---------- Live data line ---------- */
.live-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 26px; padding: 12px 16px; border-radius: 14px; background: var(--rm-white); border: 1px solid var(--rm-line); font-size: 14.5px; color: var(--ink-2); }
.live-line[hidden] { display: none; }
.live-line span { font-family: var(--rm-font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--qx-signal-deep); }
.live-line b { font-family: var(--rm-font-mono); font-weight: 500; color: var(--rm-emerald); font-size: 15px; }
.live-line small { flex-basis: 100%; font-family: var(--rm-font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.live-line--dark { background: rgba(243,238,227,.05); border-color: var(--emerald-line); color: var(--cream-ink); margin-top: 32px; }
.live-line--dark span { color: var(--qx-signal); }
.live-line--dark b { color: var(--rm-cream); }
.live-line--dark small { color: rgba(243,238,227,.66); }
.mini-dash .md-foot { margin: 14px 0 0; }

/* ---------- While you live (24h dial) ---------- */
.watch { overflow: hidden; }
.watch-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 40px; border-top: 1px solid rgba(243,238,227,.12); }
.watch-stats > div { padding: 24px 20px 6px 0; }
.watch-stats > div + div { padding-left: 20px; border-left: 1px solid rgba(243,238,227,.12); }
.watch-stats b { display: block; font-family: var(--rm-font-display); font-weight: 780; font-stretch: 112%; font-size: clamp(34px, 3.8vw, 54px); line-height: 1; color: var(--rm-champagne); font-variant-numeric: tabular-nums; }
.watch-stats span { display: block; margin-top: 10px; font-size: 14.5px; color: var(--cream-ink); }
.watch-src { margin-top: 18px; }
.watch-dial { position: relative; width: 100%; max-width: 640px; aspect-ratio: 840 / 620; margin: 0 auto; }
.watch-dial svg { overflow: hidden; }
.watch-dial svg { width: 100%; height: 100%; overflow: visible; }
.dial-moment { cursor: pointer; }
.dial-moment circle { transition: r .3s var(--ease), fill .3s; }
.dial-moment:hover circle, .dial-moment.on circle { r: 9; fill: var(--rm-champagne); }
.dial-moment text { font-family: var(--rm-font-mono); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; fill: rgba(243,238,227,.62); transition: fill .3s; }
.dial-moment:hover text, .dial-moment.on text { fill: var(--rm-cream); }
.dial-hours text { font-family: var(--rm-font-mono); font-size: 14px; fill: rgba(243,238,227,.38); letter-spacing: .1em; }
.dial-flow { stroke-dasharray: 3 9; animation: dialflow 2.4s linear infinite; }
@keyframes dialflow { to { stroke-dashoffset: -48; } }
.dial-center-time { font-family: var(--rm-font-mono); font-size: 13px; letter-spacing: .2em; fill: var(--rm-champagne); }
.dial-center-big { font-family: var(--rm-font-display); font-weight: 800; font-stretch: 112%; font-size: 58px; fill: var(--rm-cream); }
.dial-center-sub { font-family: var(--rm-font-body); font-size: 15px; fill: rgba(243,238,227,.72); }
.dial-center-q { font-family: var(--rm-font-mono); font-size: 10.5px; letter-spacing: .2em; fill: var(--qx-signal); }
@media (max-width: 520px) { .watch-stats { grid-template-columns: 1fr; } .watch-stats > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(243,238,227,.12); } }
.watch .grid-2 { grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); }
@media (max-width: 960px) { .watch .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .watch-dial { aspect-ratio: 1; max-width: 420px; }
  .dial-moment text, .dial-hours text { display: none; }
  .dial-center { inset: 24%; }
  .dial-center .s { font-size: 12px; }
  .dial-center .q { display: none; }
  .watch-tip { display: block; }
}
.watch-tip { display: none; margin-top: 10px; text-align: center; font-family: var(--rm-font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(243,238,227,.66); }
.dial-center { position: absolute; inset: 27% 33%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; pointer-events: none; }
.dial-center .t { font-family: var(--rm-font-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--rm-champagne); }
.dial-center .b { font-family: var(--rm-font-display); font-weight: 800; font-stretch: 112%; font-size: clamp(22px, 2.6vw, 36px); line-height: 1; color: var(--rm-cream); margin: 10px 0 8px; }
.dial-center .s { font-size: clamp(12.5px, 1.2vw, 15px); line-height: 1.4; color: rgba(243,238,227,.72); max-width: 15em; }
.dial-center .q { margin-top: 12px; font-family: var(--rm-font-mono); font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--qx-signal); }
.dial-center .t, .dial-center .b, .dial-center .s { transition: opacity .3s; }
.dial-center.swap .t, .dial-center.swap .b, .dial-center.swap .s { opacity: 0; }

/* ---------- Quantix page: core caption, ticker, tabs, per-day ---------- */
.core-caption { margin-top: 40px; display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 10px 16px; border-radius: 999px; background: rgba(10,26,21,.55); border: 1px solid rgba(94,209,194,.22); font-family: var(--rm-font-mono); font-size: 11.5px; letter-spacing: .08em; color: rgba(243,238,227,.85); backdrop-filter: blur(6px); }
.core-caption span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticker-sec { padding-bottom: clamp(64px, 8vw, 110px); }
.ticker { display: grid; gap: 14px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-row { overflow: hidden; }
.ticker-track { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.ticker-row--rev .ticker-track { animation-direction: reverse; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tick { display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-radius: 18px; background: var(--rm-cream); border: 1px solid var(--rm-line); white-space: nowrap; }
.tick-cat { font-family: var(--rm-font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--rm-antique-gold); }
.tick-q { font-weight: 500; color: var(--rm-onyx); font-size: 16px; }
.tick-p { font-family: var(--rm-font-mono); font-weight: 500; font-size: 18px; color: var(--rm-emerald); }
.tick-d { font-family: var(--rm-font-mono); font-size: 11.5px; color: var(--ink-2); }
.tick-d.up { color: var(--qx-signal-deep); }
.tick-d.dn { color: var(--rm-antique-gold); }
.ticker-status { margin-top: 24px; }
.qd-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.qd-tabs button { font-family: var(--rm-font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; border: 1px solid rgba(243,238,227,.12); color: rgba(243,238,227,.65); transition: all .25s; }
.qd-tabs button:hover { color: var(--rm-cream); border-color: rgba(243,238,227,.3); }
.qd-tabs button.on { background: rgba(94,209,194,.16); border-color: rgba(94,209,194,.4); color: var(--qx-signal); }
.qd-more { width: 100%; margin-top: 12px; padding: 12px; border-radius: 12px; border: 1px solid rgba(243,238,227,.14); font-family: var(--rm-font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--rm-cream); }
.qd-more[hidden] { display: none; }
.per-day { margin-top: 8px; font-family: var(--rm-font-mono); font-size: 13px; letter-spacing: .06em; color: var(--rm-antique-gold); }
.price-card--feature .per-day { color: var(--rm-champagne); }
.portraits .h3 { font-size: clamp(22px, 2.1vw, 28px); line-height: 1.15; }
@media (max-width: 760px) { .tick { padding: 12px 16px; } .tick-q { font-size: 14.5px; } .core-caption { font-size: 10.5px; } }

/* ---------- How it works: hero convergence ---------- */
.how-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.converge { position: relative; min-height: 480px; border-radius: 30px; background: radial-gradient(70% 70% at 70% 50%, #17463a, var(--rm-emerald) 70%); overflow: hidden; box-shadow: 0 40px 90px -50px rgba(15,46,37,.7); }
.converge canvas { position: absolute; inset: 0; }
.cv-label { position: absolute; font-family: var(--rm-font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(243,238,227,.72); white-space: nowrap; pointer-events: none; }
.converge-core { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 12%; }
.cc-k { white-space: nowrap; font-family: var(--rm-font-mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--rm-champagne); }
.cc-v { font-family: var(--rm-font-mono); font-weight: 500; font-size: clamp(26px, 2.6vw, 36px); color: var(--rm-cream); margin: 6px 0 4px; }
.cc-q { font-size: 12px; line-height: 1.35; color: rgba(243,238,227,.7); }
@media (max-width: 960px) { .how-hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .converge { min-height: 400px; } .cv-label { font-size: 9.5px; letter-spacing: .06em; } .cc-q { font-size: 10.5px; } .converge-core { padding: 0 10%; } }

/* ---------- How it works: live gap explorer ---------- */
.gl-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.gl-nav { display: inline-flex; align-items: center; gap: 10px; font-family: var(--rm-font-mono); font-size: 12px; color: var(--ink-2); }
.gl-nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--rm-line); color: var(--rm-emerald); font-size: 16px; transition: all .25s; }
.gl-nav button:hover { background: var(--rm-emerald); color: var(--rm-cream); border-color: var(--rm-emerald); }
.gap-live .gap-q { min-height: 2.6em; }
.gl-rules { display: grid; gap: 10px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--rm-line); }
.gl-rule { display: flex; gap: 12px; align-items: flex-start; }
.gl-rule .ic { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; margin-top: 2px; border: 1px solid var(--rm-line); color: var(--ink-2); }
.gl-rule.pass .ic { background: var(--qx-signal-tint); border-color: var(--qx-signal); color: var(--qx-signal-deep); }
.gl-rule.pass .ic::before { content: "\2713"; }
.gl-rule.fail .ic { background: #F6EFDC; border-color: #E4D3A6; color: var(--rm-antique-gold); }
.gl-rule.fail .ic::before { content: "\2013"; }
.gl-rule b { display: block; font-weight: 600; color: var(--rm-onyx); font-size: 15.5px; }
.gl-rule small { display: block; font-family: var(--rm-font-mono); font-size: 11.5px; color: var(--ink-2); margin-top: 2px; }
.gl-verdict { margin-top: 22px; padding: 14px 18px; border-radius: 14px; font-family: var(--rm-font-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.gl-verdict.go { background: var(--rm-emerald); color: var(--rm-cream); }
.gl-verdict.wait { background: var(--rm-cream); color: var(--rm-antique-gold); }
.gl-foot { margin: 14px 0 0; font-size: 12.5px; color: var(--ink-2); }

.how-hero .display { font-size: clamp(40px, 5.4vw, 86px); }

/* ---------- Prediction Markets: live card, price move, categories, glossary ---------- */
.ml-spark { position: relative; height: 70px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rm-line); }
.ml-spark canvas { width: 100%; height: 100%; }
.ml-spark-l { position: absolute; top: 14px; left: 0; font-family: var(--rm-font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.market-card .label { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.move-card { margin-top: 28px; background: var(--rm-white); border-radius: 26px; padding: clamp(24px, 3vw, 40px); }
.mv-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; flex-wrap: wrap; }
.mv-q { font-family: var(--rm-font-display); font-weight: 740; font-stretch: 106%; font-size: clamp(20px, 2vw, 26px); line-height: 1.2; color: var(--rm-emerald); margin-top: 10px; max-width: 30em; }
.mv-delta { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.mv-delta b { font-family: var(--rm-font-mono); font-weight: 500; font-size: clamp(24px, 2.6vw, 34px); color: var(--rm-emerald); }
.mv-delta b:last-of-type { color: var(--qx-signal-deep); }
.mv-delta span { color: var(--rm-antique-gold); font-size: 22px; }
.mv-delta small { flex-basis: 100%; text-align: right; font-family: var(--rm-font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.mv-chart { height: 300px; margin-top: 18px; }
.mv-chart canvas { width: 100%; height: 100%; }
.mv-note { margin: 14px 0 0; font-size: 14px; color: var(--ink-2); max-width: 46em; }
.cat-live { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 18px !important; padding-top: 16px; border-top: 1px solid var(--rm-line); }
.cat-live[hidden] { display: none; }
.cl-tag { font-family: var(--rm-font-mono); font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--qx-signal-deep); }
.cl-q { flex: 1 1 60%; font-size: 14.5px; color: var(--rm-onyx); }
.cl-p { font-family: var(--rm-font-mono); font-weight: 500; font-size: 17px; color: var(--rm-emerald); }
.glossary .h3 { font-size: 21px; }
@media (max-width: 700px) { .mv-delta small { text-align: left; } .mv-chart { height: 240px; } }

.page-hero > .wrap { position: relative; z-index: 1; }

/* ---------- Prediction Markets: growth bars, 74% ring, dark ticker ---------- */
.growth { margin-bottom: clamp(48px, 6vw, 72px); padding: clamp(24px, 3vw, 40px); border-radius: 26px; background: var(--emerald-2); border: 1px solid var(--emerald-line); }
.gr-chart { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: clamp(16px, 4vw, 56px); height: 300px; }
.gr-col { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.gr-bar { width: 100%; height: 0; border-radius: 14px 14px 4px 4px; transition: height 1.6s var(--ease); }
.growth.is-in .gr-bar { height: var(--h); }
.gr-bar--a { background: rgba(243,238,227,.35); min-height: 0; }
.growth.is-in .gr-bar--a { min-height: 8px; }
.gr-bar--b { background: linear-gradient(180deg, var(--rm-champagne), #b8954a); transition-delay: .25s; }
.gr-col b { margin-top: 16px; font-family: var(--rm-font-display); font-weight: 780; font-stretch: 112%; font-size: clamp(26px, 3vw, 40px); color: var(--rm-cream); line-height: 1; }
.gr-col span { margin-top: 6px; font-family: var(--rm-font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(243,238,227,.66); }
.gr-mult { align-self: center; text-align: center; }
.gr-mult b { display: block; font-family: var(--rm-font-display); font-weight: 800; font-stretch: 112%; font-size: clamp(48px, 6vw, 88px); line-height: 1; color: var(--rm-champagne); }
.gr-mult span { font-family: var(--rm-font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(243,238,227,.66); }
.gr-src { margin: 20px 0 0; font-family: var(--rm-font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(243,238,227,.66); }
.gr-src a { border-bottom: 1px solid currentColor; }
@media (max-width: 600px) {
  .gr-chart { grid-template-columns: 1fr 1fr; grid-template-areas: "m m" "a b"; height: auto; gap: 18px 16px; }
  .gr-col { height: 220px; }
  .gr-col:first-child { grid-area: a; } .gr-col:last-child { grid-area: b; } .gr-mult { grid-area: m; text-align: left; }
  .gr-mult b { font-size: 52px; } .gr-col span { font-size: 9.5px; letter-spacing: .08em; }
}
.ring74 { position: relative; width: min(280px, 80%); aspect-ratio: 1; margin-top: 36px; }
.ring74 svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring74 circle { fill: none; stroke-width: 12; }
.ring74 .r-bg { stroke: var(--rm-cream); }
.ring74 .r-fg { stroke: var(--qx-signal-deep); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2s var(--ease) .2s; }
.ring74.is-in .r-fg { stroke-dashoffset: 26; }
.r-txt { position: absolute; inset: 18%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.r-txt b { font-family: var(--rm-font-display); font-weight: 800; font-stretch: 112%; font-size: clamp(44px, 5vw, 64px); line-height: 1; color: var(--rm-emerald); }
.r-txt span { margin-top: 8px; font-size: 12.5px; line-height: 1.35; color: var(--ink-2); }
.pm-close .ticker { margin-top: clamp(40px, 5vw, 64px); }
.ticker--dark .tick { background: rgba(243,238,227,.05); border-color: rgba(243,238,227,.1); }
.ticker--dark .tick-cat { color: var(--rm-champagne); }
.ticker--dark .tick-q { color: var(--rm-cream); }
.ticker--dark .tick-p { color: var(--qx-signal); }
.ticker--dark .tick-d { color: rgba(243,238,227,.66); }
.ticker--dark .tick-d.up { color: var(--qx-signal); }
.ticker--dark .tick-d.dn { color: var(--rm-champagne); }

.quote-wide { height: auto; align-self: center; }

/* =========== Prediction Markets — editorial redesign =========== */
.pm-hero { min-height: min(860px, 100svh); display: flex; align-items: center; background: radial-gradient(90% 80% at 80% 40%, #17463a, var(--rm-emerald) 65%); }
.pm-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pm-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: center; width: 100%; }
.pm-hero-note { margin-top: 26px; font-family: var(--rm-font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(243,238,227,.66); }
.board { position: relative; border-radius: 28px; padding: clamp(24px, 3vw, 36px); background: rgba(10,26,21,.62); border: 1px solid rgba(216,183,106,.22); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 50px 100px -50px rgba(0,0,0,.7); color: var(--rm-cream); }
.board-top { display: flex; justify-content: space-between; gap: 12px; }
.board-top .label { color: rgba(243,238,227,.66); display: inline-flex; align-items: center; gap: 4px; }
.board-q { font-family: var(--rm-font-display); font-weight: 720; font-stretch: 104%; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.22; margin: 16px 0 24px; min-height: 2.4em; }
.board-yn { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.board-yn button { text-align: left; padding: 18px 20px; border-radius: 18px; border: 1px solid rgba(243,238,227,.14); transition: all .35s var(--ease); }
.board-yn small { font-family: var(--rm-font-mono); font-size: 11px; letter-spacing: .22em; color: rgba(243,238,227,.66); }
.board-yn b { display: block; font-family: var(--rm-font-mono); font-weight: 500; font-size: clamp(44px, 5vw, 76px); line-height: 1; margin-top: 8px; color: rgba(243,238,227,.66); transition: color .35s; }
.board-yn button.yes { background: rgba(216,183,106,.12); border-color: rgba(216,183,106,.55); }
.board-yn button.yes small { color: var(--rm-champagne); }
.board-yn button.yes b { color: var(--rm-champagne); }
.board-track { height: 6px; border-radius: 6px; margin-top: 20px; background: rgba(243,238,227,.1); overflow: hidden; }
.board-track i { display: block; height: 100%; background: linear-gradient(90deg, #b8954a, var(--rm-champagne)); border-radius: 6px; transition: width .8s var(--ease); }
.board-read { margin: 12px 0 0; font-size: 14px; color: rgba(243,238,227,.7); }
.board-spark { position: relative; height: 84px; margin-top: 18px; padding-top: 22px; border-top: 1px solid rgba(243,238,227,.1); }
.board-spark canvas { width: 100%; height: 100%; }
.board-spark span { position: absolute; top: 14px; left: 0; font-family: var(--rm-font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(243,238,227,.66); }
@media (max-width: 960px) { .pm-hero-grid { grid-template-columns: 1fr; } .pm-hero { min-height: 0; } }

/* flow (no boxes) */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 44px); counter-reset: f; position: relative; }
.flow::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 1px; background: linear-gradient(90deg, var(--rm-champagne), rgba(216,183,106,.15)); }
.flow li { position: relative; }
.flow-n { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--rm-cream); border: 1px solid var(--rm-champagne); font-family: var(--rm-font-display); font-weight: 800; font-stretch: 112%; font-size: 22px; color: var(--rm-emerald); position: relative; z-index: 1; }
.flow h3 { font-family: var(--rm-font-display); font-weight: 760; font-stretch: 108%; font-size: 22px; color: var(--rm-emerald); margin: 22px 0 8px; }
.flow p { color: var(--ink-2); font-size: 15.5px; margin: 0; max-width: 22em; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr 1fr; row-gap: 36px; } .flow::before { display: none; } }
@media (max-width: 480px) { .flow { grid-template-columns: 1fr; } }

/* price move: open, larger */
.move { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(36px, 4vw, 56px); border-top: 1px solid rgba(140,109,46,.25); }
.move .mv-q { font-size: clamp(24px, 2.6vw, 36px); }
.move .mv-chart { height: clamp(260px, 32vw, 400px); margin-top: 26px; }

/* lexicon (dictionary) */
.lexicon { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 5vw, 80px); margin: 0; }
.lexicon > div { padding: 30px 0; border-top: 1px solid rgba(243,238,227,.12); }
.lexicon dt { font-family: var(--rm-font-accent); font-style: italic; font-size: clamp(34px, 3.4vw, 50px); line-height: 1.05; color: var(--rm-champagne); display: flex; align-items: baseline; gap: 16px; }
.lx-n { font-family: var(--rm-font-mono); font-style: normal; font-size: 12px; letter-spacing: .14em; color: rgba(243,238,227,.66); min-width: 2.4em; }
.lexicon dd { margin: 14px 0 0 calc(2.4em + 16px); color: var(--cream-ink); font-size: 16.5px; max-width: 30em; }
@media (max-width: 760px) { .lexicon { grid-template-columns: 1fr; } .lexicon dd { margin-left: 0; } }

/* bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(240px, auto); gap: 16px; }
.tile { position: relative; border-radius: 26px; padding: 26px; background: var(--rm-white); border: 1px solid var(--rm-line); display: flex; flex-direction: column; overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.tile:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(15,46,37,.35); }
.tile--hero { grid-column: span 2; grid-row: span 2; background: var(--rm-emerald); color: var(--rm-cream); border-color: transparent; padding: clamp(28px, 3vw, 44px); }
.tile--cream { background: var(--rm-cream); border-color: transparent; }
.tile--champagne { background: var(--rm-champagne); border-color: transparent; }
.tile-k { font-family: var(--rm-font-display); font-weight: 760; font-stretch: 108%; font-size: 22px; color: var(--rm-emerald); line-height: 1.15; }
.tile--hero .tile-k { font-size: clamp(30px, 3vw, 44px); color: var(--rm-cream); }
.tile-d { margin: 6px 0 0; font-size: 14.5px; color: var(--ink-2); }
.tile--hero .tile-d { color: var(--cream-ink); font-size: 16px; }
.tile--champagne .tile-d { color: rgba(15,46,37,.75); }
.tile-live { margin-top: auto; padding-top: 22px; display: flex; flex-direction: column; gap: 6px; }
.tl-t { font-family: var(--rm-font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--qx-signal-deep); display: inline-flex; align-items: center; gap: 2px; }
.tile--hero .tl-t { color: var(--qx-signal); }
.tile--champagne .tl-t { color: var(--rm-emerald); }
.tl-p { font-family: var(--rm-font-mono); font-weight: 500; font-size: clamp(38px, 3.6vw, 52px); line-height: 1; color: var(--rm-emerald); }
.tile--hero .tl-p { font-size: clamp(72px, 9vw, 128px); color: var(--rm-champagne); }
.tl-q { font-size: 14.5px; line-height: 1.4; color: var(--rm-onyx); }
.tile--hero .tl-q { font-size: clamp(17px, 1.6vw, 21px); color: var(--rm-cream); max-width: 24em; }
@media (max-width: 960px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .tile--hero { grid-column: auto; grid-row: auto; } }

/* scale */
.scale-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.scale-grid .growth { margin: 0; }
.scale-stats { display: grid; gap: 0; }
.ss { padding: 22px 0; border-top: 1px solid var(--emerald-line); }
.ss:first-child { border-top: 0; padding-top: 6px; }
.ss b { display: block; font-family: var(--rm-font-display); font-weight: 780; font-stretch: 112%; font-size: clamp(40px, 4.2vw, 60px); line-height: 1; color: var(--rm-champagne); }
.ss p { margin: 10px 0 6px; color: var(--cream-ink); font-size: 15px; }
.ss a { font-family: var(--rm-font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(243,238,227,.66); border-bottom: 1px solid currentColor; }
@media (max-width: 960px) { .scale-grid { grid-template-columns: 1fr; } }

/* research */
.research .ring74 { margin: 40px auto 0; width: min(300px, 70%); }
.research .r-txt span { font-family: var(--rm-font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.research .ring74 .r-bg { stroke: rgba(15,46,37,.08); }
.research-q { margin: 36px auto 0; max-width: 860px; }
.research-q blockquote { margin: 0; font-family: var(--rm-font-accent); font-style: italic; font-size: clamp(30px, 3.8vw, 54px); line-height: 1.12; color: var(--rm-emerald); }
.research-q figcaption { margin-top: 20px; font-size: 13.5px; color: var(--ink-2); }
.research-q figcaption a { color: var(--rm-antique-gold); border-bottom: 1px solid currentColor; }
.research .lead { margin: 30px auto 0; }
.pm-reg { margin: 44px auto 0; max-width: 760px; font-size: 13px; line-height: 1.6; color: rgba(243,238,227,.66); }
@media (max-width: 520px) { .board-top .label:last-child { display: none; } }

/* =========== Perspectives — editorial =========== */
.pv-hero { min-height: min(820px, 100svh); display: flex; align-items: center; background: radial-gradient(80% 80% at 85% 30%, #17463a, var(--rm-emerald) 65%); }
.pv-glyph { position: absolute; right: -2%; top: -12%; font-family: var(--rm-font-accent); font-style: italic; font-size: clamp(420px, 60vw, 900px); line-height: 1; color: rgba(216,183,106,.07); pointer-events: none; user-select: none; }
.pv-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; width: 100%; }
.rotator { position: relative; min-height: 340px; padding: clamp(28px, 3.4vw, 44px); border-left: 1px solid rgba(216,183,106,.4); }
.rq { position: absolute; inset: clamp(28px, 3.4vw, 44px); margin: 0; opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .9s var(--ease); pointer-events: none; }
.rq.on { opacity: 1; transform: none; position: relative; inset: auto; pointer-events: auto; }
.rq blockquote { margin: 0; font-family: var(--rm-font-accent); font-style: italic; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.14; color: var(--rm-cream); }
.rq figcaption { margin-top: 26px; }
.rq figcaption b { display: block; font-weight: 600; color: var(--rm-champagne); }
.rq figcaption span { font-family: var(--rm-font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(243,238,227,.66); }
.rq-dots { display: flex; gap: 8px; margin-top: 30px; }
.rq-dots button { width: 28px; height: 3px; border-radius: 3px; background: rgba(243,238,227,.2); transition: background .3s, width .3s; }
.rq-dots button.on { width: 48px; background: var(--rm-champagne); }
@media (max-width: 960px) { .pv-hero-grid { grid-template-columns: 1fr; } .pv-hero { min-height: 0; } .rotator { min-height: 300px; } }

.feature-q { margin: 0 0 clamp(48px, 6vw, 80px); padding: clamp(28px, 4vw, 60px) 0; border-top: 1px solid rgba(140,109,46,.3); border-bottom: 1px solid rgba(140,109,46,.3); display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: end; }
.feature-q blockquote { margin: 0; font-family: var(--rm-font-accent); font-style: italic; font-size: clamp(32px, 4vw, 60px); line-height: 1.1; color: var(--rm-emerald); text-indent: -.4em; }
.feature-q blockquote::before { content: "\201C"; color: var(--rm-champagne); }
.fq-name { display: block; font-family: var(--rm-font-display); font-weight: 760; font-stretch: 108%; font-size: 24px; color: var(--rm-emerald); }
.fq-role { display: block; margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 860px) { .feature-q { grid-template-columns: 1fr; } }
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3.4vw, 52px); }
.voices figure { margin: 0; padding-top: 24px; border-top: 2px solid var(--rm-champagne); display: flex; flex-direction: column; }
.voices blockquote { margin: 0 0 22px; font-family: var(--rm-font-accent); font-style: italic; font-size: clamp(22px, 1.9vw, 28px); line-height: 1.25; color: var(--rm-emerald); }
.voices figcaption { margin-top: auto; }
.voices figcaption b { display: block; font-weight: 600; color: var(--rm-onyx); }
.voices figcaption span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 860px) { .voices { grid-template-columns: 1fr; } }

.milestones { position: relative; display: grid; gap: 0; }
.milestones li { display: grid; grid-template-columns: 120px minmax(150px, .7fr) minmax(0, 2fr); gap: clamp(16px, 3vw, 44px); align-items: baseline; padding: clamp(24px, 3vw, 36px) 0; border-top: 1px solid var(--emerald-line); }
.milestones li:last-child { border-bottom: 1px solid var(--emerald-line); }
.ms-when { font-family: var(--rm-font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(243,238,227,.66); }
.ms-fig { font-family: var(--rm-font-display); font-weight: 800; font-stretch: 112%; font-size: clamp(44px, 5vw, 76px); line-height: .95; color: var(--rm-champagne); }
.milestones h3 { font-family: var(--rm-font-display); font-weight: 740; font-stretch: 106%; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.2; color: var(--rm-cream); margin-bottom: 8px; }
.milestones p { color: var(--cream-ink); margin: 0 0 8px; font-size: 15.5px; max-width: 40em; }
.milestones li:hover .ms-fig { color: #e9cd8b; }
@media (max-width: 760px) { .milestones li { grid-template-columns: 1fr; gap: 8px; } }

.evidence { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); }
.evidence figure { margin: 0; padding: clamp(28px, 3.4vw, 48px); border-radius: 28px; background: var(--rm-cream); }
.evidence figure:last-child { background: var(--rm-emerald); }
.ev-fig { display: block; font-family: var(--rm-font-display); font-weight: 800; font-stretch: 112%; font-size: clamp(72px, 9vw, 132px); line-height: .9; color: var(--rm-emerald); }
.ev-fig small { font-size: .32em; font-weight: 700; letter-spacing: .02em; }
.evidence figure:last-child .ev-fig { color: var(--rm-champagne); }
.evidence blockquote { margin: 22px 0 18px; font-family: var(--rm-font-accent); font-style: italic; font-size: clamp(22px, 2vw, 28px); line-height: 1.25; color: var(--rm-emerald); }
.evidence figure:last-child blockquote { color: var(--rm-cream); }
.evidence figcaption { font-size: 13.5px; color: var(--ink-2); }
.evidence figure:last-child figcaption { color: var(--cream-ink); }
.evidence figure:last-child .src { color: var(--rm-champagne); }
@media (max-width: 860px) { .evidence { grid-template-columns: 1fr; } }
.pv-note { margin: clamp(40px, 5vw, 64px) 0 0; font-size: 13px; color: var(--ink-2); max-width: 62em; }
.ev-fig { white-space: nowrap; }

/* =========== Participate — editorial =========== */
.pt-hero { min-height: min(820px, 100svh); display: flex; align-items: center; background: radial-gradient(80% 80% at 80% 40%, #17463a, var(--rm-emerald) 65%); }
.pt-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; width: 100%; }
.journey { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; margin-left: auto; }
.journey svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.j-path-bg { fill: none; stroke: rgba(243,238,227,.1); stroke-width: 2; }
.j-path { fill: none; stroke: url(#jg); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2.4s var(--ease) .3s; }
.journey.is-in .j-path { stroke-dashoffset: 0; }
.j-node { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 14px; opacity: 0; transition: opacity .6s var(--ease); }
.journey.is-in .j-node { opacity: 1; }
.journey.is-in .j-node:nth-of-type(1) { transition-delay: .4s; } .journey.is-in .j-node:nth-of-type(2) { transition-delay: 1s; } .journey.is-in .j-node:nth-of-type(3) { transition-delay: 1.6s; } .journey.is-in .j-node:nth-of-type(4) { transition-delay: 2.2s; }
.j-dot { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--rm-emerald); border: 1.5px solid var(--rm-champagne); font-family: var(--rm-font-mono); font-size: 13px; color: var(--rm-champagne); box-shadow: 0 0 0 8px rgba(216,183,106,.08); transition: transform .4s var(--ease), background .3s; }
.j-node:hover .j-dot { transform: scale(1.08); background: #17463a; }
.j-node--crown .j-dot { width: 68px; height: 68px; background: var(--rm-champagne); }
.j-node--crown .j-dot img { width: 22px; height: auto; }
.j-lab { display: flex; flex-direction: column; white-space: nowrap; }
.j-lab b { font-family: var(--rm-font-display); font-weight: 740; font-stretch: 106%; font-size: 16px; color: var(--rm-cream); }
.j-lab small { font-family: var(--rm-font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(243,238,227,.66); margin-top: 2px; }
.j-node:nth-of-type(1) { transform: translate(-26px, -50%); }
.j-node:nth-of-type(2), .j-node:nth-of-type(3) { transform: translate(-26px, -50%); }
.j-node--crown { flex-direction: row-reverse; transform: translate(calc(-100% + 34px), -50%) !important; text-align: right; }
.j-node--crown .j-lab { align-items: flex-end; }
@media (max-width: 960px) { .pt-hero-grid { grid-template-columns: 1fr; } .pt-hero { min-height: 0; } .journey { margin: 0 auto; max-width: 440px; } }
@media (max-width: 480px) { .j-lab b { font-size: 13px; } .j-lab small { font-size: 9px; } .j-dot { width: 40px; height: 40px; font-size: 11px; } .j-node--crown .j-dot { width: 52px; height: 52px; } .j-node:nth-of-type(1), .j-node:nth-of-type(2), .j-node:nth-of-type(3) { transform: translate(-20px, -50%); } }

.path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(140,109,46,.3); }
.path li { display: flex; flex-direction: column; gap: 18px; padding: 30px clamp(16px, 2vw, 28px) 10px 0; border-right: 1px solid rgba(140,109,46,.2); }
.path li + li { padding-left: clamp(16px, 2vw, 28px); }
.path li:last-child { border-right: 0; }
.path-n { font-family: var(--rm-font-display); font-weight: 800; font-stretch: 112%; font-size: clamp(56px, 6vw, 88px); line-height: .9; color: var(--rm-champagne); }
.path h3 { font-family: var(--rm-font-display); font-weight: 760; font-stretch: 108%; font-size: 22px; color: var(--rm-emerald); margin-bottom: 8px; }
.path p { color: var(--ink-2); font-size: 15.5px; margin-bottom: 16px; }
.path .link-arrow { font-size: 14.5px; }
@media (max-width: 900px) { .path { grid-template-columns: 1fr 1fr; } .path li:nth-child(2) { border-right: 0; } .path li:nth-child(3) { padding-left: 0; } .path li:nth-child(n+3) { border-top: 1px solid rgba(140,109,46,.2); } }
@media (max-width: 520px) { .path { grid-template-columns: 1fr; } .path li, .path li + li { padding-left: 0; border-right: 0; border-top: 1px solid rgba(140,109,46,.2); } }

.sub-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.sub-rules { display: grid; gap: 0; margin-top: 32px; }
.sub-rules li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--emerald-line); }
.sub-rules b { font-family: var(--rm-font-display); font-weight: 760; font-stretch: 108%; font-size: 18px; color: var(--rm-champagne); min-width: 7.5em; }
.sub-rules span { color: var(--cream-ink); font-size: 15px; }
.sub-panel { border-radius: 30px; padding: clamp(28px, 4vw, 52px); background: var(--emerald-2); border: 1px solid rgba(216,183,106,.25); box-shadow: 0 50px 100px -60px rgba(0,0,0,.7); }
.sub-panel .label { color: rgba(243,238,227,.66); }
.sub-panel .sub-amount { color: var(--rm-champagne); font-size: clamp(64px, 8.4vw, 124px); }
.sub-panel .sub-amount small { color: rgba(243,238,227,.66); }
.sub-panel .range { background: linear-gradient(90deg, var(--rm-champagne) var(--p, 0%), rgba(243,238,227,.14) var(--p, 0%)); margin: 30px 0 10px; }
.sub-panel .range::-webkit-slider-thumb { background: var(--rm-champagne); border-color: var(--rm-emerald); box-shadow: 0 0 0 6px rgba(216,183,106,.18); }
.sub-panel .range::-moz-range-thumb { background: var(--rm-champagne); border-color: var(--rm-emerald); }
.sub-scale { display: flex; justify-content: space-between; font-family: var(--rm-font-mono); font-size: 10.5px; letter-spacing: .12em; color: rgba(243,238,227,.66); margin-bottom: 22px; }
.sub-panel .sub-chips button { color: var(--rm-cream); border-color: rgba(243,238,227,.16); }
.sub-panel .sub-chips button:hover, .sub-panel .sub-chips button.on { background: var(--rm-champagne); color: var(--rm-emerald); border-color: var(--rm-champagne); }
.sub-fine { margin: 14px 0 0; text-align: center; font-family: var(--rm-font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(243,238,227,.66); }
@media (max-width: 900px) { .sub-grid { grid-template-columns: 1fr; } }

.deploy-viz { position: relative; width: min(460px, 100%); aspect-ratio: 1; margin: 0 auto; }
.dv-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(216,183,106,.25); }
.dv-ring--1 { inset: 26%; border-color: rgba(94,209,194,.5); box-shadow: 0 0 60px rgba(94,209,194,.15) inset; }
.dv-ring--2 { inset: 13%; border-style: dashed; animation: spin 40s linear infinite; }
.dv-ring--3 { inset: 0; border-color: rgba(243,238,227,.08); }
.dv-core { position: absolute; inset: 34%; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: radial-gradient(circle, #17463a, #0c241d); }
.dv-core img { width: 30%; height: auto; }
.dv-core span { font-family: var(--rm-font-mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(243,238,227,.66); }
.dv-tag { position: absolute; left: 50%; top: 50%; transform: rotate(var(--a)) translateX(calc(min(460px, 100vw) * .37)) rotate(calc(-1 * var(--a))) translate(-50%, -50%); font-family: var(--rm-font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--rm-champagne); background: var(--rm-onyx); padding: 6px 12px; border: 1px solid rgba(216,183,106,.35); border-radius: 999px; white-space: nowrap; }
.pt-note { margin-top: 26px; font-size: 14px; color: var(--ink-2); max-width: 30em; }
.pt-hero .display { font-size: clamp(38px, 4.8vw, 78px); }
@media (max-width: 600px) {
  .j-node:nth-of-type(3) { flex-direction: row-reverse; transform: translate(calc(-100% + 20px), -50%) !important; text-align: right; }
  .j-node:nth-of-type(3) .j-lab { align-items: flex-end; }
}

/* =========== About — editorial =========== */
.ab-hero { min-height: min(860px, 100svh); display: flex; align-items: center; background: radial-gradient(70% 80% at 80% 50%, #17463a, var(--rm-emerald) 65%); }
.ab-crown { position: absolute; right: 0; top: 0; bottom: 0; width: 56%; }
.ab-crown canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.ab-crown .panel-fallback { position: absolute; right: 6%; bottom: 8%; width: 60%; opacity: .9; }
.ab-crown.has-3d .panel-fallback { display: none; }
.ab-hero .wrap { position: relative; z-index: 2; pointer-events: none; }
.ab-hero-copy { max-width: 560px; }
@media (max-width: 860px) { .ab-crown { width: 100%; opacity: .22; } }

.ab-manifesto .manifesto { font-size: clamp(34px, 5vw, 76px); max-width: 16em; }

.construct { position: relative; width: min(420px, 90%); aspect-ratio: 84 / 112; margin: 0 auto; }
.construct-guides, .construct-mark { position: absolute; inset: 0; width: 100%; height: 100%; }
.construct-guides { overflow: visible; }
.construct-mark { object-fit: contain; }
.cg { position: absolute; font-family: var(--rm-font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--rm-champagne); white-space: nowrap; background: var(--rm-onyx); padding: 4px 8px; border: 1px solid rgba(216,183,106,.35); border-radius: 999px; }
.cg--1 { left: -6%; bottom: 6%; } .cg--2 { left: 38%; top: -5%; } .cg--3 { right: -12%; top: 30%; }
@media (max-width: 520px) { .cg--3 { right: -2%; } .cg--1 { left: 0; } }

.values { display: grid; gap: 0; border-top: 1px solid var(--rm-line); }
.values li { display: grid; grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1fr); align-items: baseline; gap: 20px; padding: clamp(18px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--rm-line); transition: background .4s; }
.values li:hover { background: linear-gradient(90deg, transparent, rgba(216,183,106,.08), transparent); }
.v-n { font-family: var(--rm-font-mono); font-size: 12px; letter-spacing: .16em; color: var(--rm-antique-gold); }
.values b { font-family: var(--rm-font-display); font-weight: 800; font-stretch: 112%; font-size: clamp(40px, 6vw, 92px); line-height: 1; text-transform: uppercase; color: var(--rm-emerald); }
.values em { font-family: var(--rm-font-accent); font-size: clamp(22px, 2.4vw, 34px); color: var(--rm-antique-gold); text-align: right; }
@media (max-width: 760px) { .values li { grid-template-columns: 1fr; gap: 6px; } .values em { text-align: left; } }

.arch { display: flex; flex-direction: column; align-items: center; margin-top: clamp(40px, 5vw, 64px); }
.arch-lockup { width: min(320px, 80%); }
.arch-line { width: 1px; height: 70px; background: linear-gradient(var(--rm-champagne), rgba(216,183,106,.2)); margin: 26px 0; }
.arch-node { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 28px 44px; border-radius: 24px; border: 1px solid rgba(94,209,194,.35); background: rgba(10,26,21,.4); transition: transform .5s var(--ease), border-color .3s; }
.arch-node:hover { transform: translateY(-4px); border-color: var(--qx-signal); }
.arch-node .qx-wordmark { align-items: center; }
.arch-sub { font-family: var(--rm-font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--qx-signal); }
.ab-mail { margin-top: 26px; font-family: var(--rm-font-mono); font-size: clamp(18px, 2vw, 26px); letter-spacing: .04em; color: var(--rm-emerald); user-select: all; }

/* About: who we are + how we operate */
.who-points { display: grid; margin-top: 32px; }
.who-points li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; padding: 16px 0; border-top: 1px solid rgba(243,238,227,.1); align-items: baseline; }
.who-points b { font-family: var(--rm-font-display); font-weight: 740; font-stretch: 106%; font-size: 18px; color: var(--rm-champagne); }
.who-points span { color: var(--cream-ink); font-size: 15px; }
@media (max-width: 560px) { .who-points li { grid-template-columns: 1fr; gap: 4px; } }
.globe { position: relative; width: min(520px, 100%); aspect-ratio: 1; margin: 0 auto; }
.globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ops { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(140,109,46,.3); }
.op { padding: 30px clamp(16px, 2vw, 28px) 10px 0; border-right: 1px solid rgba(140,109,46,.2); }
.op + .op { padding-left: clamp(16px, 2vw, 28px); }
.op:last-child { border-right: 0; }
.op-n { font-family: var(--rm-font-mono); font-size: 12px; letter-spacing: .16em; color: var(--rm-antique-gold); }
.op h3 { font-family: var(--rm-font-display); font-weight: 780; font-stretch: 110%; font-size: clamp(24px, 2.4vw, 32px); color: var(--rm-emerald); margin: 18px 0 12px; }
.op p { color: var(--ink-2); font-size: 15.5px; }
@media (max-width: 900px) { .ops { grid-template-columns: 1fr 1fr; } .op:nth-child(2) { border-right: 0; } .op:nth-child(3) { padding-left: 0; } .op:nth-child(n+3) { border-top: 1px solid rgba(140,109,46,.2); } }
@media (max-width: 520px) { .ops { grid-template-columns: 1fr; } .op, .op + .op { padding-left: 0; border-right: 0; border-top: 1px solid rgba(140,109,46,.2); } }

/* ---------- Header: Join + Sign in ---------- */
.header-cta .btn { min-height: 42px; }
.btn--line { --bg: transparent; --fg: var(--rm-emerald); border-color: rgba(15,46,37,.35); }
.btn--line:hover { --bg: var(--rm-emerald); --fg: var(--rm-cream); border-color: var(--rm-emerald); }
body.header-dark .site-header:not(.is-scrolled) .btn--line { --fg: var(--rm-cream); border-color: rgba(243,238,227,.45); }
body.header-dark .site-header:not(.is-scrolled) .btn--line:hover { --bg: var(--rm-cream); --fg: var(--rm-emerald); }
.mm-ctas { margin-top: auto; display: grid; gap: 10px; }
.mm-ctas .btn { width: 100%; }
.mobile-menu .btn--outline { --fg: var(--rm-cream); border-color: rgba(243,238,227,.45); }

/* ---------- Launching soon panel ---------- */
.launch { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top)) 16px; visibility: hidden; pointer-events: none; }
.launch.is-open { visibility: visible; pointer-events: auto; }
.launch-backdrop { position: absolute; inset: 0; background: rgba(8,20,16,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transition: opacity .5s var(--ease); }
.launch.is-open .launch-backdrop { opacity: 1; }
.launch-panel { position: relative; width: min(560px, 100%); max-height: calc(100svh - 32px); overflow: auto; border-radius: 30px; padding: clamp(28px, 4vw, 48px); background: radial-gradient(120% 80% at 50% 0%, #17463a, var(--rm-emerald) 60%); border: 1px solid rgba(216,183,106,.3); box-shadow: 0 60px 120px -40px rgba(0,0,0,.8); color: var(--rm-cream); text-align: center; transform: translateY(30px) scale(.97); opacity: 0; transition: transform .7s var(--ease), opacity .5s var(--ease); }
.launch.is-open .launch-panel { transform: none; opacity: 1; }
.launch-x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(243,238,227,.25); }
.launch-x::before, .launch-x::after { content: ""; position: absolute; left: 11px; top: 19px; width: 16px; height: 1.5px; background: var(--rm-cream); transform: rotate(45deg); }
.launch-x::after { transform: rotate(-45deg); }
.launch-mark { position: relative; width: 96px; height: 96px; margin: 4px auto 22px; display: grid; place-items: center; }
.launch-mark img { width: 40px; height: auto; position: relative; z-index: 1; }
.lm-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(216,183,106,.55); animation: lmPulse 2.8s var(--ease) infinite; }
.lm-ring--2 { animation-delay: 1.4s; }
@keyframes lmPulse { 0% { transform: scale(.6); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.launch-eyebrow { justify-content: center; color: var(--qx-signal) !important; margin-bottom: 14px; }
.launch-title { font-family: var(--rm-font-display); font-weight: 780; font-stretch: 112%; text-transform: uppercase; font-size: clamp(34px, 5vw, 52px); line-height: .98; color: var(--rm-cream); }
.launch-title .accent { color: var(--rm-champagne); font-size: .8em; }
.launch-text { margin: 18px auto 0; max-width: 28em; color: var(--cream-ink); font-size: 16px; }
.launch-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 28px 0 0; text-align: left; counter-reset: ls; }
.launch-steps li { position: relative; padding: 14px 12px 12px; border-radius: 14px; background: rgba(243,238,227,.05); border: 1px solid rgba(243,238,227,.08); }
.launch-steps li::before { content: ""; display: block; width: 100%; height: 3px; border-radius: 3px; background: rgba(243,238,227,.12); margin-bottom: 12px; }
.launch-steps li.done::before { background: var(--rm-champagne); }
.launch-steps li.now::before { background: linear-gradient(90deg, var(--rm-champagne) 0 30%, rgba(243,238,227,.12) 30%); background-size: 200% 100%; animation: lsLoad 2.4s linear infinite; }
@keyframes lsLoad { 0% { background: linear-gradient(90deg, var(--qx-signal) 0%, rgba(243,238,227,.12) 0%); } 100% { background: linear-gradient(90deg, var(--qx-signal) 100%, rgba(243,238,227,.12) 100%); } }
.launch-steps b { display: block; font-size: 13.5px; font-weight: 600; color: var(--rm-cream); }
.launch-steps span { display: block; margin-top: 2px; font-family: var(--rm-font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(243,238,227,.66); }
.launch-steps li.now span { color: var(--qx-signal); }
.launch-ctas { display: grid; gap: 10px; margin-top: 28px; }
.launch-ctas .btn { width: 100%; }
.launch-ctas .btn--outline { --fg: var(--rm-cream); border-color: rgba(243,238,227,.4); }
.launch-ctas .btn--outline:hover { --bg: var(--rm-cream); --fg: var(--rm-emerald); }
.launch-fine { margin: 16px 0 0; font-size: 13px; color: rgba(243,238,227,.66); }
.launch-mail { font-family: var(--rm-font-mono); color: var(--rm-champagne); user-select: all; }
.launch-steps--page { margin-top: 22px; }
@media (max-width: 480px) {
  .launch-panel { padding: 26px 20px 22px; border-radius: 24px; }
  .launch-mark { width: 72px; height: 72px; margin-bottom: 14px; }
  .launch-mark img { width: 32px; }
  .launch-text { font-size: 15px; margin-top: 12px; }
  .launch-steps { grid-template-columns: 1fr; gap: 6px; margin-top: 20px; }
  .launch-steps li { display: grid; grid-template-columns: 4px 1fr auto; align-items: center; column-gap: 12px; row-gap: 0; padding: 10px 14px; }
  .launch-steps li::before { width: 4px; height: 26px; margin: 0; grid-row: 1 / 3; }
  .launch-steps li.now::before { background: var(--qx-signal); animation: none; }
  .launch-steps b { grid-column: 2; }
  .launch-steps span { grid-column: 2; }
  .launch-ctas { margin-top: 20px; }
}
@media (max-width: 1080px) { .header-cta .btn--line { display: none; } .header-cta .btn { display: inline-flex; } }
@media (max-width: 760px) { .header-cta .btn { display: none; } }

/* ---------- Notify me at launch ---------- */
.notify { position: relative; margin-top: 26px; text-align: left; }
.notify-row { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(243,238,227,.07); border: 1px solid rgba(243,238,227,.22); transition: border-color .3s var(--ease), background .3s var(--ease); }
.notify-row:focus-within { border-color: var(--rm-champagne); background: rgba(243,238,227,.1); }
.notify.is-error .notify-row { border-color: #e7a08f; }
.notify-input { flex: 1; min-width: 0; padding: 0 18px; border: 0; outline: 0; background: transparent; color: var(--rm-cream); font: inherit; font-size: 16px; }
.notify-input::placeholder { color: rgba(243,238,227,.66); }
.notify-btn { flex: none; min-height: 48px; }
.notify.is-busy .notify-btn { pointer-events: none; }
.notify.is-busy .notify-btn .arr { display: inline-block; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; font-size: 0; animation: nfSpin .7s linear infinite; }
@keyframes nfSpin { to { transform: rotate(360deg); } }
.notify-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notify-msg { min-height: 0; margin: 10px 4px 0; font-size: 13.5px; color: #f0b7a8; }
.notify-msg:empty { display: none; }
.notify-consent { margin: 12px 4px 0; font-size: 12.5px; color: rgba(243,238,227,.66); }
.notify-consent a { color: rgba(243,238,227,.75); text-decoration: underline; text-underline-offset: 3px; }
.notify-done { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 20px; background: rgba(95,214,191,.08); border: 1px solid rgba(95,214,191,.35); outline: 0; animation: nfIn .6s var(--ease) both; }
.notify-done b { display: block; color: var(--rm-cream); font-size: 16px; }
.notify-done span { display: block; margin-top: 2px; font-size: 14px; color: var(--cream-ink); }
.notify-done em { font-style: normal; font-family: var(--rm-font-mono); font-size: 13px; color: var(--rm-champagne); word-break: break-all; }
.nd-check { flex: none; position: relative; width: 40px; height: 40px; border-radius: 50%; background: var(--qx-signal); }
.nd-check::after { content: ""; position: absolute; left: 14px; top: 10px; width: 9px; height: 16px; border: solid var(--rm-emerald); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
@keyframes nfIn { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.notify.is-done .notify-row, .notify.is-done .notify-consent, .notify.is-done .notify-msg { display: none; }
.launch-alt { display: inline-flex; gap: 8px; margin-top: 22px; font-size: 14.5px; font-weight: 500; color: var(--rm-cream); opacity: .8; transition: opacity .3s; }
.launch-alt:hover { opacity: 1; }
.launch-alt .arr { transition: transform .4s var(--ease); }
.launch-alt:hover .arr { transform: translateX(4px); }
.notify-wrap { margin-top: 34px; max-width: 520px; }
.notify-wrap .notify { margin-top: 12px; }
.notify-kicker { margin: 0; font-family: var(--rm-font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--rm-champagne); }
@media (max-width: 480px) {
  .notify-row { flex-direction: column; border-radius: 22px; padding: 6px; }
  .notify-input { min-height: 50px; padding: 0 14px; text-align: center; }
  .notify-btn { width: 100%; }
}
.notify-done[hidden] { display: none; }
.signin-card .link-arrow { color: var(--rm-champagne); }

/* ---------- FAQ ---------- */
.fq-hero { padding-bottom: clamp(56px, 7vw, 96px); }
.fq-hero .lead { max-width: 34em; }
.fq-search { position: relative; max-width: 620px; margin-top: 40px; }
.fq-search svg { position: absolute; left: 22px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--rm-champagne); stroke-width: 1.8; stroke-linecap: round; pointer-events: none; }
.fq-search input { width: 100%; height: 62px; padding: 0 120px 0 56px; border-radius: 999px; border: 1px solid rgba(243,238,227,.22); background: rgba(243,238,227,.07); color: var(--rm-cream); font: inherit; font-size: 17px; outline: 0; transition: border-color .3s var(--ease), background .3s var(--ease); -webkit-appearance: none; appearance: none; }
.fq-search input::placeholder { color: rgba(243,238,227,.66); }
.fq-search input:focus { border-color: var(--rm-champagne); background: rgba(243,238,227,.1); }
.fq-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.fq-count { position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-family: var(--rm-font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--qx-signal); }
.fq-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.fq-chip { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(243,238,227,.18); font-size: 13.5px; color: var(--cream-ink); transition: background .3s, color .3s, border-color .3s; }
.fq-chip:hover { background: var(--rm-cream); color: var(--rm-emerald); border-color: var(--rm-cream); }

.fq-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.fq-side { position: sticky; top: calc(var(--header-h) + 28px); }
.fq-side-t { margin: 0 0 14px; font-family: var(--rm-font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--rm-antique-gold); }
.fq-nav { display: grid; border-top: 1px solid var(--rm-line); }
.fq-nav a { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 14px 0 14px 18px; border-bottom: 1px solid var(--rm-line); font-size: 15px; color: var(--ink-2); transition: color .3s; }
.fq-nav a::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--rm-line); transition: background .3s, transform .3s var(--ease); }
.fq-nav a small { font-family: var(--rm-font-mono); font-size: 11px; color: rgba(15,46,37,.66); }
.fq-nav a:hover, .fq-nav a.is-active { color: var(--rm-emerald); }
.fq-nav a.is-active { font-weight: 600; }
.fq-nav a.is-active::before { background: var(--rm-champagne); transform: scale(1.5); }
.fq-nav a.is-dim { opacity: .35; }
.fq-side-card { margin-top: 28px; padding: 22px; border-radius: 20px; background: var(--rm-emerald); color: var(--rm-cream); }
.fq-side-card b { display: block; font-family: var(--rm-font-display); font-weight: 720; font-size: 18px; }
.fq-side-card span { display: block; margin-top: 4px; font-size: 14px; color: var(--cream-ink); }
.fq-side-card a { display: inline-block; margin-top: 14px; font-family: var(--rm-font-mono); font-size: 13px; color: var(--rm-champagne); border-bottom: 1px solid rgba(216,183,106,.4); }

.fq-group { scroll-margin-top: calc(var(--header-h) + 24px); }
.fq-group + .fq-group { margin-top: clamp(56px, 7vw, 96px); }
.fq-head { margin-bottom: 22px; }
.fq-kicker { display: block; margin-bottom: 10px; font-family: var(--rm-font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--rm-antique-gold); }
.fq-item { border-top: 1px solid var(--rm-line); }
.fq-item:last-child { border-bottom: 1px solid var(--rm-line); }
.fq-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 44px minmax(0, 1fr) 40px; align-items: center; gap: 12px; padding: 24px 0; }
.fq-item summary::-webkit-details-marker { display: none; }
.fq-n { font-family: var(--rm-font-mono); font-size: 12px; color: var(--rm-antique-gold); }
.fq-q { font-family: var(--rm-font-display); font-weight: 700; font-stretch: 104%; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.3; color: var(--rm-emerald); transition: color .3s; }
.fq-item summary:hover .fq-q { color: #1d5545; }
.fq-ic { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--rm-line); transition: background .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease); }
.fq-ic::before, .fq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: var(--rm-emerald); transition: transform .5s var(--ease); }
.fq-ic::after { transform: rotate(90deg); }
.fq-item[open] .fq-ic { background: var(--rm-champagne); border-color: var(--rm-champagne); transform: rotate(180deg); }
.fq-item[open] .fq-ic::after { transform: rotate(0deg); }
.fq-a { overflow: hidden; }
.fq-a p { margin: 0; padding: 0 56px 28px 56px; max-width: 44em; color: var(--ink-2); font-size: 16.5px; line-height: 1.65; }
.fq-a a { color: var(--rm-emerald); text-decoration: underline; text-decoration-color: var(--rm-champagne); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.fq-item.is-hidden, .fq-group.is-hidden { display: none; }
.fq-item mark { background: rgba(216,183,106,.35); color: inherit; border-radius: 3px; padding: 0 2px; }
.fq-empty { padding: 40px; border-radius: 24px; background: var(--rm-cream); }
.fq-empty b { display: block; font-family: var(--rm-font-display); font-size: 20px; color: var(--rm-emerald); }
.fq-empty span { display: block; margin-top: 6px; color: var(--ink-2); }
.fq-empty a { color: var(--rm-emerald); text-decoration: underline; }
.fq-empty[hidden] { display: none; }

@media (max-width: 960px) {
  .fq-layout { grid-template-columns: 1fr; }
  .fq-side { position: static; order: 2; }
  .fq-side-t, .fq-nav { display: none; }
  .fq-side-card { margin-top: 0; }
}
@media (max-width: 560px) {
  .fq-search input { height: 56px; font-size: 16px; padding-right: 92px; }
  .fq-item summary { grid-template-columns: 30px minmax(0, 1fr) 36px; gap: 10px; padding: 20px 0; }
  .fq-ic { width: 36px; height: 36px; }
  .fq-a p { padding: 0 0 24px 40px; font-size: 16px; }
}
.fq-head .h2 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.05; }

/* ---------- Header: progress line + Join on phones ---------- */
.hd-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--rm-champagne), #e9cf8f); opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
.site-header.is-scrolled .hd-progress { opacity: 1; }
@media (max-width: 760px) {
  .header-cta .btn:not(.btn--line) { display: inline-flex; min-height: 40px; padding: 0 18px; font-size: 14px; }
  .header-cta { gap: 10px; }
}
.mm-note { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 6px 0 0; font-family: var(--rm-font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--qx-signal); }

/* ---------- Footer ---------- */
.ft-mark { position: absolute; right: -6%; bottom: -18%; width: min(52vw, 720px); opacity: .018; pointer-events: none; user-select: none; }
.site-footer .wrap { position: relative; }
.ft-launch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px); margin-bottom: clamp(56px, 7vw, 88px); border-radius: 28px; background: radial-gradient(120% 140% at 0% 0%, #17463a, var(--rm-emerald) 70%); border: 1px solid rgba(216,183,106,.22); }
.ft-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-family: var(--rm-font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--qx-signal); }
.ft-launch h3 { margin: 0; font-family: var(--rm-font-display); font-weight: 760; font-stretch: 110%; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.05; color: var(--rm-cream); }
.ft-launch-copy > p:last-child { margin: 10px 0 0; color: var(--cream-ink); font-size: 15px; }
.notify--footer { margin-top: 0; }
.footer-top { grid-template-columns: 1.5fr repeat(4, 1fr); }
.ft-global { display: flex; align-items: center; gap: 10px; margin-top: 18px !important; font-size: 13.5px !important; color: rgba(243,238,227,.66) !important; }
.ft-globe { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1.3px solid var(--rm-champagne); background: radial-gradient(circle at 50% 50%, transparent 5.5px, transparent 6px), linear-gradient(90deg, transparent 7px, rgba(216,183,106,.8) 7px 8.3px, transparent 8.3px), linear-gradient(transparent 7px, rgba(216,183,106,.8) 7px 8.3px, transparent 8.3px); }
.ft-soon { margin-left: 8px; padding: 2px 7px; border-radius: 999px; font-style: normal; font-family: var(--rm-font-mono); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--qx-signal); border: 1px solid rgba(94,209,194,.35); vertical-align: 2px; }
.footer-bottom { align-items: center; }
.ft-top { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(243,238,227,.16); font: inherit; letter-spacing: inherit; text-transform: inherit; color: rgba(243,238,227,.7); background: none; cursor: pointer; transition: border-color .3s, color .3s; }
.ft-top:hover { border-color: var(--rm-champagne); color: var(--rm-champagne); }
@media (max-width: 1080px) { .footer-top { grid-template-columns: repeat(4, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 860px) { .ft-launch { grid-template-columns: 1fr; } .footer-top { grid-template-columns: 1fr 1fr; row-gap: 36px; } }

/* ---------- Legal pages ---------- */
.lg-hero { padding-bottom: clamp(56px, 7vw, 96px); }
.lg-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 5px; margin-bottom: 40px; border-radius: 999px; background: rgba(243,238,227,.06); border: 1px solid rgba(243,238,227,.14); }
.lg-tabs a { padding: 9px 18px; border-radius: 999px; font-size: 14px; color: var(--cream-ink); transition: background .3s, color .3s; }
.lg-tabs a:hover { color: var(--rm-cream); }
.lg-tabs a[aria-current="page"] { background: var(--rm-champagne); color: var(--rm-emerald); font-weight: 600; }
.lg-updated { margin-top: 26px; font-family: var(--rm-font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(243,238,227,.66); }
.lg-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.lg-side { position: sticky; top: calc(var(--header-h) + 28px); max-height: calc(100vh - var(--header-h) - 56px); overflow: auto; }
.lg-side-t { margin: 0 0 14px; font-family: var(--rm-font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--rm-antique-gold); }
.lg-toc { display: grid; border-left: 1px solid var(--rm-line); }
.lg-toc a { display: flex; gap: 12px; padding: 8px 0 8px 18px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.35; color: var(--ink-2); transition: color .3s, border-color .3s; }
.lg-toc a span { flex: none; font-family: var(--rm-font-mono); font-size: 11px; padding-top: 2px; color: rgba(15,46,37,.66); }
.lg-toc a:hover { color: var(--rm-emerald); }
.lg-toc a.is-active { color: var(--rm-emerald); font-weight: 600; border-left-color: var(--rm-champagne); }
.lg-main { max-width: 760px; }
.lg-summary { padding: clamp(24px, 3vw, 34px); margin-bottom: 20px; border-radius: 24px; background: var(--rm-cream); }
.lg-summary-t { margin: 0 0 14px; font-family: var(--rm-font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--rm-antique-gold); }
.lg-summary ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.lg-summary li { position: relative; padding-left: 26px; font-size: 16.5px; line-height: 1.5; color: var(--rm-emerald); font-weight: 500; }
.lg-summary li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--rm-champagne); }
.lg-sec { padding-top: clamp(36px, 4vw, 52px); scroll-margin-top: calc(var(--header-h) + 20px); }
.lg-sec h2 { display: flex; align-items: baseline; gap: 14px; margin: 0 0 16px; font-family: var(--rm-font-display); font-weight: 740; font-stretch: 108%; font-size: clamp(21px, 2vw, 26px); line-height: 1.2; color: var(--rm-emerald); }
.lg-n { flex: none; font-family: var(--rm-font-mono); font-size: 12px; font-weight: 400; color: var(--rm-antique-gold); }
.lg-sec p, .lg-sec li { color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.lg-sec p + p, .lg-sec ul + p { margin-top: 14px; }
.lg-sec ul { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.lg-sec li { position: relative; padding-left: 22px; }
.lg-sec li::before { content: ""; position: absolute; left: 2px; top: .75em; width: 8px; height: 1.5px; background: var(--rm-champagne); }
.lg-sec li b { color: var(--rm-emerald); font-weight: 600; }
.lg-sec a, .lg-summary a { color: var(--rm-emerald); text-decoration: underline; text-decoration-color: var(--rm-champagne); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.lg-foot { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--rm-line); font-family: var(--rm-font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(15,46,37,.66); }
@media (max-width: 960px) { .lg-layout { grid-template-columns: 1fr; } .lg-side { display: none; } }
@media (max-width: 480px) { .lg-tabs a { padding: 8px 13px; font-size: 13px; } .lg-sec h2 { gap: 10px; } }
/* keep the reading-progress line at the top of the screen while the header is tucked away */
.site-header.is-hidden .hd-progress { bottom: auto; top: calc(100% + 1px); }
