:root {
  color-scheme: dark;
  --bg: #080a0f;
  --bg-2: #0d111a;
  --panel: #141a27;
  --panel-2: #101624;
  --ink: #f7f4ed;
  --muted: #aeb8c8;
  --line: rgba(255,255,255,.12);
  --accent: #58e6b7;
  --accent-2: #7aa8ff;
  --warn: #ffd166;
  --rose: #ff9fb3;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 15% 0%, rgba(88,230,183,.13), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(122,168,255,.16), transparent 34%),
    linear-gradient(180deg, #080a0f 0, #0d111a 44%, #090b10 100%);
}

a { color: inherit; }

.wrap {
  width: min(1040px, calc(100vw - 40px));
  margin: 0 auto;
}

nav {
  position: sticky;
  top: 0;
  z-index: 4;
  background: rgba(8, 10, 15, .82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

nav .wrap {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  text-decoration: none;
}

.mark {
  width: 26px;
  height: 26px;
  border: 2px solid var(--accent);
  border-radius: 6px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, rgba(88,230,183,.26), rgba(122,168,255,.08));
  box-shadow: 0 0 28px rgba(88,230,183,.28);
}

.links {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.links a {
  text-decoration: none;
}

.links a:hover,
.links a.active {
  color: var(--ink);
}

header {
  padding: 82px 0 34px;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: .98;
  letter-spacing: 0;
}

.lede {
  max-width: 820px;
  margin: 22px 0 0;
  color: #dce3ee;
  font-size: 20px;
}

main {
  padding: 34px 0 76px;
}

section {
  padding: 24px 0;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

p {
  margin: 0 0 14px;
  color: var(--muted);
}

ul,
ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

li + li {
  margin-top: 8px;
}

strong,
b {
  color: var(--ink);
}

code {
  color: #e9f6ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: .94em;
}

pre {
  margin: 14px 0 0;
  overflow: auto;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  background: rgba(4, 7, 12, .74);
  padding: 16px;
  box-shadow: 0 18px 44px rgba(0,0,0,.22);
}

pre code {
  color: #ecf7ff;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.card,
.panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018)),
    var(--panel);
  padding: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
}

.panel {
  padding: 22px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 4px 10px;
  color: #dce3ee;
  background: rgba(255,255,255,.045);
  font-size: 13px;
  font-weight: 750;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.stat {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255,255,255,.035);
}

.stat span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.stat b {
  display: block;
  margin-top: 6px;
  color: var(--accent);
  font-size: 25px;
  line-height: 1;
}

.callout {
  border-color: rgba(88,230,183,.28);
  background:
    linear-gradient(135deg, rgba(88,230,183,.12), rgba(122,168,255,.06)),
    var(--panel-2);
}

.warning {
  border-color: rgba(255,209,102,.28);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 13px;
  color: var(--ink);
  text-decoration: none;
  background: rgba(255,255,255,.055);
  font-weight: 800;
}

.button.primary {
  border-color: rgba(88,230,183,.42);
  background: linear-gradient(135deg, rgba(88,230,183,.24), rgba(122,168,255,.12));
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  background: rgba(0,0,0,.18);
}

footer a {
  color: var(--ink);
  margin-right: 14px;
}

@media (max-width: 860px) {
  .links { display: none; }
  .grid,
  .two,
  .stat-grid {
    grid-template-columns: 1fr;
  }
  header { padding-top: 54px; }
  .lede { font-size: 18px; }
}
