/* Errandry tokens and shared parts: warm paper neutrals and one amber ochre accent */
:root {
  --navy: #2c241a; --ink: #221e19; --ink-2: #5c544a; --bg: #faf8f5; --surface: #fff; --soft: #f2eee8; --line: #e7e1d8; --line-2: #cfc6b9;
  --accent: #a8650c; --accent-dark: #804c06; --accent-tint: #f9e6c8;
  --ok: #246136; --ok-tint: #e2f1e3; --warn: #8f3700; --warn-tint: #ffe6d3; --danger: #a31f1f; --danger-tint: #fce3e1;
  --info: #234f7d; --info-tint: #e4eef8; --wait: #6b4a00; --wait-tint: #fdf0c8;
  --radius: 10px; --radius-lg: 16px; --bar: 44px;
  --font: "Karla", "Segoe UI", sans-serif; --head: "Gabarito", "Karla", sans-serif; --mono: ui-monospace, Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15.5px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: var(--accent-dark); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #1f6fd6; outline-offset: 2px; }
h1[tabindex]:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.icon { width: 18px; height: 18px; flex: none; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 50; padding: 10px 16px; background: var(--navy); color: #fff; border-radius: var(--radius); }
.skip:focus { top: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 0 15px; border: 1px solid var(--line-2); border-radius: 99px; background: var(--surface); color: var(--ink); font-weight: 700; font-size: 14.5px; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .14s, border-color .14s, transform .08s; }
.btn:hover { border-color: var(--ink-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger-quiet { color: var(--danger); }
.btn-danger-quiet:hover { border-color: var(--danger); background: var(--danger-tint); }
.btn-quiet { border-color: transparent; background: transparent; color: var(--ink-2); }
.btn-quiet:hover { background: var(--soft); border-color: var(--line); }
.btn-small { min-height: 34px; padding: 0 11px; font-size: 13.5px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 23px/1 var(--head); text-decoration: none; color: inherit; }

/* Demo bar: marks this as a concept demo */
.demo-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 20px; min-height: 40px; padding: 4px 20px; background: var(--accent-tint); color: #4a2c02; font-size: 13.5px; }
.demo-bar nav { display: flex; align-items: center; gap: 18px; }
.demo-bar a { color: inherit; font-weight: 600; display: inline-flex; align-items: center; min-height: 32px; }
.demo-bar .demo-cta { padding: 0 13px; border-radius: 6px; background: #4a2c02; color: #fff; text-decoration: none; }
@media (max-width: 620px) { .demo-bar { padding: 4px 14px; } .demo-bar p span { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
