/* Shared tokens + reset. Palette from ui-ux-pro-max "Minimalism" + warm brown/cream hint. */
@font-face { font-family: "Peyda"; src: url("../fonts/Peyda-400.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Peyda"; src: url("../fonts/Peyda-600.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Peyda"; src: url("../fonts/Peyda-900.ttf") format("truetype"); font-weight: 900; font-display: swap; }

:root {
  --bg: #fbf6ee;
  --surface: #ffffff;
  --ink: #2a1b12;
  --muted: #6e5b4b;
  --line: #e8dccb;
  --accent: #92400e;
  --accent-ink: #ffffff;
  --accent-soft: #f6e7d3;
  --ok: #2f5e2b;
  --ok-soft: #e4efdf;
  --low: #8a4b00;
  --low-soft: #fbebcf;
  --out: #9b2f22;
  --out-soft: #f8e1dc;
  --radius: 16px;
  --radius-sm: 10px;
  --gutter: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Peyda", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 22px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink);
  font-weight: 600; text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--solid { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--solid:hover { background: #7a3409; border-color: #7a3409; }
.btn--ghost:hover { background: var(--accent-soft); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
