:root {
  --accent: #8a6d3b;
  --accent-dark: #6d5120;
  --accent-soft: #f5efe3;
  --accent-line: #e6d9bd;
  --text: #1f1c18;
  --muted: #5a5247;
  --muted-2: #6b6357;
  --border: #e2dccf;
  --bg-soft: #f7f4ee;
  --ok: #1f9d57;
  --ok-dark: #13683a;
  --danger: #b3261e;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.4;
}
button, input, select { font: inherit; color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, p { margin: 0; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 16px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .15s;
}
.btn:disabled { cursor: not-allowed; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 18px rgba(138, 109, 59, .3); }
.btn-primary:disabled { background: #d9cdb0; box-shadow: none; }
.btn-soft { background: var(--accent-soft); color: var(--accent-dark); }
.btn-outline { background: #fff; color: var(--accent-dark); border: 2px solid var(--accent); }
.btn-ghost { background: #fff; color: var(--text); border: 1.5px solid var(--border); }
.btn-danger-ghost { background: #fff; color: var(--danger); border: 1.5px solid var(--border); }
.btn-lg { min-height: 58px; font-size: 18px; width: 100%; }
.btn-block { width: 100%; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 800; color: var(--muted); }
.input {
  height: 52px;
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 0 16px;
  background: #fff;
  font-size: 17px;
  font-weight: 700;
  width: 100%;
}
.input:focus { border-color: var(--accent); outline: none; }
.input.invalid { border-color: var(--danger); }

.error-text { color: var(--danger); font-weight: 700; font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
