:root {
  color-scheme: dark;
  --bg: #11131a;
  --surface: #191c25;
  --surface-2: #20242f;
  --line: rgba(255, 255, 255, .1);
  --text: #f5f6ef;
  --muted: #9299a8;
  --accent: #baff63;
  --accent-ink: #17200f;
  --blue: #84b7ff;
  --violet: #ad92ff;
  --success: #62d79f;
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body { margin: 0; color: var(--text); background: radial-gradient(circle at 72% 8%, rgba(132, 183, 255, .07), transparent 25%), var(--bg); }
a { color: inherit; text-decoration: none; }
.page-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.topbar { display: flex; min-height: 78px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { display: grid; width: 39px; height: 35px; place-items: center; border-radius: 9px; color: var(--accent-ink); background: var(--accent); font-size: 12px; font-weight: 900; }
.brand > span:last-child { display: grid; }
.brand b { font-size: 12px; letter-spacing: .15em; }
.brand small { margin-top: 2px; color: var(--muted); font: 700 8px Consolas, monospace; letter-spacing: .11em; }
.live-badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font: 800 8px Consolas, monospace; letter-spacing: .08em; }
.live-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.live-badge.is-online { color: var(--success); border-color: rgba(98, 215, 159, .25); }
.live-badge.is-online i { background: var(--success); box-shadow: 0 0 0 4px rgba(98, 215, 159, .1); }
.live-badge.is-error { color: #ff7c8b; }
.live-badge.is-error i { background: #ff7c8b; }

.hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr); align-items: center; gap: 72px; min-height: 525px; padding: 70px 0; }
.eyebrow { margin: 0; color: var(--muted); font: 800 9px Consolas, monospace; letter-spacing: .16em; }
.hero-copy > .eyebrow { display: flex; align-items: center; gap: 9px; color: var(--accent); }
.hero-copy > .eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px rgba(186, 255, 99, .09); }
h1 { max-width: 720px; margin: 22px 0 18px; font-size: clamp(44px, 6.2vw, 77px); line-height: .99; letter-spacing: -.065em; }
h1 em { color: var(--accent); font-style: normal; }
.hero-text { max-width: 680px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 31px; }
.primary-action { display: inline-flex; min-height: 43px; align-items: center; gap: 22px; padding: 0 15px; border-radius: 9px; color: var(--accent-ink); background: var(--accent); font-size: 11px; font-weight: 800; }
.primary-action:hover { background: #caff85; }
.secondary-action { display: inline-flex; min-height: 43px; align-items: center; gap: 15px; padding: 0 15px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: var(--surface); font-size: 10px; font-weight: 800; }
.secondary-action:hover { border-color: rgba(186, 255, 99, .3); background: var(--surface-2); }
.release-note { display: grid; min-width: 150px; color: var(--muted); font-size: 9px; line-height: 1.45; }
.release-note b { color: var(--text); }
.release-note small { font-size: 8px; }
[data-download-link].is-unavailable { pointer-events: none; color: var(--muted); background: var(--surface-2); }
.node-card { position: relative; display: grid; min-height: 360px; align-content: center; justify-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg, rgba(255,255,255,.035), transparent), var(--surface); }
.node-card::before { content: ""; position: absolute; inset: -40%; background: repeating-radial-gradient(circle, transparent 0 44px, rgba(255,255,255,.025) 45px 46px); }
.node-orbit { position: relative; z-index: 1; display: grid; width: 138px; height: 138px; place-items: center; border: 1px solid rgba(186,255,99,.16); border-radius: 50%; box-shadow: 0 0 0 32px rgba(186,255,99,.025), 0 0 0 64px rgba(186,255,99,.015); }
.node-orbit span { display: grid; width: 62px; height: 56px; place-items: center; border-radius: 15px; color: var(--accent-ink); background: var(--accent); font-size: 17px; font-weight: 900; }
.node-orbit i { position: absolute; width: 8px; height: 8px; border: 2px solid var(--surface); border-radius: 50%; background: var(--blue); }
.node-orbit i:nth-child(2) { top: 7px; right: 24px; }
.node-orbit i:nth-child(3) { right: -3px; bottom: 43px; background: var(--violet); }
.node-orbit i:nth-child(4) { bottom: 13px; left: 17px; background: var(--success); }
.node-meta { position: relative; z-index: 1; width: calc(100% - 36px); margin-top: 54px; }
.node-meta p { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding: 8px 0; border-top: 1px solid var(--line); font-size: 9px; }
.node-meta span { color: var(--muted); }
.node-meta b { overflow: hidden; font-family: Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; }

