@font-face {
  font-family: Manrope;
  src: url('/brand/Manrope.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --canvas: #f6f5f1;
  --surface: #fff;
  --text: #202321;
  --muted: #606460;
  --border: #d7dad3;
  --accent: #b53621;
  --soft: #f9e9e2;
  --green: #176b49;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font:
    15px/1.6 Manrope,
    Arial,
    sans-serif;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button {
  font: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.6;
}
button:focus-visible,
a:focus-visible,
pre:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.skip {
  position: absolute;
  left: 24px;
  top: -80px;
  background: var(--surface);
  padding: 12px;
  z-index: 10;
}
.skip:focus {
  top: 10px;
}
.header,
main,
footer {
  max-width: 1248px;
  margin: auto;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 36px;
  border-bottom: 1px solid var(--border);
}
.header img {
  object-fit: contain;
  object-position: left;
  display: block;
}
.header nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  font-weight: 600;
}
.header nav a {
  text-decoration: none;
}
.console-link {
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 8px 13px;
}
.header a:hover {
  color: var(--accent);
}
main {
  padding: 0 36px;
}
.hero {
  padding: 56px 0 36px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 800;
}
.dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
}
.version {
  margin-left: 7px;
  letter-spacing: 0;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 7px;
  font-weight: 600;
}
h1 {
  font-size: clamp(34px, 4.1vw, 52px);
  line-height: 1.15;
  font-weight: 650;
  letter-spacing: -1.9px;
  margin: 21px 0 18px;
}
.intro {
  max-width: 665px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}
.workspace-summary {
  display: flex;
  gap: 34px;
  margin-top: 29px;
  font-size: 11px;
  color: var(--muted);
}
.workspace-summary span {
  display: flex;
  flex-direction: column;
}
.workspace-summary strong {
  font-size: 12px;
  color: var(--text);
  font-weight: 700;
}
.workspace {
  display: grid;
  grid-template-columns: 290px 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 30px #20232105;
  overflow: hidden;
}
.scenarios {
  padding: 27px 18px;
  background: #f0f1ec;
  border-right: 1px solid var(--border);
}
.section-label {
  font-size: 10px;
  letter-spacing: 1.3px;
  font-weight: 800;
  color: var(--muted);
}
.scenarios > .section-label {
  padding: 0 10px;
  margin-bottom: 17px;
}
.scenario {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  padding: 13px 12px;
  margin: 0 0 7px;
  color: var(--text);
}
.scenario strong {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
}
.scenario span {
  font-size: 11px;
  color: var(--muted);
}
.scenario:hover {
  background: #ffffff90;
}
.scenario[aria-pressed='true'] {
  background: #fff;
  border-color: var(--border);
  box-shadow:
    inset 3px 0 var(--accent),
    0 2px 6px #20232104;
}
.scenario[aria-pressed='true'] strong {
  color: var(--accent);
}
.scenario-divider {
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--muted);
  margin: 24px 12px 10px;
}
.access-note {
  font-size: 11px;
  line-height: 1.75;
  color: var(--muted);
  border-top: 1px solid var(--border);
  margin: 24px 10px 0;
  padding-top: 18px;
}
.detail {
  padding: 29px 32px 30px;
  min-width: 0;
}
.scenario-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
h2 {
  font-size: 23px;
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: -0.6px;
  margin: 7px 0 0;
}
.badge {
  display: inline-block;
  white-space: nowrap;
  border-radius: 5px;
  background: #eaf3ed;
  color: var(--green);
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2px;
}
.badge.denied {
  background: var(--soft);
  color: var(--accent);
}
.badge.neutral {
  background: #f0f1ec;
  color: var(--muted);
}
.description {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  min-height: 45px;
  margin: 17px 0 22px;
}
.request-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: 0 0 23px;
}
.request-summary > div {
  padding: 13px 16px;
  min-width: 0;
}
.request-summary > div + div {
  border-left: 1px solid var(--border);
}
dt {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  margin-bottom: 5px;
}
dd {
  font-size: 12px;
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 650;
}
code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  font-weight: 400;
}
.run-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 25px;
}
#run {
  background: var(--accent);
  color: white;
  border: 1px solid var(--accent);
  border-radius: 7px;
  padding: 11px 18px;
  font-size: 12px;
  font-weight: 700;
  min-width: 141px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
#run:not(:disabled):hover {
  background: #922c1d;
}
#run-help {
  font-size: 11px;
  color: var(--muted);
}
.result {
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 17px 19px;
  min-height: 127px;
}
.result-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
h3 {
  font-size: 13px;
  letter-spacing: -0.1px;
  font-weight: 750;
  margin: 0;
}
.result p {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 0;
}
.result p.small {
  font-size: 10px;
}
.decoded {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
  margin: 17px 0 0;
}
.decoded:empty {
  display: none;
}
.decoded > div {
  min-width: 0;
}
.decoded dd {
  font-size: 12px;
  font-weight: 550;
}
.technical {
  margin-top: 24px;
}
.tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  gap: 20px;
}
.tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  padding: 7px 0 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}
.tabs button[aria-selected='true'] {
  color: var(--text);
  border-bottom-color: var(--accent);
}
pre {
  background: #f7f8f5;
  border-radius: 0 0 7px 7px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    10px/1.8 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
  color: #566158;
  padding: 16px;
  margin: 0;
  max-height: 240px;
  overflow: auto;
}
.explanation {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 40px 0 46px;
}
.number {
  font-size: 10px;
  color: var(--accent);
  font-weight: 800;
  display: block;
  margin-bottom: 12px;
}
.explanation p {
  font-size: 12px;
  line-height: 1.75;
  color: var(--muted);
  margin: 8px 0 0;
}
footer {
  border-top: 1px solid var(--border);
  padding: 24px 36px 30px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
}
.muted {
  color: var(--muted);
}
@media (max-width: 850px) {
  .header,
  footer {
    padding-left: 22px;
    padding-right: 22px;
  }
  main {
    padding: 0 22px;
  }
  .workspace {
    grid-template-columns: 240px 1fr;
  }
  .detail {
    padding: 24px;
  }
  .header nav {
    gap: 15px;
  }
  .workspace-summary {
    gap: 22px;
  }
  h1 {
    letter-spacing: -1.2px;
  }
  .request-summary {
    grid-template-columns: 1fr;
  }
  .request-summary > div + div {
    border-left: 0;
    border-top: 1px solid var(--border);
  }
}
@media (max-width: 640px) {
  .header {
    padding-top: 17px;
    padding-bottom: 17px;
  }
  .header img {
    width: 137px;
    height: 37px;
  }
  .header nav {
    gap: 12px;
    font-size: 11px;
  }
  .console-link {
    display: none;
  }
  .hero {
    padding-top: 34px;
  }
  .hero br {
    display: none;
  }
  .intro {
    font-size: 14px;
  }
  .workspace-summary {
    flex-wrap: wrap;
    gap: 14px 22px;
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  .scenarios {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 20px 16px;
  }
  .scenario {
    padding: 10px 12px;
  }
  .access-note {
    margin-top: 16px;
    padding-top: 14px;
  }
  .detail {
    padding: 24px 18px;
  }
  .scenario-heading {
    align-items: flex-start;
  }
  h2 {
    font-size: 21px;
  }
  .run-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .explanation {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px 0;
  }
  footer {
    flex-direction: column;
    gap: 8px;
  }
  .decoded {
    grid-template-columns: 1fr;
  }
  .description {
    min-height: 0;
  }
}
