:root {
  color-scheme: light;
  --ground: #ffffff;
  --surface: #f6f9fe;
  --surface-raised: #ffffff;
  --hairline: #e3eaf6;
  --hairline-strong: #cdd8ec;
  --ink: #0b1730;
  --ink-secondary: #44506b;
  --ink-muted: #8a97b0;
  --accent: #1c69f6;
  --accent-deep: #0e47b8;
  --accent-wash: #eef4fe;
  --accent-line: #d7e4fd;
  --up: #0f9b74;
  --down: #e11d48;
  --on-blue: #ffffff;
  --on-blue-soft: rgba(255, 255, 255, 0.86);
  --on-blue-faint: rgba(255, 255, 255, 0.8);
  --series-index: #1c69f6;
  --series-net: #7ba7ff;
  --grid: #edf1f9;
  --logo-face:
    'Century Gothic', 'URW Gothic', 'Avant Garde', Futura, 'Trebuchet MS', Inter, sans-serif;
  --card: 0 1px 2px rgba(11, 23, 48, 0.04), 0 10px 30px -18px rgba(11, 23, 48, 0.16);
  --lift: 0 26px 60px -30px rgba(14, 71, 184, 0.55);
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding-inline: 24px;
}
main.wrap {
  padding-top: 80px;
}
.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}
.num {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.up {
  color: var(--up);
  font-weight: 600;
}
.down {
  color: var(--down);
  font-weight: 600;
}

/* SECTION 1: HERO (Simplified) */
.hero {
  margin-block: 26px 34px;
}
.hero-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 20px;
  padding: 40px 44px;
  color: var(--on-blue);
  background: linear-gradient(112deg, #0a2558 0%, #1248b8 48%, var(--accent) 100%);
  box-shadow:
    var(--lift),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.hero-card::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -40% -10% auto auto;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 62%);
}
.hero-card .eyebrow {
  color: var(--on-blue-soft);
  margin-bottom: 10px;
}
.hero-card h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  letter-spacing: -0.032em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  line-height: 1.12;
}
.hero-subtitle {
  color: var(--on-blue-soft);
  font-size: 16px;
  font-weight: 400;
  max-width: 100%;
  line-height: 1.5;
  margin: 0 0 28px;
}
.hero-metrics {
  display: flex;
  gap: 32px;
  align-items: baseline;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-metric-group {
  display: flex;
  flex-direction: column;
}
.hero-metric-label {
  font-size: 12px;
  color: var(--on-blue-faint);
  margin-bottom: 4px;
}
.hero-value {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}

/* SECTION 2: THESIS */
.thesis-block {
  margin-bottom: 48px;
  max-width: 100%;
}
.thesis-block h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.thesis-block p {
  font-size: 16px;
  color: var(--ink-secondary);
  line-height: 1.65;
  margin: 0;
}

.facts {
  display: grid;
  gap: 0 20px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: 28px 0 0;
  padding: 24px 36px;
  background: var(--surface-raised);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  box-shadow: var(--card);
}
.facts div {
  border-top: 2px solid var(--accent-line);
  padding-top: 9px;
}
.facts dt {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.facts dd {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 1060px) {
  .facts {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px 20px;
  }
}
.vs-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 240px;
  overflow-wrap: anywhere;
  line-height: 1.35;
}
.swatch {
  width: 15px;
  height: 3px;
  border-radius: 2px;
  flex: none;
}

/* SECTION 4: METHODOLOGY & PROCESS */
section {
  margin-block: 48px;
}
.method-panel {
  padding: 32px 36px;
}
.method-lead h3 {
  margin: 0 0 12px;
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.24;
  color: var(--ink);
}
.method-lead p {
  margin: 0 0 24px;
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.6;
  max-width: 100%;
}

.process-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 32px;
  padding: 20px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--hairline);
}
.process-step {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 140px;
}
.step-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.step-desc {
  font-size: 13px;
  color: var(--ink-secondary);
  font-weight: 500;
  line-height: 1.4;
}
.process-arrow {
  color: var(--hairline-strong);
  font-size: 20px;
  flex: none;
}

