:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #13233a;
  --muted: #5b6672;
  --line: #e4e1da;
  --accent: #c2410c;
  --logo: #13233a;
  --accent-ink: #ffffff;
  --accent-soft: #fbe9df;
  --warn: #9a3412;
  --radius: 12px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12161b;
    --surface: #1a2027;
    --ink: #eef1f4;
    --muted: #a3adb8;
    --line: #2c353f;
    --accent: #f08a4b;
    --logo: #eef1f4;
    --accent-ink: #1a0f08;
    --accent-soft: #33221a;
    --warn: #fdba74;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

header.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--ink); text-decoration: none; }
.brand svg, .brand img { width: 36px; height: 36px; }
.brand .wm { font-weight: 400; letter-spacing: .06em; font-size: 1.02rem; }
.brand .wm b { font-weight: 700; }
.lg-base { fill: var(--logo); }
.lg-accent { fill: var(--accent); }
.lang a { margin-left: 12px; text-decoration: none; font-size: .95rem; }
.lang a[aria-current="true"] { color: var(--ink); font-weight: 600; }

.hero { padding: 40px 0 28px; }
.hero h1 { font-size: clamp(2rem, 5.2vw, 3.3rem); line-height: 1.12; margin: 0 0 16px; letter-spacing: -.02em; max-width: 18ch; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 58ch; margin: 0 0 24px; }
.badge { display: inline-block; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: .9rem; padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 600; padding: 13px 22px; border-radius: var(--radius); border: 0; text-decoration: none; font-size: 1rem; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.offer { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0 8px; }
.offer div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.offer strong { display: block; font-size: 1.7rem; line-height: 1.2; }
.offer span { color: var(--muted); font-size: .95rem; }

section { padding: 36px 0; }
section h2 { font-size: 1.6rem; margin: 0 0 18px; letter-spacing: -.01em; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { margin: 0 0 6px; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); }

.tag { display: inline-block; font-size: .78rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; margin-bottom: 10px; }
.tag.start { background: var(--accent); color: var(--accent-ink); }
.tag.next { background: var(--accent-soft); color: var(--accent); }
.intro { color: var(--muted); max-width: 62ch; margin: -6px 0 18px; }
.note { color: var(--muted); font-size: .93rem; max-width: 70ch; }

.status { border-left: 4px solid var(--accent); background: var(--surface); padding: 16px 18px; border-radius: 0 var(--radius) var(--radius) 0; color: var(--muted); }
.status strong { color: var(--ink); }

form.signup { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.signup .full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 5px; }
label small { font-weight: 400; color: var(--muted); }
input[type=text], input[type=email], select, textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--bg); color: var(--ink); font: inherit;
}
textarea { min-height: 84px; resize: vertical; }
.roles { display: flex; gap: 18px; flex-wrap: wrap; }
.roles label, .consent label { font-weight: 400; display: flex; gap: 9px; align-items: flex-start; margin: 0; }
.roles input, .consent input { margin-top: 6px; }
.consent { font-size: .93rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { grid-column: 1 / -1; padding: 12px 14px; border-radius: 8px; display: none; }
.msg.ok { display: block; background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.msg.err { display: block; border: 1px solid var(--warn); color: var(--warn); }

footer { border-top: 1px solid var(--line); margin-top: 28px; padding: 26px 0 40px; color: var(--muted); font-size: .9rem; }
footer nav a { margin-right: 16px; }
footer p { margin: 10px 0 0; max-width: 80ch; }

.legal { padding: 12px 0 40px; max-width: 760px; }
.legal h1 { font-size: 2rem; }
.legal h2 { font-size: 1.2rem; margin-top: 28px; }
mark { background: #fde68a; color: #111; padding: 0 4px; border-radius: 3px; }

@media (max-width: 720px) {
  .offer, .cards, form.signup { grid-template-columns: 1fr; }
  .hero { padding-top: 20px; }
}
