@import url("https://fonts.googleapis.com/css2?family=Sorts+Mill+Goudy:ital@0;1&display=swap");

:root {
  --page: #f3f2f1;
  --surface: #ffffff;
  --ink: #0b0c0c;
  --muted: #505a5f;
  --line: #b1b4b6;
  --nav: #0b0c0c;
  --nav-ink: #ffffff;
  --blue: #1d70b8;
  --blue-dark: #003078;
  --green: #00703c;
  --amber: #ffdd00;
  --red: #d4351c;
  --tag-blue: #eaf4fb;
  --tag-neutral: #f3f2f1;
  --max: 1120px;
  --wide: 1480px;
  --font: "GDS Transport", Arial, Helvetica, sans-serif;
  --brand-font: "Sorts Mill Goudy", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  background: var(--page);
  color: var(--ink);
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  font-family: var(--font);
  font-size: 19px;
  line-height: 1.3157894737;
  letter-spacing: 0;
  background: var(--page);
}

a {
  color: var(--blue);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue-dark);
}

a:focus-visible,
button:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 0;
  box-shadow: 0 0 0 5px var(--ink);
}

button,
textarea {
  font: inherit;
  letter-spacing: 0;
}

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

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 20;
  transform: translateY(-160%);
  padding: 8px 12px;
  color: var(--ink);
  background: var(--amber);
  font-weight: 700;
}

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

.service-header {
  color: var(--nav-ink);
  background: var(--nav);
  border-bottom: 4px solid var(--amber);
}

.service-header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  min-height: 56px;
  padding: 0;
}

.service-header__inner > nav {
  margin-left: auto;
}

.brand {
  display: inline-flex;
  min-height: 38px;
  min-width: 0;
  align-items: center;
  color: var(--nav-ink);
  border-bottom: 4px solid transparent;
  text-decoration: none;
}

.service-header a,
.service-header a:visited,
.service-header a:hover,
.service-header a:focus-visible,
.service-header a:active {
  color: var(--nav-ink);
  text-decoration: none;
}

.service-header .brand:hover,
.service-header .brand:focus-visible {
  border-color: var(--amber);
}

.brand__name {
  font-family: var(--brand-font);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}

.service-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-nav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  color: var(--nav-ink);
  border-bottom: 4px solid transparent;
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.service-nav a[aria-current="page"],
.service-nav a:hover {
  border-color: var(--amber);
}

.header-export {
  display: inline-flex;
  min-height: 38px;
  min-width: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 10px;
  color: var(--nav-ink);
  background: transparent;
  border: 2px solid currentColor;
  border-radius: 0;
  font: inherit;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.header-export svg {
  width: 1.08em;
  height: 1.08em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.header-export:hover {
  background: rgba(255, 255, 255, 0.14);
}

.header-export:disabled {
  cursor: wait;
  opacity: 0.78;
}

.phase {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.phase__inner {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
}

.phase__tag,
.status-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 2px 8px;
  color: var(--ink);
  background: var(--amber);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-tag--small {
  min-height: 24px;
  padding: 2px 7px;
  font-size: 14px;
}

.status-tag--neutral {
  background: var(--tag-neutral);
  border: 1px solid var(--line);
}

.status-tag--blue {
  background: var(--tag-blue);
}

.status-tag--green {
  color: #ffffff;
  background: var(--green);
}

.phase p {
  color: var(--muted);
  font-size: 16px;
}

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

.wide-container {
  width: min(calc(100% - 32px), var(--wide));
  margin: 0 auto;
}

main {
  padding: 24px 0 54px;
}

.doc-layout {
  display: grid;
  grid-template-columns: minmax(0, 255px) minmax(0, 1fr);
  gap: 38px;
  align-items: start;
}

.doc-sidebar {
  position: sticky;
  top: 20px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.doc-sidebar h2 {
  margin-bottom: 12px;
  font-size: 21px;
}

.doc-sidebar nav {
  display: grid;
  gap: 10px;
}

.doc-sidebar a {
  font-size: 16px;
  font-weight: 700;
}

.doc-main {
  min-width: 0;
}

.hero-panel,
.doc-section,
.demo-panel {
  margin-bottom: 28px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  margin-bottom: 14px;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 31px;
  line-height: 1.1;
}

h3 {
  margin-top: 22px;
  margin-bottom: 8px;
  font-size: 23px;
}

.lead {
  max-width: 820px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.25;
}

.note,
.callout {
  margin-top: 14px;
  color: var(--muted);
  font-size: 17px;
}

.callout {
  padding: 14px 16px;
  color: var(--ink);
  background: #fff7bf;
  border-left: 5px solid var(--amber);
}

.warning {
  padding: 14px 16px;
  background: #f6d7d7;
  border-left: 5px solid var(--red);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.status-box {
  padding: 14px;
  background: var(--tag-neutral);
  border: 1px solid var(--line);
}

.status-box strong {
  display: block;
  margin-bottom: 8px;
}

.table-wrap {
  max-width: 100%;
  margin-top: 14px;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}

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

th {
  font-size: 16px;
  font-weight: 700;
}

.code-block {
  margin-top: 14px;
  background: #0b0c0c;
  color: #ffffff;
  overflow: auto;
}

.code-block pre {
  margin: 0;
  padding: 16px;
  font-size: 15px;
  line-height: 1.45;
}

.button-link,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 14px;
  color: #ffffff;
  background: var(--green);
  border: 0;
  box-shadow: 0 2px 0 #002d18;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button-link:hover,
button:hover {
  color: #ffffff;
  background: #005a30;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.demo-shell {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 18px;
}

.demo-list {
  display: grid;
  gap: 10px;
}

.demo-list button {
  justify-content: flex-start;
  width: 100%;
  color: var(--ink);
  background: var(--surface);
  border: 2px solid var(--ink);
  box-shadow: none;
}

.demo-list button[aria-pressed="true"] {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue-dark);
}

.demo-detail {
  display: grid;
  gap: 14px;
}

.kv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.kv {
  padding: 12px;
  background: var(--tag-neutral);
  border: 1px solid var(--line);
}

.kv span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.timeline {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.timeline-item {
  padding: 12px 14px;
  border-left: 5px solid var(--blue);
  background: var(--tag-neutral);
}

.footer {
  padding: 28px 0;
  color: #d8d8d8;
  background: var(--nav);
}

.footer a {
  color: #ffffff;
}

@media (max-width: 820px) {
  body {
    font-size: 17px;
  }

  .phase__inner,
  .doc-layout,
  .demo-shell {
    display: block;
  }

  .service-header__inner {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px 14px;
    padding: 10px 0 8px;
  }

  .service-header__inner nav {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .service-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .service-nav::-webkit-scrollbar {
    display: none;
  }

  .service-nav li {
    flex: 0 0 auto;
  }

  .service-nav a {
    min-height: 34px;
    padding: 0 8px;
    font-size: 17px;
  }

  .header-export {
    min-height: 34px;
    padding: 0 8px;
    font-size: 17px;
  }

  .brand__name {
    font-size: 28px;
  }

  .doc-sidebar {
    position: static;
    margin-bottom: 20px;
  }

  .hero-panel,
  .doc-section,
  .demo-panel {
    padding: 18px;
  }

  h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 21px;
  }
}
