/* ciburst site (spec 11.5, D75). Serverless first: amber is serverless time, links and the one
   primary button; blue is VM time; red marks minute 55. Rows with dividers, no cards. */
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Source Code Pro";
  src: url("fonts/source-code-pro-latin.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
:root {
  --paper: #FFFFFF;
  --sunk: #F2F4F6;
  --ink: #17202B;
  --ink-2: #4B5563;
  --rule: #D3D9E0;
  --lane: #9A5B00;
  --vm: #2A5B8C;
  --stop: #B3261E;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "Source Code Pro", Consolas, "Liberation Mono", Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #10151C;
    --sunk: #18202A;
    --ink: #E7EBF0;
    --ink-2: #A9B2BE;
    --rule: #2C3642;
    --lane: #E3A54E;
    --vm: #86B4E3;
    --stop: #F2867B;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--sans); overflow-wrap: break-word; }
a { color: var(--lane); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--lane); outline-offset: 2px; }
code, pre { font-family: var(--mono); }
code { font-size: 0.9em; background: var(--sunk); padding: 0.05em 0.12em; border-radius: 3px; white-space: nowrap; }
pre { background: var(--sunk); padding: 14px 16px; border-radius: 4px; overflow-x: auto; font-size: 15px; line-height: 1.5; }
pre code { background: none; padding: 0; font-size: inherit; white-space: pre; }
h1, h2, h3, h4 { line-height: 1.2; text-wrap: balance; }
h1 { font-size: 36px; letter-spacing: -0.015em; margin: 0 0 16px; }
h2 { font-size: 26px; margin: 40px 0 12px; }
h3 { font-size: 20px; margin: 28px 0 8px; }
h4 { font-size: 17px; margin: 20px 0 6px; }
blockquote { margin: 16px 0; padding-left: 16px; border-left: 3px solid var(--rule); color: var(--ink-2); }
.defs { position: absolute; }

/* Header and footer. */
.bar { position: sticky; top: 0; z-index: 1; background: var(--paper); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px; padding: 4px max(16px, calc((100vw - 1120px) / 2)); border-bottom: 1px solid var(--rule); }
[id] { scroll-margin-top: 64px; }
.word { font-weight: 700; font-size: 21px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav { display: flex; flex-wrap: wrap; gap: 0 22px; }
.nav a { color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.foot { margin: 48px auto 0; max-width: 1120px; padding: 20px 16px 32px; border-top: 1px solid var(--rule); color: var(--ink-2); font-size: 15px; }

/* Home. */
.home { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.open { padding: 48px 0 4px; max-width: 46rem; }
.open h1 { font-size: 44px; line-height: 1.08; }
.lede { font-size: 20px; color: var(--ink-2); margin: 0 0 24px; max-width: 38rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin: 0; }
.actions a { min-height: 44px; display: inline-flex; align-items: center; }
.btn { background: var(--lane); color: var(--paper); text-decoration: none; font-weight: 600; padding: 0 18px; border-radius: 6px; }
.sec { padding: 4px 0 8px; border-top: 1px solid var(--rule); margin-top: 24px; }
.sec > * { max-width: 46rem; }
.sec > .fig, .sec > .table { max-width: none; }
.sec.intro { border-top: 0; margin-top: 8px; }
.sec h2 { margin-top: 24px; }

/* Docs. */
.docs { max-width: 1120px; margin: 0 auto; padding: 32px 16px 0; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; }
.side ul { list-style: none; margin: 0; padding: 0; }
.side a { color: var(--ink); text-decoration: none; display: flex; align-items: center; min-height: 40px; }
.side a[aria-current] { color: var(--lane); font-weight: 600; }
.side .sub { margin: 0 0 8px 12px; font-size: 15px; }
.side .sub a { min-height: 32px; color: var(--ink-2); }
.doc { min-width: 0; max-width: 48rem; }
.doc > h1:first-child { margin-top: 0; }

/* Lists: numbered steps as rows with dividers; the check under a step as its second line. */
ol { padding-left: 1.6em; }
ol > li::marker { color: var(--lane); font-weight: 700; font-variant-numeric: tabular-nums; }
.doc > ol > li, .sec > ol > li { padding: 8px 0 8px 0.3em; border-bottom: 1px solid var(--rule); }
.doc > ol > li:last-child, .sec > ol > li:last-child { border-bottom: 0; }
li > ul, li > ol { margin: 6px 0; }
.check { display: grid; grid-template-columns: 3.6em minmax(0, 1fr); gap: 12px; margin-top: 6px; color: var(--ink-2); font-size: 16px; }
.check-label { font-weight: 600; color: var(--ink); }

/* Tables. */
.table { overflow-x: auto; margin: 16px 0; }
table { border-collapse: collapse; font-size: 16px; min-width: 32rem; }
th, td { text-align: left; padding: 8px 14px 8px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-weight: 600; border-bottom-color: var(--ink-2); }
td { font-variant-numeric: tabular-nums; }

/* Drawings. */
.fig { margin: 36px 0 16px; }
.sec .fig { margin: 16px 0 8px; }
.fig-scroll { overflow-x: auto; }
.fig svg { display: block; width: 100%; min-width: 560px; height: auto; }
.fig figcaption { color: var(--ink-2); font-size: 15px; margin-top: 8px; max-width: 46rem; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; margin: 10px 0 0; padding: 0; font-size: 14px; color: var(--ink-2); }
.k { display: inline-block; width: 18px; height: 12px; margin-right: 6px; vertical-align: -1px; border-radius: 2px; }
.k-lane-start { background: repeating-linear-gradient(45deg, var(--lane) 0 1.5px, var(--paper) 1.5px 4.5px); box-shadow: inset 0 0 0 1px var(--lane); }
.k-lane { background: var(--lane); }
.k-lane-wait { background: color-mix(in srgb, var(--lane) 22%, var(--paper)); }
.k-vm { background: var(--vm); }
.p-lane-start { fill: url(#hatch-lane); }
.p-lane { fill: var(--lane); }
.p-lane-wait { fill: var(--lane); fill-opacity: 0.22; }
.p-vm-up { fill: var(--sunk); }
.p-vm { fill: var(--vm); }
.p-name { fill: var(--ink); font: 600 12px var(--sans); }
.p-where, .p-tick { fill: var(--ink-2); font: 11px var(--sans); font-variant-numeric: tabular-nums; }
.p-axis { stroke: var(--ink-2); stroke-width: 1; }
.h-boot { fill: url(#hatch); }
.hatch-bg { fill: var(--sunk); }
.hatch-line { stroke: var(--ink-2); stroke-width: 1.5; }
.hatch-lane-bg { fill: var(--paper); }
.hatch-lane-line { stroke: var(--lane); stroke-width: 1.5; }
.h-stop { stroke: var(--stop); stroke-width: 2; }
.h-stoptext { fill: var(--stop); font: 600 12px var(--sans); }

@media (max-width: 720px) {
  .open { padding-top: 28px; }
  .open h1 { font-size: 31px; }
  .lede { font-size: 18px; }
  h1 { font-size: 30px; }
  h2 { font-size: 23px; }
  .docs { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 16px; }
  .side > ul { display: flex; flex-wrap: wrap; gap: 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
  .side .sub { display: none; }
  code { white-space: normal; overflow-wrap: anywhere; }
}
