/* Kiwi's colors and type feel, from docs/design/DECISION.md: linen canvas, soft paper cards, terracotta accent, rounded system type. */
:root {
  --canvas: #efe9dd;
  --paper: #fffbf3;
  --ink: #2e2a26;
  --muted: #71685e;
  --hairline: #e4dccd;
  --accent: #a25430;
  --on-accent: #fffbf3;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #1f1c19;
    --paper: #2a2622;
    --ink: #f1ebe0;
    --muted: #b3a999;
    --hairline: #3d372f;
    --accent: #e08a5c;
    --on-accent: #1f1c19;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--ink);
  font: 17px/1.5 ui-rounded, 'SF Pro Rounded', system-ui, -apple-system, 'Segoe UI', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 16px;
}
main { width: 100%; max-width: 520px; }
.brand { font-weight: 700; font-size: 20px; color: var(--accent); margin: 0 0 24px; letter-spacing: 0.2px; }
.card { background: var(--paper); border-radius: 14px; padding: 24px 20px; border: 1px solid var(--hairline); }
h1 { font-size: 26px; line-height: 1.2; margin: 0 0 12px; }
p { margin: 0 0 12px; }
.muted { color: var(--muted); font-size: 15px; }
.code {
  display: block;
  font: 700 30px/1.2 ui-rounded, 'SF Pro Rounded', ui-monospace, monospace;
  letter-spacing: 1.5px;
  text-align: center;
  word-break: break-all;
  padding: 18px 12px;
  margin: 16px 0;
  background: var(--canvas);
  border-radius: 10px;
  user-select: all;
}
button, .button {
  display: block; width: 100%;
  font: inherit; font-weight: 600;
  padding: 14px 16px; border: 0; border-radius: 12px;
  background: var(--accent); color: var(--on-accent);
  text-align: center; text-decoration: none; cursor: pointer;
}
button:focus-visible, .button:focus-visible, a:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
ol { padding-left: 22px; margin: 16px 0 0; }
li { margin-bottom: 8px; }
a { color: var(--accent); }
[hidden] { display: none !important; }
.footer { margin-top: 16px; }
