:root{
  --bg:#f5f8ff;
  --surface:#ffffff;
  --surface-soft:#f7fbff;
  --border:#dce9f4;
  --border-soft:#e8f0f8;
  --ink:#14213d;
  --ink-muted:#52647a;
  --ink-faint:#71839a;
  --accent:#2563eb;
  --accent-strong:#1d4ed8;
  --accent-soft:rgba(37,99,235,0.12);
  --accent-2:#14b8a6;
  --accent-2-soft:rgba(20,184,166,0.12);
  --gold:#f59e0b;
  --gold-soft:rgba(245,158,11,0.14);
  --steel:#5b7cfa;
  --steel-soft:rgba(91,124,250,0.12);
  --acwi:#14b8a6;
  --base-tone:#6b7f95;
  --rise:#16a34a;
  --fall:#ef4444;
}
*{ -webkit-print-color-adjust:exact; print-color-adjust:exact; }
html{ background:var(--bg); }
body{
  margin:0;
  background:
    radial-gradient(900px 420px at 0% -8%, rgba(37,99,235,0.12), transparent 60%),
    radial-gradient(760px 360px at 100% -4%, rgba(20,184,166,0.16), transparent 58%),
    linear-gradient(180deg, #f9fcff 0%, var(--bg) 100%);
  color:var(--ink);
  font-feature-settings:"cv11","ss01";
  padding-top:120px;
}
.page-shell{ max-width:1360px; margin:0 auto; padding:0 20px 40px; }
@media (max-width:640px){
  body{ padding-top:140px; }
  .page-shell{ padding:0 14px 28px; }
}
.mono{ font-family:'IBM Plex Mono', ui-monospace, monospace; font-variant-numeric:tabular-nums; }
::selection{ background:var(--accent-soft); color:var(--accent-strong); }

a:focus-visible, button:focus-visible, input:focus-visible{
  outline:2px solid var(--accent); outline-offset:2px; border-radius:2px;
}

.panel{
  background:linear-gradient(135deg, rgba(255,255,255,0.98), rgba(247,251,255,0.96));
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:0 18px 44px rgba(15,23,42,0.06);
}
.eyebrow{
  font-size:.68rem; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-faint); font-weight:700;
}

.pulse-dot{ position:relative; width:6px; height:6px; border-radius:999px; background:var(--rise); flex:none; }
.pulse-dot::after{
  content:''; position:absolute; inset:-4px; border-radius:999px; background:var(--rise); opacity:.45;
  animation:pulse 2.2s ease-out infinite;
}
@keyframes pulse{ 0%{ transform:scale(.4); opacity:.55;} 70%{ transform:scale(2.1); opacity:0;} 100%{ opacity:0;} }

