/* The Get Started guide: a document for new kitchens and early-access restaurants.
   Reads on a phone, and prints (or saves as PDF) cleanly in black on white. */
:root {
  --bg: #0E0E0F; --panel: #17171A; --steel: #2B2B30; --ember: #FF6B2C; --lamp: #FFB547;
  --ticket: #F5EBDD; --text: #D9D3CB; --muted: #9C958D; --fresh: #2FBF67;
  --display: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--body); }
a { color: var(--ember); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); color: var(--ticket); line-height: 1.2; margin: 0; text-wrap: balance; }
p, ul, ol { margin: 0; }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }
.toolbar { position: sticky; top: 0; z-index: 5; background: rgba(14,14,15,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--steel); }
.toolbar .wrap { display: flex; gap: 12px; align-items: center; justify-content: space-between; min-height: 56px; }
.brand { display: inline-flex; gap: 10px; align-items: center; font-family: var(--display); color: var(--ticket); text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--steel); background: var(--panel); color: var(--ticket); font: 500 .9rem var(--body); text-decoration: none; cursor: pointer; }
.btn.primary { background: var(--ember); border-color: var(--ember); color: #0E0E0F; font-weight: 600; }
.cover { padding: 48px 0 32px; border-bottom: 1px solid var(--steel); }
.eyebrow { font-family: var(--display); font-size: .85rem; color: var(--lamp); letter-spacing: .04em; text-transform: uppercase; }
.cover h1 { font-size: clamp(2rem, 6vw, 3.2rem); margin-top: 10px; }
.cover p.lead { margin-top: 14px; font-size: 1.15rem; color: var(--text); max-width: 680px; }
.meta { margin-top: 18px; font-size: .9rem; color: var(--muted); }
nav.toc { margin: 28px 0 8px; padding: 18px 20px; border: 1px solid var(--steel); border-radius: 16px; background: var(--panel); }
nav.toc h2 { font-size: 1rem; margin-bottom: 10px; }
nav.toc ol { padding-left: 1.3em; columns: 2 260px; column-gap: 32px; }
nav.toc li { margin: 2px 0; break-inside: avoid; }
section.chapter { padding: 36px 0 8px; border-bottom: 1px solid var(--steel); scroll-margin-top: 64px; }
section.chapter > h2 { font-size: 1.6rem; display: flex; gap: 12px; align-items: baseline; }
section.chapter > h2 .n { color: var(--ember); }
section.chapter > p.intro { margin-top: 10px; color: var(--muted); }
h3 { font-size: 1.1rem; margin: 26px 0 8px; }
p + p, p + ul, ul + p, ol + p, p + ol { margin-top: 10px; }
ul, ol { padding-left: 1.4em; }
li { margin: 5px 0; }
ol.steps { counter-reset: s; list-style: none; padding-left: 0; }
ol.steps > li { counter-increment: s; position: relative; padding-left: 44px; margin: 12px 0; }
ol.steps > li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 30px; height: 30px; border-radius: 50%; background: var(--ember); color: #0E0E0F; font: 700 .9rem/30px var(--display); text-align: center; }
.ui { font-family: var(--display); font-size: .92em; color: var(--ticket); background: var(--panel); border: 1px solid var(--steel); border-radius: 6px; padding: 0 6px; overflow-wrap: anywhere; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.tip, .note, .warn { margin: 16px 0; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--steel); background: var(--panel); }
.tip { border-left: 4px solid var(--fresh); }
.note { border-left: 4px solid var(--lamp); }
.warn { border-left: 4px solid var(--ember); }
.tip strong, .note strong, .warn strong { color: var(--ticket); }
table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 9px 10px; border-bottom: 1px solid var(--steel); }
th { font-family: var(--display); color: var(--ticket); font-weight: 700; font-size: .85rem; }
.yes { color: var(--fresh); font-weight: 600; }
.checklist { list-style: none; padding-left: 0; }
.checklist li { padding-left: 32px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border: 2px solid var(--muted); border-radius: 4px; }
.footer { padding: 32px 0 64px; color: var(--muted); font-size: .9rem; }
.page-break { break-before: page; }
@media (max-width: 600px) { th:nth-child(3), td:nth-child(3) { display: none; } }

/* Print / Save as PDF: black on white, no toolbar, links shown in full. */
@media print {
  :root { --bg: #fff; --panel: #f6f4f1; --steel: #d6d1ca; --text: #1d1b19; --ticket: #000; --muted: #5d5850; --ember: #c2410c; --lamp: #b45309; --fresh: #15803d; color-scheme: light; }
  @page { size: letter; margin: 0.6in 0.6in 0.7in; }
  body { font-size: 10.5pt; line-height: 1.5; background: #fff; }
  .toolbar, .no-print { display: none !important; }
  .cover { padding-top: 0; }
  section.chapter { break-before: page; border-bottom: none; padding-top: 0; }
  section.chapter.keep { break-before: auto; padding-top: 24px; }
  h2, h3 { break-after: avoid; }
  li, .tip, .note, .warn, tr { break-inside: avoid; }
  a { color: #000; text-decoration: none; }
  a.ext::after { content: " (" attr(href) ")"; font-size: 0.85em; color: var(--muted); }
  ol.steps > li::before { color: #fff; }
  nav.toc ol { columns: 2; }
}
