/* ==========================================================================
   Aurelis Capital - Institutional Digital Wealth Landing Page
   Private Bank at Dusk / Champagne Bronze / Ledger Precision
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #0a1626;
  --ink-2: #0e1d33;
  --panel: #12253f;
  --panel-2: #0f1e34;
  --line: rgba(201, 169, 106, 0.18);
  --line-soft: rgba(233, 237, 244, 0.09);

  --bronze: #c9a96a;
  --bronze-soft: #e4d3a8;
  --bronze-deep: #9a7f47;
  --up: #2fdda3;
  --down: #e07b7b;

  --text: #e9edf4;
  --muted: #93a2b8;

  --font-display: "Playfair Display", "Noto Serif SC", "Noto Sans JP", Georgia, serif;
  --font-body: "IBM Plex Sans", "Noto Sans JP", "Noto Serif SC", system-ui, sans-serif;

  --wheel-size: min(330px, 76vw);
  --radius-lg: 6px;
  --radius-md: 4px;
  --shadow-panel: 0 18px 50px rgba(3, 9, 18, 0.5);
}

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

body {
  background: var(--ink);
  color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Language-specific font rhythm */
html[lang="zh"], html[lang="zh-TW"], html[lang="ja"] { --font-display: "Noto Serif SC", "Noto Sans JP", serif; }

img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 1px solid var(--bronze);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: rgba(201, 169, 106, 0.85); color: #14100a; }

.container { width: min(1140px, 92%); margin-inline: auto; }
.container-narrow { width: min(800px, 92%); }

h1, h2, h3 { line-height: 1.2; font-weight: 600; font-family: var(--font-display); }

section { padding: 5.2rem 0; }
section + section { border-top: 1px solid var(--line-soft); }

/* Section scaffolding */
.section-head { margin-bottom: 2.6rem; }
.section-head h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  letter-spacing: 0.005em;
}
.section-head h2 em, h1 em { color: var(--bronze-soft); font-style: italic; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 0.9rem;
}

.up-text { color: var(--up); }
.down-text { color: var(--down); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.btn svg { transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { padding: 0.55rem 1.05rem; font-size: 0.82rem; }

.btn-bronze {
  background: linear-gradient(180deg, rgba(201, 169, 106, 0.22), rgba(201, 169, 106, 0.1));
  border-color: var(--bronze);
  color: var(--bronze-soft);
}
.btn-bronze:hover {
  background: linear-gradient(180deg, rgba(201, 169, 106, 0.4), rgba(201, 169, 106, 0.18));
  color: #fbf4e2;
}

.btn-outline { border-color: var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--bronze); color: var(--bronze-soft); }

.btn-ghost { border-color: var(--line-soft); color: var(--muted); background: transparent; }
.btn-ghost:hover { color: var(--text); border-color: var(--line); }

.btn.is-hot { box-shadow: 0 0 0 1px rgba(201, 169, 106, 0.35), 0 8px 30px rgba(201, 169, 106, 0.12); }

/* ==========================================================================
   TICKER
   ========================================================================== */
.ticker {
  position: relative;
  background: #070f1b;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  z-index: 1100;
}
.ticker-track { display: flex; width: max-content; animation: ticker-scroll 32s linear infinite; }
.ticker-group { display: flex; flex-shrink: 0; }
.tk {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  padding: 0.5rem 1.6rem;
  font-size: 0.76rem;
  white-space: nowrap;
  border-right: 1px solid var(--line-soft);
}
.tk b { font-weight: 600; color: var(--muted); letter-spacing: 0.08em; font-size: 0.68rem; }
.tk i {
  font-style: normal; font-weight: 600; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.tk em {
  font-style: normal; font-size: 0.72rem; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.tk em.up { color: var(--up); }
.tk em.down { color: var(--down); }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 22, 38, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--bronze);
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
}
.brand-name em { color: var(--bronze); font-style: normal; }

.site-nav {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}
.site-nav a {
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.site-nav a:hover { color: var(--bronze-soft); }

.header-actions { display: flex; align-items: center; gap: 0.9rem; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--muted);
}
.lang-switch select {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--text);
  font: 500 0.78rem var(--font-body);
  letter-spacing: 0.04em;
  padding: 0.34rem 0.5rem;
  cursor: pointer;
}
.lang-switch select option { background: var(--ink-2); color: var(--text); }
.lang-switch:hover { color: var(--bronze-soft); }

