/* QuantFin Society, University of Exeter */

:root {
  --bg: #060818;
  --bg-2: #0a0f1f;
  --bg-3: #0e1530;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);

  --text: #e9edf5;
  --text-dim: #aab3c5;
  --muted: #7a8499;

  --brand: #3282b8;
  --brand-2: #5fd0ff;
  --brand-3: #0fb8ff;
  --accent: #ff7a1a;
  --accent-2: #c7a55a;
  --pos: #4ade80;
  --neg: #f87171;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.45);

  --max: 1200px;
  --pad: 24px;
  --t: cubic-bezier(.2, .7, .2, 1);
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-2); }

p { margin: 0 0 14px; color: var(--text-dim); }

h1, h2, h3 {
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--text);
}

h1 { font-size: clamp(34px, 5vw, 64px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 600; }
h3 { font-size: 19px; font-weight: 600; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 10px 14px;
  z-index: 1000;
}
.skip:focus { left: 12px; top: 12px; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(6, 8, 24, 0.55);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--t), background .3s var(--t);
}
.nav.scrolled {
  background: rgba(6, 8, 24, 0.85);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", system-ui;
  font-weight: 700;
  font-size: 17px;
  margin-right: auto;
}
.brand-mark {
  display: inline-block;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: transparent;
  flex-shrink: 0;
  overflow: hidden;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
}
.brand-mark.sm { width: 34px; height: 34px; border-radius: 8px; }
.foot-brand .brand-mark { width: 42px; height: 42px; }
.brand-name { color: var(--text); }
.brand-sub {
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
  border-left: 1px solid var(--border-2);
  padding-left: 10px;
  margin-left: 4px;
}

.nav-links {
  display: flex;
  gap: 20px;
  font-size: 13.5px;
  color: var(--text-dim);
}
.nav-links a {
  transition: color .2s var(--t);
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--brand-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--t);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { display: flex; gap: 10px; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-2);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s var(--t), opacity .2s var(--t);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s var(--t), background .2s var(--t), border-color .2s var(--t), color .2s var(--t), box-shadow .2s var(--t);
  white-space: nowrap;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}
.btn.lg { padding: 14px 22px; font-size: 15px; }
.btn.block { display: flex; width: 100%; justify-content: center; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #051528;
  border-color: rgba(95, 208, 255, 0.5);
  box-shadow: 0 10px 30px rgba(50, 130, 184, 0.35);
}
.btn-primary:hover {
  color: #051528;
  filter: brightness(1.06);
  box-shadow: 0 14px 40px rgba(95, 208, 255, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}
.btn-ghost:hover {
  border-color: var(--brand-2);
  color: var(--brand-2);
}

/* Ripple effect on click */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255,255,255,0.35);
  pointer-events: none;
  animation: rippleAnim .55s var(--t);
}
@keyframes rippleAnim {
  to { transform: scale(2.5); opacity: 0; }
}

/* Hero */
.hero {
  position: relative;
  padding: 120px var(--pad) 110px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(1100px 600px at 80% -10%, rgba(50, 130, 184, 0.18), transparent 60%),
    radial-gradient(800px 500px at -10% 30%, rgba(95, 208, 255, 0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
#bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 80%);
  z-index: -1;
  opacity: .35;
}
.hero-glow {
  position: absolute;
  inset: auto auto -200px -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,122,26,0.15), transparent 60%);
  z-index: -1;
  filter: blur(40px);
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: left;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-2);
  background: rgba(255,255,255,0.03);
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 12px var(--brand-2);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .6; transform: scale(.85); }
}

.live-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pos);
  box-shadow: 0 0 8px var(--pos);
  animation: pulse 1.8s ease-in-out infinite;
}
.live-dot.pos { background: var(--pos); box-shadow: 0 0 8px var(--pos); }