.method {
  display: grid;
  gap: 20px 32px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 0;
  font-size: 13px;
  color: var(--ink-secondary);
}
.method div {
  border-top: 2px solid var(--accent-line);
  padding-top: 12px;
}
.method dt {
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 4px;
}
.method dd {
  margin: 0;
}

/* GLOBAL PANEL & TABLE STYLES (Performance & Composition) */
.panel {
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--surface-raised);
  overflow: hidden;
  box-shadow: var(--card);
}
.panel-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 36px;
  border-bottom: 1px solid var(--hairline);
}
.panel-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.panel-note {
  font-size: 13px;
  color: var(--ink-muted);
}
.panel-foot {
  padding: 16px 36px;
  border-top: 1px solid var(--hairline);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-muted);
}
section > .panel + .panel {
  margin-top: 24px;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--ink-secondary);
  overflow-wrap: anywhere;
}

.table-scroll {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
th,
td {
  text-align: right;
  padding: 12px 20px;
  border-bottom: 1px solid var(--hairline);
}
th {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  background: var(--surface);
}
th:first-child,
td:first-child {
  text-align: left;
  padding-left: 36px;
}
th:last-child,
td:last-child {
  padding-right: 36px;
}
tbody tr:last-child td {
  border-bottom: none;
}
table.years {
  table-layout: fixed;
  min-width: 680px;
}
table.years th {
  vertical-align: top;
}
table.years th:not(:first-child),
table.years td:not(:first-child) {
  width: 136px;
  padding-left: 8px;
  padding-right: 36px;
}
tbody tr.marked {
  background: var(--accent-wash);
}
tbody tr.marked td:first-child {
  color: var(--accent);
  font-weight: 600;
}
.part {
  display: block;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-size: 10px;
  color: var(--ink-muted);
  white-space: nowrap;
}

/* SVG CHARTS */
.chart-body {
  position: relative;
  padding: 20px 16px 12px 24px;
}
.chart-scroll {
  overflow-x: auto;
}
svg.chart {
  display: block;
  width: 100%;
  height: auto;
  min-width: 560px;
}
.grid-line {
  stroke: var(--grid);
  stroke-width: 1;
}
.axis-text {
  fill: var(--ink-muted);
  font-size: 11px;
}
.series-line {
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.end-label {
  font-size: 12px;
  font-weight: 500;
}
.leader {
  stroke-width: 1;
  opacity: 0.45;
}
.axis-tick {
  stroke: var(--hairline-strong);
  stroke-width: 1;
}
.live-edge {
  stroke: var(--accent);
  stroke-width: 1;
  stroke-dasharray: 2 3;
  opacity: 0.6;
}
.live-tag {
  fill: var(--accent);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.crosshair {
  stroke: var(--accent);
  stroke-width: 1;
  stroke-dasharray: 3 3;
  opacity: 0.55;
}
.hover-dot {
  stroke: var(--surface-raised);
  stroke-width: 2;
}

/* TOOLTIP */
.tip {
  position: absolute;
  top: 14px;
  left: 0;
  pointer-events: none;
  background: var(--surface-raised);
  border: 1px solid var(--accent-line);
  border-radius: 10px;
  padding: 12px 14px;
  min-width: 180px;
  box-shadow: 0 10px 30px -12px rgba(11, 23, 48, 0.28);
  font-size: 12.5px;
  opacity: 0;
  transition: opacity 120ms ease;
}
.tip[data-shown='true'] {
  opacity: 1;
}
.tip-date {
  color: var(--ink-secondary);
  font-weight: 600;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hairline);
}
.tip-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.tip-row:last-child {
  margin-bottom: 0;
}
.tip-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-secondary);
  overflow-wrap: anywhere;
}
.tip-row b {
  font-weight: 500;
  margin-left: auto;
  color: var(--ink);
}

