:root {
  --bg: #f4f6fa;
  --panel: #ffffff;
  --ink: #1f2733;
  --muted: #66728a;
  --brand: #2f5fbf;
  --brand-dark: #244c9c;
  --line: #e3e8f0;
  --radius: 10px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); line-height: 1.55; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; }
p { margin: 0 0 14px; }
a { color: var(--brand-dark); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 640px; }

.topbar {
  background: var(--panel); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { font-weight: 700; font-size: 18px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--brand-dark); }
.nav a.btn { color: #fff; }

.btn {
  display: inline-block; background: var(--brand); color: #fff; font-weight: 600;
  padding: 11px 20px; border-radius: 999px; text-decoration: none; border: none;
  cursor: pointer; font-size: 14.5px;
}
.btn:hover { background: var(--brand-dark); }
.btn.secondary { background: transparent; color: var(--brand-dark); border: 1.5px solid var(--brand); }
.btn.secondary:hover { background: #eef2fb; }
.btn:disabled { opacity: .6; cursor: default; }

.hero {
  padding: 72px 0 60px; text-align: center;
  background: linear-gradient(180deg, #eef2fb, var(--bg));
}
.hero h1 { font-size: 38px; max-width: 720px; margin: 0 auto 18px; }
.hero .lead { max-width: 640px; margin: 0 auto 28px; color: var(--muted); font-size: 16.5px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.section { padding: 56px 0; }
.section.alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: 27px; margin: 0 0 18px; }
.section h3 { font-size: 19px; margin: 28px 0 10px; }
.section p { max-width: 760px; }
.muted { color: var(--muted); font-size: 14px; }

.control-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin-top: 20px; }
.control-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.control-card h4 { font-size: 15px; color: var(--brand-dark); margin: 0 0 10px; }
.control-card ul { margin: 0; padding-left: 18px; font-size: 13.5px; }
.control-card li { margin-bottom: 8px; }

form { max-width: 520px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 14px; font-family: inherit; background: var(--panel); color: var(--ink);
}
.radio-row { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; font-weight: 400; }
.radio-row label { display: flex; align-items: center; gap: 6px; }

.footer { padding: 26px 0; text-align: center; font-size: 13px; color: var(--muted); }

@media (max-width: 640px) {
  .hero h1 { font-size: 28px; }
  .nav { gap: 12px; font-size: 13px; }
  .nav a:not(.btn) { display: none; }
}