.title { max-width: 18ch; }
.title .grad {
  background: linear-gradient(120deg, var(--brand-2), var(--brand));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-dim);
  max-width: 60ch;
  margin-top: 20px;
}
.lede.dim { color: var(--text-dim); }
.narrow { max-width: 64ch; }

.hero-cta {
  display: flex;
  gap: 12px;
  margin: 36px 0 44px;
  flex-wrap: wrap;
}
.hero-cta.tight { margin: 22px 0 0; }

.badges {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 820px;
}
.badges li {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--surface);
  backdrop-filter: blur(6px);
  transition: transform .3s var(--t), border-color .3s var(--t);
}
.badges li:hover {
  transform: translateY(-3px);
  border-color: var(--brand-2);
}
.badges strong {
  display: block;
  font-family: "Space Grotesk";
  font-size: 26px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.badges span { color: var(--muted); font-size: 13px; }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1px solid var(--border-2);
  border-radius: 14px;
  display: grid;
  place-items: center;
}
.scroll-hint span {
  width: 3px; height: 8px;
  background: var(--brand-2);
  border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(-6px); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(6px); opacity: 0; }
}

/* Marquee */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 18px 0;
  background: rgba(255,255,255,0.02);
}
.marquee-track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  width: max-content;
  animation: scroll 50s linear infinite;
  color: var(--text-dim);
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.marquee-track span:nth-child(2n) { color: var(--brand-2); }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
.section { padding: 110px 0; position: relative; }
.section.dark { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.kicker {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 12px;
  color: var(--brand-2);
  margin: 0 0 12px;
  font-weight: 600;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: start;
}
.two-col.reverse > :first-child { order: 2; }

.about-cta { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: relative;
  backdrop-filter: blur(10px);
}
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
}

.stat-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(95, 208, 255, 0.12);
  color: var(--brand-2);
  border: 1px solid rgba(95, 208, 255, 0.3);
}
.muted { color: var(--muted); font-size: 13px; }

.stat-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  border-top: 1px solid var(--border);
}
.stat-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.stat-list li span { color: var(--muted); }
.stat-list li b {
  color: var(--text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.stat-list li b.pos { color: var(--pos); font-family: var(--mono); }

.terminal {
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 12.5px;
  display: grid;
  gap: 4px;
}
.terminal code { color: var(--brand-2); }
.terminal code.muted { color: var(--muted); }

/* Divisions */
.div-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.div-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--t), border-color .3s var(--t), box-shadow .4s var(--t);
  transform-style: preserve-3d;
  will-change: transform;
}
.div-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(95, 208, 255, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity .3s var(--t);
  pointer-events: none;
}
.div-card:hover {
  border-color: var(--border-2);
  box-shadow: var(--shadow);
}
.div-card:hover::before { opacity: 1; }
.div-card header {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
}
.div-num {
  font-family: var(--mono);
  color: var(--brand-2);
  font-size: 13px;
  letter-spacing: .08em;
}
.div-card > ul {
  margin: 14px 0 14px;
  padding: 0;
  list-style: none;
}
.div-card > ul li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-dim);
  margin: 6px 0;
}
.div-card > ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px; height: 1px;
  background: var(--brand-2);
}
.div-heads {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--text-dim);
}
.div-heads .muted {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 11px;
  margin-right: 8px;
}

.roster {
  margin-top: 16px;
  border-top: 1px dashed var(--border);
  padding-top: 12px;
}
.roster > summary {
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  color: var(--brand-2);
  font-weight: 600;
  padding: 4px 0;
  font-family: var(--mono);
  letter-spacing: .04em;
}
.roster > summary::-webkit-details-marker { display: none; }
.roster > summary::after {
  content: " ▸";
  display: inline-block;
  margin-left: 6px;
  transition: transform .2s var(--t);
}
.roster[open] > summary::after { transform: rotate(90deg); }
.roster-list {
  list-style: none;
  padding: 12px 0 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.roster-list li {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) 2fr;
  gap: 10px;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px dotted rgba(255,255,255,0.05);
}
.roster-list li b { color: var(--text); font-weight: 600; }
.roster-list li span { color: var(--muted); }

