*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --ink: #18212f;
  --ink-soft: #4d5b70;
  --muted: #758197;
  --line: #dce4ec;
  --bg: #f7faf8;
  --surface: #ffffff;
  --surface-alt: #eef7f3;
  --accent: #13795b;
  --accent-strong: #0f6049;
  --blue: #2563eb;
  --amber: #b7791f;
  --container: 1120px;
  --radius: 8px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font);
  line-height: 1.7;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.site-header,
.hero,
.section-shell,
.site-footer {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.site-header {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--accent);
  color: #ffffff;
  font-weight: 850;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 0.75rem;
}

.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 650;
}

.hero {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 52px;
  padding: 72px 0 64px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.hero h1,
.section-head h2,
.standards-grid h2,
.legal-page h1 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  font-size: 3rem;
}

.hero-copy > p:last-child,
.section-head p,
.legal-page p {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--ink-soft);
}

.domain-map {
  display: grid;
  gap: 14px;
}

.root-node,
.domain-node {
  display: grid;
  gap: 5px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.root-node {
  border-color: #b8d8ca;
  background: var(--surface-alt);
}

.root-node span,
.domain-node span,
.project-topline {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.root-node strong,
.domain-node strong {
  font-size: 1.06rem;
}

.domain-node em {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-style: normal;
}

.domain-node.active {
  border-left: 4px solid var(--blue);
}

.domain-node.planned {
  border-left: 4px solid var(--amber);
}

.section-shell {
  padding: 62px 0;
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2,
.standards-grid h2,
.legal-page h1 {
  font-size: 2rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.project-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.project-card.muted {
  background: #fafafa;
}

.project-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.status {
  padding: 3px 8px;
  border-radius: 999px;
}

.status.live {
  color: #0f6049;
  background: #dff5ec;
}

.status.planned {
  color: #854d0e;
  background: #fef3c7;
}

.project-card h3 {
  margin: 24px 0 10px;
  font-size: 1.35rem;
  line-height: 1.35;
}

.project-card p {
  margin: 0;
  color: var(--ink-soft);
}

.project-card dl {
  display: grid;
  gap: 8px;
  margin: 22px 0 0;
}

.project-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.project-card dt {
  color: var(--muted);
  font-size: 0.84rem;
}

.project-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  text-align: right;
}

.project-link {
  margin-top: auto;
  display: inline-flex;
  align-self: flex-start;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
}

.project-link:hover {
  color: #ffffff;
  background: var(--accent-strong);
}

.standards-band {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.standards-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 48px;
}

.standards-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.standards-list li {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.standards-list span {
  color: var(--ink-soft);
}

.site-footer {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--ink-soft);
}

.site-footer strong {
  color: var(--ink);
}

.legal-page {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: 72px 0 96px;
}

.legal-page h1 {
  margin-bottom: 18px;
}

.legal-page h2 {
  margin: 34px 0 10px;
  font-size: 1.2rem;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .hero,
  .standards-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 42px 0 48px;
    gap: 30px;
  }

  .hero h1 {
    font-size: 2.18rem;
  }
}

@media (max-width: 520px) {
  .site-header,
  .hero,
  .section-shell,
  .site-footer,
  .legal-page {
    width: min(100% - 28px, var(--container));
  }

  .project-card dl div {
    display: grid;
  }

  .project-card dd {
    text-align: left;
  }
}
