:root {
  --bg: #07090c;
  --panel: #10151a;
  --inset: #0b1014;
  --ink: #e8eef2;
  --muted: #93a4ae;
  --line: #243038;
  --accent: #3d9b8f;
  --cta: #f97316;
  --warn: #e6c07b;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(61, 155, 143, 0.14), transparent 55%),
    var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
}
.skip { position: absolute; left: -999px; }
.skip:focus {
  left: 12px; top: 12px; z-index: 20;
  background: var(--cta); color: #1a0b00; padding: 8px 12px;
}
a { color: var(--accent); }
code {
  font-family: var(--mono); font-size: 0.9em;
  background: var(--inset); border: 1px solid var(--line);
  border-radius: 4px; padding: 0 5px;
}
.nav, main, footer { max-width: 880px; margin: 0 auto; padding: 0 16px; }
.nav {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding-top: 18px; padding-bottom: 18px;
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
}
.nav nav { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
.nav a:hover, .brand { color: var(--ink); }
.brand { font-family: var(--mono); font-weight: 700; letter-spacing: 0.04em; }
.hero { padding: 36px 0 12px; }
.kicker, .step-no {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 8px;
}
h1, h2, h3 { font-family: var(--mono); line-height: 1.25; }
h1 { font-size: clamp(28px, 5vw, 40px); margin: 0 0 12px; }
h2 { font-size: 22px; margin: 0 0 12px; }
h3 { font-size: 15px; margin: 18px 0 8px; }
.lead { color: var(--muted); max-width: 62ch; margin: 0 0 20px; }
.hero-actions, .detect { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 8px 14px; border-radius: 8px;
  text-decoration: none; font-weight: 600; cursor: pointer;
  transition: transform 180ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--cta); color: #1a0b00; }
.btn.ghost { border: 1px solid var(--line); color: var(--ink); }
.path {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  list-style: none; padding: 0; margin: 28px 0 0;
}
.path li {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px; font-size: 14px;
}
.path span { display: block; font-family: var(--mono); color: var(--accent); font-size: 12px; }
.step, .faq {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 20px; margin: 18px 0;
}
.detect {
  margin: 16px 0; padding: 14px; border: 1px dashed var(--line);
  border-radius: 10px; background: var(--inset);
}
.detect-label { margin: 0; color: var(--muted); font-size: 13px; }
.detect-value { margin: 0; font-family: var(--mono); font-weight: 600; flex: 1; }
.table-wrap { overflow-x: auto; margin: 12px 0; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
caption { text-align: left; color: var(--muted); margin-bottom: 8px; }
th, td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
tr.match { background: rgba(61, 155, 143, 0.12); }
.detail { padding-left: 20px; }
.detail li { margin: 8px 0; }
.warn { color: var(--warn); }
.shot { margin: 16px 0; }
.shot img, .shot video {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--inset);
}
.shot figcaption { color: var(--muted); font-size: 13px; margin-top: 8px; }
pre {
  overflow-x: auto;
  background: var(--inset);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  font: 13px/1.5 var(--mono);
}
details { border-top: 1px solid var(--line); padding: 10px 0; }
summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
footer { color: var(--muted); font-size: 13px; padding: 24px 16px 40px; }
@media (max-width: 768px) {
  .path { grid-template-columns: 1fr; }
  .nav { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
