/* =====================================================================
   RELIQRA.COM — shared site stylesheet
   The modern vault for treasured inventory.
   Tokens mirror the Reliqra Cloud portal (colors_and_type.css) so the
   marketing site and the product read as one continuous dark vault.
   ===================================================================== */

@font-face {
  font-family: 'Brandmark Montserrat';
  src: url('fonts/Brandmark-Montserrat.woff2') format('woff2'),
       url('fonts/Brandmark-Montserrat.woff') format('woff');
  font-weight: 300 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Surfaces (deepest -> elevated) */
  --navbar:    #021624;
  --bg:        #021A23;
  --section:   #031D2E;
  --elevated:  #0A2E57;
  --card:      #0A3A55;
  --card-hi:   #114E6E;
  --chip:      #17303E;

  /* Accent */
  --accent:      #59C8FF;
  --accent-soft: #C7DDF3;
  --gradient:     linear-gradient(135deg, #59C8FF 0%, #C7DDF3 100%);
  --gradient-160: linear-gradient(160deg, rgba(89,200,255,0.06), rgba(10,46,87,0.35));

  /* Text */
  --text:       #EAF4FB;
  --text-muted: #A9C0D6;
  --text-dim:   #6F879C;

  /* Semantic */
  --positive:      #1FB573;
  --positive-chip: #28C281;
  --negative:      #E5484D;
  --caution:       #F5C542;
  --gold:          #E0B23C;

  /* Borders */
  --border-soft:   rgba(199,221,243,0.10);
  --border-strong: rgba(199,221,243,0.22);

  /* Radii */
  --r-input: 12px;
  --r-card:  20px;
  --r-panel: 28px;
  --r-pill:  999px;
  --r-thumb: 8px;

  /* Depth */
  --glow:        0 8px 18px rgba(89,200,255,0.20);
  --glow-strong: 0 16px 44px rgba(89,200,255,0.28);
  --shadow-deep: 0 24px 60px rgba(0,0,0,0.55);

  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 40px);

  /* Type families */
  --font-brand: 'Brandmark Montserrat', 'Montserrat', 'Urbanist', system-ui, sans-serif;
  --font-ui:    'Urbanist', system-ui, -apple-system, sans-serif;
  --font-mono:  'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

/* ---------- Layout helpers ---------- */
.shell { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 11vw, 132px) 0; position: relative; }
.section--tight { padding: clamp(56px, 8vw, 92px) 0; }
.section--alt { background: var(--section); }
.divline { border: 0; height: 1px; background: var(--border-soft); margin: 0; }

/* ---------- Wordmark ---------- */
.wordmark {
  font-family: var(--font-brand);
  font-weight: 300;
  letter-spacing: 0.32em;
  font-size: 22px;
  color: var(--text);
  text-transform: uppercase;
  user-select: none;
  white-space: nowrap;
}
.wordmark .q {
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.wordmark-sub {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-ui);
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--accent);
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(89,200,255,0.08);
  border: 1px solid rgba(89,200,255,0.25);
}
.eyebrow::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
}
.eyebrow--plain { background: none; border: 0; padding: 0; color: var(--text-dim); }
.eyebrow--plain::before { display: none; }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border-radius: var(--r-pill);
  font-family: var(--font-ui); font-size: 15px; font-weight: 600;
  transition: transform .15s, box-shadow .2s, border-color .2s, background .2s, color .2s;
  white-space: nowrap; border: 1px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--gradient); color: #021624;
  box-shadow: 0 0 0 1px rgba(89,200,255,0.30), var(--glow);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px var(--accent), var(--glow-strong); }
