:root {
  --bg: #0b1020;
  --card: #111732;
  --muted: #8f9bb3;
  --text: #e7ecff;
  --accent: #4f7cff;
  --accent-600: #3f64cc;
  --success: #16a34a;
  --danger: #ef4444;
  --border: #202a49;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  background: radial-gradient(1200px 600px at 10% -10%, #1a2144 0%, transparent 60%), var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.container.narrow { max-width: 720px; }
.container.center { text-align: center; }

.site-header + main {
  flex: 1 0 auto;
}
main {
  flex: 1 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(6px);
  background: linear-gradient(to bottom, rgba(11,16,32,.85), rgba(11,16,32,.6));
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .2px;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 20px;
}
.nav a[aria-current="page"] { color: var(--text); }
.nav a:hover { color: var(--text); }

.hero {
  padding: 88px 0 48px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  margin: 0 0 12px;
}
.subhead {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 22px;
}
.cta { margin-top: 10px; }
.disclosure {
  color: var(--muted);
  font-size: 14px;
  margin-top: 10px;
}
.disclosure.small { font-size: 13px; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
  justify-content: center;
  justify-items: center;
  place-content: center;
  gap: 20px;
  margin: 36px auto 60px;
}
@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    justify-content: center;
  }
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow);
  text-align: center;
}
.card h3 { margin: 0 0 6px; }
.card p { color: var(--muted); margin: 0; }

.button {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  background: #1c2446;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border);
  transition: transform .05s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  box-shadow: var(--shadow);
}
.button:hover { transform: translateY(-1px); }
.button.primary {
  background: linear-gradient(180deg, var(--accent), var(--accent-600));
  border-color: #3951a8;
}
.button[disabled], .button:disabled {
  opacity: .6;
  cursor: not-allowed;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  background: rgba(10,14,30,.6);
  flex-shrink: 0;
  margin-top: auto;
}
.footer-inner {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-left a {
  color: var(--muted);
  text-decoration: none;
  margin-right: 10px;
}
.footer-left a:hover { color: var(--text); }
.dot { color: var(--border); margin: 0 10px; }

.form {
  margin-top: 14px;
  padding: 20px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.form-field {
  margin-bottom: 16px;
}
.form-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}
.form-field input[type="tel"],
.form-field input[type="text"] {
  width: 100%;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0f1530;
  color: var(--text);
  outline: none;
}
.form-field input[type="tel"]:focus,
.form-field input[type="text"]:focus {
  border-color: #3a4aa3;
  box-shadow: 0 0 0 2px rgba(79,124,255,.15);
}
.hint { color: var(--muted); font-size: 13px; margin-top: 6px; }
.error { color: var(--danger); font-size: 13px; margin-top: 6px; min-height: 1.2em; }
.checkbox-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
}
.checkbox-field input[type="checkbox"] {
  margin-top: 4px;
  width: 18px; height: 18px;
}
.form-actions { margin-top: 10px; }
.lead { color: var(--muted); }
.doc h1 { margin-bottom: 6px; }
.doc h2 { margin-top: 22px; }
.doc p, .doc li { color: #c9d3ff; }

.narrow.center { text-align: center; }
.actions { margin-top: 18px; }

a { color: #9bb3ff; }
a:hover { color: #c8d4ff; }

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}