/* Fund board */
.fund-board {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px;
  margin-top: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01)),
    repeating-linear-gradient(90deg, transparent 0, transparent 60px, rgba(255,255,255,0.02) 60px, rgba(255,255,255,0.02) 61px);
  position: relative;
  overflow: hidden;
}
.fund-board::before {
  content: "";
  position: absolute;
  top: 12px; right: 16px;
  font-family: var(--mono);
  color: var(--muted);
  font-size: 11px;
}
.fund-main { display: flex; flex-direction: column; justify-content: center; }
.fund-aum {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.fund-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.fund-value {
  font-family: var(--mono);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 56px);
  color: var(--text);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -.02em;
}
.fund-delta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.fund-arrow { font-size: 16px; }
.fund-d-val { font-weight: 600; }
.fund-d-pct {
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(74, 222, 128, 0.12);
  border: 1px solid rgba(74, 222, 128, 0.3);
}
.fund-status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

.fund-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.fund-cell {
  background: rgba(0, 0, 0, 0.35);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fund-cell .fund-label { font-size: 10.5px; }
.fund-val {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.fund-val.pos { color: var(--pos); }
.fund-val.neg { color: var(--neg); }
.fund-note {
  margin-top: 18px;
  font-size: 12px;
  font-style: italic;
}

.pos { color: var(--pos); }
.neg { color: var(--neg); }
.accent { color: var(--accent); }

/* Insights */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.insight-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  background: var(--surface);
  transition: transform .3s var(--t), border-color .3s var(--t), box-shadow .3s var(--t);
}
.insight-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-2);
  box-shadow: var(--shadow);
}
.insight-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(95,208,255,0.08), rgba(255,122,26,0.05));
  border-color: rgba(95, 208, 255, 0.3);
}
.insight-card.placeholder { opacity: .85; }
.insight-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.ins-tag {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 122, 26, 0.1);
  border: 1px solid rgba(255, 122, 26, 0.25);
}
.insight-card time {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.ins-by {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--brand-2);
  margin: 0 0 10px;
}
.ins-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin: 16px 0 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.ins-stats > div {
  background: rgba(0, 0, 0, 0.35);
  padding: 12px;
}
.ins-stats dt {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  margin: 0 0 4px;
}
.ins-stats dd {
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.ins-context {
  margin-top: 14px;
  font-size: 13px;
  border-top: 1px dashed var(--border);
  padding-top: 12px;
}
.insights-cta {
  margin-top: 28px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Committee */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}
.comm-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  background: var(--surface);
  text-align: center;
  transition: transform .3s var(--t), border-color .3s var(--t);
  position: relative;
  overflow: hidden;
}
.comm-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-2);
}
.comm-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  font-family: "Space Grotesk";
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  letter-spacing: .02em;
  background: linear-gradient(135deg, var(--av-a, var(--brand-2)), var(--av-b, var(--brand)));
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}
.comm-card h3 { font-size: 16px; margin: 0 0 4px; }
.comm-role {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--brand-2);
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.comm-sub {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
}

/* Platform mock */
.platform-mock {
  padding: 0;
  overflow: hidden;
}
.mock-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
}
.mock-top .dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.mock-top .dot.r { background: #ff5f57; }
.mock-top .dot.y { background: #febc2e; }
.mock-top .dot.g { background: #28c840; }
.mock-url {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.mock-body { padding: 18px; }
.mock-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
}
.mock-row:last-of-type { border-bottom: none; }
.ticker {
  font-family: var(--mono);
  color: var(--text);
  font-weight: 600;
}
.mock-bar {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}
.mock-bar i {
  display: block;
  height: 100%;
  width: var(--w, 50%);
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
  border-radius: 3px;
  animation: barIn 1.2s var(--t);
}
@keyframes barIn { from { width: 0; } }
.mock-val { font-family: var(--mono); color: var(--text-dim); font-variant-numeric: tabular-nums; }
.mock-val.pos { color: var(--pos); }
.mock-val.neg { color: var(--neg); }
.mock-chart {
  width: 100%;
  height: 120px;
  margin-top: 10px;
}

.feature-list { list-style: none; padding: 0; margin: 16px 0 26px; }
.feature-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-dim);
  margin: 8px 0;
  font-size: 15px;
}
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-2);
  font-weight: 700;
}

