:root {
  color-scheme: dark;
  --bg: #060a12;
  --panel: #0b1220;
  --panel-soft: #111c2d;
  --text: #f4f7fb;
  --muted: #9aa9b8;
  --line: rgba(255, 255, 255, 0.11);
  --green: #00ff9d;
  --cyan: #22d3ee;
  --yellow: #fde68a;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 80% -10%, rgba(0, 255, 157, .12), transparent 35rem),
    radial-gradient(circle at 10% 30%, rgba(34, 211, 238, .08), transparent 30rem),
    var(--bg);
  color: var(--text);
  font: 16px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

a { color: var(--cyan); }
a:hover { color: #cffafe; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; height: auto; }
.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 99; padding: .7rem 1rem; background: #fff; color: #000; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid rgba(255,255,255,.09);
  background: rgba(6, 10, 18, .88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; font-weight: 900; letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 2px 10px rgba(0, 255, 157, .18); }
.nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: .92rem; }
.nav-links a { color: #cbd5e1; text-decoration: none; transition: color .15s ease; }
.nav-links a[aria-current="page"], .nav-links a:hover { color: #fff; }
.nav-links .button { min-height: 36px; padding: .42rem .85rem; font-size: .85rem; border-radius: 9px; }

.hero { padding: clamp(3.5rem, 9vw, 6.5rem) 0 3.2rem; }
.eyebrow { margin: 0 0 .8rem; color: var(--green); font-size: .8rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; }
h1 { max-width: 18ch; margin: 0 0 1rem; font-size: clamp(2.35rem, 7vw, 5rem); letter-spacing: -.045em; }
h2 { margin-top: 0; font-size: clamp(1.55rem, 4vw, 2.4rem); letter-spacing: -.025em; }
h3 { font-size: 1.08rem; }
.lead { max-width: 720px; color: #c6d2dd; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .7rem 1.1rem; border: 1px solid var(--green); border-radius: 11px; background: var(--green); color: #00180f; text-decoration: none; font-weight: 900; transition: filter .15s ease, transform .12s ease, border-color .15s ease; }
.button:hover { color: #00180f; filter: brightness(1.08); }
.button:active { transform: scale(0.98); }
.button.secondary { border-color: rgba(255, 255, 255, .16); background: rgba(11, 18, 32, .85); color: #fff; }
.button.secondary:hover { color: #fff; border-color: rgba(0, 255, 157, .45); }
.badge { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .65rem; border: 1px solid rgba(253,230,138,.35); border-radius: 999px; background: rgba(253,230,138,.1); color: var(--yellow); font-size: .76rem; font-weight: 900; }

.section { padding: 3.5rem 0; }
.section + .section { border-top: 1px solid rgba(255,255,255,.07); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { padding: 1.25rem; border: 1px solid var(--line); border-radius: 16px; background: rgba(11, 18, 32, .86); box-shadow: 0 8px 24px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06); transition: border-color .18s ease; }
.card:hover { border-color: rgba(255, 255, 255, .2); }
.card h2, .card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }
.callout { padding: 1.2rem 1.3rem; border-left: 4px solid var(--green); border-radius: 0 12px 12px 0; background: rgba(0,255,157,.07); }
.warning { border-left-color: #fbbf24; background: rgba(251,191,36,.08); }
.breadcrumbs { padding-top: 1.1rem; color: var(--muted); font-size: .84rem; }
.breadcrumbs a { color: #cbd5e1; }
.prose { max-width: 780px; }
.prose h2 { margin-top: 2.7rem; }
.prose h3 { margin-top: 2rem; }
.prose li + li { margin-top: .45rem; }
.prose strong { color: #fff; }
.status-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .7rem; margin: 1.5rem 0; }
.status-value { display: block; margin-top: .2rem; color: var(--green); font-size: 1.55rem; font-weight: 900; font-variant-numeric: tabular-nums; }
table { width: 100%; border-collapse: collapse; margin: 1.3rem 0; }
th, td { padding: .8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: #fff; font-size: .85rem; }
td { color: #cbd5e1; }
.premium { color: var(--yellow); font-weight: 800; }
.site-footer { margin-top: 4rem; padding: 2.5rem 0; border-top: 1px solid rgba(255,255,255,.08); color: var(--muted); font-size: .9rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: .85rem; }
.footer-links a { color: #cbd5e1; }

@media (max-width: 760px) {
  .nav { align-items: center; padding: .75rem 0; }
  .nav-links { justify-content: flex-end; gap: .6rem; font-size: .82rem; }
  .nav-links .optional { display: none; }
  .grid, .grid.two, .status-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 2.8rem; }
  h1 { font-size: clamp(2.15rem, 11.5vw, 3.4rem); }
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  th, td { padding: .65rem .5rem; }
}
