:root {
  color-scheme: dark;
  --page: #0e141b;
  --surface: #151e28;
  --edge: #2a3848;
  --text: #edf4fa;
  --muted: #a7b6c4;
  --accent: #9ce8d4;
  --accent-dark: #14332d;
  --mono: ui-monospace, 'Cascadia Code', 'SFMono-Regular', Consolas, monospace;
  font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: var(--page); }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .24em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; z-index: 3; left: 16px; top: -60px; padding: 8px 12px; background: var(--surface); }
.skip:focus { top: 10px; }
.masthead { border-bottom: 1px solid var(--edge); background: #101820; }
.masthead-inner { min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; gap: .34em; font-weight: 500; align-items: center; color: var(--text); white-space: nowrap; letter-spacing: -.025em; }
.brand strong { font-weight: 750; }
.mark { display: inline-grid; place-items: center; background: var(--accent-dark); color: var(--accent); border: 1px solid #337161; width: 32px; height: 32px; border-radius: 8px; font: 700 14px var(--mono); margin-right: .4em; }
nav { display: flex; gap: clamp(14px, 2.4vw, 32px); }
nav a, .quiet-link { color: var(--muted); font-size: .88rem; font-weight: 650; }
.hero { border-bottom: 1px solid var(--edge); background: radial-gradient(ellipse at 91% -10%, #1c423e 0%, transparent 58%), #111922; }
.hero-grid { display: grid; grid-template-columns: 1.38fr 1fr; gap: 70px; padding-block: 74px 76px; align-items: center; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.14; letter-spacing: -.04em; }
h1 { font-size: clamp(3rem, 6vw, 5.2rem); font-weight: 740; }
h1 span { display: block; color: var(--accent); }
.hero p { color: var(--muted); }
.hero-grid > div > p { margin-top: 21px; max-width: 470px; font-size: 1.16rem; }
.hero-actions { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 30px; font-size: .94rem; font-weight: 650; }
.button { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 8px; background: var(--accent); color: #0b2b24; }
.button:hover { background: #bbf2e3; text-decoration: none; }
.runbook { border: 1px solid #344d54; background: #101a22; border-radius: 16px; overflow: hidden; box-shadow: 0 16px 48px #080f1660; }
.runbook-head { display: flex; align-items: center; gap: 8px; padding: 14px 21px; border-bottom: 1px solid var(--edge); }
.runbook-head .mark { width: 27px; height: 27px; }
.runbook h2 { font-size: 1rem; letter-spacing: 0; }
.runbook ol { display: grid; gap: 16px; margin: 0; padding: 19px 24px 23px 49px; }
.runbook li::marker { color: var(--accent); font: 700 .88rem var(--mono); }
.runbook li span { font-size: .94rem; font-weight: 700; }
.runbook li p { font-size: .87rem; line-height: 1.42; }
.section { padding-top: 54px; scroll-margin-top: 22px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 22px; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head p { color: var(--muted); margin-top: 8px; }
.distribution-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.card { padding: 19px; background: var(--surface); border: 1px solid var(--edge); border-radius: 12px; min-width: 0; }
.distribution-grid .card { display: flex; flex-direction: column; align-items: start; }
.card-meta { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 10px; margin-bottom: 18px; }
.distribution-icon { display: grid; place-items: center; height: 34px; width: 34px; border-radius: 8px; font: 750 1rem var(--mono); }
.ubuntu { color: #ffba97; background: #472921; }.debian { color: #ffb0ca; background: #482435; }.fedora { color: #a6cfff; background: #233750; }.alma { color: #ffe198; background: #3e3524; }.rocky { color: #a5e5b7; background: #223f30; }
.chip { color: var(--muted); border: 1px solid var(--edge); padding: 2px 6px; border-radius: 4px; font: .78rem var(--mono); }
h3 { font-size: 1.25rem; }
.card p { font-size: .94rem; color: var(--muted); margin: 10px 0 14px; }
.distribution-grid .card > a { margin-top: auto; font-size: .84rem; font-weight: 650; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.code-head { display: flex; justify-content: space-between; align-items: center; min-height: 32px; padding: 4px 11px; border: 1px solid var(--edge); border-bottom: 0; border-radius: 7px 7px 0 0; font: .75rem var(--mono); color: var(--muted); }
button { cursor: pointer; color: var(--accent); font: inherit; background: transparent; padding: 3px 4px; border: 0; }
pre { padding: 12px; margin: 0; background: #0d161e; border: 1px solid var(--edge); border-radius: 0 0 7px 7px; overflow-x: auto; color: #c1e4dc; }
code { font: .86em/1.65 var(--mono); overflow-wrap: anywhere; }
pre code { font-size: .85rem; overflow-wrap: normal; }
.note { margin-top: 16px; padding: 9px 14px; border-left: 2px solid var(--accent); color: var(--muted); font-size: .9rem; }
.note strong { color: var(--text); margin-right: 8px; }
.detail { padding: 24px; scroll-margin-top: 22px; }
.detail h2 { font-size: 1.55rem; }
dl { margin: 15px 0 0; }
dt { font-weight: 700; font-size: .9rem; }
dd { color: var(--muted); margin: 2px 0 13px; font-size: .9rem; }
.muted { color: var(--muted); }
.footer-panels { padding-top: 16px; padding-bottom: 56px; }
.reference-list { padding-left: 19px; margin-bottom: 0; font-size: .91rem; }
.reference-list li + li { margin-top: 6px; }
.status-row { display: flex; gap: 8px; align-items: center; border: 1px solid var(--edge); border-radius: 7px; padding: 9px 11px; flex-wrap: wrap; font-size: .86rem; }
.status-row a { margin-left: auto; }
.indicator { background: var(--muted); width: 8px; height: 8px; border-radius: 50%; }
.indicator.ok { background: var(--accent); }
.indicator.error { background: #f2b58a; }
.footer { background: #101820; border-top: 1px solid var(--edge); }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; padding-block: 24px; gap: 18px; flex-wrap: wrap; font-size: .86rem; }
.footer p { color: var(--muted); }
.error-page { min-height: 100vh; display: grid; align-content: center; padding-block: 40px; }
.error-page h1 { font-size: clamp(2.4rem, 7vw, 4rem); margin: 22px 0 12px; }
.error-page p { color: var(--muted); margin-bottom: 18px; }
@media (max-width: 1000px) {
  .hero-grid { gap: 33px; }
  .distribution-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 740px) {
  .wrap { width: calc(100% - 36px); }
  .masthead-inner { min-height: 60px; gap: 9px; flex-wrap: wrap; padding-block: 13px; }
  nav { order: 3; width: 100%; flex-wrap: wrap; gap: 5px 16px; }
  .hero-grid { grid-template-columns: 1fr; padding-block: 39px; gap: 25px; }
  .section { padding-top: 35px; }
  .section-head { align-items: start; flex-direction: column; }
  .distribution-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .footer-panels { padding-top: 16px; padding-bottom: 36px; }
}
@media (max-width: 370px) {
  .distribution-grid { grid-template-columns: 1fr; }
}
