:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --border: #dfe5ee;
  --text: #101828;
  --muted: #5a6473;
  --accent: #2563eb;
  --accent-soft: #eaf1ff;
  --navy: #13161f;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0e14;
    --surface: #141922;
    --border: #232a36;
    --text: #e8ecf3;
    --muted: #97a1b2;
    --accent: #60a5fa;
    --accent-soft: #16202f;
    --navy: #0b0e14;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px 72px; }

header {
  background: var(--navy);
  color: #fff;
  padding: 56px 20px 48px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
header .wrap { padding-bottom: 0; }
.mark {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin: 0;
}
.bolt { width: 34px; height: 34px; flex: none; }
header p { color: #9fb3d1; margin: 10px 0 0; font-size: 17px; }

h2 {
  font-size: 20px; letter-spacing: -0.01em;
  margin: 40px 0 12px; padding-top: 8px;
}
h3 { font-size: 16px; margin: 26px 0 6px; }
p, li { color: var(--text); }
.muted { color: var(--muted); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 22px;
  margin: 18px 0;
}

.cta {
  display: inline-block;
  background: var(--accent); color: #fff;
  padding: 12px 22px; border-radius: 10px;
  font-weight: 600; text-decoration: none;
}
.cta:hover { filter: brightness(1.08); }

details {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 14px 18px;
  margin: 10px 0;
}
details[open] { padding-bottom: 6px; }
summary { cursor: pointer; font-weight: 600; }
summary::marker { color: var(--muted); }

table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }
.scroll { overflow-x: auto; }

.pill {
  display: inline-block; background: var(--accent-soft); color: var(--accent);
  border-radius: 999px; padding: 3px 11px; font-size: 13px; font-weight: 600;
}

footer {
  border-top: 1px solid var(--border);
  margin-top: 48px; padding-top: 22px;
  color: var(--muted); font-size: 14px;
}
footer a { color: var(--muted); }

nav.sub { margin-top: 18px; font-size: 15px; }
nav.sub a { margin-right: 18px; }