.btn-ghost {
  background: rgba(255,255,255,0.03); color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* App Store badge button */
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 11px 22px; background: #000; color: #fff;
  border-radius: 14px; border: 1px solid rgba(255,255,255,0.18);
  transition: transform .15s, border-color .2s; min-width: 190px;
}
.store-btn:hover { transform: translateY(-1px); border-color: var(--accent); }
.store-btn svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-btn-text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-btn-pre { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #cbd5e1; }
.store-btn-name { font-size: 18px; font-weight: 600; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  background: rgba(2, 22, 36, 0.82);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 0;
}
.nav-brand { display: flex; align-items: center; gap: 13px; }
.nav-brand-icon {
  width: 38px; height: 38px; border-radius: 11px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5), 0 0 0 1px rgba(89,200,255,0.25);
}
.nav-links {
  display: none; align-items: center; gap: 30px;
  font-size: 14.5px; font-weight: 500; color: var(--text-muted);
}
.nav-links a { padding: 6px 0; transition: color .2s; position: relative; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-cta-group { display: none; align-items: center; gap: 12px; }
.nav-toggle {
  display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center;
  border-radius: 12px; border: 1px solid var(--border-strong); color: var(--text);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (min-width: 960px) {
  .nav-links { display: inline-flex; }
  .nav-cta-group { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Mobile menu */
.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 8px var(--gutter) 24px;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(2, 22, 36, 0.96);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  position: sticky; top: 67px; z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 13px 8px; font-size: 16px; color: var(--text-muted); border-bottom: 1px solid var(--border-soft); }
.mobile-menu a:last-of-type { border-bottom: 0; }
.mobile-menu .btn { margin-top: 14px; }
@media (min-width: 960px) { .mobile-menu { display: none !important; } }

/* ---------- Section heads ---------- */
.section-head { max-width: 760px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 {
  font-size: clamp(30px, 4.4vw, 50px);
  margin-bottom: 18px;
}
.section-head p { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-muted); max-width: 60ch; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ---------- Cards ---------- */
.card {
  background: var(--gradient-160);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-card);
  padding: 30px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.card.hover:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--glow); }

.feature-icon {
  width: 52px; height: 52px; border-radius: 15px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--gradient); color: #021624;
  box-shadow: var(--glow); margin-bottom: 22px;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-icon--soft {
  background: rgba(89,200,255,0.10); color: var(--accent);
  border: 1px solid rgba(89,200,255,0.28); box-shadow: none;
}

.card h3 { font-family: var(--font-ui); font-weight: 500; font-size: 21px; letter-spacing: -0.01em; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--text-muted); }
.card-meta {
  display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px;
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--border-soft);
  color: var(--text-dim);
}
.card-meta strong { color: var(--accent); font-weight: 700; }

/* ---------- Pills / chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  padding: 5px 11px; border-radius: var(--r-pill);
  font-family: var(--font-ui);
}
.chip::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.chip-live { color: var(--positive-chip); background: rgba(40,194,129,0.12); border: 1px solid rgba(40,194,129,0.32); }
.chip-info { color: var(--accent); background: rgba(89,200,255,0.12); border: 1px solid rgba(89,200,255,0.30); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 719px) { .grid-4 { grid-template-columns: 1fr 1fr; } }

/* ---------- Device frames ---------- */
.phone {
  position: relative;
  background: linear-gradient(160deg, rgba(199,221,243,0.18), rgba(89,200,255,0.05));
  padding: 9px; border-radius: 42px;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-deep);
}
.phone-screen {
  background: #000; border-radius: 34px; overflow: hidden;
  aspect-ratio: 1179 / 2556; display: flex;
}
.phone-screen img, .phone-screen video { width: 100%; height: 100%; object-fit: cover; }

.browser {
  border-radius: var(--r-card); overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--navbar); box-shadow: var(--shadow-deep);
}
.browser-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; background: #02101b;
  border-bottom: 1px solid var(--border-soft);
}
.browser-dot { width: 11px; height: 11px; border-radius: 50%; background: #2b4255; }
.browser-url {
  margin-left: 12px; flex: 1; max-width: 380px;
  font-family: var(--font-mono); font-size: 12px; color: var(--text-dim);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-soft);
  border-radius: var(--r-pill); padding: 6px 14px;
  display: flex; align-items: center; gap: 8px;
}
.browser-body { display: block; }
.browser-body img, .browser-body video { width: 100%; display: block; }