/* Timeline */
.timeline {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--brand-2), transparent);
}
.timeline li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 22px;
}
.t-dot {
  position: absolute;
  left: 0;
  top: 16px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--brand-2);
  box-shadow: 0 0 0 4px rgba(95, 208, 255, 0.15);
}
.t-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  background: var(--surface);
  transition: border-color .25s var(--t), transform .25s var(--t);
}
.t-card:hover { border-color: var(--border-2); transform: translateX(4px); }
.t-meta {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 11px;
  color: var(--brand-2);
  margin: 0 0 4px;
  font-weight: 600;
}
.t-card h3 { font-size: 18px; margin-bottom: 8px; }

/* Community chat */
.chat-card {
  padding: 0;
  overflow: hidden;
}
.chat-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0,0,0,0.25);
}
.chat-title { margin: 0; font-weight: 600; font-size: 14px; }
.chat-head .muted { margin: 0; font-size: 12px; }
.chat-row {
  display: flex;
  gap: 10px;
  padding: 11px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  align-items: baseline;
}
.chat-row:last-child { border-bottom: 0; }
.chat-name {
  font-weight: 600;
  color: var(--brand-2);
  min-width: 60px;
  font-family: var(--mono);
  font-size: 13px;
}
.chat-msg { color: var(--text-dim); }
.chat-row.me .chat-name { color: var(--accent); }
.chat-row.me .chat-msg { color: var(--text); }

.comm-channels {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 8px;
}
.comm-channels li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  font-size: 14px;
  align-items: center;
}
.comm-channels li b {
  color: var(--text);
  font-weight: 600;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .04em;
}
.comm-channels li span { color: var(--muted); font-size: 13px; }

/* Reviews */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 36px 0 28px;
}
.review-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .25s var(--t), border-color .25s var(--t);
}
.review-card:hover { transform: translateY(-3px); border-color: var(--border-2); }
.stars {
  color: #ffc857;
  font-size: 18px;
  letter-spacing: .04em;
  margin-bottom: 4px;
}
.review-by {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
}

.review-cta {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

/* Join */
.join-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}
.join-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--t), border-color .25s var(--t);
}
.join-card:hover { transform: translateY(-4px); border-color: var(--border-2); }
.join-card.highlight {
  border-color: rgba(95, 208, 255, 0.45);
  box-shadow: 0 20px 50px rgba(50, 130, 184, 0.18);
  background: linear-gradient(180deg, rgba(95, 208, 255, 0.07), rgba(255,255,255,0.02));
}
.join-card header { margin-bottom: 16px; }
.join-card .pill { margin-bottom: 12px; }
.join-card .price {
  font-family: "Space Grotesk";
  font-size: 38px;
  font-weight: 700;
  margin: 8px 0 0;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.join-card .price span { color: var(--muted); font-size: 22px; font-weight: 500; }
.join-card ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 22px;
  flex: 1;
}
.join-card li {
  position: relative;
  padding-left: 20px;
  margin: 8px 0;
  color: var(--text-dim);
  font-size: 14px;
}
.join-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(95, 208, 255, 0.5);
}
.micro { font-size: 12px; color: var(--muted); margin: 12px 0 0; text-align: center; }

/* Contact */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}
.contact-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.ci {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding-top: 3px;
  font-family: var(--mono);
}