.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: 6.5rem 0 6rem;
  overflow: hidden;
  border-top: 0;
}
.hero-skyline {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-skyline svg { width: 100%; height: 100%; }
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 15, 27, 0.92) 0%, rgba(7, 15, 27, 0.72) 42%, rgba(7, 15, 27, 0.45) 100%),
    linear-gradient(180deg, rgba(10, 22, 38, 0.5) 0%, rgba(10, 22, 38, 0.72) 100%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 169, 106, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 106, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 75%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.8), transparent 75%);
}
.hero-inner { position: relative; z-index: 1; max-width: 720px; }

.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  font-weight: 600;
  line-height: 1.14;
  margin-bottom: 1.25rem;
}
.hero h1 em { display: block; }

.hero-sub {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 2rem;
}

.trust-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0;
  margin-bottom: 2.2rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(14, 29, 51, 0.55);
  color: var(--bronze);
  font-size: 0.78rem;
}
.chip strong { color: var(--text); font-weight: 600; margin-right: 0.3rem; }
.chip span:not(strong) { color: var(--muted); }

.hero-cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 3.2rem; }

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.hero-metrics > div { padding: 1.2rem 1.4rem 0 0; }
.hero-metrics > div + div { border-left: 1px solid var(--line-soft); padding-left: 1.4rem; }
.hero-metrics dt {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.hero-metrics dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.hero-metrics .unit {
  font-size: 0.85rem;
  color: var(--muted);
  font-family: var(--font-body);
  margin-left: 0.2rem;
}

/* Entrance effects */
.fx { opacity: 0; transform: translateY(18px); animation: fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; animation-delay: var(--d); }
@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   LIVE MARKET ACTIVITY
   ========================================================================== */
.live { background: linear-gradient(180deg, var(--ink) 0%, #081222 100%); }
.live-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.live-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  color: var(--muted);
  white-space: nowrap;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--up);
  box-shadow: 0 0 0 0 rgba(47, 221, 163, 0.5);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 221, 163, 0.45); }
  70% { box-shadow: 0 0 0 9px rgba(47, 221, 163, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 221, 163, 0); }
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  margin-bottom: 1.4rem;
}
.stat-tile { padding: 1.35rem 1.4rem; }
.stat-tile + .stat-tile { border-left: 1px solid var(--line-soft); }
.stat-label {
  display: flex; align-items: center; gap: 0.45rem;
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); margin-bottom: 0.6rem;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 1.9rem; font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.stat-note { font-size: 0.76rem; color: var(--muted); margin-top: 0.4rem; }

.live-panels {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.1fr;
  gap: 1.4rem;
}
.panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 37, 63, 0.5), rgba(14, 29, 51, 0.35));
  padding: 1.4rem;
}
.panel-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 1.2rem; gap: 0.6rem;
}
.panel-head h3 { font-family: var(--font-body); font-size: 0.88rem; font-weight: 600; }
.panel-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.7rem; color: var(--muted);
}

.chart-wrap { width: 100%; }
#trend-chart { width: 100%; height: 210px; }
#trend-grid line { stroke: var(--line-soft); stroke-width: 1; }
#trend-line { stroke-dasharray: 2000; stroke-dashoffset: 2000; }
#trend-line.is-drawn { animation: draw-line 2s ease-out forwards; }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
.chart-scale {
  display: flex; justify-content: space-between;
  font-size: 0.66rem; color: var(--muted);
  margin-top: 0.5rem; font-variant-numeric: tabular-nums;
}

