:root {
  --bg: #f4f6f5;
  --card: #ffffff;
  --text: #17211c;
  --muted: #55635c;
  --line: #d9e0dc;
  --brand: #12805c;
  --brand-ink: #ffffff;
  --danger: #b3261e;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101613;
    --card: #19211d;
    --text: #e9efec;
    --muted: #a3b0a9;
    --line: #2c3833;
    --brand: #35b587;
    --brand-ink: #08130e;
    --danger: #ff8a80;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main { max-width: 36rem; margin: 0 auto; padding: 2.5rem 1rem 4rem; }
header.brand { text-align: center; margin-bottom: 2rem; }
header.brand a { color: inherit; text-decoration: none; }
header.brand .name { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
header.brand .slogan { color: var(--brand); font-weight: 600; margin: 0.15rem 0 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem; }
h1 { font-size: 1.4rem; margin: 0 0 0.75rem; }
h2 { font-size: 1.1rem; margin: 1.75rem 0 0.4rem; }
p { margin: 0 0 1rem; }
a { color: var(--brand); }
.muted { color: var(--muted); font-size: 0.92rem; }
label { display: block; font-weight: 600; margin: 1rem 0 0.3rem; }
label .optional { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"] {
  width: 100%; padding: 0.7rem 0.8rem; font: inherit; color: inherit;
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
}
input:focus-visible, .button:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; margin: 1.25rem 0; font-weight: 400; }
.consent input { margin-top: 0.3rem; width: 1.1rem; height: 1.1rem; flex: none; }
.button {
  display: block; width: 100%; padding: 0.85rem 1rem; border: 0; border-radius: 10px;
  background: var(--brand); color: var(--brand-ink); font: inherit; font-weight: 700;
  text-align: center; text-decoration: none; cursor: pointer;
}
.button[disabled] { opacity: 0.6; cursor: default; }
.button.secondary { background: transparent; color: var(--brand); border: 1px solid var(--brand); margin-top: 0.75rem; }
.error { color: var(--danger); font-weight: 600; }
[hidden] { display: none !important; }
footer { text-align: center; margin-top: 2rem; }
