:root {
  --blue: #0052ff;
  --blue-hover: #578bfa;
  --ink: #0a0b0d;
  --muted: #5b616e;
  --surface: #f5f7fb;
  --line: rgba(91, 97, 110, 0.18);
  --dark: #0a0b0d;
  --dark-card: #181b22;
  --white: #ffffff;
  --radius: 28px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 96px 0; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 max(20px, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid rgba(91, 97, 110, 0.14);
  background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: white;
  display: grid; place-items: center; font-weight: 800; letter-spacing: -0.04em;
}
.brand-copy { display: flex; gap: 4px; align-items: baseline; font-size: 16px; }
.brand-copy strong { letter-spacing: -0.03em; }
.brand-copy span { color: var(--muted); }
.nav { display: flex; gap: 28px; font-size: 14px; color: #30343b; }
.nav a:hover, .text-link:hover { color: var(--blue); }
.nav-cta { padding: 12px 18px; border-radius: 999px; background: var(--ink); color: white; font-weight: 700; font-size: 14px; }
.hero { padding-top: 112px; background: radial-gradient(circle at 80% 10%, rgba(0,82,255,.11), transparent 34%), #fff; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; }
.eyebrow.blue { color: #7dabff; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(52px, 6.4vw, 86px); line-height: 1.02; letter-spacing: -0.045em; word-spacing: 0.04em; margin-bottom: 28px; max-width: 850px; }
h2 { font-size: clamp(38px, 4vw, 64px); line-height: 1.02; letter-spacing: -0.04em; margin-bottom: 22px; }
h3 { font-size: 22px; line-height: 1.1; letter-spacing: -0.035em; margin-bottom: 12px; }
.lead { font-size: 22px; line-height: 1.45; color: #30343b; max-width: 720px; }
.muted, .section-heading p, .thesis-copy p, .apple-note p, .subscribe p { color: var(--muted); font-size: 18px; line-height: 1.62; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 18px; }
.button { border: 1px solid transparent; border-radius: 56px; padding: 16px 24px; font-weight: 800; display: inline-flex; justify-content: center; align-items: center; min-height: 56px; transition: .18s ease; }
.button.primary { background: var(--blue); color: white; }
.button.primary:hover { background: var(--blue-hover); transform: translateY(-1px); }
.button.secondary { background: #eef0f3; color: var(--ink); }
.button.secondary:hover { background: #e1e6ef; }
.fine-print { color: var(--muted); font-size: 13px; line-height: 1.45; }
.fine-print.inverse { color: rgba(255,255,255,.56); }
.index-card { background: var(--ink); color: white; border-radius: 38px; padding: 30px; box-shadow: 0 30px 80px rgba(0,0,0,.18); }
.index-card-top, .level-row, .performance-footnotes { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.index-card-top { color: rgba(255,255,255,.7); font-size: 14px; margin-bottom: 34px; }
.status-dot { color: #9fc0ff; }
.level-row { padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.14); }
.label, .metric-grid span { display: block; color: rgba(255,255,255,.58); font-size: 13px; margin-bottom: 8px; }
.level-row strong { font-size: clamp(34px, 4vw, 56px); letter-spacing: -0.06em; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 26px 0; }
.metric-grid div { background: var(--dark-card); padding: 18px; border-radius: 18px; }
.metric-grid strong { font-size: 25px; letter-spacing: -0.04em; }
.mini-bars { display: grid; gap: 10px; }
.mini-bars span { display: flex; align-items: center; justify-content: space-between; position: relative; min-height: 30px; padding: 8px 11px; border-radius: 999px; overflow: hidden; font-size: 13px; font-weight: 800; color: white; background: rgba(255,255,255,.10); text-shadow: 0 1px 8px rgba(0,0,0,.42); }
.mini-bars span::before { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--blue); z-index: -1; opacity: .95; }
.mini-bars span { isolation: isolate; }
.mini-bars span::after { content: ''; position: absolute; inset: 0; z-index: -2; background: rgba(255,255,255,.09); }
.dark { background: var(--dark); color: white; }
.dark .muted, .dark .section-heading p, .dark .thesis-copy p, .dark .subscribe p { color: rgba(255,255,255,.68); }
.two-col { display: grid; grid-template-columns: .85fr 1fr; gap: 70px; align-items: start; }
.thesis-copy { padding-top: 18px; }
.section-heading { max-width: 800px; margin-bottom: 42px; }
.section-heading.compact { margin-bottom: 28px; }
.rules-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rules-grid article { border: 1px solid var(--line); border-radius: 24px; padding: 26px; background: white; }
.rules-grid span { color: var(--blue); font-weight: 900; font-size: 13px; }
.rules-grid p { color: var(--muted); line-height: 1.55; }
.allocation-wrap { background: var(--surface); }
.allocation-grid { display: grid; grid-template-columns: .8fr 1fr; gap: 56px; align-items: start; }
.allocation-list { display: grid; gap: 10px; }
.allocation-list div { display: flex; justify-content: space-between; gap: 20px; padding: 18px 20px; border: 1px solid var(--line); background: white; border-radius: 16px; }
.allocation-list span { color: var(--blue); font-weight: 900; }
.constituent-tools { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 20px; }
.constituent-tools label { font-weight: 800; }
select, input, textarea { font: inherit; border: 1px solid var(--line); border-radius: 999px; padding: 14px 16px; background: white; min-height: 52px; }
textarea { border-radius: 18px; resize: vertical; line-height: 1.45; }
.constituent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stock-card { border: 1px solid var(--line); border-radius: 18px; padding: 18px; min-height: 160px; display: flex; flex-direction: column; gap: 10px; }
.stock-card .ticker { font-size: 28px; font-weight: 900; letter-spacing: -0.06em; }
.stock-card .company { font-weight: 800; }
.stock-card .sector { color: var(--blue); font-size: 12px; font-weight: 800; line-height: 1.2; }
.stock-card .description { color: var(--muted); font-size: 14px; line-height: 1.42; }
.stock-card .weight { margin-top: auto; font-weight: 900; }
.chart-card { background: white; padding: 16px; border-radius: 26px; border: 1px solid rgba(255,255,255,.1); }
.chart-card img { border-radius: 16px; }
.performance-footnotes { justify-content: flex-start; flex-wrap: wrap; margin-top: 18px; color: rgba(255,255,255,.66); font-size: 14px; }
.performance-footnotes span { border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 8px 12px; }
.text-link { color: var(--blue); font-weight: 900; }
.downloads-section { background: linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%); }
.download-feature { margin: 10px 0 18px; }
.download-grid.refined { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.download-card,
.subscriber-card {
  border: 1px solid var(--line); border-radius: 22px; padding: 20px; display: grid;
  grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; background: white;
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
  box-shadow: 0 1px 0 rgba(10,11,13,.02);
}
.download-card:hover { border-color: rgba(0,82,255,.42); transform: translateY(-1px); box-shadow: 0 18px 46px rgba(10,11,13,.07); }
.subscriber-card { background: #fbfcff; border-style: dashed; }
.subscriber-card .download-action { background: white; }
.primary-download { padding: 26px; border-color: rgba(0,82,255,.28); background: linear-gradient(135deg, #ffffff 0%, #f2f6ff 100%); }
.file-icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--blue); color: white; font-size: 12px; font-weight: 900; letter-spacing: .04em;
}
.file-icon.excel { background: #137333; }
.file-icon.data { background: #28323f; }
.file-icon.locked { background: #eef0f3; color: var(--muted); border: 1px solid var(--line); }
.file-copy { display: grid; gap: 5px; min-width: 0; }
.file-copy strong { font-size: 19px; letter-spacing: -0.035em; }
.primary-download .file-copy strong { font-size: 24px; }
.file-copy em { color: var(--muted); font-style: normal; font-size: 14px; line-height: 1.35; }
.download-action { color: var(--blue); font-weight: 900; font-size: 13px; padding: 9px 12px; border: 1px solid rgba(0,82,255,.18); border-radius: 999px; }
.subscribe-card { display: grid; grid-template-columns: .9fr 1fr; gap: 56px; align-items: center; background: var(--dark-card); border-radius: 34px; padding: 42px; }
.signup-form { display: grid; gap: 10px; }
.signup-form label { color: white; font-weight: 800; display: block; margin-bottom: 0; }
.signup-form > input,
.signup-form > textarea { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.08); color: white; width: 100%; }
.signup-form > input::placeholder,
.signup-form > textarea::placeholder { color: rgba(255,255,255,.46); }
.signup-form button:disabled { opacity: .68; cursor: wait; }
.optional { color: rgba(255,255,255,.55); font-weight: 600; font-size: 13px; }
.checkbox-row { display: flex !important; align-items: center; gap: 10px; margin: 14px 0 10px !important; color: rgba(255,255,255,.82) !important; font-size: 14px; font-weight: 700 !important; }
.checkbox-row input { min-height: auto; width: 18px; height: 18px; accent-color: var(--blue); }
.form-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.form-row input { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.08); color: white; min-width: 0; }
.form-row input::placeholder { color: rgba(255,255,255,.46); }
.hidden { display: none; }
.footer { border-top: 1px solid var(--line); padding: 34px 0; }
.footer-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.footer strong { display: block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }
@media (max-width: 980px) {
  .nav { display: none; }
  .hero-grid, .two-col, .allocation-grid, .subscribe-card, .footer-grid { grid-template-columns: 1fr; }
  .rules-grid, .constituent-grid, .download-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
}
@media (max-width: 620px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  .site-header { height: 66px; padding-inline: 14px; }
  .brand-copy span { display: none; }
  .nav-cta { display: none; }
  .hero { padding-top: 72px; }
  h1 { font-size: 50px; }
  h2 { font-size: 38px; }
  .lead { font-size: 19px; }
  .rules-grid, .constituent-grid, .download-grid { grid-template-columns: 1fr; }
  .download-card, .subscriber-card { grid-template-columns: auto 1fr; }
  .download-action { grid-column: 2; justify-self: start; }
  .constituent-tools { align-items: stretch; flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .index-card, .subscribe-card { padding: 22px; border-radius: 26px; }
}
