:root {
  --ink: #f8f7ee;
  --muted: #c8ccb9;
  --bg: #08110c;
  --surface: #101e15;
  --surface-2: #17291d;
  --green: #46d17d;
  --lime: #b7ef72;
  --gold: #f3c969;
  --line: rgba(183, 239, 114, 0.2);
  --max: 1140px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px),
    radial-gradient(circle at 15% 0%, rgba(70,209,125,0.13), transparent 30rem),
    var(--bg);
  background-size: 44px 44px, 44px 44px, auto, auto;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }

.skip-link { position: absolute; top: -5rem; left: 1rem; z-index: 30; padding: .7rem 1rem; background: var(--lime); color: #071008; font-weight: 900; border-radius: 8px; }
.skip-link:focus { top: 1rem; }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(8,17,12,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.nav-wrap { width: min(var(--max), calc(100% - 2rem)); min-height: 74px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 950; text-decoration: none; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .3rem; }
.nav-links a { padding: .58rem .76rem; color: var(--muted); text-decoration: none; border-radius: 999px; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current="page"] { color: #08110c; background: var(--lime); }

.hero { width: min(var(--max), calc(100% - 2rem)); margin: auto; padding: 5rem 0 3.6rem; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; }
.hero-copy { position: relative; z-index: 1; }
.kicker { color: var(--lime); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 900; }
h1, h2, h3 { line-height: 1.16; letter-spacing: -.025em; }
h1 { margin: .6rem 0 1rem; font-size: clamp(2.45rem, 6vw, 4.85rem); }
h2 { margin: 0 0 1rem; font-size: clamp(1.75rem, 4vw, 2.65rem); }
h3 { margin: 0 0 .55rem; font-size: 1.18rem; }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 65ch; }
.hero-panel { position: relative; padding: 1rem; border-radius: 28px; background: linear-gradient(145deg, rgba(183,239,114,.16), rgba(16,30,21,.92)); border: 1px solid var(--line); box-shadow: 0 24px 70px rgba(0,0,0,.35); }
.hero-panel::after { content: "ROUTE CHECK"; position: absolute; right: 1rem; bottom: 1rem; padding: .45rem .7rem; color: #08110c; background: var(--gold); border-radius: 999px; font-size: .7rem; font-weight: 950; letter-spacing: .1em; }
.hero-panel img { display: block; border-radius: 20px; }

.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .75rem 1.08rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 900; }
.button.primary { background: var(--lime); color: #071009; border-color: var(--lime); }
.button.secondary { background: rgba(255,255,255,.035); }
.caution { margin-top: 1.2rem; padding: .9rem 1rem; color: #f8e3a8; background: rgba(243,201,105,.08); border: 1px solid rgba(243,201,105,.25); border-radius: 12px; font-size: .92rem; }

.section { width: min(var(--max), calc(100% - 2rem)); margin: auto; padding: 3.8rem 0; }
.section-band { width: 100%; padding: 3.8rem max(1rem, calc((100% - var(--max))/2)); background: rgba(255,255,255,.025); border-block: 1px solid rgba(255,255,255,.05); }
.section-head { max-width: 780px; margin-bottom: 1.5rem; }
.section-head p, .muted { color: var(--muted); }
.grid-2, .grid-3 { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.route-card { padding: 1.4rem; background: linear-gradient(145deg, rgba(23,41,29,.95), rgba(16,30,21,.95)); border: 1px solid var(--line); border-radius: var(--radius); }
.route-card p { color: var(--muted); }
.route-card a { color: var(--lime); font-weight: 900; }
.route-label { display: inline-block; margin-bottom: .85rem; padding: .3rem .55rem; color: #071009; background: var(--green); border-radius: 6px; font-size: .72rem; font-weight: 950; text-transform: uppercase; letter-spacing: .09em; }

.steps { list-style: none; padding: 0; margin: 1.2rem 0 0; counter-reset: step; display: grid; gap: 1rem; }
.steps li { position: relative; padding: 1.25rem 1.25rem 1.25rem 4.25rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 1.15rem; top: 1.1rem; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; color: #071009; background: var(--lime); border-radius: 50%; font-weight: 950; }
.steps strong { display: block; margin-bottom: .25rem; }
.steps span { color: var(--muted); }

.status-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: .8rem; }
.status { padding: 1rem; background: var(--surface); border-top: 3px solid var(--green); border-radius: 12px; }
.status strong { display: block; color: var(--lime); }
.status span { color: var(--muted); font-size: .9rem; }

.breadcrumbs { width: min(var(--max), calc(100% - 2rem)); margin: 1.35rem auto 0; color: var(--muted); font-size: .9rem; }
.breadcrumbs a { color: var(--lime); }
.article { width: min(880px, calc(100% - 2rem)); margin: auto; padding: 3rem 0 4rem; }
.article > section { margin-top: 2.8rem; }
.checklist { padding-left: 1.25rem; }
.checklist li { margin: .65rem 0; }
.decision-table { width: 100%; border-collapse: collapse; }
.decision-table th, .decision-table td { padding: .85rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.decision-table th { width: 30%; color: var(--lime); }
details { margin: .75rem 0; padding: 1rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
summary { cursor: pointer; font-weight: 900; }
details p { color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); background: #050b07; }
.footer-wrap { width: min(var(--max), calc(100% - 2rem)); margin: auto; padding: 2rem 0; display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .9rem; }
.footer-wrap p { margin: 0; }
.footer-wrap a { color: var(--lime); }

@media (max-width: 850px) {
  .nav-wrap { flex-direction: column; align-items: flex-start; padding: .85rem 0; }
  .nav-links { justify-content: flex-start; }
  .hero { grid-template-columns: 1fr; padding-top: 3.5rem; }
  .hero-panel { max-width: 580px; }
  .status-grid { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .grid-2, .grid-3, .status-grid { grid-template-columns: 1fr; }
  .actions .button { width: 100%; }
  .decision-table th, .decision-table td { display: block; width: 100%; }
  .decision-table th { padding-bottom: .15rem; border-bottom: 0; }
  .footer-wrap { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