.contact-form { display: grid; gap: 12px; }
.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--text-dim);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 12px;
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color .2s var(--t), background .2s var(--t);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--brand-2);
  background: rgba(0,0,0,0.35);
}
.contact-form textarea { resize: vertical; }

/* Footer */
/* Compact team picker in Divisions section */
.div-pick {
  margin: 20px 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  flex-wrap: wrap;
}
.div-pick label { font-size: 12.5px; color: var(--muted); font-family: var(--mono); letter-spacing: .04em; }
.div-pick select {
  background: rgba(0, 0, 0, 0.30);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 9px 12px;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.div-pick select:focus { border-color: var(--brand-2); outline: none; }

.div-link {
  display: inline-block;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .04em;
  color: var(--brand-2);
  font-weight: 600;
}
.div-link:hover { color: var(--text); }

/* Subpage layouts (teams, insights articles) */
.subpage {
  padding: 80px 0 60px;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(50, 130, 184, 0.15), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.subpage .container { max-width: 940px; }
.subpage .crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.subpage .crumbs a { color: var(--brand-2); }
.subpage .crumbs span { color: var(--muted); }

.subpage h1 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 12px; }
.subpage h2 { font-size: 22px; margin: 28px 0 12px; }
.subpage h3 { font-size: 17px; margin: 24px 0 10px; color: var(--brand-2); }
.subpage .lede { font-size: 17px; max-width: 65ch; color: var(--text-dim); }

.subpage-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 12px 0 24px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}
.subpage-meta .pill { font-family: var(--mono); font-size: 11px; }

.subpage-body p,
.subpage-body li { color: var(--text-dim); line-height: 1.7; font-size: 15px; }
.subpage-body p { margin: 0 0 14px; }
.subpage-body ul, .subpage-body ol { padding-left: 20px; margin: 0 0 18px; }
.subpage-body strong { color: var(--text); font-weight: 600; }

.subpage-figure {
  margin: 22px 0;
  padding: 28px;
  background: var(--surface);
  border: 1px dashed var(--border-2);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.subpage-quote-card {
  background: linear-gradient(180deg, rgba(95, 208, 255, 0.06), rgba(255, 122, 26, 0.03));
  border: 1px solid rgba(95, 208, 255, 0.3);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 22px 0;
}
.subpage-quote-card p { margin: 0; font-size: 15.5px; color: var(--text); }

.subpage-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}
.subpage-stat {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.subpage-stat .lbl {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.subpage-stat .val {
  font-family: "Space Grotesk";
  font-variant-numeric: tabular-nums;
  font-size: 22px;
  font-weight: 600;
  margin-top: 4px;
}
.subpage-stat .val.pos { color: var(--pos); }
.subpage-stat .val.neg { color: var(--neg); }

.subpage-cta {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.disclaimer {
  margin-top: 40px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  font-size: 12.5px;
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 640px) {
  .subpage { padding: 56px 0 40px; }
  .subpage-stats { grid-template-columns: 1fr; }
}

.footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
  background: var(--bg-2);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.foot-name { margin: 0; font-family: "Space Grotesk"; font-weight: 600; color: var(--text); }
.foot-brand .muted { margin: 0; }
.foot-links {
  display: flex;
  gap: 18px;
  font-size: 13.5px;
  color: var(--text-dim);
  flex-wrap: wrap;
  justify-content: center;
}
.foot-social {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
  font-size: 14px;
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.foot-bottom p { margin: 0; }

.foot-credit {
  margin-top: 14px;
  text-align: center;
  font-size: 12.5px;
}
.foot-credit p { margin: 0; color: var(--muted); }
.foot-credit a {
  color: var(--text-dim);
  font-weight: 600;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.28);
  transition: color .2s var(--t), border-color .2s var(--t);
}
.foot-credit a:hover {
  color: var(--brand-2);
  border-bottom-color: var(--brand-2);
}

/* Resource list (Platform section) */
.resource-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}
.resource-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  align-items: center;
  transition: border-color .2s var(--t), transform .2s var(--t);
}
.resource-list li:hover { border-color: var(--brand-2); transform: translateX(2px); }
.res-ic {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  background: rgba(95, 208, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--brand-2);
}
.resource-list li > div { display: grid; gap: 1px; }
.resource-list li b { font-size: 13px; color: var(--text); }
.resource-list li a {
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--brand-2);
  word-break: break-all;
}
.resource-list li .muted { font-size: 11.5px; }