/* ---------- Spot price ticker ---------- */
.ticker {
  display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 13px; color: var(--text-muted);
  padding: 10px 18px; border-radius: var(--r-pill);
  background: rgba(255,255,255,0.03); border: 1px solid var(--border-soft);
}
.ticker .metal { display: inline-flex; align-items: center; gap: 7px; }
.ticker .dot { width: 8px; height: 8px; border-radius: 50%; }
.ticker .dot.au { background: var(--gold); }
.ticker .dot.ag { background: var(--accent-soft); }
.ticker .dot.pt { background: #E5EAF2; }
.ticker .dot.pd { background: #B4E3FF; }
.ticker b { color: var(--text); font-weight: 600; }
.ticker .live { color: var(--positive-chip); font-weight: 700; letter-spacing: 0.04em; }
.ticker .live.stale { color: var(--text-muted); font-weight: 600; opacity: 0.85; }
.ticker .spot-asof { color: var(--text-muted); font-size: 11px; opacity: 0.75; }

/* ---------- Stat / KPI ---------- */
.kpi {
  padding: 22px 24px; border-radius: var(--r-card);
  background: var(--gradient-160); border: 1px solid var(--border-soft);
}
.kpi-label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); }
.kpi-value { font-family: var(--font-mono); font-weight: 600; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.01em; margin-top: 10px; }
.kpi-sub { font-size: 13px; color: var(--text-dim); margin-top: 6px; }

/* ---------- Footer ---------- */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-soft);
  color: var(--text-dim);
  background: rgba(0,0,0,0.25);
}
.footer-grid {
  display: grid; gap: 40px; grid-template-columns: 1fr;
  margin-bottom: 48px;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand-lockup { display: inline-flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.footer-brand-lockup img { width: 36px; height: 36px; border-radius: 10px; }
.footer-tagline { font-size: 14px; color: var(--text-muted); max-width: 36ch; }
.footer h5 { font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-dim); margin: 0 0 16px; font-weight: 700; }
.footer-col a { display: block; font-size: 14.5px; color: var(--text-muted); padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 26px; border-top: 1px solid var(--border-soft);
  display: flex; flex-direction: column; gap: 14px; font-size: 12.5px; line-height: 1.6;
}
.footer-bottom .legal { color: var(--text-dim); max-width: 90ch; }
.footer-store { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }
}
@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
  .nav, .mobile-menu { position: static; }
}

/* ---------- Product page hero ---------- */
.phero { position: relative; overflow: hidden; padding: clamp(44px, 6vw, 76px) 0 clamp(56px, 7vw, 92px); }
.phero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 78% 6%, rgba(89,200,255,0.16), transparent 60%),
    radial-gradient(ellipse at 0% 100%, rgba(10,46,87,0.5), transparent 60%);
}
.phero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: clamp(40px, 5vw, 64px); align-items: center; }
@media (min-width: 940px) { .phero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.phero h1 { font-size: clamp(38px, 5.4vw, 64px); letter-spacing: -0.03em; margin-bottom: 22px; max-width: 14ch; }
.phero .lede { margin-bottom: 30px; max-width: 50ch; }
.phero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Split row ---------- */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 940px) { .split { grid-template-columns: 1fr 1fr; } }
.split + .split { margin-top: clamp(56px, 8vw, 104px); }
.split h3 { font-family: var(--font-ui); font-weight: 500; font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.015em; margin: 16px 0 16px; }
.split .eyebrow { margin-bottom: 4px; }
.split-media { position: relative; }
@media (min-width: 940px) { .split--rev .split-media { order: -1; } }

.phone-sm { max-width: 290px; margin: 0 auto; }
.phone-row { display: flex; gap: clamp(14px, 2.4vw, 26px); justify-content: center; align-items: flex-start; }
.phone-row .phone { flex: 1 1 0; max-width: 250px; }
.phone-row .phone:nth-child(odd) { margin-top: 26px; }

/* ---------- Gallery (screenshot tiles) ---------- */
.gallery { display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery .phone { max-width: 100%; }

/* ---------- Floating stat pill on media ---------- */
.float-pill {
  position: absolute; z-index: 5;
  background: rgba(2,18,29,0.92); border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px); border-radius: 16px; padding: 12px 16px;
  display: flex; align-items: center; gap: 11px; box-shadow: var(--shadow-deep);
}
.float-pill .fp-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--gradient); color: #021624; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.float-pill .fp-ic svg { width: 18px; height: 18px; }
.float-pill .fp-num { font-family: var(--font-mono); font-size: 17px; font-weight: 600; white-space: nowrap; }
.float-pill .fp-lbl { font-size: 10px; color: var(--text-dim); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 600px) { .float-pill { display: none; } }