.region-list { list-style: none; padding: 0; display: grid; gap: 0.85rem; }
.region-list li {
  display: grid;
  grid-template-columns: 82px 1fr 46px;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
}
.region-name { color: var(--text); }
.region-val { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.bar-track {
  height: 5px;
  background: rgba(233, 237, 244, 0.07);
  overflow: hidden;
}
.bar-fill {
  display: block; height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--bronze-deep), var(--bronze));
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}
.reveal.is-visible .bar-fill { width: var(--w); }

.activity-feed {
  list-style: none; padding: 0; margin: 0;
  max-height: 248px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.feed-item {
  display: flex; gap: 0.7rem; align-items: flex-start;
  font-size: 0.78rem;
  color: var(--muted);
  animation: feed-in 0.6s ease;
}
.feed-item .feed-ico {
  flex-shrink: 0; width: 26px; height: 26px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--bronze);
  border-radius: var(--radius-md);
}
.feed-item .feed-txt strong { color: var(--text); font-weight: 600; display: block; }
.feed-item .feed-time { white-space: nowrap; color: var(--muted); font-size: 0.7rem; }
@keyframes feed-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.sim-note {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-soft);
  font-size: 0.76rem;
  color: var(--muted);
}

/* ==========================================================================
   MATCHER
   ========================================================================== */
.matcher { background: linear-gradient(180deg, #081222 0%, var(--ink) 100%); }
.matcher-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(18, 37, 63, 0.45), rgba(10, 22, 38, 0.6));
  box-shadow: var(--shadow-panel);
  padding: clamp(1.6rem, 4vw, 3rem);
}
.matcher-head { margin-bottom: 2.4rem; text-align: center; }
.matcher-head .eyebrow { justify-content: center; }
.matcher-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0.8rem; }
.matcher-lead { color: var(--muted); max-width: 580px; margin: 0 auto; font-size: 0.94rem; }

