@font-face { font-family: 'Jakarta'; src: url('/fonts/plus-jakarta-sans-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('/fonts/plus-jakarta-sans-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('/fonts/plus-jakarta-sans-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('/fonts/plus-jakarta-sans-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --bg: #faf8f4;
  --surface: #ffffff;
  --ink: #17262a;
  --ink-2: #4c5a60;
  --muted: #7b868b;
  --line: #e8e3da;
  --soft: #f2eee6;
  --deep: #17332e;
  --pop: #ef6a3a;
  --pop-soft: #fde8df;
  --ok: #1f7a55;
  --ok-soft: #e1f2ea;
  --warn: #b45309;
  --warn-soft: #fdf0dc;
  --bad: #b42318;
  --bad-soft: #fde4e1;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(23, 38, 42, .04), 0 8px 24px rgba(23, 38, 42, .06);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.55 'Jakarta', system-ui, -apple-system, 'Segoe UI', sans-serif; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; margin: 0; font-weight: 700; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px; padding: 11px 18px; font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; background: var(--deep); color: #fff; transition: transform .15s ease, background .15s ease; }
.btn:hover { background: #10261f; }
.btn:active { transform: translateY(1px); }
.btn.pop { background: var(--pop); }
.btn.pop:hover { background: #dd5a2b; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.ghost:hover { background: var(--soft); }
.btn.small { padding: 7px 12px; font-size: 13.5px; border-radius: 8px; }
.btn.danger { background: var(--bad); }
.btn:disabled { opacity: .5; cursor: default; }

.label { font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--pop); }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--soft); color: var(--ink-2); white-space: nowrap; }
.badge.pop { background: var(--pop-soft); color: #b2431b; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.bad { background: var(--bad-soft); color: var(--bad); }

input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; outline: none; transition: border .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus { border-color: #9fb3ad; box-shadow: 0 0 0 3px rgba(31, 111, 92, .12); }
textarea { resize: vertical; min-height: 90px; }
label.field { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
label.field .hint { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--deep); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--deep); color: #fff; padding: 10px 16px; border-radius: 10px; font-size: 14px; z-index: 99; box-shadow: var(--shadow); }
