:root {
  --orange: #ff4e00;
  --olive: #5c6736;
  --cream: #f3ebe0;
  --paper: #f7f1e8;
  --sheet: #fbf7f1;
  --ink: #1c1612;
  --ink-2: #5a534b;
  --ink-3: #8a8176;
  --line: rgba(28, 22, 18, 0.12);
  --font: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: #ddd6cc; }
body { font-family: var(--font); color: var(--ink); }
.bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--sheet);
  font-size: 13px;
}
.bar a, .bar button {
  color: var(--sheet);
  text-decoration: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  cursor: pointer;
}
.wrap { max-width: 920px; margin: 24px auto 80px; display: grid; gap: 18px; padding: 0 16px; }
.page {
  background: var(--paper);
  border-radius: 4px;
  min-height: 1120px;
  padding: 64px 72px;
  box-shadow: 0 20px 50px rgba(28,22,18,.08);
  position: relative;
}
.cover {
  background: var(--orange);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mark {
  width: 72px; height: 72px; border-radius: 50%;
  background: #fff; color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px; letter-spacing: -.05em;
  white-space: nowrap;
}
.cover h1 {
  margin: 0;
  font-size: 64px;
  letter-spacing: -.055em;
  line-height: .9;
  font-weight: 600;
}
.cover .kicker {
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .85;
  margin-bottom: 16px;
}
.cover p.lead {
  max-width: 22ch;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -.03em;
  margin: 18px 0 0;
}
.cover-foot { display: flex; justify-content: space-between; font-size: 13px; opacity: .9; }
h2 {
  margin: 0 0 12px;
  font-size: 32px;
  letter-spacing: -.045em;
  font-weight: 600;
}
h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.03em; }
.rule { height: 1px; background: var(--line); margin: 28px 0; }
.lede { font-size: 18px; line-height: 1.45; color: var(--ink-2); max-width: 46ch; margin: 0 0 28px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: var(--sheet);
}
.card .addr { color: var(--ink-3); font-size: 13px; margin-top: 4px; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.need { display: grid; gap: 10px; }
.need li {
  list-style: none;
  padding: 12px 14px;
  background: var(--sheet);
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 15px;
}
.need { margin: 0; padding: 0; }
.mods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mod {
  padding: 16px 18px;
  border-top: 3px solid var(--orange);
  background: var(--sheet);
}
.mod span { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.quote {
  font-size: 22px;
  letter-spacing: -.03em;
  line-height: 1.35;
  margin: 0 0 12px;
}
.mini {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
  font-size: 12px;
}
.mini .top { display: flex; justify-content: space-between; color: var(--ink-3); margin-bottom: 10px; }
.mini .n { font-size: 28px; letter-spacing: -.05em; font-family: var(--mono); }
.warn { background: #f8e4d8; border-radius: 8px; padding: 8px 10px; margin-top: 10px; font-size: 11px; }
.cal-mini { margin-top: 4px; }
.cal-mini .row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
  font-size: 11px;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.cal-mini .row .on {
  background: var(--orange);
  color: #fff;
  border-radius: 99px;
  font-weight: 600;
}
.cal-mini .lane {
  position: relative;
  height: 72px;
  background: var(--cream);
  border-radius: 8px;
  margin-bottom: 6px;
}
.cal-mini .lane b {
  position: absolute;
  left: 8px; right: 8px;
  border-radius: 6px;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  display: grid;
  place-items: center;
}
.steps { counter-reset: s; display: grid; gap: 10px; }
.steps li {
  list-style: none;
  counter-increment: s;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 15px;
}
.steps { margin: 0; padding: 0; }
.steps li::before {
  content: counter(s);
  font-family: var(--mono);
  font-size: 13px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--orange); color: #fff;
  display: grid; place-items: center;
}
.foot-note { position: absolute; bottom: 36px; left: 72px; right: 72px; display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); }
.ok { color: var(--olive); }

@media print {
  body { background: #fff; }
  .bar { display: none; }
  .wrap { margin: 0; padding: 0; max-width: none; gap: 0; }
  .page {
    box-shadow: none;
    border-radius: 0;
    min-height: 100vh;
    page-break-after: always;
    break-after: page;
  }
  .page:last-child { page-break-after: auto; }
  @page { size: A4; margin: 0; }
}
@media (max-width: 800px) {
  .page { padding: 36px 22px; min-height: auto; }
  .cover h1 { font-size: 44px; }
  .grid-2, .mods { grid-template-columns: 1fr; }
}
