:root {
  --ink: #15202b;
  --muted: #516173;
  --line: #cfd8e3;
  --paper: #ffffff;
  --field: #f4f7fa;
  --field-strong: #e7edf4;
  --accent: #22577a;
  --accent-dark: #163d55;
  --focus: #c28d22;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #ffffff;
  background: var(--accent);
  border-radius: 4px;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--accent);
}

.nav-action {
  color: var(--accent);
  font-weight: 700;
}

.container {
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
}

.narrow {
  max-width: 820px;
}

.section,
.section-band {
  padding: clamp(56px, 9vw, 96px) 0;
}

.section-muted {
  background: var(--field);
  border-block: 1px solid var(--line);
}

.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(244, 247, 250, 0.95), rgba(255, 255, 255, 0.9)),
    repeating-linear-gradient(0deg, transparent 0, transparent 31px, rgba(207, 216, 227, 0.45) 32px),
    repeating-linear-gradient(90deg, transparent 0, transparent 31px, rgba(207, 216, 227, 0.45) 32px);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}

.hero-copy {
  max-width: 740px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.45rem, 5vw, 5rem);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.04rem;
}

.subheadline {
  margin-top: 22px;
  color: var(--ink);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  font-weight: 650;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 10px;
  padding: 10px 16px;
  color: #ffffff;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 4px;
  font-weight: 750;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button.secondary {
  color: var(--accent);
  background: #ffffff;
}

.hero-visual {
  width: 100%;
}

.visual-shell {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 4vw, 28px);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(21, 32, 43, 0.12);
}

.visual-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.visual-node {
  min-height: 64px;
  display: grid;
  place-items: center;
  padding: 12px;
  color: var(--ink);
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.93rem;
  font-weight: 750;
  text-align: center;
}

.node-provider {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

.node-evidence {
  background: #fff8e8;
  border-color: #dec27a;
}

.split-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.split-list li {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  color: var(--ink);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 650;
}

.focus-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.focus-list li {
  min-height: 76px;
  display: flex;
  align-items: center;
  padding: 14px;
  color: var(--ink);
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 750;
}

.status-note {
  margin-top: 24px;
  color: var(--ink);
  font-weight: 700;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px 18px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
  counter-reset: workflow;
}

.workflow li {
  position: relative;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 10px;
  color: var(--ink);
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 750;
  text-align: center;
}

.workflow li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -18px;
  top: 50%;
  width: 28px;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 1.15rem;
  font-weight: 800;
}

.workflow li:nth-child(5)::after {
  content: "↓";
  right: 50%;
  top: calc(100% + 2px);
  transform: translateX(50%);
}

.question-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.question-card {
  min-height: 150px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.question-card span {
  display: block;
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.question-card p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.contact-section {
  background: var(--ink);
}

.contact-section h2,
.contact-section .split-list li {
  color: var(--ink);
}

.contact-section p {
  color: #dbe3ec;
}

.contact-section .eyebrow {
  color: #a8d1ef;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.footer {
  padding: 28px 0;
  background: #0f1720;
  border-top: 1px solid #2a3745;
}

.footer p {
  max-width: 900px;
  margin: 0;
  color: #d2dce7;
  font-size: 0.95rem;
}

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

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

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

  .workflow li:not(:last-child)::after {
    display: none;
  }

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

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

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .brand {
    white-space: normal;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    font-size: 0.88rem;
  }

  .nav a {
    padding: 8px 0;
  }

  .section,
  .section-band {
    padding: 48px 0;
  }

  .split-list,
  .focus-list,
  .question-grid,
  .visual-row,
  .workflow {
    grid-template-columns: 1fr;
  }

  .workflow li {
    min-height: 62px;
  }

  .contact-actions .button {
    width: 100%;
  }
}