/* ---------- Doc / content pages ---------- */
.doc-hero { padding: clamp(48px, 7vw, 84px) 0 clamp(28px, 4vw, 44px); position: relative; }
.doc-hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 60% at 70% 0%, rgba(89,200,255,0.12), transparent 60%);
}
.doc-hero .shell { position: relative; z-index: 1; }
.doc-hero h1 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.03em; margin: 18px 0 16px; max-width: 18ch; }
.doc-hero p { font-size: clamp(16px, 1.7vw, 19px); color: var(--text-muted); max-width: 56ch; }
.doc { max-width: 760px; margin: 0 auto; padding: clamp(24px, 4vw, 48px) 0 clamp(64px, 9vw, 110px); }
.doc h2 { font-family: var(--font-ui); font-weight: 500; font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.01em; margin: 44px 0 14px; }
.doc h2:first-child { margin-top: 0; }
.doc p { font-size: 16px; color: var(--text-muted); margin-bottom: 16px; }
.doc p strong, .doc li strong { color: var(--text); font-weight: 600; }
.doc ul { display: flex; flex-direction: column; gap: 12px; margin: 0 0 16px; }
.doc ul li { position: relative; padding-left: 22px; font-size: 16px; color: var(--text-muted); }
.doc ul li::before { content: ''; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.doc a.inline { color: var(--accent); }
.doc a.inline:hover { text-decoration: underline; }
.contact-grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin: 8px 0 16px; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card { display: flex; align-items: center; gap: 16px; }
.contact-card .feature-icon { margin: 0; width: 46px; height: 46px; }
.contact-card .cc-label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); }
.contact-card .cc-val { font-weight: 600; font-size: 16px; }

/* ---------- Extension panel (narrow popup frame) ---------- */
.ext-panel { max-width: 300px; margin: 0 auto; border-radius: 18px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: var(--shadow-deep); background: var(--navbar); }
.ext-panel img { width: 100%; display: block; }

/* ---------- Cross-surface fan (same inventory, 3 surfaces) ---------- */
.surface-fan { position: relative; max-width: 980px; margin: 0 auto; min-height: 540px; }
.surface-fan > div { position: absolute; top: 50%; }
.surface-fan .sf-browser { left: 0; width: min(56%, 540px); transform: translateY(-50%) rotate(-5deg); z-index: 1; }
.surface-fan .sf-phone { left: 50%; width: min(27%, 236px); transform: translate(-50%, -50%) translateY(6px); z-index: 3; }
.surface-fan .sf-ext { right: 0; width: min(23%, 206px); transform: translateY(-50%) rotate(6deg); z-index: 2; }
.surface-fan .sf-tag {
  position: absolute; z-index: 4; left: 50%; bottom: -6px; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 12px; color: var(--text-dim);
  background: rgba(2,18,29,0.9); border: 1px solid var(--border-soft);
  border-radius: var(--r-pill); padding: 7px 16px; white-space: nowrap;
}
.surface-fan .sf-tag b { color: var(--accent); font-weight: 600; }
@media (max-width: 860px) {
  .surface-fan { min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 22px; }
  .surface-fan > div { position: static; transform: none; }
  .surface-fan .sf-browser { width: 100%; max-width: 460px; transform: rotate(-2deg); }
  .surface-fan .sf-phone { width: 200px; }
  .surface-fan .sf-ext { width: 220px; transform: rotate(2deg); }
  .surface-fan .sf-tag { position: static; transform: none; margin-top: 4px; }
}

