/* Support NereauWeb — public pages. Hand-written, no build step. */
:root {
  --bg: #f6f7f9; --surface: #ffffff; --text: #1d2430; --muted: #5b6575; --line: #e3e7ee;
  --accent: #0b7fb3; --accent-ink: #ffffff; --ok-bg: #e8f6ee; --ok: #1d6b40; --err-bg: #fdecec; --err: #9b1c1c;
  --radius: 10px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #11151b; --surface: #1a2029; --text: #e7ebf2; --muted: #9aa5b5; --line: #2b3340;
          --accent: #3fb0e3; --accent-ink: #0b1218; --ok-bg: #12321f; --ok: #8fe0b0; --err-bg: #3a1616; --err: #f3a5a5; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
header.site { background: var(--surface); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
header.site img { height: 40px; width: auto; display: block; }
@media (prefers-color-scheme: dark) { header.site img { filter: invert(1) hue-rotate(180deg); } }
.btn { display: inline-block; border: 0; border-radius: 8px; padding: 10px 18px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; background: var(--accent); color: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--accent); border: 1px solid var(--line); }
main { padding: 32px 0 48px; }
.hero h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; margin: 0 0 8px; }
.hero p { color: var(--muted); max-width: 680px; margin: 0; }
.grid { display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: 28px; }
@media (min-width: 860px) { .grid { grid-template-columns: 3fr 2fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h2 { font-size: 1.15rem; margin: 0 0 12px; }
.card p { margin: 0 0 10px; }
.muted { color: var(--muted); }
label { display: block; font-weight: 600; font-size: .92rem; margin: 14px 0 6px; }
input[type=text], input[type=email], input[type=tel], textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--text); font: inherit; }
textarea { min-height: 150px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 5px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: 8px; padding: 12px 14px; margin-bottom: 14px; }
.alert.ok { background: var(--ok-bg); color: var(--ok); }
.alert.err { background: var(--err-bg); color: var(--err); }
.field-error { color: var(--err); font-size: .88rem; margin-top: 4px; }
.stack > * + * { margin-top: 20px; }
footer.site { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; padding: 20px 0 32px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.legal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.legal h1 { font-size: 1.4rem; line-height: 1.3; }
.legal h2 { font-size: 1.05rem; margin-top: 24px; }
