:root {
  color-scheme: dark;
  --bg: #000;
  --text: #f0efeb;
  --muted: #adaca8;
  --line: #303030;
  --teal: #69d7c7;
  --yellow: #f0c96f;
  --gray: #aaa;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
::selection { color: #000; background: var(--teal); }
.skip-link {
  position: absolute;
  z-index: 10;
  top: -100px;
  left: 20px;
  padding: 10px 14px;
  background: var(--text);
  color: #000;
}
.skip-link:focus { top: 12px; }
.page-shell { min-height: 100vh; background: var(--bg); }
.topbar, main, footer { width: min(100% - 48px, 1180px); margin-inline: auto; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 650; letter-spacing: -.02em; text-decoration: none; white-space: nowrap; }
.brand-slash { margin-inline: 9px; color: var(--muted); font-weight: 400; }
.topbar nav a { color: var(--muted); font-size: 14px; text-underline-offset: 4px; }
.topbar nav a:hover, .narinfo:hover, .footer-facts a:hover { color: var(--teal); }
.hero { max-width: 800px; padding: clamp(64px, 8vw, 108px) 0 72px; }
.eyebrow, .section-index {
  margin: 0;
  color: var(--teal);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .025em;
}
.animated-title {
  margin: 14px 0 20px;
  font: 400 clamp(56px, 8vw, 108px)/1.04 Georgia, "Times New Roman", serif;
  letter-spacing: -.055em;
  animation: title-in .7s ease-out both;
}
.hero-subtitle { max-width: 67ch; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 13px;
}
.hero-meta strong { color: var(--text); font-weight: 650; }
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 28px 0;
  border-block: 1px solid var(--line);
}
.metric { min-width: 0; padding: 6px 22px; border-left: 1px solid var(--line); }
.metric:first-child { padding-left: 0; border-left: 0; }
.metric .label { color: var(--muted); font-size: 13px; }
.metric .number {
  margin: 6px 0 0;
  font: 400 clamp(38px, 4vw, 54px)/1.1 Georgia, "Times New Roman", serif;
  letter-spacing: -.04em;
}
.metric.available .number { color: var(--teal); }
.metric.building .number { color: var(--yellow); }
.metric.unavailable .number { color: var(--gray); }
.system-note { display: grid; gap: 20px; margin: 72px 0 26px; }
.system-note h2 {
  margin: 4px 0 0;
  font: 400 clamp(36px, 4vw, 50px)/1.15 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
}
.system-note > p { max-width: 75ch; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.legend ul { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.key { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.swatch { width: 10px; height: 10px; flex: none; background: var(--gray); }
.key.available .swatch { background: var(--teal); }
.key.building .swatch { background: var(--yellow); }
.group { margin-top: 44px; }
.group-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 10px; }
.group-heading h2 { margin: 0; font-size: 17px; font-weight: 650; text-transform: capitalize; }
.group-heading > span { color: var(--muted); font-size: 13px; }
.package-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 30px; border-top: 1px solid var(--line); }
.package {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  align-content: start;
  gap: 14px;
  min-width: 0;
  min-height: 120px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.tile { width: 10px; height: 10px; margin-top: 7px; background: var(--gray); }
.available .tile { background: var(--teal); }
.building .tile { background: var(--yellow); }
.package-info { min-width: 0; }
.package h3 { margin: 0; overflow-wrap: anywhere; font-size: 15px; font-weight: 650; line-height: 1.4; }
.job { margin: 4px 0 0; overflow-wrap: anywhere; color: var(--muted); font-size: 12px; }
.status { margin: 8px 0 0; color: var(--gray); font-size: 12px; }
.available .status { color: var(--teal); }
.building .status { color: var(--yellow); }
.narinfo { display: inline-block; margin-top: 4px; color: var(--text); font-size: 12px; text-underline-offset: 3px; }
footer {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  margin-top: 96px;
  padding-block: 30px 54px;
  border-top: 1px solid var(--line);
}
footer p { max-width: 64ch; margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.footer-mark { font-weight: 650; }
.footer-mark span { color: var(--teal); }
.footer-facts { display: flex; flex: none; flex-wrap: wrap; gap: 20px 30px; color: var(--muted); font-size: 12px; }
.footer-facts strong, .footer-facts a { color: var(--text); font-weight: 500; }

@keyframes title-in {
  from { transform: translateY(12px); }
  to { transform: translateY(0); }
}
@media (max-width: 800px) {
  .package-grid { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .metric:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) {
  .topbar, main, footer { width: min(100% - 32px, 1180px); }
  .topbar { min-height: 64px; }
  .brand, .topbar nav a { font-size: 13px; }
  .hero { padding: 56px 0 54px; }
  .animated-title { font-size: clamp(50px, 12vw, 70px); }
  .hero-subtitle { font-size: 15px; }
  .metrics { padding-block: 18px; }
  .metric { padding-inline: 14px; }
  .metric .label { font-size: 12px; }
  .metric .number { font-size: 38px; }
  .system-note { margin-top: 54px; }
  footer { display: block; margin-top: 72px; }
  .footer-facts { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .animated-title { animation: none; }
}
