/* Közös alap: színek, betűk, gombok, űrlapmezők. Világos és sötét megjelenés a böngésző beállítása szerint. */
:root {
  --bg: #F8F9F5;
  --surface: #EDF0E8;
  --fg: #1B2621;
  --muted: #5B6862;
  --line: #DBE0D6;
  --accent: #7C3E52;
  --accent-fg: #FFFFFF;
  --danger: #A12F3B;
  --ok: #2F6B47;
  --veil: rgba(16, 24, 19, .5);
  --font-display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --font-body: 'Jost', 'Avenir Next', 'Segoe UI', system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #18221C;
    --surface: #212D25;
    --fg: #E7ECE4;
    --muted: #A8B4AC;
    --line: #35443B;
    --accent: #E3A3B4;
    --accent-fg: #1A0E12;
    --danger: #F08A94;
    --ok: #7FCB9C;
    --veil: rgba(0, 0, 0, .62);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #18221C;
  --surface: #212D25;
  --fg: #E7ECE4;
  --muted: #A8B4AC;
  --line: #35443B;
  --accent: #E3A3B4;
  --accent-fg: #1A0E12;
  --danger: #F08A94;
  --ok: #7FCB9C;
  --veil: rgba(0, 0, 0, .62);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; text-wrap: balance; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap {
  width: 100%; max-width: 1180px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.eyebrow { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center; gap: 8px; min-height: 46px; padding: 10px 22px;
  border: 1px solid var(--accent); background: var(--accent); color: var(--accent-fg); text-decoration: none; cursor: pointer;
  font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; border-radius: 0;
}
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .55; cursor: default; filter: none; }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); filter: none; }
.btn.danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn.small { min-height: 40px; padding: 8px 14px; font-size: .75rem; }

.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .label { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--surface); border: 1px solid var(--line); padding: 11px 12px; min-height: 46px; border-radius: 0;
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 1px var(--accent); }
.hint { font-size: .8125rem; color: var(--muted); }
.status { font-size: .8125rem; color: var(--accent); min-height: 1.2em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