.hero-card{
  display:grid; grid-template-columns:1.42fr .78fr; gap:14px; padding:20px 20px 18px; margin-bottom:16px; position:relative; overflow:hidden;
  background:linear-gradient(135deg, rgba(255,255,255,0.97), rgba(247,251,255,0.95));
}
.hero-card::before{
  content:''; position:absolute; inset:0;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.03) 35%, rgba(255,255,255,0.2) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 900'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23f8fbff'/%3E%3Cstop offset='100%25' stop-color='%23d9e8f8'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='900' height='900' fill='url(%23g)'/%3E%3Ccircle cx='450' cy='450' r='285' fill='none' stroke='rgba(37,99,235,0.12)' stroke-width='18'/%3E%3Ccircle cx='450' cy='450' r='220' fill='none' stroke='rgba(20,184,166,0.1)' stroke-width='12'/%3E%3Cpath d='M245 340c36-70 84-112 138-126 80-20 152 6 208 70 42 48 76 112 82 182 4 38-8 84-30 122-18 30-54 60-92 76-48 20-108 20-162-2-70-28-122-90-138-160-8-41-6-96 8-146z' fill='none' stroke='rgba(20,33,61,0.14)' stroke-width='16' stroke-linecap='round'/%3E%3Cpath d='M176 448c40-74 104-114 178-128 84-16 164 10 220 66 48 48 70 122 70 190' fill='none' stroke='rgba(37,99,235,0.12)' stroke-width='14' stroke-linecap='round'/%3E%3Cpath d='M302 256c50 24 88 58 114 101 26 44 42 94 48 146' fill='none' stroke='rgba(37,99,235,0.12)' stroke-width='10' stroke-linecap='round'/%3E%3Cellipse cx='620' cy='330' rx='102' ry='64' fill='rgba(255,255,255,0.38)' transform='rotate(-20 620 330)'/%3E%3Cellipse cx='310' cy='580' rx='122' ry='78' fill='rgba(255,255,255,0.25)' transform='rotate(18 310 580)'/%3E%3C/svg%3E") center/cover no-repeat;
  opacity:.45;
  pointer-events:none;
}
.hero-copy{ position:relative; z-index:1; }
.hero-title{ font-size:clamp(1.8rem, 3.1vw, 2.65rem); line-height:1.05; letter-spacing:-0.025em; font-weight:700; margin:4px 0 10px; color:var(--ink); max-width:760px; text-wrap:balance; }
.hero-copy p{ color:var(--ink-muted); line-height:1.6; margin:0; max-width:720px; }
.hero-pills{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.pill{ display:inline-flex; align-items:center; padding:7px 10px; border-radius:999px; background:rgba(255,255,255,0.8); border:1px solid rgba(37,99,235,0.12); color:var(--accent-strong); font-size:.76rem; font-weight:600; }
.hero-summary{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px; align-content:start; position:relative; z-index:1; }
.hero-stat{ padding:12px 14px; border-radius:14px; background:rgba(255,255,255,0.8); border:1px solid rgba(37,99,235,0.12); box-shadow:0 10px 24px rgba(15,23,42,0.04); }
.hero-stat strong{ display:block; font-size:1rem; color:var(--ink); margin-top:3px; }

.metrics-grid{ display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:16px; margin-bottom:18px; }
.metric-card{ padding:18px 18px 16px; transition:border-color .2s ease, transform .2s ease; }
.metric-card:hover{ border-color:var(--accent); transform:translateY(-2px); }
.metric-value{ font-family:'IBM Plex Mono', monospace; font-weight:700; font-size:1.85rem; letter-spacing:-0.01em; line-height:1; color:var(--ink); margin-top:8px; }
.metric-value.tone-accent{ color:var(--accent); }
.metric-compare{ margin-top:14px; padding-top:12px; border-top:1px solid var(--border-soft); display:grid; grid-template-columns:repeat(3,1fr); gap:6px; }
.metric-compare div{ display:flex; flex-direction:column; gap:2px; }
.cmp-label{ font-size:.62rem; letter-spacing:.05em; text-transform:uppercase; color:var(--ink-faint); }
.cmp-val{ font-size:.78rem; color:var(--ink-muted); font-weight:600; }

.info-dot{ display:inline-flex; align-items:center; justify-content:center; width:14px; height:14px; border-radius:999px; border:1px solid var(--ink-faint); color:var(--ink-faint); font-size:.6rem; font-style:italic; font-family:Georgia,serif; cursor:default; position:relative; }
.info-dot .tip{ position:absolute; bottom:130%; right:-8px; width:190px; padding:8px 10px; background:#fff; border:1px solid var(--border); border-radius:8px; font-size:.72rem; line-height:1.35; color:var(--ink-muted); font-family:Inter,sans-serif; text-transform:none; letter-spacing:normal; font-weight:400; opacity:0; pointer-events:none; transition:opacity .15s ease; z-index:20; box-shadow:0 10px 24px rgba(15,23,42,0.12); }
.info-dot:hover .tip, .info-dot:focus-visible .tip{ opacity:1; }

.dot{ display:inline-block; width:8px; height:8px; border-radius:999px; margin-right:7px; flex:none; }
.dot.gold{ background:var(--gold); }
.dot.steel{ background:var(--steel); }
.dot.acwi{ background:var(--accent-2); }
.dot.base{ background:var(--base-tone); }
.dot.golddim{ background:#a56f1f; }

.dashboard-grid{ display:grid; grid-template-columns:1.55fr .9fr; gap:16px; margin-bottom:18px; }
.control-panel, .allocation-panel{ padding:20px 20px 18px; }
.control-panel h2, .allocation-panel h2, .performance-panel h2, .table-panel h2, .chart-card h3{ font-size:.95rem; font-weight:700; color:var(--ink); margin:0; }
.control-panel p, .allocation-panel p, .performance-panel p, .table-panel p{ font-size:.8rem; line-height:1.6; color:var(--ink-muted); margin:6px 0 0; }
.slider-labels{ display:flex; justify-content:space-between; gap:12px; margin:16px 0 10px; flex-wrap:wrap; }
.tilt-slider{ -webkit-appearance:none; appearance:none; width:100%; height:7px; border-radius:999px; outline:none; background:linear-gradient(to right, var(--accent) 0%, var(--accent) var(--fill,40%), var(--border-soft) var(--fill,40%), var(--border-soft) 100%); cursor:pointer; }
.tilt-slider::-webkit-slider-thumb{ -webkit-appearance:none; width:20px; height:20px; border-radius:50%; background:var(--accent); border:3px solid var(--surface); box-shadow:0 0 0 2px rgba(37,99,235,0.2), 0 6px 16px rgba(37,99,235,0.18); cursor:grab; transition:transform .12s ease; }
.tilt-slider::-webkit-slider-thumb:hover{ transform:scale(1.1); }
.tilt-slider::-webkit-slider-thumb:active{ cursor:grabbing; }
.tilt-slider::-moz-range-thumb{ width:20px; height:20px; border-radius:50%; background:var(--accent); border:3px solid var(--surface); box-shadow:0 0 0 2px rgba(37,99,235,0.2), 0 6px 16px rgba(37,99,235,0.18); cursor:grab; }
.tilt-slider::-moz-range-track{ height:7px; border-radius:999px; background:transparent; }
.tick-row{ display:flex; justify-content:space-between; margin-top:9px; }
.tick-row span{ font-size:.66rem; color:var(--ink-faint); font-family:'IBM Plex Mono',monospace; }
.insight-box{ margin-top:18px; padding:13px 15px; border-radius:12px; background:var(--accent-soft); border:1px solid rgba(37,99,235,0.14); display:flex; gap:10px; align-items:flex-start; }
.insight-box svg{ flex:none; margin-top:2px; color:var(--accent); }
.insight-box p{ font-size:.82rem; line-height:1.55; color:var(--ink-muted); margin:0; }
.insight-box strong{ color:var(--accent-strong); font-weight:700; }
.donut-wrap{ position:relative; min-height:200px; margin:10px 0 4px; }
.allocation-breakdown{ margin-top:8px; padding-top:12px; border-top:1px solid var(--border-soft); display:grid; gap:10px; }
.allocation-row{ display:flex; justify-content:space-between; align-items:center; gap:10px; font-size:.82rem; }

.performance-panel{ padding:20px 20px 18px; margin-bottom:18px; }
.panel-head{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; align-items:flex-start; margin-bottom:10px; }
.period-toggle{ display:inline-flex; background:var(--surface-soft); border:1px solid var(--border); border-radius:10px; padding:3px; gap:2px; }
.period-btn{ font-family:'IBM Plex Mono',monospace; font-size:.72rem; font-weight:700; padding:6px 12px; border-radius:8px; color:var(--ink-muted); background:transparent; border:none; cursor:pointer; transition:all .15s ease; letter-spacing:.02em; }
.period-btn:hover{ color:var(--ink); }
.period-btn.active{ background:var(--accent-soft); color:var(--accent-strong); }
.chart-frame{ position:relative; height:220px; }
.chart-frame-large{ height:360px; }
.legend-hint{ font-size:.72rem; color:var(--ink-faint); margin-top:10px; }

.comparison-grid{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:16px; margin-bottom:18px; }
.chart-card{ padding:18px 18px 16px; }
.chart-card-head{ display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:10px; }
.badge{ display:inline-flex; align-items:center; gap:6px; font-size:.72rem; color:var(--ink-muted); background:var(--surface-soft); border:1px solid var(--border); padding:5px 10px; border-radius:999px; }
.badge.soft{ background:var(--accent-soft); color:var(--accent-strong); border-color:rgba(37,99,235,0.16); }

.table-panel{ padding:20px 20px 18px; }
.compare{ width:100%; border-collapse:collapse; font-size:.83rem; }
.compare th{ text-align:right; font-size:.64rem; letter-spacing:.08em; text-transform:uppercase; color:var(--ink-faint); font-weight:700; padding:0 6px 10px; border-bottom:1px solid var(--border); }
.compare th:first-child, .compare td:first-child{ text-align:left; }
.compare td{ padding:12px 6px; border-bottom:1px solid var(--border-soft); text-align:right; color:var(--ink-muted); }
.compare td.row-name{ color:var(--ink); font-weight:600; display:flex; align-items:center; }
.compare tr.row-highlight td{ color:var(--ink); background:rgba(37,99,235,0.04); }
.compare tr.row-highlight td:first-child{ border-left:2px solid var(--accent); padding-left:12px; }
.compare tr:last-child td{ border-bottom:none; }
td.neg{ color:var(--fall); }

.ticker-chip{ font-family:'IBM Plex Mono',monospace; font-size:.68rem; color:var(--ink-faint); background:var(--surface-soft); border:1px solid var(--border); padding:2px 7px; border-radius:4px; letter-spacing:.02em; }
.icon-btn{ display:inline-flex; align-items:center; gap:6px; font-size:.76rem; font-weight:600; color:var(--ink-muted); background:var(--surface-soft); border:1px solid var(--border); padding:7px 13px; border-radius:9px; cursor:pointer; transition:all .15s ease; }
.icon-btn:hover{ color:var(--ink); border-color:var(--accent); }

.site-header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:60;
  background:rgba(255,255,255,0.24);
  backdrop-filter:blur(16px) saturate(160%);
  -webkit-backdrop-filter:blur(16px) saturate(160%);
  border-bottom:1px solid rgba(37,99,235,0.12);
  box-shadow:0 14px 36px rgba(15,23,42,0.06);
  transition:background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.header-inner{ max-width:1360px; margin:0 auto; padding:14px 20px; display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand-copy{ display:flex; flex-direction:column; min-width:0; }
.brand h1{ margin:0; font-size:1rem; font-weight:700; color:var(--ink); }
.brand p{ margin:3px 0 0; font-size:.76rem; color:var(--ink-muted); }
.brand-mark{ flex:none; }
.creator-badge{ display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:32px; min-width:112px; padding:8px 12px; border-radius:999px; background:rgba(37,99,235,0.08); border:1px solid rgba(37,99,235,0.14); color:var(--accent-strong); font-size:.74rem; font-weight:700; letter-spacing:.02em; margin-left:8px; white-space:nowrap; box-shadow:inset 0 1px 0 rgba(255,255,255,0.55); text-decoration:none; line-height:1; }
.creator-badge:hover{ color:var(--accent-strong); text-decoration:none; }
.creator-badge--name, .creator-badge--linkedin{ min-width:112px; min-height:32px; padding:8px 12px; font-size:.74rem; line-height:1; }
.header-actions{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.scroll-progress-bar{ position:absolute; left:0; bottom:0; height:3px; width:0; background:linear-gradient(90deg, #fde68a 0%, #fef3c7 100%); box-shadow:0 0 14px rgba(253,230,138,0.45); border-radius:999px; }
.site-header.scrolled{ background:rgba(255,255,255,0.76); border-bottom-color:rgba(37,99,235,0.16); box-shadow:0 14px 36px rgba(15,23,42,0.08); }

/* ============================================================
   RESEARCH-REPORT SECTIONS
   ============================================================ */
.section-block{ padding:24px 24px 22px; margin-bottom:18px; }
.section-block-head{ max-width:760px; margin-bottom:18px; }
.section-block-head h2{ font-size:1.28rem; font-weight:700; color:var(--ink); margin:4px 0 8px; letter-spacing:-0.015em; }
.section-block-head p{ font-size:.85rem; line-height:1.65; color:var(--ink-muted); margin:0; }
.section-block-head p strong{ color:var(--ink); }

.construction-grid{ display:grid; grid-template-columns:1.3fr .9fr; gap:20px; align-items:start; }
.construction-copy{ display:grid; gap:14px; }
.allocation-row-detail{ display:flex; gap:12px; align-items:flex-start; padding:14px 16px; border:1px solid var(--border); border-radius:12px; background:var(--surface-soft); }
.allocation-row-detail .dot{ margin-top:6px; }
.allocation-row-detail strong{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; font-size:.88rem; color:var(--ink); }
.allocation-row-detail p{ margin:4px 0 0; font-size:.8rem; color:var(--ink-muted); line-height:1.55; }
.allocation-panel-inner{ padding:16px 16px 14px; border:1px solid var(--border); border-radius:14px; background:var(--surface-soft); }

.academic-grid{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:14px; }
.academic-card{ padding:16px 16px 14px; border:1px solid var(--border); border-radius:14px; background:var(--surface-soft); }
.academic-card h3{ font-size:.95rem; font-weight:700; color:var(--ink); margin:8px 0 6px; }
.academic-card p{ font-size:.8rem; color:var(--ink-muted); line-height:1.6; margin:0; }
.factor-chip{ display:inline-flex; align-items:center; font-family:'IBM Plex Mono',monospace; font-size:.66rem; font-weight:700; letter-spacing:.04em; color:var(--accent-strong); background:var(--accent-soft); border:1px solid rgba(37,99,235,0.16); padding:3px 8px; border-radius:6px; }

.disclaimer-note{ margin-top:16px; padding:12px 14px; border-radius:10px; background:var(--gold-soft); border:1px solid rgba(245,158,11,0.24); border-left:3px solid var(--gold); font-size:.78rem; line-height:1.55; color:var(--ink-muted); }
.sim-disclaimer{ margin-top:0; }
.sim-context-row{ display:flex; flex-wrap:wrap; gap:8px; margin:14px 0 18px; }

.structural-table td{ text-align:left; font-size:.8rem; }
.structural-table th:not(:first-child), .structural-table td:not(:first-child){ text-align:left; }
.structural-table td.row-name{ display:table-cell; }

.risk-list{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px; }
.risk-item{ display:flex; gap:12px; align-items:flex-start; padding:14px 16px; border:1px solid var(--border); border-radius:12px; background:var(--surface-soft); }
.risk-icon{ flex:none; width:26px; height:26px; border-radius:8px; display:flex; align-items:center; justify-content:center; background:rgba(239,68,68,0.1); color:var(--fall); font-weight:700; font-size:.85rem; }
.risk-item h4{ margin:0 0 4px; font-size:.85rem; font-weight:700; color:var(--ink); }
.risk-item p{ margin:0; font-size:.8rem; color:var(--ink-muted); line-height:1.55; }

.performance-panel-inner{ margin-top:18px; }
.performance-panel-inner h3{ font-size:.95rem; font-weight:700; color:var(--ink); margin:0; }
.performance-panel-inner .panel-head p{ font-size:.8rem; color:var(--ink-muted); margin:6px 0 0; }
.table-panel-inner{ margin-top:18px; }
.table-panel-inner h3{ font-size:.95rem; font-weight:700; color:var(--ink); margin:0 0 4px; }
.table-panel-inner p{ font-size:.8rem; color:var(--ink-muted); margin:0 0 10px; }

section, header, footer{ scroll-margin-top:20px; }

@media (max-width:960px){
  .metrics-grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
  .dashboard-grid, .comparison-grid{ grid-template-columns:1fr; }
  .hero-card{ grid-template-columns:1fr; }
  .construction-grid{ grid-template-columns:1fr; }
  .academic-grid{ grid-template-columns:1fr; }
  .risk-list{ grid-template-columns:1fr; }
}
@media (max-width:640px){
  .metrics-grid{ grid-template-columns:1fr; }
  .header-inner{ padding:14px 14px; }
  .brand{ align-items:flex-start; }
  .creator-badge{ margin-left:0; margin-top:6px; }
  .hero-card{ grid-template-columns:1fr; }
  .hero-summary{ grid-template-columns:1fr; }
  .hero-title{ font-size:clamp(1.5rem, 6vw, 1.95rem); }
  .chart-frame-large{ height:300px; }
  .chart-card-head{ flex-direction:column; }
  .section-block{ padding:18px 16px 16px; }
}
@media (prefers-reduced-motion:reduce){
  *{ animation:none !important; transition:none !important; }
}
@media print{
  body{ background:#fff !important; }
  .no-print{ display:none !important; }
  .panel{ break-inside:avoid; box-shadow:none; }
}
canvas{ max-width:100%; }