:root {
  color-scheme: light dark;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --brand: #0ea5e9;
  --brand-strong: #0369a1;
  --accent: #f59e0b;
  --ok: #047857;
  --danger: #b91c1c;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --max: 980px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --surface: #111a2e;
    --text: #e5eefb;
    --muted: #a9b8cf;
    --line: #24324a;
    --brand: #38bdf8;
    --brand-strong: #7dd3fc;
    --accent: #fbbf24;
    --ok: #6ee7b7;
    --danger: #fca5a5;
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

a { color: var(--brand-strong); }
a:hover { text-decoration-thickness: 2px; }

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

header.site {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.site-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand svg { display: block; }

nav.links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

nav.links a { color: var(--muted); text-decoration: none; }
nav.links a:hover { color: var(--text); }

main { padding: 56px 0 40px; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 48px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.lead {
  margin: 0 0 26px;
  max-width: 38rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--brand);
  color: #062033;
  font-weight: 800;
  text-decoration: none;
}

.btn.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.hero-art {
  display: grid;
  place-items: center;
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(circle at 70% 20%, rgba(14, 165, 233, 0.16), transparent 45%),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero-art svg { width: min(260px, 70%); height: auto; }

section { padding: 30px 0; }

h2 {
  margin: 0 0 18px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.03em;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.96rem; }

.promise {
  margin: 18px 0 0;
  padding: 18px 20px;
  border-left: 4px solid var(--ok);
  border-radius: 12px;
  background: color-mix(in srgb, var(--ok) 8%, var(--surface));
  color: var(--text);
  font-weight: 600;
}

.note {
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line));
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 9%, var(--surface));
  color: var(--text);
  font-size: 0.94rem;
}

.draft {
  margin: 0 0 22px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 50%, var(--line));
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
  font-size: 0.92rem;
}

.page-head { padding-bottom: 24px; }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); max-width: 20ch; }
.page-head p { color: var(--muted); max-width: 46rem; }

.policy { max-width: 760px; }
.policy h2 { margin-top: 34px; }
.policy h3 { margin: 24px 0 8px; font-size: 1.05rem; }
.policy p, .policy li { color: var(--muted); }
.policy li { margin: 6px 0; }
.policy strong { color: var(--text); }
.policy hr { margin: 40px 0; border: 0; border-top: 1px solid var(--line); }

form.survey {
  display: grid;
  gap: 16px;
  max-width: 640px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

label { font-weight: 700; }
select, textarea {
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

textarea { min-height: 110px; resize: vertical; }

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.94rem;
}

.check input { margin-top: 4px; }

.form-status { min-height: 1.5em; color: var(--muted); font-size: 0.94rem; }
.form-status.ok { color: var(--ok); font-weight: 700; }
.form-status.err { color: var(--danger); font-weight: 700; }

footer.site {
  margin-top: 40px;
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-row a { color: var(--muted); }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 24px; }
  .hero-art { min-height: 220px; order: -1; }
  .grid { grid-template-columns: 1fr; }
  main { padding-top: 34px; }
}