/* COMPOSITION SPECIFICS */
.split {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
}
.split.even {
  align-items: stretch;
}
.split.even > .panel,
.split.even > .stack > .panel {
  display: flex;
  flex-direction: column;
}
.split.even > .stack {
  grid-template-rows: auto 1fr;
}
.split.even .table-scroll,
.split.even .ring-body {
  flex: 1;
}
.split.even table {
  height: 100%;
}
.stack {
  display: grid;
  gap: 24px;
}

.theme-drivers {
  padding: 24px 36px;
}
.theme-drivers-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.theme-drivers-list li {
  background: var(--accent-wash);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--ink-secondary);
  font-weight: 500;
}

.rank {
  color: var(--accent);
  font-size: 11.5px;
  width: 46px;
  padding-right: 0;
}
.sym {
  font-weight: 500;
  color: var(--ink);
}
.name {
  color: var(--ink-muted);
  font-size: 12px;
}
.wbar {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  white-space: nowrap;
}
.wbar i {
  display: block;
  height: 6px;
  max-width: 78px;
  flex-shrink: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--series-net) 0%, #4785f9 48%, var(--accent) 100%);
}

.ring-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  padding: 24px 36px;
}
svg.sector-ring {
  width: 176px;
  height: 176px;
  flex: none;
}
.ring-value {
  fill: var(--ink);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.ring-value.is-pct {
  font-size: 26px;
  font-weight: 600;
}
.ring-note {
  fill: var(--ink-secondary);
  font-size: 15px;
  font-weight: 500;
}
.sector-slice {
  transform-origin: 116px 116px;
  transition:
    transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.18s ease;
}
#sector-slices.has-active .sector-slice {
  opacity: 0.32;
}
#sector-slices.has-active .sector-slice.is-active {
  opacity: 1;
  transform: scale(1.04);
}
.ring-side {
  width: 100%;
  min-width: 0;
}
.ring-head,
.sector-legend li {
  display: grid;
  gap: 10px;
  align-items: center;
  grid-template-columns: 13px minmax(0, 1fr) 60px 44px;
}
.ring-head {
  grid-template-columns: minmax(0, 1fr) 60px 44px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-muted);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 4px;
}
.ring-head span:not(:first-child),
.sector-weight,
.sector-count {
  text-align: right;
}
.sector-legend {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sector-legend li {
  font-size: 13px;
  padding: 6px 8px;
  margin-inline: -8px;
  border-radius: 6px;
  border-bottom: 1px solid var(--hairline);
  transition: background-color 0.15s ease;
}
.sector-legend li:last-child {
  border-bottom: none;
}
.sector-legend li.is-active {
  background: var(--accent-wash);
}
.sector-legend li.is-active .sector-name,
.sector-legend li.is-active .sector-weight {
  color: var(--ink);
  font-weight: 600;
}
.sector-legend i {
  width: 11px;
  height: 11px;
  border-radius: 3px;
  display: block;
}
.sector-name {
  color: var(--ink-secondary);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sector-count {
  color: var(--ink-muted);
  font-size: 12px;
}

/* SECTION 7: ABOUT & DISCLOSURES */
.about-block {
  margin-top: 60px;
  padding: 30px 36px;
  background: var(--accent-wash);
  border: 1px solid var(--accent-line);
  border-left: 3px solid var(--accent);
  border-radius: 14px;
}
.about-block p {
  margin: 0;
  font-size: 16px;
  color: var(--ink-secondary);
  line-height: 1.7;
  text-wrap: pretty;
}
.about-block b {
  color: var(--accent-deep);
  font-weight: 600;
}
.about-block a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.about-block a:hover {
  color: var(--accent);
}

.disclosures-block {
  border-top: 1px solid var(--hairline);
  margin-top: 60px;
  padding-block: 40px 60px;
  color: var(--ink-muted);
  font-size: 13px;
}
.disclosures-block p {
  margin: 0 0 12px;
  line-height: 1.6;
}
.disclosures-block b {
  color: var(--ink-secondary);
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
