/* Amphora papers — the Organic system, self-hosted.
   Generated by npm run collateral; edit scripts/collateral/html.ts. */
@font-face { font-family: "Caprasimo"; src: url("./fonts/Caprasimo-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("./fonts/Figtree-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("./fonts/Figtree-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("./fonts/Figtree-700.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("./fonts/Figtree-800.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --bg: #f5ead8; --surface: #ebddc5; --text: #201e1d;
  --accent: #c67139; --accent-2: #7a8a5e;
  --n100: #f9f4ed; --n200: #eee7db; --n300: #dcd3c4; --n400: #c0b6a5; --n500: #a19786;
  --n600: #82796a; --n700: #645c50; --n800: #474238; --n900: #2e2b25;
  --a100: #fff2eb; --a200: #ffe1d0; --a300: #ffc6a5; --a500: #d67f48;
  --a600: #b2622d; --a700: #8c491a; --a800: #643312; --a900: #402310;
  --s100: #f0fae1; --s300: #ccdbb2; --s500: #8fa073; --s600: #728157;
  --s700: #56633f; --s800: #3d472b;
  --r-md: 16px; --r-lg: 28px;
  --head: "Caprasimo", Georgia, serif;
  --body: "Figtree", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--n200); color: var(--text);
  font-family: var(--body); line-height: 1.55; -webkit-font-smoothing: antialiased;
}
.sheet { max-width: 820px; margin: 0 auto; background: var(--bg); box-shadow: 0 12px 40px rgba(46,43,37,0.16); }
.topbar {
  max-width: 820px; margin: 0 auto; display: flex; align-items: center; gap: 12px;
  padding: 14px 40px; font-size: 13px; flex-wrap: wrap;
}
.topbar a { color: var(--a700); text-decoration: none; font-weight: 700; }
.topbar a:hover { text-decoration: underline; }
.topbar .grow { margin-left: auto; }
.dl {
  display: inline-flex; align-items: center; gap: 7px; background: var(--a700); color: var(--bg) !important;
  padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: 12.5px; letter-spacing: 0.02em;
}
.dl:hover { background: var(--a600); text-decoration: none !important; }

.band { background: var(--a700); color: var(--bg); padding: 26px 56px 34px; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.band-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.wordmark { display: flex; align-items: center; gap: 11px; font-family: var(--head); font-size: 22px; color: var(--bg); }
.wordmark svg { display: block; }
.pill {
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--a100); background: var(--a900); padding: 7px 16px; border-radius: 999px; white-space: nowrap;
}
.kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--a300); margin-bottom: 12px; }
.band h1 { font-family: var(--head); font-weight: 400; font-size: clamp(27px, 4.4vw, 38px); line-height: 1.08; margin: 0 0 14px; max-width: 22ch; }
.band .sub { margin: 0; font-size: 15px; line-height: 1.5; color: var(--a200); max-width: 66ch; }

main { padding: 30px 56px 56px; }
h2 { font-family: var(--head); font-weight: 400; font-size: 23px; line-height: 1.15; margin: 30px 0 12px; }
h2:first-child { margin-top: 6px; }
p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.62; color: var(--n800); }

.points { display: flex; flex-direction: column; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.points li { display: grid; grid-template-columns: 1fr; gap: 13px; align-items: center; background: var(--surface); border-radius: var(--r-md); padding: 13px 18px; font-size: 14px; line-height: 1.5; color: var(--n800); }
.points.numbered li { grid-template-columns: 34px 1fr; }
.points .num { width: 34px; height: 34px; border-radius: 999px; background: var(--s500); color: #fff; font-family: var(--head); font-size: 16px; display: flex; align-items: center; justify-content: center; }
.points strong { font-weight: 800; color: var(--a700); }

.checks { margin: 0 0 20px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.checks li { display: grid; grid-template-columns: 78px 1fr; gap: 14px; align-items: start; font-size: 13.5px; line-height: 1.45; color: var(--n800); }
.chip { font-size: 9.5px; font-weight: 800; letter-spacing: 0.06em; text-align: center; padding: 4px 0; border-radius: 999px; }
.chip.now { background: var(--s600); color: #fff; }
.chip.next { background: var(--n200); color: var(--n600); }

table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 13.5px; }
thead th { text-align: left; font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--n600); padding: 0 12px 8px 0; border-bottom: 1.5px solid var(--n300); }
tbody td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--n300); vertical-align: top; line-height: 1.45; color: var(--n800); }
tbody td:first-child { font-weight: 800; color: var(--text); }
tbody td.blank::after { content: ""; display: block; height: 1px; margin: 8px 12px 2px 0; border-top: 1px dashed var(--n400); }

.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 0 0 22px; }
.flow .step .bar { height: 8px; border-radius: 999px; margin-bottom: 9px; }
.flow .step .label { font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 5px; }
.flow .step p { font-size: 12px; line-height: 1.45; margin: 0; }

.callout { background: var(--a200); border-radius: var(--r-lg); padding: 20px 26px; margin: 4px 0 22px; }
.callout .label { font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--a800); margin-bottom: 8px; }
.callout p { margin: 0; color: var(--a900); font-size: 14px; }

.cta { background: var(--s800); color: var(--s100); border-radius: var(--r-lg); padding: 22px 26px; margin: 22px 0 0; }
.cta .label { font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--s300); margin-bottom: 8px; }
.cta p { margin: 0 0 12px; color: var(--s100); font-size: 14px; }
.cta a { color: #fff; font-weight: 800; text-decoration: none; }
.cta a:hover { text-decoration: underline; }

figure { margin: 4px 0 22px; }
figure img { width: 100%; display: block; border-radius: var(--r-md); border: 1px solid var(--n300); }
figcaption { margin-top: 8px; font-size: 12px; color: var(--n700); text-align: center; }

footer.paper {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 20px 56px 34px; font-size: 11.5px; font-weight: 600; color: var(--n500);
}
footer.paper a { color: var(--n600); text-decoration: none; }
footer.paper a:hover { color: var(--a700); }

.more { max-width: 820px; margin: 0 auto; padding: 26px 40px 60px; }
.more h3 { font-family: var(--head); font-weight: 400; font-size: 17px; margin: 0 0 12px; color: var(--n800); }
.more ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.more a { display: block; background: var(--bg); border-radius: var(--r-md); padding: 13px 16px; text-decoration: none; color: var(--text); font-size: 13px; font-weight: 700; }
.more a:hover { background: var(--a200); }
.more a span { display: block; font-weight: 400; font-size: 11.5px; color: var(--n600); margin-top: 3px; }

@media (max-width: 720px) {
  .band { padding: 22px 24px 28px; }
  main { padding: 24px 24px 40px; }
  .topbar, .more { padding-inline: 20px; }
  footer.paper { padding: 18px 24px 30px; }
  .flow { grid-template-columns: 1fr 1fr; }
  .checks li { grid-template-columns: 70px 1fr; }
}
@media print {
  body { background: #fff; }
  .topbar, .more { display: none; }
  .sheet { box-shadow: none; max-width: none; }
  .band { border-radius: 0; }
  .points li, .callout, .cta, figure img { break-inside: avoid; }
  h2 { break-after: avoid; }
  @page { margin: 12mm; }
}
