:root {
  --ink: #223b52;
  --muted: #657b8b;
  --navy: #172c46;
  --line: #e0e7ec;
  --bg: #f9fbfc;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    14px/1.7 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
a {
  color: inherit;
}
header,
main,
footer {
  max-width: 1120px;
  margin: 0 auto;
}
header {
  padding: 33px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.brand {
  font:
    26px Georgia,
    serif;
  text-decoration: none;
  letter-spacing: -0.7px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.brand span {
  font-size: 33px;
  line-height: 1;
  color: #58788f;
}
.back {
  font-size: 11px;
  text-decoration: none;
  color: var(--muted);
}
a:focus-visible {
  outline: 3px solid #8fb3d0;
  outline-offset: 5px;
}
main {
  padding: 0 42px;
}
.intro {
  padding: 68px 0 47px;
  max-width: 760px;
}
.eyebrow {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.8px;
  color: #6d8392;
  margin: 0 0 14px;
}
h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.5px;
  color: var(--navy);
}
h1 {
  font-size: 55px;
  line-height: 1.1;
  letter-spacing: -1.8px;
  margin: 0 0 24px;
}
.lede {
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 625px;
  margin: 0 0 24px;
}
.status {
  display: inline-block;
  padding: 6px 11px;
  font-size: 10px;
  color: #5a745e;
  background: #edf2e9;
  border: 1px solid #dce6d7;
  border-radius: 5px;
}
.boundary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  padding: 35px;
  background: #edf3f7;
  border: 1px solid #dfe8ef;
  border-radius: 16px;
}
.boundary h2 {
  font-size: 29px;
  line-height: 1.25;
  margin: 0 0 18px;
}
.boundary p:not(.eyebrow) {
  color: #607c90;
  font-size: 12px;
  margin: 0;
  line-height: 1.9;
}
.demo-map {
  text-align: center;
  align-self: center;
}
.map-node {
  border: 1px solid #c9d9e5;
  background: #ffffffb3;
  border-radius: 8px;
  padding: 12px;
  font-size: 11px;
  color: #5e7a8f;
}
.map-node.active {
  background: #36566f;
  color: white;
  border-color: #36566f;
}
.map-node span {
  display: block;
  font-size: 9px;
  margin-top: 4px;
  color: #d2e0e9;
}
.down-arrow {
  display: block;
  font-size: 20px;
  color: #8da8bb;
  margin: 3px;
}
.demo-map > p {
  font-size: 9px !important;
  line-height: 1.75 !important;
  margin-top: 15px !important;
}
.section {
  padding-top: 58px;
}
.section-title {
  margin-bottom: 25px;
}
.section-title h2 {
  font-size: 31px;
  line-height: 1.25;
  margin: 0 0 10px;
}
.section-title p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}
.workflow {
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
  gap: 13px;
}
.workflow li {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 18px;
  position: relative;
}
.workflow li:not(:last-child):after {
  content: "→";
  position: absolute;
  right: -12px;
  top: 28px;
  z-index: 2;
  color: #7e9bb0;
  background: var(--bg);
  font-size: 16px;
  line-height: 1;
}
.workflow li > span {
  display: flex;
  align-items: center;
  justify-content: center;
  font:
    18px Georgia,
    serif;
  background: #edf3f7;
  color: #55758e;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}
.workflow h3 {
  font-size: 22px;
  margin: 17px 0 7px;
}
.workflow p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}
.subnote {
  padding: 15px 18px;
  border-left: 2px solid #adc2d1;
  background: #f0f5f8;
  font-size: 11px;
  color: #657e91;
  line-height: 1.85;
  margin-top: 18px;
}
.consent-grid,
.build-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.consent-grid article,
.build-grid article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 23px 20px;
}
.scope-number {
  color: #718b9d;
  font-size: 9px;
  letter-spacing: 1.2px;
}
.consent-grid h3,
.build-grid h3 {
  font-size: 22px;
  line-height: 1.25;
  margin: 12px 0 10px;
}
.consent-grid p,
.build-grid p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.9;
  margin: 0;
}
.consent-grid p {
  min-height: 45px;
}
.consent-grid code {
  display: inline-block;
  font-size: 10px;
  background: #f1f5f8;
  padding: 4px 8px;
  border-radius: 4px;
  margin-top: 15px;
  color: #5a7b93;
}
.example {
  background: #f5f2e9;
  border: 1px solid #e8e1d1;
  border-radius: 10px;
  padding: 20px 24px;
  margin-top: 17px;
}
.example strong {
  font-weight: 500;
  font-size: 12px;
  color: #857249;
}
.example p {
  font-size: 11px;
  color: #877a5a;
  line-height: 1.85;
  margin: 6px 0 0;
}
.diagram-wrap {
  background: white;
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 15px;
}
.diagram-wrap svg {
  display: block;
  width: 100%;
  height: auto;
}
.connector {
  fill: none;
  stroke: #a8bccb;
  stroke-width: 1.5;
}
.node rect {
  fill: #f6f9fb;
  stroke: #d4e0e9;
}
.node text {
  fill: #71899b;
  font-size: 12px;
  text-anchor: middle;
}
.node text.node-title {
  font:
    20px Georgia,
    serif;
  fill: #2e4e69;
}
.api-node rect {
  fill: #213e58;
  stroke: #213e58;
}
.api-node text {
  text-anchor: middle;
  font-size: 12px;
  fill: #c3d5e2;
}
.api-node .node-title {
  font:
    24px Georgia,
    serif;
  fill: white;
}
.diagram-foot {
  text-anchor: middle;
  font-size: 10px;
  fill: #8295a3;
}
.final-card {
  padding: 40px 45px;
  background: #eaf1f5;
  border: 1px solid #dce7ee;
  border-radius: 15px;
  margin: 55px 0 45px;
}
.final-card h2 {
  font-size: 35px;
  line-height: 1.2;
  margin: 0 0 18px;
}
.final-card p:not(.eyebrow) {
  max-width: 670px;
  font-size: 12px;
  color: #607c90;
  line-height: 1.9;
  margin: 0 0 25px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 12px 19px;
  border-radius: 8px;
  text-decoration: none;
  background: var(--navy);
  color: white;
  font-size: 11px;
}
footer {
  padding: 0 42px 30px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #758b9b;
  gap: 20px;
}
@media (max-width: 800px) {
  header {
    padding: 25px 25px;
  }
  main {
    padding: 0 25px;
  }
  .intro {
    padding: 48px 0 35px;
  }
  h1 {
    font-size: 44px;
  }
  .boundary {
    gap: 30px;
    padding: 25px;
  }
  .boundary h2 {
    font-size: 26px;
  }
  .workflow {
    grid-template-columns: repeat(3, 1fr);
  }
  .workflow li:nth-child(3):after {
    display: none;
  }
  .consent-grid,
  .build-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-title h2 {
    font-size: 28px;
  }
  .diagram-wrap {
    overflow-x: auto;
  }
  .diagram-wrap svg {
    min-width: 680px;
  }
  .section {
    padding-top: 42px;
  }
  .final-card {
    padding: 32px;
    margin-top: 40px;
  }
  .final-card h2 {
    font-size: 30px;
  }
  footer {
    padding: 0 25px 25px;
  }
}
@media (max-width: 530px) {
  header {
    padding: 20px;
    align-items: flex-start;
  }
  .brand {
    font-size: 23px;
    gap: 7px;
  }
  .brand span {
    font-size: 28px;
  }
  .back {
    font-size: 9px;
    text-align: right;
    max-width: 105px;
  }
  main {
    padding: 0 20px;
  }
  .intro {
    padding: 38px 0 30px;
  }
  h1 {
    font-size: 38px;
    letter-spacing: -1px;
  }
  .lede {
    font-size: 13px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  .boundary {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 23px;
  }
  .boundary h2 {
    font-size: 27px;
  }
  .section-title h2 {
    font-size: 27px;
  }
  .workflow {
    grid-template-columns: 1fr;
  }
  .workflow li {
    display: grid;
    grid-template-columns: 35px 1fr;
    gap: 0 12px;
    padding: 18px;
  }
  .workflow li > span {
    grid-row: span 2;
  }
  .workflow h3 {
    margin: 0 0 5px;
    font-size: 22px;
  }
  .workflow li:not(:last-child):after {
    content: "↓";
    right: 50%;
    top: auto;
    bottom: -13px;
  }
  .workflow li:nth-child(3):after {
    display: block;
  }
  .consent-grid,
  .build-grid {
    gap: 12px;
  }
  .consent-grid article,
  .build-grid article {
    padding: 19px 16px;
  }
  .consent-grid h3,
  .build-grid h3 {
    font-size: 21px;
  }
  .consent-grid code {
    font-size: 8px;
  }
  .consent-grid p {
    min-height: 61px;
  }
  .example {
    padding: 18px;
  }
  .diagram-wrap {
    padding: 5px;
  }
  .diagram-wrap svg {
    min-width: 620px;
  }
  .subnote {
    font-size: 10px;
  }
  .final-card {
    padding: 27px 23px;
  }
  .final-card h2 {
    font-size: 27px;
  }
  footer {
    font-size: 8px;
    padding: 0 20px 24px;
    flex-wrap: wrap;
    gap: 5px;
  }
}
@media print {
  body {
    background: white;
  }
  header {
    padding: 15px 0;
  }
  .back,
  .button {
    display: none;
  }
  main {
    padding: 0;
  }
  .intro {
    padding: 25px 0;
  }
  h1 {
    font-size: 38px;
  }
  .section {
    padding-top: 30px;
  }
  .section-title h2 {
    font-size: 25px;
  }
  .boundary {
    padding: 22px;
  }
  .workflow {
    grid-template-columns: repeat(5, 1fr);
  }
  .workflow li {
    padding: 15px 12px;
  }
  .workflow h3 {
    font-size: 19px;
  }
  .diagram-wrap svg {
    min-width: 0;
  }
  .consent-grid,
  .build-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  .consent-grid article,
  .build-grid article {
    padding: 16px 12px;
  }
  .consent-grid h3,
  .build-grid h3 {
    font-size: 19px;
  }
  .boundary,
  .diagram-wrap,
  .workflow,
  .consent-grid,
  .build-grid,
  .final-card {
    break-inside: avoid;
  }
  .final-card {
    margin: 30px 0;
    padding: 25px;
  }
  footer {
    padding: 10px 0;
  }
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
