:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #1c1d22;
  --muted: #5e5660;
  --accent: #ff0053;
  --accent-2: #310f53;
  --line: #eadfe6;
  --soft: #ffd6e4;
  --ok: #0d7a3f;
  --danger: #9d1230;
  --shadow: 0 12px 40px rgba(49, 15, 83, 0.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1d22;
    --surface: #2a2b33;
    --ink: #ffffff;
    --muted: #c9c4ce;
    --accent: #ff0053;
    --accent-2: #e4d4f5;
    --line: #3d3e48;
    --soft: #3a2430;
    --ok: #8ee0b0;
    --danger: #ff8aa3;
    --shadow: none;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Montserrat, "Liberation Sans", "DejaVu Sans", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.45;
}
a { color: var(--accent-2); }
.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
header.top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.brand { font-weight: 800; letter-spacing: 0.04em; text-decoration: none; color: var(--ink); }
.brand span { color: var(--accent); }
nav { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
nav a, button.linkish { color: var(--ink); text-decoration: none; font-weight: 600; }
main { padding: 28px 0 64px; }
h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.05; margin: 0 0 12px; }
h2 { margin: 0 0 8px; }
.lead { font-size: 18px; max-width: 46rem; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.card + .card { margin-top: 12px; }
label { display: block; font-size: 14px; font-weight: 700; margin: 12px 0 6px; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
}
textarea { min-height: 96px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.checks label { font-weight: 600; display: flex; gap: 8px; align-items: center; }
.checks input { width: auto; }
button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--accent);
  color: white;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
button.ghost, .button.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.muted { color: var(--muted); }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--accent-2); font-weight: 700; }
.ok { color: var(--ok); font-weight: 700; }
.bad { color: var(--danger); font-weight: 700; }
.notice { padding: 12px 14px; border-radius: 12px; background: var(--soft); }
form.search { display: grid; gap: 8px; }
@media (max-width: 720px) {
  header.top { align-items: flex-start; flex-direction: column; }
  h1 { font-size: 34px; }
}
