:root {
  --bg: #ffffff;
  --bg-alt: #f5f6fa;
  --fg: #0b1020;
  --muted: #566074;
  --line: #e1e4ec;
  --accent: #4a2fe0;
  --accent-fg: #ffffff;
  --card: #ffffff;
  --notice-bg: #eef0fd;
  --ph-bg: #f1f2f6;
  --ph-fg: #566074;
  --ink: #0b1020;
  --ink-2: #151b33;
  --ink-fg: #f3f4fa;
  --ink-muted: #aab1c8;
  --warn: #ffb547;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(11, 16, 32, 0.06), 0 8px 24px rgba(11, 16, 32, 0.06);
  --s0: #4a2fe0;
  --s1: #7b61ff;
  --s2: #1f9d8b;
  --s3: #e0903a;
  --s4: #2b7de9;
  --s5: #c64f8e;
  --s6: #7a8499;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1020;
    --bg-alt: #0f1630;
    --fg: #eceef7;
    --muted: #a3abc2;
    --line: #232b49;
    --accent: #9d8cff;
    --accent-fg: #0b1020;
    --card: #131a35;
    --notice-bg: #19204a;
    --ph-bg: #1b2344;
    --ph-fg: #a3abc2;
    --shadow: none;
  }
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font:
    16px/1.65 ui-sans-serif,
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--accent);
  text-underline-offset: 3px;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.prose {
  max-width: 820px;
  padding-top: 48px;
  padding-bottom: 72px;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--bg);
  padding: 8px;
  z-index: 100;
}

/* status banner + header */
.status {
  background: var(--warn);
  color: #1b1300;
  font-size: 13px;
  line-height: 1.45;
  padding: 8px 0;
  text-align: center;
}
.status a {
  color: inherit;
  font-weight: 600;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.1em;
  color: var(--fg);
  text-decoration: none;
}
.mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 18px;
  letter-spacing: 0;
  border: 1px solid var(--line);
}
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  font-size: 14.5px;
}
.nav-desktop > a,
.more > summary {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--fg);
  text-decoration: none;
  cursor: pointer;
  list-style: none;
}
.nav-desktop > a:hover,
.more > summary:hover {
  background: var(--bg-alt);
}
nav a[aria-current='page'] {
  color: var(--accent);
  font-weight: 700;
}
.more {
  position: relative;
}
.more > summary::-webkit-details-marker,
.nav-mobile > summary::-webkit-details-marker {
  display: none;
}
.more > summary::after {
  content: ' ▾';
  font-size: 11px;
}
.more-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 200px;
  display: grid;
  padding: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(11, 16, 32, 0.18);
}
.more-panel a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--fg);
  text-decoration: none;
}
.more-panel a:hover {
  background: var(--bg-alt);
}
.nav-mobile {
  display: none;
  margin-left: auto;
}
.nav-mobile > summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 14px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.burger,
.burger::before,
.burger::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--fg);
  content: '';
  position: relative;
}
.burger::before {
  position: absolute;
  top: -6px;
}
.burger::after {
  position: absolute;
  top: 6px;
}
.nav-mobile nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: grid;
  padding: 8px 24px 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 24px rgba(11, 16, 32, 0.12);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}