.matcher-steps {
  list-style: none; padding: 0; margin: 1.8rem auto 0;
  display: flex; justify-content: center; flex-wrap: wrap; gap: 0;
  max-width: 620px;
}
.matcher-steps li {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.82rem; color: var(--muted);
  padding: 0 1.4rem; position: relative;
}
.matcher-steps li span:first-child {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  font-size: 0.74rem; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.matcher-steps li + li::before {
  content: ""; position: absolute; left: -1.4rem; top: 50%;
  width: 2.8rem; height: 1px; background: var(--line);
}
.matcher-steps li.is-current { color: var(--bronze-soft); }
.matcher-steps li.is-current span:first-child { border-color: var(--bronze); color: var(--bronze-soft); }
.matcher-steps li.is-done { color: var(--up); }
.matcher-steps li.is-done span:first-child { border-color: rgba(47, 221, 163, 0.5); color: var(--up); }

.matcher-step { display: none; }
.matcher-step.is-active { display: block; animation: step-in 0.55s ease; }
@keyframes step-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.matcher-step h3 {
  font-family: var(--font-body);
  font-size: 1.02rem; font-weight: 600;
  margin-bottom: 1.5rem; text-align: center;
}

.pref-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.pref-card {
  border: 1px solid var(--line);
  background: rgba(14, 29, 51, 0.4);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.2rem;
  cursor: pointer;
  text-align: left;
  display: flex; flex-direction: column; gap: 0.6rem;
  color: var(--bronze);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.pref-card strong { color: var(--text); font-size: 1rem; font-weight: 600; }
.pref-card span:not([class]) { color: var(--muted); font-size: 0.8rem; }
.pref-card:hover { border-color: var(--bronze); transform: translateY(-2px); }
.pref-card.is-selected {
  border-color: var(--bronze);
  background: rgba(201, 169, 106, 0.09);
  box-shadow: inset 0 0 0 1px var(--bronze);
}

/* Wheel */
.wheel-stage {
  position: relative;
  display: flex; justify-content: center;
  padding: 1rem 0 1.6rem;
}
.wheel-pointer { position: absolute; top: 0; z-index: 5; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6)); }
.wheel-rim {
  position: relative;
  width: calc(var(--wheel-size) + 26px);
  height: calc(var(--wheel-size) + 26px);
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 106, 0.45);
  background:
    radial-gradient(circle at 50% 50%, transparent 60%, rgba(201, 169, 106, 0.06) 100%),
    #0c1a2d;
  display: grid; place-items: center;
}
.wheel {
  position: relative;
  width: var(--wheel-size);
  height: var(--wheel-size);
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 106, 0.35);
  background:
    repeating-conic-gradient(
      from -22.5deg,
      #12253f 0deg 45deg,
      #0e1d33 45deg 90deg
    );
  transition: transform 4.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.wheel::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background:
    repeating-conic-gradient(from -22.5deg, transparent 0deg 44.9deg, rgba(201, 169, 106, 0.5) 44.9deg 45deg);
  pointer-events: none;
}
.wheel-label {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
}
.wheel-label i {
  position: absolute;
  left: 0; bottom: 0;
  width: calc(var(--wheel-size) * 0.3);
  transform-origin: 0 0;
  transform: rotate(var(--angle)) translate(-50%, -6px) rotate(var(--flip, 0deg));
  text-align: center;
  font-style: normal;
  font-size: 0.64rem;
  line-height: 1.3;
  font-weight: 600;
  color: var(--muted);
}
.wheel-label.is-target i { color: var(--bronze-soft); }
.wheel-hub {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 1px solid var(--bronze);
  background: radial-gradient(circle at 35% 30%, #1a3050, #0a1626);
  color: var(--bronze-soft);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  cursor: pointer;
  z-index: 6;
  transition: opacity 0.2s ease;
}
.wheel-hub:disabled { opacity: 0.55; cursor: not-allowed; }
.wheel-hub.is-ready:not(:disabled) { box-shadow: 0 0 0 4px rgba(201, 169, 106, 0.12); }

.spin-action { text-align: center; }
.spin-hint { margin-top: 0.9rem; font-size: 0.8rem; color: var(--muted); }

/* Verification */
.verify-track {
  height: 3px;
  background: rgba(233, 237, 244, 0.08);
  overflow: hidden;
  margin-bottom: 1.2rem;
}
.verify-bar {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--bronze-deep), var(--bronze-soft));
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.verify-status { color: var(--muted); font-size: 0.88rem; text-align: center; }

.result-panel { max-width: 600px; margin: 0 auto; text-align: center; animation: step-in 0.55s ease; }
.result-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--up); font-size: 0.82rem; font-weight: 600;
  border: 1px solid rgba(47, 221, 163, 0.35);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.4rem;
}
.result-card {
  border: 1px solid var(--line);
  background: rgba(14, 29, 51, 0.55);
  padding: 1.8rem;
  text-align: left;
  margin-bottom: 1.6rem;
}
.result-top {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem;
}
.result-platform { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.result-license {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.72rem; color: var(--bronze);
}
.result-offer { font-size: 1.02rem; font-weight: 600; margin-bottom: 0.5rem; }
.result-detail { color: var(--muted); font-size: 0.85rem; margin-bottom: 1.4rem; }
.result-timer {
  display: flex; align-items: center; gap: 0.55rem;
  border-top: 1px solid var(--line-soft);
  padding-top: 1.1rem;
  font-size: 0.82rem; color: var(--muted);
}
.result-timer strong {
  color: var(--bronze-soft);
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
}
.result-timer strong.is-expired { color: var(--down); }
.result-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-bottom: 1.1rem; }
.result-fine { font-size: 0.74rem; color: var(--muted); }

