/* umber.coffee: Umber's design tokens (Umber/Design/DesignTokens.swift). */
:root {
  --paper: #f5efe4;
  --raised: #fffcf6;
  --line: #ddd2bf;
  --ink: #2a1d14;
  --muted: #6b5847;
  --accent: #1f5c56;
  --brass: #8a5f1c;
  --on-accent: #fffcf6;
  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #16120e;
    --raised: #211b16;
    --line: #3a3129;
    --ink: #f2eadf;
    --muted: #b2a18f;
    --accent: #74c3b8;
    --brass: #d9aa55;
    --on-accent: #0e1f1c;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--text); }
.page { max-width: 680px; margin: 0 auto; padding: 40px 20px 56px; }
header.site { margin-bottom: 44px; }
header.site a { display: inline-flex; }
/* The wordmark: the hopper-U followed by "mber" (Design's Logos/wordmark-*.svg). */
.wordmark { height: 44px; width: auto; display: block; }
.hero-mark { width: 112px; height: 112px; display: block; margin: 0 0 12px -10px; }
/* The tagline: Newsreader italic in ink-muted, under the mark, sentence case, no full stop. */
.tagline { font: italic 400 21px/1.3 var(--display); color: var(--muted); margin: 0 0 18px; }
h1 { font: 500 clamp(34px, 7vw, 48px)/1.08 var(--display); margin: 0 0 14px; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font: 600 19px/1.3 var(--text); margin: 32px 0 6px; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 1.2em; }
li { margin-bottom: 6px; }
.lede { font-size: 19px; color: var(--muted); }
.muted { color: var(--muted); }
a { color: var(--accent); }
.caption { font: 600 12px/1.2 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--brass); margin: 0 0 10px; }
.card { background: var(--raised); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 28px 0; }
.card p:last-child { margin-bottom: 0; }
footer.site { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer.site a { color: var(--muted); }

/* Shop: the Canister Kit. The stickers are drawn as printed: white vinyl, the
   hopper-U flat black with its cut-outs, a number in Newsreader. */
.stickers { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 8px; }
.sticker { width: 88px; height: 88px; border-radius: 50%; background: #fff; border: 1px solid #ddd2bf; box-shadow: 0 1px 1px rgba(42,29,20,.06), 0 4px 14px rgba(42,29,20,.12); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.sticker img { width: 44px; height: 44px; filter: brightness(0); }
.sticker span { font: 500 17px/1 var(--display); color: #16120e; }
.product-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.product h2 { margin: 0 0 4px; font: 500 26px/1.2 var(--display); }
.price { font: 600 22px/1.2 var(--text); margin: 0; white-space: nowrap; }
.options { border: 0; padding: 0; margin: 16px 0; display: grid; gap: 8px; }
.options legend { font-size: 14px; color: var(--muted); margin-bottom: 6px; padding: 0; }
.options label { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.options input { accent-color: var(--accent); margin: 0; }
.buy { width: 100%; min-height: 48px; border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 600 17px/1 var(--text); cursor: pointer; }
.buy:disabled { background: var(--line); color: var(--muted); cursor: default; }
.fine { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.bonus { font-size: 15px; margin: 0 0 14px; }
.steps { padding-left: 1.3em; }
.steps li { margin-bottom: 10px; }
