:root {
  color-scheme: dark;
  --bg: #0b111a;
  --surface: #101a28;
  --border: #28374a;
  --text: #f3f7ff;
  --muted: #acbcd0;
  --accent: #abdbff;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 98px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--font); }
a { color: var(--accent); }
a:hover { color: white; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
button { font: inherit; }
[hidden] { display: none !important; }
img { object-fit: contain; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.09; letter-spacing: -.04em; }
h1 { font-size: clamp(3rem, 5.35vw, 5.2rem); font-weight: 740; }
h2 { font-size: clamp(1.9rem, 3.1vw, 2.85rem); }
h3 { font-size: 1.3rem; }
p, small { color: var(--muted); }
em { color: var(--accent); font-style: normal; }
.shell { width: min(1180px, calc(100% - 72px)); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 10; background: var(--bg); padding: 12px; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.header { position: sticky; inset-block-start: 0; z-index: 5; background: #0b111af5; border-bottom: 1px solid var(--border); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); font-weight: 750; text-decoration: none; letter-spacing: -.035em; font-size: 1.28rem; }
.header nav { display: flex; align-items: center; gap: clamp(15px, 2.3vw, 33px); }
.header nav > a:not(.button) { color: var(--muted); text-decoration: none; font-size: .94rem; }
.header nav > a:hover, .header nav > a[aria-current="page"] { color: var(--text); }
.menu-toggle { display: none; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 17px; border-radius: 9px; border: 1px solid #3b5068; background: #14202e; color: var(--text); font-size: .93rem; font-weight: 650; text-decoration: none; cursor: pointer; }
.button:hover { background: #25364a; }
.button.primary { background: var(--accent); color: #0a1928; border-color: var(--accent); }
.button.primary:hover { background: #d2ecff; }
.button span { font-size: 1.05em; }
.hero {
  overflow: hidden;
  background: radial-gradient(ellipse at 76% 32%, #1a324b, transparent 60%),
    linear-gradient(135deg, #0c131e, #0d1724);
  position: relative;
}
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .32; background-image: linear-gradient(#42648442 1px, transparent 1px), linear-gradient(90deg, #42648442 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, transparent 12%, black); }
.hero-grid { position: relative; min-height: 610px; padding-block: 86px; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(26px, 4vw, 64px); align-items: center; }
.hero h1 { letter-spacing: -.062em; }
.eyebrow { display: flex; gap: 10px; align-items: center; margin-bottom: 22px; color: var(--accent); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.eyebrow span, .status span { height: 8px; width: 8px; flex: 0 0 8px; background: currentColor; border-radius: 50%; }
.lede { font-size: clamp(1rem, 1.5vw, 1.19rem); max-width: 52ch; margin-block: 22px 26px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.preview { min-width: 0; background: #0e1723; border: 1px solid #3d5570; border-radius: 17px; box-shadow: 0 27px 64px #060a12a6; overflow: hidden; }
.preview-top { background: #152233; display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid var(--border); color: var(--muted); font-size: .76rem; }
.preview-top span:first-child { display: flex; gap: 5px; }
.preview-top i { width: 7px; height: 7px; background: #63819c; border-radius: 50%; }
.preview-body { padding: clamp(16px, 2.2vw, 30px); display: grid; gap: 10px; }
.preview-heading, .preview-item { display: flex; gap: 13px; align-items: center; min-width: 0; }
.preview-heading { margin-bottom: 11px; }
.preview-heading strong { font-size: 1.2rem; letter-spacing: -.03em; }
.preview-item { background: #142233; border-radius: 10px; border: 1px solid #263b51; padding: 12px; }
.preview-item strong { font-size: .92rem; }
.preview small { display: block; font-size: .79rem; }
.preview-arrow { margin-left: auto; color: var(--muted); }
.tile { display: inline-grid; place-items: center; width: 40px; height: 40px; flex: 0 0 40px; border: 1px solid #34516b; border-radius: 9px; background: #1a3045; color: var(--accent); font-size: 1.28rem; font-weight: 600; }
.network { background: #101926; border-block: 1px solid var(--border); }
.network-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.network-grid > div { padding: 22px; border-inline-start: 1px solid var(--border); }
.network-grid > div:first-child { border: 0; padding-inline-start: 0; }
.network-grid strong, .network-grid small { display: block; }
.network-grid strong { font-size: 1.47rem; line-height: 1.35; font-variant-numeric: tabular-nums; }
.network-grid small { font-size: .81rem; }
.status { display: flex; gap: 10px; align-items: center; color: #92a6bc; }
.status[data-state="online"] { color: #8de0bf; }
.status p { font-weight: 650; font-size: .9rem; color: inherit; }
.section { padding-block: clamp(60px, 7vw, 100px); }
.section h2 + p { margin-top: 12px; }
.section-tint { background: #0f1824; border-block: 1px solid var(--border); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.card, .vote-panel { padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: 15px; }
.card .tile { margin-bottom: 23px; }
.card h2, .vote-panel h2 { font-size: 1.4rem; }
.card p { margin-top: 10px; }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.steps { padding: 0; margin: 0; list-style: none; counter-reset: setup; }
.steps li { position: relative; padding: 15px 0 20px 52px; border-bottom: 1px solid var(--border); }
.steps li:first-child { padding-top: 0; }
.steps li::before { counter-increment: setup; content: counter(setup); position: absolute; inset-inline-start: 0; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #3c5772; border-radius: 50%; color: var(--accent); font-weight: 650; }
.steps p { margin-top: 7px; }
.server-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 0; list-style: none; margin-block: 24px 14px; }
.server-list li { display: flex; gap: 12px; align-items: center; border: 1px solid var(--border); background: var(--surface); border-radius: 12px; padding: 12px; overflow-wrap: anywhere; }
.server-list li small { display: block; }
.server-list img { border-radius: 8px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; list-style: none; padding: 15px 0; cursor: pointer; font-weight: 650; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.25rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 18px; }
.cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; border: 1px solid #34516b; border-radius: 17px; padding: clamp(24px, 5vw, 55px); background: linear-gradient(125deg, #142133, #1c344e); }
.cta .button { flex-shrink: 0; }
footer { border-top: 1px solid var(--border); padding-block: 45px; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 26px; }
.footer-grid p { margin-top: 12px; max-width: 30ch; font-size: .9rem; }
.footer-grid h2 { font-size: .94rem; margin-bottom: 12px; letter-spacing: 0; }
.footer-grid div > a:not(.brand) { display: block; color: var(--muted); text-decoration: none; font-size: .9rem; margin-top: 7px; }
.footer-grid div > a:hover { color: var(--text); }
.subhero { padding-bottom: 34px; }
.subhero h1 { max-width: 19ch; }
.subhero > p:not(.eyebrow) { margin-top: 14px; }
.vote-panel { display: flex; gap: 17px; align-items: center; }
.vote-panel .button { margin-left: auto; }
.legal .subhero { border-bottom: 1px solid var(--border); margin-bottom: 35px; }
.hero-meta { color: var(--muted); font-size: .85rem; margin-top: 14px; }
.page-layout { display: grid; grid-template-columns: 215px minmax(0, 740px); gap: clamp(24px, 5vw, 68px); }
.toc { position: sticky; top: 99px; align-self: start; padding: 15px 19px; border: 1px solid var(--border); background: var(--surface); border-radius: 12px; max-height: calc(100vh - 115px); overflow: auto; }
.toc-label { font-weight: 700; }
.toc-list { list-style: none; padding: 0; margin-bottom: 0; }
.toc-list a { color: var(--muted); display: block; text-decoration: none; padding-block: 4px; font-size: .89rem; }
.toc-list a:hover { color: var(--accent); }
.main-content .section { padding-block: 22px; border-bottom: 1px solid var(--border); }
.main-content .section:first-child { padding-top: 0; }
.main-content h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin-bottom: 12px; }
.main-content p + p, .main-content .note { margin-top: 12px; }
.main-content ul, .dc-desc { color: var(--muted); }
.data-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-block: 15px; }
.data-card, .note { background: var(--surface); padding: 13px; border: 1px solid var(--border); border-radius: 8px; }
.dc-name { font-weight: 650; }
.dc-desc { font-size: .9rem; }
:target { scroll-margin-top: 6px; }
@media (max-width: 1050px) { .desktop-break { display: none; } }
@media (max-width: 770px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 64px; flex-wrap: wrap; gap: 10px; padding-block: 10px; }
  .menu-toggle { display: block; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 7px; padding: 6px 12px; cursor: pointer; }
  .header nav { width: 100%; display: flex; flex-wrap: wrap; padding-bottom: 6px; gap: 12px 18px; }
  .js .header nav:not(.open) { display: none; }
  body:not(.js) .menu-toggle { display: none; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-block: 52px; gap: 34px; }
  .preview { max-width: 520px; width: 100%; }
  .split, .page-layout { grid-template-columns: 1fr; gap: 25px; }
  .toc { position: static; max-height: none; }
  .toc-list { display: grid; grid-template-columns: repeat(2, 1fr); }
  .network-grid, .footer-grid, .cards, .server-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .network-grid > div, .network-grid > div:first-child { padding: 16px 10px; border: 0; }
  .network-grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 480px) {
  h1 { font-size: clamp(2.48rem, 11vw, 3.2rem); }
  .cards, .server-list, .data-grid { grid-template-columns: 1fr; }
  .cta, .vote-panel { align-items: flex-start; flex-direction: column; }
  .vote-panel .button { margin-left: 0; }
}