.noscript-note { color: var(--muted); text-align: center; }

/* ==========================================================================
   WHY
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}
.why-card {
  border: 1px solid var(--line-soft);
  padding: 1.8rem 1.5rem;
  transition: border-color 0.25s ease;
}
.why-card:hover { border-color: var(--line); }
.why-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--bronze);
  margin-bottom: 1.2rem;
}
.why-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin-bottom: 0.7rem; }
.why-card p { color: var(--muted); font-size: 0.86rem; }

/* ==========================================================================
   INSTITUTIONAL
   ========================================================================== */
.inst-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-bottom: 1.4rem;
}
.inst-block {
  border: 1px solid var(--line);
  padding: 1.8rem;
  background: rgba(14, 29, 51, 0.35);
}
.inst-block h3 {
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  margin-bottom: 1.3rem;
}
.illustrative {
  font-family: var(--font-body);
  font-size: 0.62rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--muted);
  border: 1px solid var(--line-soft);
  padding: 0.15rem 0.45rem;
  vertical-align: middle;
  margin-left: 0.5rem;
}
.inst-list { list-style: none; padding: 0; display: grid; gap: 1.1rem; }
.inst-list li { display: flex; gap: 0.8rem; align-items: flex-start; color: var(--bronze); }
.inst-list strong { display: block; color: var(--text); font-size: 0.88rem; font-weight: 600; }
.inst-list span { display: block; color: var(--muted); font-size: 0.78rem; margin-top: 0.15rem; }

.inst-numbers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.6rem;
}
.inst-num { padding: 1.8rem 1rem; text-align: center; }
.inst-num + .inst-num { border-left: 1px solid var(--line-soft); }
.inst-num strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem; font-weight: 600;
  color: var(--bronze-soft);
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.4rem;
}
.inst-num span { font-size: 0.78rem; color: var(--muted); }

.press-row { text-align: center; margin-bottom: 3rem; }
.press-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); margin-bottom: 1.2rem; }
.press-logos {
  list-style: none; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem 2.6rem;
}
.press-logos li {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: rgba(233, 237, 244, 0.55);
  letter-spacing: 0.01em;
}

.advisors { margin-bottom: 2.6rem; text-align: center; }
.advisors h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; margin-bottom: 1.5rem; }
.advisor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  text-align: left;
}
.advisor {
  display: flex; gap: 0.9rem; align-items: center;
  border: 1px solid var(--line-soft);
  padding: 1.2rem;
}
.avatar {
  flex-shrink: 0;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--bronze);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.06em;
}
.advisor strong { display: block; font-size: 0.88rem; font-weight: 600; }
.advisor span:last-child { font-size: 0.76rem; color: var(--muted); }

.rating-banner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 0.8rem;
  border: 1px solid var(--line);
  padding: 1.4rem;
}
.rating-score { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--bronze-soft); }
.rating-stars { display: inline-flex; gap: 2px; color: var(--bronze); }
.rating-text { font-size: 0.8rem; color: var(--muted); }

/* ==========================================================================
   PERFORMANCE
   ========================================================================== */