/* ---------- Story sidebar callout ---------- */
.sidebar-note {
  margin: 28px 0; padding: 26px 28px;
  background: var(--gradient-160); border: 1px solid var(--border-strong);
  border-radius: var(--r-card); box-shadow: var(--glow);
}
.sidebar-note .sn-eyebrow { font-family: var(--font-ui); font-weight: 700; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: block; }
.sidebar-note h3 { font-family: var(--font-ui); font-weight: 500; font-size: 20px; margin: 0 0 10px; }
.sidebar-note p { font-size: 15.5px; color: var(--text-muted); margin-bottom: 12px; }
.sidebar-note p:last-child { margin-bottom: 0; }
.sidebar-note .sn-split { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .sidebar-note .sn-split { grid-template-columns: 1fr 1fr; } }
.sidebar-note .sn-half h4 { font-family: var(--font-ui); font-weight: 600; font-size: 15px; color: var(--text); margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.sidebar-note .sn-half h4 svg { width: 17px; height: 17px; color: var(--accent); }

/* ---------- Misc text ---------- */
.lede { font-size: clamp(17px, 1.7vw, 20px); color: var(--text-muted); line-height: 1.6; }
.check-list { display: flex; flex-direction: column; gap: 15px; }
.check-list li { display: flex; gap: 12px; font-size: 15.5px; color: var(--text-muted); line-height: 1.5; }
.check-list svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.check-list strong { color: var(--text); font-weight: 600; }

/* ---------- v2 launch announcement ---------- */
.announce { padding: clamp(56px,9vw,120px) 0 clamp(36px,5vw,64px); background:
  radial-gradient(1100px 520px at 50% -12%, rgba(89,200,255,0.12), transparent 60%); text-align: center; }
.announce-inner { max-width: 760px; margin: 0 auto; }
.announce-inner h1 { font-size: clamp(34px,5.4vw,60px); line-height: 1.05; margin: 14px 0 18px; }
.announce-sub { color: var(--text-muted); font-size: clamp(16px,1.8vw,19px); line-height: 1.6; max-width: 60ch; margin: 0 auto 26px; }
.announce-sub strong { color: var(--text); }
.wl-form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; align-items: center; max-width: 480px; margin: 0 auto; }
.wl-form--center { max-width: 480px; }
.wl-form input[type=email] { flex: 1 1 240px; min-width: 200px; height: 52px; padding: 0 18px;
  border-radius: var(--r-pill); border: 1px solid var(--border-strong); background: rgba(255,255,255,0.04);
  color: var(--text); font-family: var(--font-ui); font-size: 15px; outline: none; }
.wl-form input[type=email]:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(89,200,255,0.25); }
.wl-form .hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { min-height: 1.2em; margin: 12px 0 0; font-family: var(--font-ui); font-size: 14px; text-align: center; }
.form-msg.ok { color: var(--positive-chip); }
.form-msg.err { color: var(--negative); }
.announce-surfaces { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 26px auto 22px; }
.surface-pill { font-family: var(--font-ui); font-size: 13px; font-weight: 600; color: var(--text-muted);
  padding: 7px 14px; border-radius: var(--r-pill); background: rgba(255,255,255,0.03); border: 1px solid var(--border-soft); }
.announce-cta { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; align-items: center; }
.announce-link { color: var(--accent); font-family: var(--font-ui); font-weight: 600; font-size: 15px; text-decoration: none; }
.announce-link:hover { text-decoration: underline; }
.coming-note { color: var(--text-muted); font-size: 15px; line-height: 1.55; margin: 0 0 18px; max-width: 52ch; }
.coming-note strong { color: var(--text); }

/* ---------- voting / feedback page ---------- */
.vote-section { margin: 0 0 34px; }
.vote-section h3 { font-size: 19px; margin: 0 0 4px; }
.vote-section .hint { color: var(--text-dim); font-size: 13px; margin: 0 0 14px; }
.chip-group { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; cursor: pointer; padding: 9px 16px; border-radius: var(--r-pill);
  border: 1px solid var(--border-strong); background: rgba(255,255,255,0.03); color: var(--text-muted);
  font-family: var(--font-ui); font-size: 14px; font-weight: 500; transition: all .15s ease; user-select: none; }
.chip input:checked + span { background: var(--card-hi); border-color: var(--accent); color: var(--accent); box-shadow: var(--glow); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(89,200,255,0.3); }
.chip span.live-tag::after { content: " · live"; color: var(--positive-chip); font-weight: 600; }
/* Screen-reader-only text — the visual "· live" badge above is CSS-generated
   content, which assistive tech can't reliably announce. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.vote-field textarea { width: 100%; min-height: 96px; padding: 14px 16px; border-radius: var(--r-input);
  border: 1px solid var(--border-strong); background: rgba(255,255,255,0.04); color: var(--text);
  font-family: var(--font-ui); font-size: 15px; line-height: 1.5; outline: none; resize: vertical; }
.vote-field textarea:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(89,200,255,0.22); }
.vote-field input[type=email] { width: 100%; max-width: 360px; height: 50px; padding: 0 16px; border-radius: var(--r-pill);
  border: 1px solid var(--border-strong); background: rgba(255,255,255,0.04); color: var(--text); font-family: var(--font-ui); font-size: 15px; outline: none; }
.vote-thanks { text-align: center; padding: 40px 0; }
.vote-thanks h2 { margin: 0 0 10px; }
