:root {
  --ink: #151917;
  --muted: #545b55;
  --teal: #236f66;
  --lime: #92c77d;
  --paper: #f5f2ed;
  --line: #ded8ce;
  --wash: #eee9df;
  --dark: #131514;
  font: 100%/1.55 Inter, "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: var(--teal); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #6081cf; outline-offset: 4px; }
h1, h2, h3, p, ol, ul, dl { margin: 0; }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; }
h1 { margin: .38rem 0 .75rem; font-size: clamp(2.55rem, 4vw, 3.8rem); letter-spacing: -.055em; font-weight: 780; }
h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -.045em; }
h3 { font-size: 1.13rem; letter-spacing: -.02em; }
h2 em { font-style: normal; color: var(--teal); }
p + p, p + h3, h3 + p, h2 + p, .panel + form, .panel p + form { margin-top: .75rem; }
p { line-height: 1.55; }
small, .subtle { color: var(--muted); }
small { font-size: .82rem; }
code, .eyebrow, .tenant, .tag, th, dt, .milestones span, footer { font-family: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace; }
.wrap { width: min(86%, 77rem); margin-inline: auto; }
.mast { background: var(--dark); color: #faf8f3; }
.mast-row, .mast-tools, .actions, .section-row, .primary-nav, .status-strip, .hero, footer > div { display: flex; align-items: center; }
.mast-row, .section-row, .hero, footer > div { justify-content: space-between; gap: 1rem; }
.mast-row { min-height: 5.5rem; }
.brand { display: inline-flex; flex: none; }
.brand img { width: 11.7rem; height: auto; display: block; }
.mast-tools { justify-content: flex-end; flex-wrap: wrap; gap: 1rem; font-size: .9rem; }
.mast-tools a, .primary-nav a { color: #f7f6f1; text-decoration: none; }
.mast-tools a:hover, .primary-nav a:hover { text-decoration: underline; }
.tenant, .tag { font-size: .75rem; text-transform: uppercase; letter-spacing: .055em; font-weight: 650; }
.tenant { border-radius: 4rem; border: 1px solid #414840; background: #202622; color: #eeeae1; padding: .32rem .8rem; }
.primary-nav { gap: clamp(.9rem, 2.25vw, 2.2rem); border-bottom: 1px solid #343935; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #4c524e transparent; }
.primary-nav a { flex: none; padding: .8rem 0 .88rem; border-bottom: 2px solid transparent; font-size: .95rem; color: #c6c8c2; }
.primary-nav a[aria-current] { color: white; border-color: var(--lime); font-weight: 650; }
.primary-nav a:focus-visible { outline-offset: -3px; }
.hero { align-items: flex-end; padding: clamp(2rem, 3vw, 3.5rem) 0 clamp(2rem, 3vw, 3.25rem); }
.lead { color: #c8cbc4; max-width: 40rem; font-size: 1.08rem; }
.eyebrow, th, dt, .milestones span, footer { font-size: .75rem; letter-spacing: .105em; text-transform: uppercase; font-weight: 650; }
.eyebrow { margin: 0 0 .65rem; color: var(--teal); }
.mast .eyebrow, .support-panel .eyebrow { color: var(--lime); }
.actions { flex-wrap: wrap; gap: .6rem; }
a.button, button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.65rem; padding: .62rem 1.05rem; border: 1px solid var(--dark); border-radius: .55rem; background: var(--dark); color: white; font: inherit; font-size: .93rem; font-weight: 650; line-height: 1.25; text-decoration: none; cursor: pointer; }
a.button:hover, button:hover { filter: brightness(.91); }
.button.lime { background: var(--lime); color: #12240e; border-color: var(--lime); }
.button.ghost { border-color: #727970; background: transparent; color: white; }
button.outline, .button.outline { border-color: #929b90; background: transparent; color: var(--ink); }
button.danger { background: #923d2f; border-color: #923d2f; }
.small { min-height: 2.25rem; font-size: .85rem; padding: .45rem .8rem; }
.stack { display: grid; gap: clamp(1.35rem, 2.1vw, 2rem); }
main { padding-block: clamp(1.55rem, 2.7vw, 2.5rem) 3rem; min-height: 52vh; align-content: start; }
.panel, .doc-tile { padding: clamp(1.2rem, 2.4vw, 2.2rem); background: #fff; border: 1px solid var(--line); border-radius: 1rem; min-width: 0; }
.section-row { flex-wrap: wrap; }
.section-row .eyebrow { margin-bottom: 0; }
.section-row + h2 { margin-top: .65rem; }
.section-row > a, .status-strip > a { font-size: .9rem; font-weight: 650; }
.status-strip { padding: 1.25rem 1.5rem; flex-wrap: wrap; gap: .6rem 1.5rem; font-size: .9rem; color: var(--muted); }
.status-strip strong { color: var(--ink); font-size: 1rem; display: flex; align-items: center; gap: .55rem; }
.status-strip > a { margin-left: auto; }
.signal { height: .55rem; width: .55rem; border-radius: 50%; background: #b58a43; box-shadow: 0 0 0 .21rem #f4ead6; }
.steps, .docs-grid, .grid, .split, .support-grid, .milestones, .facts { display: grid; gap: 1rem; }
.steps { grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; margin-top: 1.5rem; counter-reset: step; }
.steps li { padding: 1.2rem; border-radius: .8rem; background: var(--wash); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; background: var(--teal); color: white; font-weight: 700; height: 2rem; width: 2rem; border-radius: 50%; margin-bottom: .9rem; }
.steps li:last-child::before { background: var(--dark); }
.steps a { color: var(--ink); font-weight: 700; text-decoration: none; }
.steps a:hover { text-decoration: underline; }
.steps p, .doc-tile > span:last-child, .inset p { margin-top: .55rem; color: var(--muted); font-size: .94rem; }
.docs-area > .section-row { margin-bottom: 1.25rem; align-items: flex-end; }
.docs-area .eyebrow { margin-bottom: .45rem; }
.docs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.doc-tile { padding: 1.25rem; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; border-radius: .82rem; }
.doc-tile:hover { border-color: var(--teal); }
.doc-tile strong { line-height: 1.25; }
.icon { font: 1.65rem/1.1 system-ui, sans-serif; color: var(--teal); margin-bottom: .65rem; }
.code-icon { font: 1.3rem/1.4 monospace; }
.grid, .support-grid, .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split { grid-template-columns: minmax(0, 1.9fr) minmax(0, .95fr); }
.inset { padding: 1rem; margin-top: 1rem; border-radius: .65rem; background: var(--wash); }
.inset.mint { background: #e2eee9; }
.inset a { display: inline-block; margin-top: .7rem; }
.milestones { grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 0; margin-top: 1.5rem; list-style: none; }
.milestones li { border-top: 3px solid var(--line); padding-top: .65rem; font-weight: 650; }
.milestones span, dt { display: block; margin-bottom: .45rem; color: var(--muted); }
.support-panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; background: var(--dark); color: #f9f7f2; border-radius: 1rem; padding: clamp(1.2rem, 2.4vw, 2.2rem); }
.support-panel p:not(.eyebrow) { color: #ccd0c9; margin: .75rem 0 1rem; }
.support-grid div { padding: 1.1rem; border-radius: .7rem; border: 1px solid #38413a; background: #202521; }
.support-grid dt { color: #bec7bd; }
dd { margin: 0; }
footer { border-top: 1px solid var(--line); color: var(--muted); }
footer > div { padding-block: 1.2rem; flex-wrap: wrap; }
label { color: var(--ink); font-size: .94rem; font-weight: 600; }
select, input, textarea { max-width: 100%; min-height: 2.65rem; border: 1px solid #aaa99f; border-radius: .45rem; background: white; color: var(--ink); font: inherit; padding: .5rem .7rem; }
select { padding-right: 1.7rem; }
input[type=checkbox], input[type=radio] { min-height: 0; }
.search input { width: min(100%, 18rem); padding-left: 2.25rem; }
.search { position: relative; }
.search::before, .search::after { content: ""; position: absolute; pointer-events: none; }
.search::before { top: .8rem; left: .8rem; width: .64rem; height: .64rem; border: 1.8px solid var(--muted); border-radius: 50%; }
.search::after { top: 1.43rem; left: 1.34rem; width: .38rem; height: 1.8px; background: var(--muted); transform: rotate(45deg); }
.table-wrap { overflow-x: auto; margin-top: 1rem; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: .65rem .8rem .65rem 0; border-bottom: 2px solid var(--ink); color: var(--muted); }
td { padding: .8rem .8rem .8rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
td small { display: block; }
code { overflow-wrap: anywhere; }
.digest { font-size: .8em; }
.tag { color: var(--teal); }
.measure { max-width: 54rem; }
.measure label { display: block; margin-top: 1.1rem; }
.secret { display: block; font-family: monospace; width: 100%; margin: .4rem 0 1.15rem; }
.facts { padding-block: 1rem; }
.inline-form { display: flex; flex-wrap: wrap; gap: .8rem; align-items: flex-end; margin-bottom: 1rem; }
.inline-form select { display: block; }
summary { cursor: pointer; color: var(--teal); }
.message { border: 1px solid #aad3b9; background: #ecf7ed; padding: .9rem 1.15rem; border-radius: .55rem; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; padding: .7rem; background: white; z-index: 2; }
@media (max-width: 60rem) {
  .wrap { width: 92%; }
  .docs-grid, .milestones { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { align-items: flex-start; flex-wrap: wrap; }
  .support-panel { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 44rem) {
  .mast-row { padding-block: 1rem; flex-wrap: wrap; min-height: 0; }
  .brand img { width: 9rem; }
  .mast-tools { gap: .5rem; }
  .steps, .split, .grid, .support-panel { grid-template-columns: 1fr; }
  .docs-grid, .milestones { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .status-strip { gap: .55rem 1rem; }
  .status-strip strong { width: 100%; }
  .hero { gap: 1.25rem; }
}
@media (max-width: 26rem) {
  .docs-grid, .support-grid, .facts { grid-template-columns: 1fr; }
  .mast-tools { justify-content: flex-start; }
}
.panel textarea { display: block; width: 100%; margin: .4rem 0 .8rem; }
.panel fieldset { margin: 1rem 0; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: .5rem; }
.panel fieldset label { display: inline-block; margin: .3rem .8rem .3rem 0; }
.panel form + form { margin-top: .7rem; }
