:root {
  --navy: #001c64;
  --blue: #003087;
  --bright: #0070e0;
  --sky: #d9efff;
  --ink: #071634;
  --muted: #53627a;
  --line: #d9e5f3;
  --paper: #ffffff;
  --wash: #eef5ff;
  --amber: #b7791f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--wash);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-weight: 600;
}

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

code {
  background: #eef6ff;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  padding: 0.12rem 0.35rem;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr auto 1fr;
  min-height: 78px;
  padding: 0 48px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand,
.nav-links,
.account {
  align-items: center;
  display: flex;
}

.brand {
  font-weight: 900;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: var(--blue);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-size: 0.72rem;
  height: 32px;
  justify-content: center;
  width: 32px;
}

.nav-links {
  background: #f4f9ff;
  border: 1px solid var(--line);
  border-radius: 999px;
  gap: 4px;
  padding: 5px;
}

.nav-links a {
  border-radius: 999px;
  color: #30425f;
  font-size: 0.88rem;
  font-weight: 800;
  padding: 9px 14px;
}

.nav-links a:hover {
  background: white;
  color: var(--blue);
}

.account {
  color: #45546d;
  font-size: 0.84rem;
  gap: 14px;
  justify-content: flex-end;
}

.button {
  align-items: center;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 900;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
}

.button-secondary {
  background: white;
  color: var(--blue);
}

.button-small {
  font-size: 0.82rem;
  min-height: 38px;
  padding: 0 16px;
}

.hero,
.standards-grid,
.blue-band,
.reference-section,
.access-band,
.standard-page {
  margin: 34px auto 0;
  max-width: 1180px;
  padding: 0 24px;
}

.hero {
  align-items: stretch;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.72fr);
}

.hero-content,
.proof-panel,
.standard-card,
.blue-band,
.reference-section,
.access-band,
.standard-page {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 48, 135, 0.08);
}

.access-band {
  padding: clamp(28px, 4vw, 44px);
}

.access-band .hero-actions {
  margin-top: 18px;
}

.hero-content {
  padding: clamp(42px, 6vw, 78px);
}

.proof-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.eyebrow,
.proof-label {
  color: var(--bright);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #bfe5ff;
}

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

h1 {
  color: var(--blue);
  font-size: clamp(3rem, 7.4vw, 6.6rem);
  letter-spacing: 0;
  line-height: 0.92;
  margin-bottom: 24px;
}

h2 {
  color: var(--blue);
  font-size: clamp(1.8rem, 3.8vw, 3.6rem);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 18px;
}

h3 {
  color: var(--blue);
  font-size: 1.08rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-lede {
  font-size: 1.2rem;
  max-width: 780px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.proof-panel ul {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.proof-panel li {
  border-top: 1px solid var(--line);
  color: var(--blue);
  font-size: 1.08rem;
  font-weight: 900;
  padding: 15px 0;
}

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

.standard-card {
  display: flex;
  flex-direction: column;
  min-height: 320px;
  padding: 24px;
}

.standard-card h2 {
  font-size: 1.55rem;
  line-height: 1.05;
}

.standard-card p {
  font-size: 0.98rem;
}

.standard-card small {
  color: var(--muted);
  line-height: 1.45;
  margin-top: auto;
}

.card-topline,
.meta-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.card-topline span,
.card-topline strong,
.meta-row span {
  background: #eef6ff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 900;
  padding: 7px 10px;
}

.blue-band {
  background: var(--blue);
  color: white;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  padding: clamp(34px, 5vw, 58px);
}

.blue-band h2,
.blue-band p {
  color: white;
}

.blue-band p {
  color: #d9e9ff;
}

.pipeline {
  display: grid;
  gap: 12px;
}

.pipeline span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: white;
  font-weight: 900;
  padding: 18px;
}

.reference-section,
.standard-page {
  padding: clamp(34px, 5vw, 62px);
}

.reference-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 24px;
}

.reference-grid a {
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 140px;
  padding: 22px;
}

.reference-grid strong {
  color: var(--blue);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.reference-grid span {
  color: var(--muted);
  line-height: 1.45;
}

.standard-page {
  max-width: 1060px;
}

.standard-header {
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
  padding-bottom: 30px;
}

.standard-header h1 {
  font-size: clamp(2.8rem, 6.5vw, 5.8rem);
}

.standard-header p {
  font-size: 1.12rem;
}

.two-column {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  margin-bottom: 28px;
}

.equation-card,
.callout {
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
}

.equation {
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: 0;
  margin: 10px 0;
}

.equation.compact {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
}

.fact-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 28px 0;
}

.fact-grid article {
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.fact-grid p {
  margin-bottom: 0;
}

.table-section {
  margin-top: 34px;
}

table {
  border-collapse: collapse;
  margin-top: 18px;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  padding: 13px 12px;
  text-align: left;
  vertical-align: top;
}

th {
  color: #33435f;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

td:first-child {
  color: var(--blue);
  font-weight: 900;
}

tr.reserved td {
  color: var(--amber);
}

.section-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.section-list span {
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue);
  font-weight: 900;
  padding: 14px;
}

.callout {
  margin-top: 30px;
}

.site-footer {
  align-items: center;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  margin: 28px auto 0;
  max-width: 1180px;
  padding: 36px 24px 52px;
}

.site-footer p {
  font-size: 0.92rem;
  margin: 6px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: var(--blue);
  font-weight: 900;
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: 1fr;
    padding: 18px 22px;
  }

  .account,
  .brand,
  .nav-links {
    justify-content: center;
  }

  .hero,
  .blue-band,
  .two-column {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .nav-links {
    border-radius: 8px;
    flex-wrap: wrap;
  }

  .account {
    flex-direction: column;
  }

  .standards-grid,
  .fact-grid,
  .reference-grid,
  .section-list {
    grid-template-columns: 1fr;
  }

  .hero,
  .standards-grid,
  .blue-band,
  .reference-section,
  .standard-page {
    margin-top: 14px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}
