:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --text: #16181d;
  --muted: #5d6270;
  --line: #e2e0d8;
  --accent: #1f6feb;
  --accent-text: #ffffff;
  --ok: #1a7f37;
  --err: #c62828;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1115;
    --surface: #171a21;
    --text: #eceef3;
    --muted: #9aa1b0;
    --line: #2a2f3a;
    --accent: #4c8dff;
    --ok: #3fb950;
    --err: #ff6b6b;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  min-height: 100vh;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 56px 16px 32px;
  display: grid;
  gap: 40px;
  grid-template-columns: 1.15fr 1fr;
  align-items: start;
}
@media (max-width: 820px) {
  .wrap { grid-template-columns: 1fr; padding-top: 32px; gap: 28px; }
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
h1 {
  margin: 0;
  font-size: clamp(40px, 8vw, 72px);
  line-height: 1.02;
  letter-spacing: -.03em;
  overflow-wrap: anywhere;
}
h1 span { color: var(--muted); font-weight: 500; }
.also { margin: 10px 0 0; color: var(--muted); }
.also strong { color: var(--text); }
.lead { font-size: 18px; color: var(--muted); max-width: 46ch; margin: 24px 0 28px; }

.facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.facts li { padding: 14px 16px; border-right: 1px solid var(--line); }
.facts li:last-child { border-right: 0; }
.facts span { display: block; font-size: 12px; color: var(--muted); }
.facts strong { font-size: 15px; }
@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr; }
  .facts li { border-right: 0; border-bottom: 1px solid var(--line); }
  .facts li:last-child { border-bottom: 0; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}
@media (max-width: 480px) { .card { padding: 20px; } }
h2 { margin: 0 0 4px; font-size: 22px; }
.muted { color: var(--muted); margin: 0 0 20px; font-size: 14px; }

form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.opt { color: var(--muted); font-weight: 400; }
input, textarea {
  font: inherit;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 12px;
  width: 100%;
}
textarea { resize: vertical; min-height: 96px; }
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

button {
  font: inherit;
  font-weight: 600;
  background: var(--accent);
  color: var(--accent-text);
  border: 0;
  border-radius: 10px;
  padding: 13px 16px;
  cursor: pointer;
  margin-top: 4px;
}
button:disabled { opacity: .6; cursor: default; }

.status { margin: 0; min-height: 1.4em; font-size: 14px; }
.status.ok { color: var(--ok); }
.status.err { color: var(--err); }

footer { grid-column: 1 / -1; color: var(--muted); font-size: 13px; padding-top: 8px; }
