:root {
  color-scheme: light;
  --paper: #f6f1e7;
  --white: #fffdf8;
  --ink: #1e2b39;
  --muted: #596979;
  --line: #c9c6bc;
  --blue: #214d66;
  --blue-pale: #e4edf0;
  --orange: #b74d28;
  --orange-pale: #f8e7dc;
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
}
a {
  color: var(--blue);
}
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  z-index: 4;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--ink);
}
.skip-link:focus {
  transform: translateY(0);
}
.masthead {
  max-width: 1200px;
  margin: auto;
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.wordmark small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font:
    700 9px/1.4 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  letter-spacing: 0.1em;
}
.mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--blue);
  color: var(--blue);
  font:
    700 17px/1 Georgia,
    serif;
}
.masthead nav {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}
.masthead nav a {
  color: var(--ink);
  font-size: 12px;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
main {
  width: min(1100px, calc(100% - 44px));
  margin: auto;
}
.sample-banner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 16px;
  margin-top: 18px;
  background: var(--blue);
  color: white;
  font-size: 11px;
}
.sample-banner span {
  color: #e3edf1;
  text-align: right;
}
.intro {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 50px;
  align-items: end;
  padding: 64px 8px 43px;
}
.kicker {
  margin: 0 0 9px;
  color: var(--orange);
  font:
    800 10px/1.4 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  margin-bottom: 15px;
  font:
    500 clamp(40px, 6vw, 70px)/0.99 Georgia,
    'Times New Roman',
    serif;
  letter-spacing: -0.04em;
}
h1 em {
  color: var(--blue);
  font-weight: 400;
}
.lede {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
}
.boundary {
  display: flex;
  gap: 13px;
  padding: 18px;
  background: var(--orange-pale);
  border-top: 3px solid var(--orange);
}
.boundary h2 {
  margin: 0 0 4px;
  font-size: 15px;
}
.boundary p {
  margin: 0;
  color: #633d30;
  font-size: 12px;
}
.boundary-dot {
  width: 22px;
  height: 22px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--orange);
  border-radius: 50%;
  color: var(--orange);
  font-weight: 800;
}
.scenario-index {
  display: flex;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.scenario-index a {
  flex: 1;
  padding: 15px 16px;
  color: var(--ink);
  font-size: 12px;
  text-decoration: none;
}
.scenario-index a + a {
  border-left: 1px solid var(--line);
}
.scenario-index span {
  margin-right: 8px;
  color: var(--orange);
  font:
    700 10px ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
.scenario-index a:hover {
  background: var(--white);
}
.noscript {
  margin: 16px 0 0;
  padding: 12px 15px;
  border-left: 3px solid var(--orange);
  background: var(--white);
  color: var(--muted);
  font-size: 12px;
}
.scenario {
  padding: 45px 0 42px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 16px;
}
.scenario-heading {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  margin-bottom: 20px;
}
.scenario-heading .number {
  color: var(--orange);
  font:
    400 28px/1 Georgia,
    serif;
}
.scenario-heading h2 {
  margin: 0 0 7px;
  font:
    500 clamp(25px, 3vw, 36px)/1.08 Georgia,
    serif;
  letter-spacing: -0.025em;
}
.scenario-heading div > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.simulation-tag {
  padding: 5px 8px;
  background: var(--blue-pale);
  color: var(--blue);
  font:
    800 9px/1.4 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  letter-spacing: 0.08em;
}
.workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
}
.work-pane {
  min-width: 0;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
}
.work-pane h3 {
  margin: 0 0 13px;
  font-size: 13px;
}
.work-pane label,
.review-row label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
select,
input {
  max-width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #9eaaa9;
  border-radius: 0;
  background: white;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
}
select {
  width: 100%;
}
blockquote,
pre {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  margin: 15px 0 10px;
  padding: 13px;
  background: #f2eee5;
  border-left: 2px solid var(--blue);
  color: var(--ink);
  font:
    12px/1.6 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
.field-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 10px;
}
.arrow {
  display: grid;
  place-items: center;
  color: var(--orange);
  font-size: 22px;
}
.output-pane {
  border-top: 3px solid var(--blue);
}
dl {
  margin: 0;
}
dl > div {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid #e2ded4;
}
dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
}
dd {
  min-width: 0;
  margin: 0;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.field-ok {
  color: var(--muted);
  font-size: 10px;
}
.review-flag {
  margin: 13px 0 0;
  padding: 10px 12px;
  background: var(--orange-pale);
  color: #793718;
  font-size: 11px;
  font-weight: 800;
}
.review-flag span {
  display: block;
  margin-top: 3px;
  font-weight: 400;
}
.review-row {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto auto;
  gap: 8px 10px;
  align-items: end;
  padding: 15px;
  margin-top: 10px;
  background: #ebe6da;
}
.review-row label {
  grid-column: 1 / -1;
  margin: 0;
}
.review-row input {
  width: 100%;
}
button {
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: white;
  font:
    700 11px/1.3 ui-sans-serif,
    system-ui,
    sans-serif;
  cursor: pointer;
}
button:hover {
  background: #173c51;
}
button.quiet {
  background: transparent;
  color: var(--blue);
}
button.quiet:hover {
  background: var(--blue-pale);
}
.review-status {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 11px;
}
.method {
  padding: 55px 8px;
}
.method h2,
.handover h2 {
  margin: 0 0 20px;
  font:
    500 clamp(28px, 3.5vw, 42px)/1.05 Georgia,
    serif;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.method-grid article {
  padding-top: 13px;
  border-top: 2px solid var(--blue);
}
.method-grid article > span {
  color: var(--orange);
  font:
    700 10px ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
.method-grid h3 {
  margin: 12px 0 6px;
  font-size: 14px;
}
.method-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}
.handover {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 45px;
  padding: 30px;
  background: var(--blue);
  color: white;
}
.handover .kicker {
  color: #f4b090;
}
.handover h2 {
  margin-bottom: 10px;
}
.handover p {
  margin-bottom: 0;
  color: #d8e5e8;
  font-size: 13px;
}
.handover ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 25px;
  margin: 0;
  padding-left: 18px;
  color: #e7eef0;
  font-size: 11px;
}
.handover li::marker {
  color: #f4b090;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 23px 2px 30px;
  color: var(--muted);
  font-size: 10px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 760px) {
  .masthead {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 20px;
  }
  .masthead nav {
    gap: 16px;
  }
  main {
    width: min(100% - 28px, 620px);
  }
  .sample-banner {
    display: block;
  }
  .sample-banner span {
    display: block;
    margin-top: 5px;
    text-align: left;
  }
  .sample-banner a {
    display: inline-block;
    margin-top: 8px;
  }
  .intro {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 45px 3px 30px;
  }
  .scenario-index {
    flex-direction: column;
  }
  .scenario-index a {
    padding: 11px 13px;
  }
  .scenario-index a + a {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .scenario {
    padding: 35px 0;
  }
  .scenario-heading {
    grid-template-columns: 35px minmax(0, 1fr);
    gap: 10px;
  }
  .simulation-tag {
    grid-column: 2;
    justify-self: start;
  }
  .workbench {
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .arrow {
    transform: rotate(90deg);
    height: 22px;
  }
  .review-row {
    grid-template-columns: 1fr 1fr;
  }
  .review-row input {
    grid-column: 1 / -1;
  }
  .review-row label {
    grid-column: 1 / -1;
  }
  .review-row button {
    min-height: 44px;
  }
  .method-grid,
  .handover {
    grid-template-columns: 1fr;
  }
  .method-grid {
    gap: 24px;
  }
  .handover {
    gap: 20px;
    padding: 23px;
  }
  footer {
    flex-direction: column;
  }
}
@media (max-width: 420px) {
  .handover ul {
    grid-template-columns: 1fr;
  }
  dl > div {
    grid-template-columns: 88px minmax(0, 1fr);
  }
  .review-row {
    grid-template-columns: 1fr;
  }
  .review-row input,
  .review-row button {
    grid-column: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
