:root {
  color-scheme: dark;
  --bg: #080a0e;
  --surface: #11161e;
  --surface-2: #161d27;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f3f6fa;
  --muted: #aab4c2;
  --teal: #00f19f;
  --teal-ink: #04261b;
  --blue: #0093e7;
  --max: 1060px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% -10%, rgba(0, 241, 159, 0.13), transparent 34rem),
    radial-gradient(circle at 95% 24%, rgba(0, 147, 231, 0.11), transparent 30rem),
    var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: #78ddff; text-underline-offset: 0.2em; }
a:hover { color: var(--teal); }
a:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; border-radius: 4px; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 10; padding: 0.7rem 1rem; background: var(--teal); color: var(--teal-ink); }
.skip-link:focus { top: 1rem; }
.wrap { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 10, 14, 0.9);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; color: var(--text); font-weight: 800; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.65rem 1.2rem; }
.nav a { color: var(--muted); font-size: 0.88rem; font-weight: 600; text-decoration: none; }
.nav a:hover { color: var(--teal); }

.breadcrumbs { padding-top: 1.3rem; font-size: 0.82rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.45rem; color: #667180; }

.hero { padding: clamp(3rem, 8vw, 6.5rem) 0 3rem; }
.eyebrow { color: var(--teal); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.025em; }
h1 { max-width: 900px; margin: 0.7rem 0 1rem; font-size: clamp(2.15rem, 6vw, 4.6rem); overflow-wrap: anywhere; }
h2 { margin: 0 0 1.2rem; font-size: clamp(1.55rem, 3vw, 2.35rem); }
h3 { margin: 0 0 0.45rem; font-size: 1.05rem; }
.lead { max-width: 790px; margin: 0; color: #c8d0dc; font-size: clamp(1rem, 2vw, 1.2rem); }
.review { margin-top: 1.6rem; color: var(--muted); font-size: 0.82rem; }

.section { padding: clamp(2.8rem, 6vw, 5rem) 0; border-top: 1px solid var(--line); }
.section-intro { max-width: 760px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { padding: 1.25rem; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018)); }
.card p { margin: 0; color: var(--muted); }
.callout { padding: 1.25rem 1.35rem; border: 1px solid rgba(0, 241, 159, 0.35); border-radius: 16px; background: rgba(0, 241, 159, 0.075); }
.warning { border-color: rgba(255, 222, 0, 0.32); background: rgba(255, 222, 0, 0.07); }
.steps { display: grid; gap: 1rem; padding: 0; counter-reset: step; list-style: none; }
.steps li { position: relative; padding: 1.1rem 1.1rem 1.1rem 4rem; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 1rem; top: 1rem; display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: 50%; background: var(--teal); color: var(--teal-ink); font-weight: 800; }
ul.clean { padding-left: 1.2rem; }
ul.clean li { margin-block: 0.45rem; }

.table-wrap { overflow-x: auto; margin-top: 1.4rem; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; min-width: 640px; border-collapse: collapse; background: rgba(255,255,255,0.025); }
th, td { padding: 0.95rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--teal); font-size: 0.84rem; }
tr:last-child td { border-bottom: 0; }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.button { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; padding: 0.7rem 1rem; border-radius: 11px; background: var(--teal); color: var(--teal-ink); font-weight: 800; text-decoration: none; }
.button.secondary { border: 1px solid var(--line); background: var(--surface-2); color: var(--text); }
.sources { padding-left: 1.2rem; }
.sources li { margin-block: 0.7rem; overflow-wrap: anywhere; }
details { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
details + details { margin-top: 0.7rem; }
summary { cursor: pointer; font-weight: 750; }
details p { color: var(--muted); }

.site-footer { padding: 2.5rem 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.82rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.55rem 1rem; margin-bottom: 1rem; }

@media (max-width: 760px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding-block: 0.8rem; }
  .nav { justify-content: flex-start; }
  .grid, .grid.three { grid-template-columns: 1fr; }
  .hero { padding-top: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
