:root {
  color-scheme: dark;

  --bg: #06100b;
  --surface: #0d1812;
  --surface-2: #122018;
  --line: rgba(255,255,255,.10);
  --text: #f2f7f3;
  --muted: #a7b8ac;
  --accent: #7ae2a6;
  --accent-soft: rgba(122,226,166,.10);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(
      circle at 84% 8%,
      rgba(73,171,111,.18),
      transparent 34rem
    ),
    var(--bg);

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: rgba(6,16,11,.92);
}

.topbar-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand > span:last-child {
  display: grid;
  gap: 2px;
}

.brand small {
  color: var(--muted);
}

.mark {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;

  border: 1px solid rgba(122,226,166,.30);
  border-radius: 13px;

  background: var(--accent-soft);
  color: var(--accent);

  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.verified,
.state {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;

  color: var(--muted);
  font-size: 12px;
}

.hero {
  padding: 92px 0 78px;
}

.hero-grid {
  display: grid;
  grid-template-columns:
    minmax(0,1.55fr)
    minmax(280px,.65fr);

  gap: 46px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .15em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 22px;

  font-size: clamp(44px,6vw,76px);
  line-height: .98;
  letter-spacing: -.045em;
}

h2 {
  margin-bottom: 0;

  font-size: clamp(29px,4vw,43px);
  line-height: 1.06;
  letter-spacing: -.03em;
}

h3 {
  margin-bottom: 9px;
}

.lead {
  max-width: 730px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.authority-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 31px;
}

.authority-row span {
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  font-size: 12px;
}

.truth-card {
  padding: 27px;
  border: 1px solid rgba(122,226,166,.22);
  border-radius: 20px;
  background: var(--accent-soft);
}

.truth-card p:last-child {
  margin: 17px 0 0;
  color: #c7d3ca;
  line-height: 1.62;
}

.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.alternate {
  background: rgba(255,255,255,.018);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 29px;
}

.boroughs {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 12px;
}

.boroughs article {
  min-height: 94px;
  display: flex;
  align-items: end;
  padding: 18px;

  border: 1px solid var(--line);
  border-radius: 15px;

  background: var(--surface);
  font-weight: 750;
}

.empty-state {
  margin-top: 20px;
  padding: 29px;

  border: 1px dashed rgba(255,255,255,.16);
  border-radius: 17px;

  background: rgba(255,255,255,.018);
}

.empty-state p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.roles {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-top: 30px;
}

.roles article {
  min-height: 245px;
  padding: 26px;

  border: 1px solid var(--line);
  border-radius: 18px;

  background: var(--surface);
}

.roles article > span {
  display: inline-block;
  margin-bottom: 38px;

  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
}

.roles p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.boundary-card {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 44px;
  align-items: end;

  padding: 30px;

  border: 1px solid var(--line);
  border-radius: 19px;

  background: var(--surface-2);
}

.boundary-card + .boundary-card {
  margin-top: 14px;
}

.boundary-card > p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.inventory {
  border-color: rgba(122,226,166,.18);
}

footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  min-height: 88px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 900px) {
  .hero-grid,
  .boundary-card {
    grid-template-columns: 1fr;
  }

  .boroughs {
    grid-template-columns: repeat(2,1fr);
  }

  .roles {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .shell {
    width: min(var(--max), calc(100% - 26px));
  }

  .verified {
    display: none;
  }

  .hero {
    padding-top: 60px;
  }

  .boroughs {
    grid-template-columns: 1fr;
  }

  .section-head,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

.role-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 22px;
  min-height: 42px;
  padding: 10px 14px;

  border: 1px solid rgba(122,226,166,.28);
  border-radius: 10px;

  background: rgba(122,226,166,.08);
  color: var(--accent);

  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.role-entry:hover,
.role-entry:focus-visible {
  border-color: rgba(122,226,166,.55);
  background: rgba(122,226,166,.14);
}
