:root {
  --bg: #08111f;
  --bg-soft: #0f172a;
  --surface: #ffffff;
  --surface-soft: #f6f8fc;
  --text: #0f172a;
  --muted: #52607a;
  --line: #dbe4f0;
  --brand: #22d3ee;
  --brand-dark: #0f766e;
  --accent: #1d4ed8;
  --success-bg: #ecfdf3;
  --success-text: #166534;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

* { 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: linear-gradient(180deg, #eef6ff 0%, #f8fbff 18%, #ffffff 100%);
}

a { color: inherit; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 22px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15,23,42,0.06);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
}

.wordmark { height: 40px; width: auto; }
.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

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

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

.hero {
  padding: 72px 0 40px;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
}

h1 {
  margin: 12px 0 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h2 {
  font-size: 34px;
  margin: 0 0 12px;
  letter-spacing: -0.03em;
}

h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 22px;
}

.lead,
.section-intro,
.card p,
.card li,
.hero-note,
.contact-note,
#leadFormMessage {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.trust-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.trust-row span,
.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  background: #eef6ff;
  border: 1px solid #d9eaff;
  color: #0f4c81;
  font-size: 13px;
  font-weight: 800;
}

.hero-card,
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-card ul,
.clean-list {
  margin: 0;
  padding-left: 20px;
  line-height: 1.8;
}

.hero-note { margin-top: 16px; }
.section { padding: 34px 0; }
.section.alt { background: var(--surface-soft); }

.grid {
  display: grid;
  gap: 18px;
}

.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two,
.notice-grid,
.contact-grid { grid-template-columns: repeat(2, 1fr); }

.price-card.featured {
  border-color: #8ec5ff;
  box-shadow: 0 22px 56px rgba(29, 78, 216, 0.12);
}

.price {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.price span {
  font-size: 16px;
  color: var(--muted);
  font-weight: 700;
  margin-left: 6px;
}

.button,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 14px;
  padding: 14px 18px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover,
button:hover { transform: translateY(-1px); }

.button.primary,
button.button.primary {
  background: linear-gradient(135deg, var(--brand), #60a5fa);
  color: #07111d;
  box-shadow: 0 14px 32px rgba(34, 211, 238, 0.22);
}

.button.secondary {
  background: #eef5ff;
  color: #0f172a;
  border: 1px solid #d8e5f6;
}

.full { width: 100%; margin-top: 18px; }

.contact-section {
  background: linear-gradient(135deg, #0f172a, #16213b);
  color: white;
}

.contact-section h2,
.contact-section .section-intro,
.contact-section .contact-note,
.contact-section .contact-email,
.contact-section #leadFormMessage {
  color: #d6e1ef;
}

.form-card {
  background: rgba(255,255,255,0.98);
}

form {
  display: grid;
  gap: 12px;
}

input,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.12);
  font: inherit;
  background: white;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96,165,250,0.14);
}

#leadFormMessage {
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid rgba(15,23,42,0.08);
}

#leadFormMessage[data-state="success"] {
  background: var(--success-bg);
  color: var(--success-text);
  border-color: rgba(22, 101, 52, 0.16);
  font-weight: 700;
}

#leadFormMessage[data-state="loading"] {
  color: var(--muted);
}

#leadForm.submitted {
  outline: 2px solid rgba(34, 197, 94, 0.16);
  outline-offset: 8px;
  border-radius: 18px;
}

.site-footer {
  padding: 24px 0 40px;
  background: #0b1220;
  color: #9fb0c7;
}

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

@media (max-width: 900px) {
  .hero-wrap,
  .grid.three,
  .grid.two,
  .notice-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
  }
}