.flow { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(130px, .8fr) minmax(150px, 1fr) minmax(130px, .8fr) minmax(150px, 1fr); align-items: center; gap: 12px; padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.flow article { display: flex; align-items: center; gap: 11px; }
.flow-icon { display: grid; width: 39px; height: 39px; flex: 0 0 auto; place-items: center; border-radius: 10px; color: var(--blue); background: var(--surface-2); font: 800 9px Consolas, monospace; }
.server-flow .flow-icon { color: var(--accent-ink); background: var(--accent); }
.flow article div { display: grid; }
.flow b { font-size: 10px; }
.flow small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.flow-line { display: flex; align-items: center; gap: 7px; color: var(--muted); font: 700 7px Consolas, monospace; text-align: center; text-transform: uppercase; }
.flow-line i { height: 1px; flex: 1; background: var(--line); }

.download-panel { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(250px, .48fr); grid-template-rows: auto auto; align-items: center; gap: 18px 25px; margin-top: 22px; padding: 27px 30px; border: 1px solid rgba(186,255,99,.16); border-radius: 17px; background: radial-gradient(circle at 0 50%, rgba(186,255,99,.08), transparent 23%), var(--surface); }
.download-mark { display: grid; grid-column: 1; grid-row: 1 / 3; width: 64px; height: 64px; place-items: center; border-radius: 17px; color: var(--accent-ink); background: var(--accent); font: 900 11px Consolas, monospace; }
.download-copy { grid-column: 2; grid-row: 1 / 3; }
.download-copy h2 { margin: 8px 0 7px; font-size: 25px; letter-spacing: -.04em; }
.download-copy > p:last-child { max-width: 640px; margin: 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.download-facts { grid-column: 3; grid-row: 1; margin: 0; }
.download-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-top: 1px solid var(--line); font-size: 9px; }
.download-facts dt { color: var(--muted); }
.download-facts dd { margin: 0; font-family: Consolas, monospace; }
.download-panel-action { grid-column: 3; grid-row: 2; justify-content: space-between; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; padding: 105px 0 24px; }
.section-heading h2, .privacy-panel h2 { margin: 8px 0 0; font-size: 29px; letter-spacing: -.04em; }
.section-heading > p { max-width: 470px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
.module-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.module-card { display: flex; min-height: 250px; flex-direction: column; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.module-card header { display: flex; align-items: center; justify-content: space-between; }
.module-card header span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 10px; color: var(--violet); background: var(--surface-2); font: 800 9px Consolas, monospace; }
.module-card.is-ready header span { color: var(--accent-ink); background: var(--accent); }
.module-card header b { color: var(--muted); font: 800 7px Consolas, monospace; letter-spacing: .1em; }
.module-card.is-ready header b { color: var(--success); }
.module-card h3 { margin: 27px 0 8px; font-size: 17px; }
.module-card p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.module-card footer { display: flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font: 800 7px Consolas, monospace; letter-spacing: .1em; }
.module-card footer i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); }
.module-card.is-ready footer { color: var(--success); }
.module-card.is-ready footer i { background: var(--success); }

.privacy-panel { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(280px, .55fr); align-items: center; gap: 25px; margin: 95px 0; padding: 30px; border: 1px solid rgba(186,255,99,.13); border-radius: 17px; background: radial-gradient(circle at 0 50%, rgba(186,255,99,.07), transparent 20%), var(--surface); }
.privacy-mark { display: grid; width: 64px; height: 64px; place-items: center; border-radius: 17px; color: var(--accent); background: var(--surface-2); font-size: 29px; }
.privacy-panel > div > p:last-child { max-width: 620px; margin: 10px 0 0; color: var(--muted); font-size: 10px; line-height: 1.65; }
.privacy-panel dl { margin: 0; }
.privacy-panel dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 9px; }
.privacy-panel dt { color: var(--muted); }
.privacy-panel dd { margin: 0; font-family: Consolas, monospace; }
.footer { display: flex; min-height: 90px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--muted); font: 700 8px Consolas, monospace; letter-spacing: .1em; }

@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .node-card { min-height: 330px; }
  .flow { grid-template-columns: repeat(3, 1fr); }
  .flow-line { display: none; }
  .download-panel { grid-template-columns: 64px minmax(0, 1fr); }
  .download-mark { grid-row: 1; }
  .download-copy { grid-column: 2; grid-row: 1; }
  .download-facts { grid-column: 2; grid-row: 2; }
  .download-panel-action { grid-column: 2; grid-row: 3; }
  .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .privacy-panel { grid-template-columns: 64px minmax(0, 1fr); }
  .privacy-panel dl { grid-column: 1/-1; }
}

@media (max-width: 600px) {
  .page-shell { width: min(100% - 24px, 1180px); }
  .brand small { display: none; }
  .hero { min-height: auto; padding: 70px 0 45px; }
  h1 { font-size: 46px; }
  .hero-actions, .section-heading { align-items: flex-start; flex-direction: column; }
  .flow, .module-grid { grid-template-columns: minmax(0, 1fr); }
  .download-panel { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .download-mark, .download-copy, .download-facts, .download-panel-action { grid-column: 1; grid-row: auto; }
  .download-panel-action { width: 100%; }
  .privacy-panel { grid-template-columns: minmax(0, 1fr); padding: 22px; }
  .privacy-panel dl { grid-column: auto; }
  .footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 8px; }
}