/* Timeline highlight + links */
.t-card.highlight {
  border-color: rgba(95, 208, 255, 0.4);
  background: linear-gradient(180deg, rgba(95, 208, 255, 0.07), rgba(255, 122, 26, 0.03));
}
.t-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.btn.sm { padding: 7px 12px; font-size: 12.5px; min-height: auto; }

/* Partners */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}
.partner-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  background: var(--surface);
  color: inherit;
  transition: transform .25s var(--t), border-color .25s var(--t), box-shadow .25s var(--t);
}
.partner-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-2);
  box-shadow: var(--shadow);
  color: inherit;
}
.partner-card.primary {
  border-color: rgba(255, 122, 26, 0.4);
  background: linear-gradient(180deg, rgba(255, 122, 26, 0.06), rgba(255,255,255,0.02));
}
.partner-mark {
  width: 88px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  font-family: "Space Grotesk", system-ui;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--text);
}
.partner-mark.wq { color: #c5c8d2; background: #14182a; border-color: rgba(197, 200, 210, 0.25); }
.partner-mark.cfa { color: #c7a55a; background: #0e1530; border-color: rgba(199, 165, 90, 0.35); font-family: Georgia, serif; }
.partner-mark.uoe { color: #4ade80; background: #0e1f15; border-color: rgba(74, 222, 128, 0.25); }
.partner-mark.guild { color: #5fd0ff; background: #0a1626; border-color: rgba(95, 208, 255, 0.25); }
.partner-mark.sse { color: #f472b6; background: #1a0d1d; border-color: rgba(244, 114, 182, 0.25); }
.partner-mark.tv { color: #ffffff; background: #1c2130; border-color: rgba(255,255,255,0.16); }
.partner-tag {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  margin: 0 0 4px;
}
.partner-card h3 { margin: 0 0 6px; font-size: 17px; }
.partner-card p { font-size: 13.5px; margin: 0; color: var(--text-dim); }

/* Markets grid: sparklines + heatmap */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.mini-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: var(--surface);
  display: grid;
  gap: 6px;
  transition: transform .25s var(--t), border-color .25s var(--t);
}
.mini-card:hover { transform: translateY(-3px); border-color: var(--border-2); }
.mini-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mini-tag {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--text);
}
.mini-pct {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.spark { width: 100%; height: 36px; display: block; }
.mini-foot {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}

.heatmap-wrap {
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  background: var(--surface);
}
.heatmap-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}
.heatmap-head .kicker { margin: 0; }
.heatmap {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
}
.heatmap > span {
  position: relative;
  display: grid;
  place-items: center;
  padding: 14px 6px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  color: #052015;
  background: rgba(74, 222, 128, calc(var(--h) * 0.55));
  border: 1px solid rgba(74, 222, 128, calc(var(--h) * 0.7));
  text-align: center;
  line-height: 1.2;
}
.heatmap > span.d {
  color: #2a0606;
  background: rgba(248, 113, 113, calc(var(--h) * 0.55));
  border-color: rgba(248, 113, 113, calc(var(--h) * 0.7));
}
.heatmap > span i {
  display: block;
  font-style: normal;
  font-size: 10px;
  opacity: .85;
  margin-top: 2px;
}

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--t), transform .8s var(--t); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* Staggered children reveal */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--t), transform .7s var(--t);
}
.reveal.in [data-stagger] > *,
[data-stagger].in > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal.in [data-stagger] > *:nth-child(1),
[data-stagger].in > *:nth-child(1) { transition-delay: .04s; }
.reveal.in [data-stagger] > *:nth-child(2),
[data-stagger].in > *:nth-child(2) { transition-delay: .10s; }
.reveal.in [data-stagger] > *:nth-child(3),
[data-stagger].in > *:nth-child(3) { transition-delay: .16s; }
.reveal.in [data-stagger] > *:nth-child(4),
[data-stagger].in > *:nth-child(4) { transition-delay: .22s; }
.reveal.in [data-stagger] > *:nth-child(5),
[data-stagger].in > *:nth-child(5) { transition-delay: .28s; }
.reveal.in [data-stagger] > *:nth-child(6),
[data-stagger].in > *:nth-child(6) { transition-delay: .34s; }
.reveal.in [data-stagger] > *:nth-child(7),
[data-stagger].in > *:nth-child(7) { transition-delay: .40s; }
.reveal.in [data-stagger] > *:nth-child(8),
[data-stagger].in > *:nth-child(8) { transition-delay: .46s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  [data-stagger] > * { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .eyebrow .dot, .scroll-hint span, .live-dot { animation: none; }
}

/* Touch targets: ensure tap-friendly on mobile */
@media (hover: none) and (pointer: coarse) {
  .btn { min-height: 44px; }
  .nav-links a { padding: 8px 4px; }
  .foot-links a { padding: 6px 4px; }
  .roster > summary { padding: 10px 0; }
  .rate .star { padding: 8px; }
}

/* Tablet */
@media (max-width: 960px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(6, 8, 24, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 18px;
    font-size: 16px;
  }
  .two-col, .two-col.reverse { grid-template-columns: 1fr; gap: 32px; }
  .two-col.reverse > :first-child { order: 0; }
  .div-grid { grid-template-columns: 1fr; }
  .join-grid { grid-template-columns: 1fr; }
  .insights-grid { grid-template-columns: 1fr; }
  .insight-card.featured { grid-column: span 1; }
  .committee-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .fund-board { grid-template-columns: 1fr; padding: 22px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .foot-links, .foot-social { justify-content: center; }
  .badges { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 80px var(--pad) 70px; }
  .section { padding: 64px 0; }
}

/* Mobile */
@media (max-width: 640px) {
  :root { --pad: 18px; }
  h1 { font-size: clamp(32px, 8vw, 44px); line-height: 1.05; }
  h2 { font-size: clamp(24px, 6vw, 32px); }
  .hero { padding: 60px var(--pad) 56px; }
  .section { padding: 56px 0; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .badges { grid-template-columns: 1fr 1fr; gap: 10px; }
  .badges li { padding: 14px; }
  .badges strong { font-size: 22px; }
  .nav-inner { padding: 12px var(--pad); gap: 10px; }
  .brand-name { font-size: 16px; }
  .brand-sub { display: none; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .ins-stats { grid-template-columns: repeat(3, 1fr); }
  .ins-stats > div { padding: 10px 6px; }
  .ins-stats dd { font-size: 13px; }
  .ins-stats dt { font-size: 9px; }
  .comm-channels li { grid-template-columns: 1fr; gap: 2px; padding: 12px 14px; }
  .comm-channels li b { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
  .comm-channels li span { font-size: 14px; color: var(--text); }
  .committee-grid { grid-template-columns: 1fr 1fr; }
  .comm-card { padding: 18px 12px; }
  .comm-avatar { width: 52px; height: 52px; font-size: 18px; }
  .comm-card h3 { font-size: 14px; }
  .comm-role { font-size: 11px; }
  .comm-sub { font-size: 11.5px; }
  .fund-grid { grid-template-columns: 1fr 1fr; }
  .fund-cell { padding: 11px 12px; }
  .roster-list li { grid-template-columns: 1fr; gap: 2px; }
  .timeline li { padding-left: 30px; }
  .t-card { padding: 14px 16px; }
  .marquee-track { font-size: 12px; gap: 18px; }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .heatmap { grid-template-columns: repeat(6, 1fr); }
  .partners-grid { grid-template-columns: 1fr; }
  .partner-card { grid-template-columns: 64px 1fr; gap: 14px; padding: 14px 16px; }
  .partner-mark { width: 64px; height: 48px; font-size: 18px; }
  .resource-list li { grid-template-columns: 32px 1fr; gap: 10px; padding: 11px 12px; }
  .t-links { gap: 6px; }
  .btn.sm { font-size: 12px; padding: 6px 10px; }
}

@media (max-width: 380px) {
  .badges { grid-template-columns: 1fr; }
  .committee-grid { grid-template-columns: 1fr; }
  .fund-grid { grid-template-columns: 1fr; }
  .reviews-grid, .insights-grid { grid-template-columns: 1fr; }
}

/* Platforms section: stacked blocks */
.platform-block { margin-top: 64px; }
.platform-title { font-size: clamp(22px, 2.6vw, 30px); }
@media (max-width: 860px) {
  .platform-block { margin-top: 44px; }
}



.lede-link {
  color: var(--text-dim);
  text-decoration: underline dotted rgba(255, 255, 255, 0.28);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color .2s var(--t), text-decoration-color .2s var(--t);
}
.lede-link:hover {
  color: var(--text);
  text-decoration-color: var(--brand-2);
}

.badges li a { display: block; color: inherit; }


/* Hero CTA: three trading-tape buttons (long / short / info) */
.hero-cta { gap: 12px; flex-wrap: wrap; }
.btn-tape {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--tape-line, rgba(255, 255, 255, 0.14));
  background:
    linear-gradient(135deg, var(--tape-fill, rgba(95, 208, 255, 0.08)), transparent 70%),
    var(--bg-2);
  color: var(--text);
  font-family: inherit;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
  position: relative;
  transition: transform .2s var(--t), border-color .2s var(--t), box-shadow .25s var(--t), background .25s var(--t);
}
.btn-tape::before {
  content: "";
  position: absolute;
  left: 0; top: 14%; bottom: 14%; width: 3px;
  border-radius: 3px;
  background: var(--tape-bar, var(--brand-2));
  box-shadow: 0 0 12px var(--tape-bar, var(--brand-2));
}
.btn-tape:hover {
  transform: translateY(-2px);
  border-color: var(--tape-bar);
  box-shadow: 0 12px 36px var(--tape-glow, rgba(95, 208, 255, 0.18));
}
.tape-ic { color: var(--tape-bar); flex: 0 0 auto; opacity: 0.9; }
.tape-label { display: inline-flex; flex-direction: column; gap: 1px; line-height: 1.15; }
.tape-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tape-bar);
}
.tape-text { font-size: 13.5px; color: var(--text-dim); font-weight: 500; }

.btn-tape.up   { --tape-bar: #4ade80; --tape-line: rgba(74, 222, 128, 0.34); --tape-fill: rgba(74, 222, 128, 0.10); --tape-glow: rgba(74, 222, 128, 0.22); }
.btn-tape.down { --tape-bar: #f87171; --tape-line: rgba(248, 113, 113, 0.34); --tape-fill: rgba(248, 113, 113, 0.10); --tape-glow: rgba(248, 113, 113, 0.22); }
.btn-tape.info { --tape-bar: #5fd0ff; --tape-line: rgba(95, 208, 255, 0.34); --tape-fill: rgba(95, 208, 255, 0.10); --tape-glow: rgba(95, 208, 255, 0.22); }

@media (max-width: 720px) {
  .btn-tape { width: 100%; }
}