.nav-mobile nav a {
  padding: 12px 4px;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
  color: var(--fg);
  text-decoration: none;
  font-size: 16px;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  min-height: 46px;
  border: 1.5px solid var(--accent);
  border-radius: 10px;
  color: var(--accent);
  font-weight: 650;
  text-decoration: none;
  background: transparent;
  transition:
    transform 0.12s ease,
    background 0.12s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
}
.btn-small {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 14.5px;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

/* hero */
.hero {
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(123, 97, 255, 0.45), transparent 60%),
    radial-gradient(700px 360px at 0% 110%, rgba(31, 157, 139, 0.25), transparent 60%), var(--ink);
  color: var(--ink-fg);
  padding: 88px 0 72px;
}
.hero .eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.hero h1 {
  font-size: clamp(56px, 11vw, 120px);
  line-height: 0.95;
  letter-spacing: 0.04em;
  margin: 0 0 20px;
}
.hero-lead {
  max-width: 680px;
  font-size: clamp(18px, 2.4vw, 22px);
  color: #d5d9ea;
  margin: 0;
}
.hero .btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.hero .btn-primary,
.band .btn-primary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.hero-note {
  max-width: 680px;
  font-size: 14px;
  color: var(--ink-muted);
  margin: 0;
}
.chips {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.chips li {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}
.chips span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.chips strong {
  font-size: 17px;
}

/* sections */
.section {
  padding: 72px 0;
}
.section-alt {
  background: var(--bg-alt);
}
.section-title {
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.section-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 32px;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: none;
}
.step {
  position: relative;
  padding: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step-now {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.step h3 {
  font-size: 18px;
  line-height: 1.3;
  margin: 0;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  flex: 1;
}
.step-n {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 14px;
}
.step-now .step-n {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
}
.tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: var(--muted);
}
.tag-now {
  background: var(--notice-bg);
  color: var(--accent);
  border-color: transparent;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0 32px;
}
.stats > div {
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stats dt {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.stats dd {
  margin: 4px 0;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 750;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stats span {
  font-size: 14px;
  color: var(--muted);
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.card p {
  color: var(--muted);
  margin: 0 0 12px;
}
.more-link {
  font-weight: 650;
  text-decoration: none;
}
.more-link::after {
  content: ' →';
}
.band {
  background: var(--ink);
  color: var(--ink-fg);
}
.band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
}
.band h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 32px);
}
.band p {
  margin: 0;
  color: var(--ink-muted);
}
.band .btn {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

/* allocation */
.alloc {
  margin: 24px 0;
}
.alloc svg {
  display: block;
  width: 100%;
  height: 44px;
  border-radius: 10px;
  overflow: hidden;
}
.seg-0 {
  fill: var(--s0);
  background: var(--s0);
}
.seg-1 {
  fill: var(--s1);
  background: var(--s1);
}
.seg-2 {
  fill: var(--s2);
  background: var(--s2);
}
.seg-3 {
  fill: var(--s3);
  background: var(--s3);
}
.seg-4 {
  fill: var(--s4);
  background: var(--s4);
}
.seg-5 {
  fill: var(--s5);
  background: var(--s5);
}
.seg-6 {
  fill: var(--s6);
  background: var(--s6);
}
.seg {
  stroke: var(--bg);
  stroke-width: 0.25;
}
.legend {
  list-style: none;
  padding: 0;
  margin: 16px 0 8px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 8px 24px;
}
.legend li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}
.swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex: none;
}
.lg-label {
  flex: 1;
}
.lg-pct {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.alloc figcaption {
  color: var(--muted);
  font-size: 14px;
}
.progress {
  margin: 16px 0 24px;
}
.progress svg {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  display: block;
}
.progress .track {
  fill: var(--line);
}
.progress .fill {
  fill: var(--accent);
}
.progress p {
  margin: 8px 0 0;
  font-weight: 650;
}

/* prose */
h1 {
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
h2 {
  font-size: 24px;
  line-height: 1.25;
  margin: 40px 0 10px;
  letter-spacing: -0.01em;
}
.lead {
  font-size: 20px;
  color: var(--muted);
}
.notice {
  background: var(--notice-bg);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 8px 20px;
  margin: 20px 0;
}
.notice ul {
  padding-left: 20px;
}
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 16px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
  font-size: 15px;
}
caption {
  text-align: left;
  color: var(--muted);
  padding: 12px 14px 4px;
  font-size: 14px;
}
th,
td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
thead th {
  background: var(--bg-alt);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
td:nth-child(2) {
  white-space: nowrap;
}
tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}
.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px 20px;
  margin: 16px 0;
}
.facts dt,
.facts dd {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.facts dt:nth-last-of-type(1),
.facts dd:last-of-type {
  border-bottom: 0;
}
.facts dt {
  color: var(--muted);
}
.facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.ph {
  display: inline-block;
  background: var(--ph-bg);
  color: var(--ph-fg);
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px dashed var(--line);
  font-size: 14px;
}
code {
  overflow-wrap: anywhere;
  background: var(--bg-alt);
  padding: 1px 6px;
  border-radius: 6px;
  font-size: 0.92em;
}

/* footer */
.site-footer {
  background: var(--ink);
  color: var(--ink-fg);
  padding: 56px 0 32px;
}
.site-footer a {
  color: #d5d9ea;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-about p {
  color: var(--ink-muted);
  font-size: 14.5px;
}
.footer-about address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-muted);
}
.footer-about strong {
  color: var(--ink-fg);
}
.site-footer .brand {
  color: #fff;
}
.site-footer h2 {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 12px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.site-footer ul a {
  text-decoration: none;
  font-size: 15px;
}
.legal {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  color: var(--ink-muted);
}
.copy {
  margin-bottom: 0;
}

/* responsive */
@media (max-width: 1000px) {
  .nav-desktop,
  .nav-cta {
    display: none;
  }
  .nav-mobile {
    display: block;
  }
  .steps,
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-about {
    grid-column: 1 / -1;
  }
}
@media (max-width: 560px) {
  .container {
    padding: 0 16px;
  }
  .hero {
    padding: 56px 0 48px;
  }
  .section {
    padding: 48px 0;
  }
  .steps,
  .stats {
    grid-template-columns: 1fr;
  }
  .btn {
    width: 100%;
  }
  .facts {
    grid-template-columns: 1fr;
    padding: 4px 16px;
  }
  .facts dt {
    padding-bottom: 0;
    border-bottom: 0;
  }
  .facts dd {
    padding-top: 2px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .prose {
    padding-top: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn {
    transition: none;
  }
}
