:root {
  color-scheme: light;
  --ink: #101820;
  --muted: #56636d;
  --line: #dce5e2;
  --paper: #f7f9f6;
  --white: #fff;
  --green: #087263;
  --blue: #24537a;
  --amber: #946400;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

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

button { font: inherit; }

header, main, footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

header, footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header {
  min-height: 72px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 23px;
  font-weight: 780;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font-weight: 760;
  white-space: nowrap;
}

.button.primary {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

body[data-audience="provider"] .button.primary {
  background: var(--blue);
  border-color: var(--blue);
}

.button.subtle {
  min-height: 38px;
  padding: 8px 13px;
}

.hero {
  display: grid;
  justify-items: center;
  min-height: calc(100vh - 144px);
  align-content: center;
  padding: 54px 0;
  text-align: center;
}

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

h1, h2, p { margin: 0; }

h1 {
  max-width: 860px;
  margin-top: 18px;
  font-size: 82px;
  line-height: .94;
  letter-spacing: 0;
}

.summary {
  max-width: 690px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.45;
}

.audience-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, 150px);
  gap: 4px;
  margin-top: 32px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eef3f0;
}

.audience-toggle button {
  min-height: 42px;
  border: 0;
  border-radius: 6px;
  color: var(--muted);
  background: transparent;
  font-weight: 760;
  cursor: pointer;
}

.audience-toggle button[aria-selected="true"] {
  color: var(--ink);
  background: var(--white);
}

.audience-copy {
  display: grid;
  justify-items: center;
}

.lede {
  max-width: 520px;
  margin: 20px auto 18px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.45;
}

.market-map {
  width: min(680px, 100%);
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 12px;
  align-items: stretch;
  margin-top: 46px;
}

.market-node, .market-center {
  min-height: 102px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.market-center {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.market-node strong, .market-center strong {
  font-size: 18px;
}

.market-node span, .market-center span {
  color: var(--muted);
  line-height: 1.35;
}

.market-center span {
  color: #c9d4d7;
}

footer {
  min-height: 72px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

[hidden] {
  display: none !important;
}

@media (max-width: 820px) {
  header, main, footer {
    width: min(100% - 30px, 1120px);
  }

  .hero {
    min-height: auto;
    padding: 48px 0 40px;
  }

  h1 {
    font-size: 56px;
    line-height: .98;
  }

  .lede {
    font-size: 18px;
  }

  .summary {
    font-size: 18px;
  }

  .market-map {
    grid-template-columns: 1fr;
  }

  .market-map {
    margin-top: 38px;
  }
}

@media (max-width: 480px) {
  header {
    min-height: 64px;
  }

  .brand {
    font-size: 22px;
  }

  .button.subtle {
    min-height: 36px;
  }

  .hero {
    padding-top: 40px;
  }

  h1 {
    font-size: 43px;
  }

  .audience-toggle {
    width: 100%;
    grid-template-columns: 1fr 1fr;
    margin-top: 28px;
  }

  .audience-copy .button {
    width: 100%;
  }

  .market-node, .market-center {
    min-height: 96px;
  }
}
