:root {
  color-scheme: dark;
  --bg: #050708;
  --panel: #090d10;
  --panel-raised: #0d1217;
  --panel-soft: #111820;
  --border: #1d2832;
  --border-strong: #2d4052;
  --text: #f6f3ec;
  --text-secondary: #b8c0c9;
  --text-muted: #7f8b98;
  --blue: #72a9ff;
  --blue-strong: #4f8fe9;
  --gold: #d4ad59;
  --teal: #47c2c8;
}

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% -12%, rgba(61, 105, 151, 0.18), transparent 35rem),
    radial-gradient(circle at 8% 22%, rgba(155, 112, 37, 0.09), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body > nav {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 66px;
  padding: 12px clamp(18px, 4vw, 64px);
  gap: 8px;
  border-bottom: 1px solid rgba(45, 64, 82, 0.72);
  background: rgba(5, 7, 8, 0.88);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body > nav .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--text);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

body > nav .logo::before {
  content: "⌁";
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(212, 173, 89, 0.58);
  border-radius: 50%;
  color: var(--gold);
  font-size: 21px;
  line-height: 1;
}

body > nav a:not(.logo) {
  padding: 8px 10px;
  border-radius: 7px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
  transition: color 160ms ease, background 160ms ease;
}

body > nav a:hover,
body > nav a:focus-visible,
body > nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(114, 169, 255, 0.1);
  outline: none;
}

main {
  width: min(100%, 1040px);
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 82px) clamp(18px, 4vw, 42px) 96px;
}

main::before {
  content: "SNAPSTATS  /  PUBLIC INFORMATION";
  display: block;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

h1 {
  max-width: 820px;
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.eyebrow {
  max-width: 760px;
  margin: 0 0 26px;
  color: var(--text-secondary);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.55;
}

.page-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin: 30px 0;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(19, 31, 43, 0.96), rgba(9, 13, 16, 0.96));
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.24);
}

.page-summary p { margin: 0; color: var(--text-secondary); font-size: 16px; }
.page-summary strong { color: var(--text); }

.summary-badge {
  min-width: 112px;
  padding: 12px 14px;
  border: 1px solid rgba(114, 169, 255, 0.35);
  border-radius: 8px;
  background: rgba(114, 169, 255, 0.08);
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.toc {
  margin: 34px 0 42px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(9, 13, 16, 0.78);
}

.toc-title {
  margin: 0 0 11px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.toc-links { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--panel-raised);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.toc a:hover, .toc a:focus-visible { border-color: var(--border-strong); color: var(--blue); outline: none; }

main > h2,
main > section > h2 {
  scroll-margin-top: 90px;
  margin: 0;
  padding-top: 34px;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-size: clamp(20px, 3vw, 25px);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
}

main > h2:not(:first-of-type) { margin-top: 34px; }
main > h2::before {
  content: "SECTION";
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 0.14em;
}

main p,
main li,
main dd {
  color: var(--text-secondary);
  font-size: 15px;
}

main h2 + p { margin-top: 12px; }
main p { margin-bottom: 12px; }
main a { color: var(--blue); text-underline-offset: 3px; }
main a:hover { color: #9fc3ff; }
main strong { color: var(--text); }

main ul {
  margin: 16px 0 20px;
  padding: 0;
  list-style: none;
}

main li {
  position: relative;
  margin: 8px 0;
  padding-left: 22px;
}

main li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(71, 194, 200, 0.1);
}

.email-card {
  position: relative;
  overflow: hidden;
  margin: 28px 0 36px;
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: linear-gradient(140deg, #132033, #0b1117 60%);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.28);
}

.email-card::after {
  content: "@";
  position: absolute;
  top: -42px;
  right: 18px;
  color: rgba(114, 169, 255, 0.07);
  font-size: 150px;
  font-weight: 900;
}

.email-card p { position: relative; z-index: 1; color: var(--text-muted); font-size: 12px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.email-card a { position: relative; z-index: 1; color: var(--text); font-size: clamp(18px, 4vw, 27px); font-weight: 900; text-decoration: none; }

dl {
  grid-template-columns: minmax(150px, 210px) 1fr;
  gap: 0;
  margin: 14px 0 36px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
}

dt, dd { padding: 13px 16px; border-bottom: 1px solid var(--border); }
dt { color: var(--text); font-size: 13px; font-weight: 900; }
dd { background: rgba(17, 24, 32, 0.55); }
dt:last-of-type, dd:last-of-type { border-bottom: 0; }

footer {
  margin-top: 0;
  padding: 30px clamp(18px, 4vw, 64px);
  border-top: 1px solid var(--border);
  background: rgba(5, 7, 8, 0.7);
  text-align: center;
}

footer p { max-width: 1000px; margin: 0 auto; color: var(--text-muted); font-size: 11px; line-height: 1.8; }
footer a { color: var(--text-secondary); text-decoration: none; }

@media (max-width: 720px) {
  body > nav { position: static; }
  body > nav .logo { width: 100%; margin-bottom: 3px; }
  body > nav a:not(.logo) { padding: 6px 7px; }
  main { padding-top: 38px; }
  main::before { margin-bottom: 12px; }
  .page-summary { grid-template-columns: 1fr; }
  .summary-badge { justify-self: start; }
  .toc-links { flex-direction: column; }
  .toc a { width: 100%; }
  dl { grid-template-columns: 1fr; }
  dt { padding-bottom: 4px; border-bottom: 0; }
  dd { padding-top: 4px; }
  dt:last-of-type { border-bottom: 0; }
}

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