:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-muted: #eef2f7;
  --text: #16202a;
  --text-soft: #526171;
  --border: #d8e0ea;
  --primary: #163a5f;
  --primary-strong: #0e2741;
  --accent: #b7893c;
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(760px, 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 248, 251, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(216, 224, 234, 0.8);
}

.site-header .container,
.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.nav a {
  color: var(--text-soft);
  font-weight: 500;
}

.hero {
  padding: 5rem 0 3rem;
  background: linear-gradient(180deg, #f9fbfd 0%, #f2f5fa 100%);
}

.hero-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

h1,
h2 {
  line-height: 1.15;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 4.25rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.5rem, 2vw, 2.25rem);
}

.lead,
.small-note,
.form-disclaimer,
.form-status,
.legal-page p,
.legal-page li {
  color: var(--text-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.button:hover {
  background: var(--primary-strong);
  transform: translateY(-1px);
  text-decoration: none;
}

.button-secondary {
  background: transparent;
  color: var(--primary);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.highlight-card,
.form-card {
  padding: 1.5rem;
}

.highlight-card ul,
.legal-page ul {
  padding-left: 1.2rem;
}

.section {
  padding: 4rem 0;
}

.section-muted {
  background: var(--surface-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

label {
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(22, 58, 95, 0.15);
  border-color: var(--primary);
}

.checkbox-row {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  align-items: start;
  gap: 0.9rem;
  margin: 1.25rem 0 1rem;
}

.checkbox-row input {
  margin-top: 0.25rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.legal-page h2 {
  margin-top: 2rem;
}

@media (max-width: 820px) {
  .site-header .container,
  .footer-content,
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .site-header .container,
  .footer-content {
    justify-content: start;
  }

  .nav {
    gap: 0.75rem;
  }

  .hero {
    padding-top: 3.5rem;
  }
}
