:root {
  color-scheme: dark;
  --bg: #000000;
  --bg-elevated: #0a0a0c;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.12);
  --divider: rgba(255, 255, 255, 0.26);
  --text: #ffffff;
  --text-2: rgba(235, 235, 245, 0.62);
  --text-3: rgba(235, 235, 245, 0.35);
  --on-accent: #0a0a0c;
  --lime: #c6ff3a;
  --lime-surface: rgba(198, 255, 58, 0.16);
  --lime-border: rgba(198, 255, 58, 0.42);
  --mint: #63e6be;
  --cyan: #32ade6;
  --orange: #ff9f0a;
  --red: #ff453a;
  --brand-green: #2ee6a0;
  --brand-blue: #4f9bef;
  --brand-magenta: #e847dc;
  --brand-glow: #36ddf5;
  --lumen-1: #66ffbc;
  --lumen-2: #29bdff;
  --lumen-3: #5357ff;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", Inter, "Segoe UI", Roboto, system-ui, sans-serif;
  --wrap: 760px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--lime);
  text-decoration: none;
  text-underline-offset: 3px;
}

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}

img {
  display: block;
  max-width: 100%;
}

.stripes {
  position: absolute;
  inset: 0 0 auto 0;
  height: 520px;
  pointer-events: none;
  z-index: 0;
  display: flex;
  justify-content: center;
  gap: clamp(40px, 9vw, 120px);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
  opacity: 0.22;
}

.stripes span {
  width: clamp(14px, 2.4vw, 34px);
  height: 100%;
}

.stripes span:nth-child(1) { background: var(--brand-green); }
.stripes span:nth-child(2) { background: var(--brand-blue); width: clamp(26px, 4.6vw, 64px); }
.stripes span:nth-child(3) { background: var(--brand-magenta); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 10, 12, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  backdrop-filter: saturate(160%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 900;
  letter-spacing: 0.14em;
  font-size: 15px;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 10px rgba(54, 221, 245, 0.45));
}

.nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--text-2);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
}

.nav a:hover {
  color: var(--text);
  background: var(--surface);
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--on-accent);
  background: var(--lime);
}

main {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 40px 16px 64px;
}

.draft {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  margin-bottom: 28px;
  border-radius: var(--r-md);
  background: rgba(255, 159, 10, 0.12);
  border: 1px dashed rgba(255, 159, 10, 0.6);
  color: #ffd8a1;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.draft strong {
  color: var(--orange);
}

mark.todo {
  background: rgba(255, 159, 10, 0.16);
  color: #ffc46b;
  border: 1px dashed rgba(255, 159, 10, 0.55);
  border-radius: 6px;
  padding: 0 5px;
  font-weight: 700;
}

.kicker {
  color: var(--text-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

h1 {
  font-size: clamp(34px, 7vw, 48px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.lead {
  color: var(--text-2);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
}

.updated {
  color: var(--text-3);
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 32px;
}

h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 44px 0 12px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

h2 .num {
  flex: none;
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 10px;
  background: var(--lime-surface);
  border: 1px solid var(--lime-border);
  color: var(--lime);
  font-size: 14px;
  font-weight: 900;
  transform: translateY(-3px);
}

h3 {
  font-size: 16px;
  font-weight: 800;
  margin: 24px 0 6px;
}

p,
li {
  color: var(--text-2);
  font-weight: 500;
}

p strong,
li strong {
  color: var(--text);
  font-weight: 700;
}

ul {
  padding-left: 20px;
  margin: 8px 0 16px;
}

li {
  margin: 6px 0;
}

li::marker {
  color: var(--lime);
}

.section-title {
  color: var(--text-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 32px 0 10px 4px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px;
}

.card + .card {
  margin-top: 12px;
}

.promises {
  display: grid;
  gap: 14px;
}

.promise {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

.promise svg {
  width: 20px;
  height: 20px;
  color: var(--mint);
  margin-top: 1px;
}

.toc {
  columns: 2 220px;
  column-gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.toc li {
  counter-increment: toc;
  break-inside: avoid;
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
}

.toc li::before {
  content: counter(toc) ".";
  color: var(--lime);
  font-weight: 900;
  display: inline-block;
  width: 30px;
}

.toc a {
  color: var(--text-2);
}

.toc a:hover {
  color: var(--text);
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  margin: 12px 0 20px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 520px;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
}

th {
  color: var(--text-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--surface);
}

td {
  color: var(--text-2);
  font-weight: 500;
}

td:first-child {
  color: var(--text);
  font-weight: 700;
}

tr:last-child td {
  border-bottom: 0;
}

.pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 45, 120, 0.14);
  color: #ff7eaf;
  border: 1px solid rgba(255, 45, 120, 0.4);
  white-space: nowrap;
}

.callout {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(102, 255, 188, 0.1), rgba(41, 189, 255, 0.08) 50%, rgba(83, 87, 255, 0.1));
  border: 1px solid rgba(41, 189, 255, 0.35);
  margin: 20px 0;
}

.callout img {
  width: 56px;
  height: 56px;
}

.callout p {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--on-accent);
  font-weight: 800;
  font-size: 15px;
}

.btn:hover {
  text-decoration: none;
  filter: brightness(1.06);
}

.btn.ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--lime);
  color: var(--on-accent);
  font-weight: 900;
}

details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0 18px;
}

details + details {
  margin-top: 10px;
}

summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  color: var(--lime);
  font-weight: 900;
  font-size: 20px;
  line-height: 1;
}

details[open] summary::after {
  content: "–";
}

details p {
  margin: 0 0 16px;
}

.hero {
  text-align: center;
  padding: 36px 0 12px;
}

.hero-logo {
  width: min(220px, 56vw);
  margin: 0 auto 8px;
  filter: drop-shadow(0 0 40px rgba(54, 221, 245, 0.35));
}

.wordmark {
  font-size: clamp(44px, 12vw, 76px);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  margin: 0 0 16px;
  color: var(--text);
}

.hero .lead {
  max-width: 460px;
  margin: 0 auto 28px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 40px 0 16px;
  text-align: left;
}

.pillar {
  padding: 18px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.pillar::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent);
}

.pillar h3 {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pillar p {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--lime-surface);
  border: 1px solid var(--lime-border);
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
}

.cta-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: center;
}

.contact img {
  width: 64px;
  height: 64px;
}

.contact p {
  margin: 0;
}

footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}

.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 24px 16px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  color: var(--text-3);
  font-size: 13px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.footer-links a {
  color: var(--text-2);
}

@media (max-width: 620px) {
  .nav a {
    padding: 6px 8px;
    font-size: 12px;
  }

  .brand span {
    display: none;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