.perf-table-wrap {
  border: 1px solid var(--line);
  overflow-x: auto;
}
.perf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  min-width: 680px;
}
.perf-table th {
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted);
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.perf-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line-soft);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.perf-table tbody tr:last-child td { border-bottom: 0; }
.risk-pill {
  display: inline-block;
  font-size: 0.7rem; font-weight: 600;
  padding: 0.2rem 0.6rem;
  border: 1px solid currentColor;
  border-radius: var(--radius-md);
}
.r-low { color: var(--up); }
.r-mid { color: var(--bronze); }
.r-high { color: #e0b36a; }
.r-very { color: var(--down); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  list-style: none;
  cursor: pointer;
  padding: 1.3rem 0.2rem;
  font-weight: 600; font-size: 0.95rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-mark {
  position: relative;
  width: 14px; height: 14px; flex-shrink: 0;
}
.faq-mark::before, .faq-mark::after {
  content: ""; position: absolute; background: var(--bronze);
  transition: transform 0.25s ease;
}
.faq-mark::before { left: 0; top: 50%; width: 14px; height: 1px; }
.faq-mark::after { left: 50%; top: 0; width: 1px; height: 14px; }
.faq-item[open] .faq-mark::after { transform: scaleY(0); }
.faq-item p {
  padding: 0 2rem 1.4rem 0.2rem;
  color: var(--muted); font-size: 0.88rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #070f1b;
  border-top: 1px solid var(--line);
  padding: 4rem 0 2.4rem;
}
.risk-banner {
  display: flex; gap: 1.2rem;
  border: 1px solid rgba(224, 123, 123, 0.4);
  background: rgba(224, 123, 123, 0.06);
  padding: 1.6rem;
  margin-bottom: 3rem;
}
.risk-badge {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 1px solid var(--down);
  color: var(--down);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
}
.risk-banner h2 {
  font-family: var(--font-body); font-size: 1rem; font-weight: 600;
  margin-bottom: 0.6rem;
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--down);
}
.risk-banner p { font-size: 0.84rem; color: var(--muted); margin-bottom: 0.4rem; }
.risk-banner p strong { color: var(--text); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 1.8rem;
}
.footer-tag { font-size: 0.8rem; color: var(--muted); margin-top: 1rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col h3 {
  font-family: var(--font-body); font-size: 0.76rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--text);
  margin-bottom: 0.3rem;
}
.footer-col a { text-decoration: none; font-size: 0.84rem; color: var(--muted); }
.footer-col a:hover { color: var(--bronze-soft); }

.footer-demo {
  font-size: 0.78rem; color: var(--muted);
  border-left: 2px solid var(--bronze);
  padding-left: 1rem;
  margin-bottom: 1.4rem;
}
.footer-copy { font-size: 0.76rem; color: rgba(147, 162, 184, 0.6); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat-tile:nth-child(3) { border-left: 0; border-top: 1px solid var(--line-soft); }
  .stat-tile:nth-child(4) { border-top: 1px solid var(--line-soft); }
  .live-panels { grid-template-columns: 1fr; }
  .pref-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inst-top { grid-template-columns: 1fr; }
  .inst-numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inst-num:nth-child(3) { border-left: 0; border-top: 1px solid var(--line-soft); }
  .inst-num:nth-child(4) { border-top: 1px solid var(--line-soft); }
  .advisor-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .site-nav {
    position: fixed;
    top: calc(68px + 31px);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--ink-2);
    border-bottom: 1px solid var(--line);
    margin-left: 0;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 1rem 6%; border-bottom: 1px solid var(--line-soft); }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
}

@media (max-width: 600px) {
  section { padding: 3.8rem 0; }
  .hero { padding: 4.5rem 0 4rem; }
  .hero-metrics { grid-template-columns: 1fr; }
  .hero-metrics > div + div { border-left: 0; border-top: 1px solid var(--line-soft); padding-left: 0; }
  .hero-metrics > div { padding: 1.1rem 0 0; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-tile + .stat-tile { border-left: 0; border-top: 1px solid var(--line-soft); }
  .stat-tile:nth-child(3) { border-left: 0; }
  .pref-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .inst-numbers { grid-template-columns: 1fr; }
  .inst-num + .inst-num { border-left: 0; border-top: 1px solid var(--line-soft); }
  .inst-num:nth-child(3) { border-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .risk-banner { flex-direction: column; }
  .matcher-steps li { padding: 0 0.8rem; font-size: 0.74rem; }
  .matcher-steps li + li::before { display: none; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .ticker-track { animation: none; }
  .fx, .reveal { opacity: 1; transform: none; }
  .bar-fill { width: var(--w); }
  #trend-line { stroke-dashoffset: 0; }
}
