:root {
  --paper: #f3eee5;
  --surface: #fbf9f5;
  --ink: #1c1a17;
  --muted: #6f685e;
  --line: #e2dacb;
  --sand: #ebe2d1;
  --cream: #e9dcc3;
  --ok: #2f7a4f;
  --err: #a8321e;
  --r: 16px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Manrope, system-ui, -apple-system, sans-serif; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; }
button { font-family: inherit; }
[hidden] { display: none !important; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.display { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: .95; }
.ico { width: 18px; height: 18px; flex: none; }
.label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .1s, opacity .15s; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .3; cursor: not-allowed; transform: none; }
.btn.cream { background: var(--cream); color: var(--ink); }
.btn.outline { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn.block { width: 100%; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--cream); color: var(--ink); display: grid; place-items: center; font-family: Anton, sans-serif; font-size: 17px; }
.brand b { font-weight: 800; font-size: 16px; letter-spacing: -.01em; }

.field { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.field .opt-hint { font-weight: 500; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; font: 500 16px Manrope, sans-serif; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px; -webkit-appearance: none; appearance: none; min-height: 52px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.alert { border-radius: 12px; padding: 12px 14px; font-size: 14px; font-weight: 600; display: flex; gap: 10px; align-items: flex-start; }
.alert.err { background: #f8e4df; color: var(--err); }
.alert.info { background: var(--sand); color: var(--ink); }
.skeleton { background: linear-gradient(90deg, var(--sand) 0%, #f4eee3 50%, var(--sand) 100%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 10px; }
@keyframes sk { to { background-position: -200% 0; } }
.spinner { width: 18px; height: 18px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
