/* Mobile-first, no framework. Large type and tap targets: many candidates use old phones. */
:root {
  --bg: #f7f7f4; --card: #fff; --ink: #1c1d1f; --muted: #5d6166; --line: #d9dbd6;
  --accent: #0b6e4f; --accent-ink: #fff; --warn: #a15c00; --err: #b3261e; --ok: #1d6b3a;
  --radius: 10px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink);
  font: 18px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
body.admin { font-size: 16px; }
a { color: var(--accent); }
h1 { font-size: 1.6rem; line-height: 1.2; margin: .6em 0 .4em; }
h2 { font-size: 1.25rem; margin: 1.4em 0 .5em; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px 48px; }
body.admin .wrap { max-width: 1100px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 12px 0; }
.muted, small { color: var(--muted); }
.error { color: var(--err); font-weight: 600; }
.ok { color: var(--ok); font-weight: 600; }
.warn { color: var(--warn); font-weight: 600; }

/* forms */
.stack { display: flex; flex-direction: column; gap: 14px; }
.narrow { max-width: 480px; }
label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
label.check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; }
label.check input { width: 24px; height: 24px; flex: none; margin-top: 2px; }
input, select, textarea { font: inherit; padding: 12px; border: 1px solid #9ea2a6; border-radius: 8px; background: #fff; width: 100%; }
input:focus, select:focus, textarea:focus { outline: 3px solid #9fd8c4; border-color: var(--accent); }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; margin-bottom: 6px; }
.radio-list label { flex-direction: row; align-items: center; gap: 10px; font-weight: 400;
  border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: #fff; margin-bottom: 8px; }
.radio-list input { width: 22px; height: 22px; flex: none; }
.field-error { color: var(--err); font-weight: 400; font-size: .9em; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.btn { display: inline-block; font: inherit; font-weight: 600; text-decoration: none; text-align: center;
  padding: 12px 18px; border-radius: 8px; border: 1px solid var(--accent); background: #fff; color: var(--accent); cursor: pointer; }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.big { width: 100%; padding: 16px; font-size: 1.1rem; }
.btn[disabled] { opacity: .6; }
.linkish { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; text-decoration: underline; }
form.inline { display: inline; }

/* admin */
.topbar { background: #16241f; color: #fff; padding: 10px 16px; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.topbar a, .topbar .linkish { color: #fff; }
.topbar .brand { font-weight: 700; text-decoration: none; }
.topbar nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.table { width: 100%; border-collapse: collapse; background: var(--card); font-size: .95rem; }
.table th, .table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-scroll { overflow-x: auto; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 999px; background: #e7ece9; font-size: .85em; white-space: nowrap; }
.pill.qualified { background: #d5f0e2; } .pill.needs_review { background: #fdebc8; }
.pill.too_far, .pill.not_eligible, .pill.rejected, .pill.no_show { background: #f1dcdc; }
.pill.hired { background: #b9e6c9; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 0; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; }
.stage-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stage-buttons .btn { padding: 16px 8px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.stat b { display: block; font-size: 1.6rem; }

/* public */
.hero { background: var(--accent); color: #fff; padding: 28px 16px; }
.hero h1 { margin: 0 0 .3em; font-size: 1.8rem; }
.hero p { margin: 0 0 1em; font-size: 1.1rem; }
.hero .btn { background: #fff; color: var(--accent); border-color: #fff; }
.faq dt { font-weight: 700; margin-top: 1em; }
.faq dd { margin: .2em 0 0; }
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 2px solid var(--line);
  padding: 14px 16px; box-shadow: 0 -4px 16px rgba(0,0,0,.08); z-index: 10; }
.cookie-banner .actions { display: flex; gap: 10px; margin-top: 10px; }
.cookie-banner .actions .btn { flex: 1; }
.progress { color: var(--muted); font-size: .9rem; }
footer.site { color: var(--muted); font-size: .85rem; padding: 24px 16px; text-align: center; }
.offer { list-style: none; padding: 14px 16px; margin: 0; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); }
.offer li { margin: .25em 0; font-size: 1.05rem; }
.legal h2 { font-size: 1.1rem; }
.legal p, .legal li { line-height: 1.5; }
