:root {
  --ink: #102a2c;
  --muted: #526665;
  --paper: #f4f0e7;
  --paper-soft: #ebe7dc;
  --panel: #fffdf7;
  --line: #c8c7bd;
  --accent: #d9653b;
  --accent-deep: #9f3f24;
  --mint: #8db5a6;
  --navy: #173f43;
  --focus: #0759b5;
  --shadow: 0 24px 70px rgba(16, 42, 44, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(16, 42, 44, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 42, 44, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 64px 64px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  color: #fff;
  background: var(--focus);
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.site-header,
.site-footer,
.hero,
.section,
.boundary-section,
.privacy-strip {
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--navy);
  border-radius: 13px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

nav { display: flex; gap: 1.5rem; }

nav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-underline-offset: 0.3em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  min-height: 680px;
  padding-block: 5rem;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--accent-deep);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { text-wrap: pretty; }

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h1 { font-size: clamp(3.7rem, 7.8vw, 7.3rem); }
h1 em { color: var(--accent-deep); font-weight: 500; }
h2 { font-size: clamp(2.7rem, 5vw, 4.9rem); }
h3 { margin: 0; line-height: 1.2; }

.hero-intro {
  max-width: 680px;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--navy);
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.button-primary { color: #fff; background: var(--navy); }
.button-secondary { background: transparent; }

.trust-card {
  padding: 2rem;
  color: #f9f6ef;
  background: var(--navy);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.card-kicker {
  margin: 0 0 1.5rem;
  color: #b9d7cd;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.trust-card dl { margin: 0; }
.trust-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-card dt { color: #b9d7cd; }
.trust-card dd { margin: 0; font-weight: 850; text-align: right; }
.trust-note { margin: 1.5rem 0 0; color: #d4e7e1; font-size: 0.9rem; }

.section { padding-block: 7rem; }
.section-heading { max-width: 820px; }
.section-heading > p:last-child { max-width: 660px; margin: 1.5rem 0 0; color: var(--muted); font-size: 1.08rem; }

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 3.5rem;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.capability-grid article {
  min-height: 250px;
  padding: 1.5rem;
  background: rgba(255, 253, 247, 0.64);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.card-number { display: block; margin-bottom: 3.5rem; color: var(--accent-deep); font-weight: 850; }
.capability-grid p { color: var(--muted); }

.boundary-section {
  padding: 6rem clamp(1.25rem, 5vw, 5rem);
  color: #f8f5ec;
  background: var(--navy);
  border-radius: 36px;
}

.boundary-heading { max-width: 920px; }
.boundary-heading .eyebrow { color: #f0a284; }

.boundary-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 3.5rem;
}

.flow-node {
  min-height: 170px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
}

.flow-node-primary { color: var(--ink); background: #d8e8e1; }
.flow-node span,
.flow-node small { display: block; opacity: 0.74; }
.flow-node strong { display: block; margin: 1rem 0 0.35rem; font-size: 1.2rem; }
.flow-arrow { color: #f0a284; font-size: 1.8rem; }

.boundary-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.boundary-notes article { padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, 0.25); }
.boundary-notes p { color: #c9dbd5; }

.status-section { padding-bottom: 5rem; }
.status-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3.5rem; }
.status-item { padding: 1.6rem; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
.status-label { display: inline-block; margin-bottom: 2.5rem; padding: 0.35rem 0.7rem; border-radius: 999px; font-size: 0.72rem; font-weight: 850; text-transform: uppercase; letter-spacing: 0.08em; }
.status-live .status-label { color: #174d3c; background: #d5ebe3; }
.status-review .status-label { color: #70401d; background: #f4dfc6; }
.status-public .status-label { color: #234861; background: #d9e9f2; }
.status-item p { color: var(--muted); }

.privacy-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 7rem;
  padding: 3rem;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.privacy-strip h2 { font-size: clamp(2.3rem, 4vw, 4rem); }
.privacy-strip > p { margin: 0; color: var(--muted); font-size: 1.06rem; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  padding-block: 2.5rem;
  border-top: 1px solid var(--line);
}

.site-footer > div:first-child { display: flex; gap: 0.9rem; align-items: center; }
.site-footer p { margin: 0; }
.footer-links { display: flex; gap: 1.25rem; }
.colophon { color: var(--muted); font-size: 0.82rem; text-align: right; }

@media (max-width: 900px) {
  nav a:not(:last-child) { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .trust-card { max-width: 620px; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .boundary-flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); justify-self: center; }
  .boundary-notes,
  .status-grid { grid-template-columns: 1fr; }
  .privacy-strip { grid-template-columns: 1fr; align-items: start; }
  .site-footer { grid-template-columns: 1fr; }
  .colophon { text-align: left; }
}

@media (max-width: 560px) {
  .site-header { min-height: 76px; }
  .hero { padding-block: 4rem; gap: 3rem; }
  .section { padding-block: 5rem; }
  .capability-grid { grid-template-columns: 1fr; }
  .boundary-section { width: 100%; border-radius: 0; }
  .privacy-strip { padding: 1.5rem; }
}

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