:root {
  --bg: #f8fafc;
  --bg-alt: #eef4ff;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --line: #dbe4f0;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #0f766e;
  --good: #ecfdf5;
  --bad: #fff7ed;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f8fbff 0%, #f8fafc 55%, #ffffff 100%);
  line-height: 1.6;
}

html { scroll-behavior: smooth; }

a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3 { margin: 0 0 1rem; line-height: 1.1; color: var(--text); }
h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); letter-spacing: -0.04em; }
h2 { font-size: clamp(1.9rem, 3vw, 3rem); letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; }
small { color: var(--muted); }

.container { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }
.section { padding: 5.5rem 0; }
.section-alt { background: linear-gradient(180deg, rgba(37,99,235,0.04), rgba(15,118,110,0.03)); }
.text-center { text-align: center; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(248, 250, 252, 0.82);
  border-bottom: 1px solid rgba(219, 228, 240, 0.7);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  width: 2.6rem;
  height: 2.6rem;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.brand-text { display: grid; gap: 0.05rem; }
.brand-text strong { font-size: 1rem; }
.brand-text small { font-size: 0.82rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-weight: 600;
  color: #334155;
}

.hero {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.45;
}

.hero::before {
  width: 380px; height: 380px;
  background: rgba(37, 99, 235, 0.16);
  right: -120px; top: -80px;
}
.hero::after {
  width: 280px; height: 280px;
  background: rgba(15, 118, 110, 0.14);
  left: -80px; bottom: -40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(37,99,235,0.09);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-text { font-size: 1.12rem; max-width: 60ch; }
.hero-points {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin: 1.5rem 0;
}
.hero-points span {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  color: #1e293b;
  font-weight: 600;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.5rem 0 0.9rem; }
.microcopy { font-size: 0.95rem; }

.hero-card,
.feature-card,
.pricing-card,
.step-card,
.quote-card,
.comparison-card,
.cta-box,
.faq-grid details {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(219,228,240,0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 1.6rem;
  position: relative;
}

.price-kicker, .badge {
  display: inline-block;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  background: rgba(15,118,110,0.1);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.price-row {
  display: flex;
  align-items: flex-end;
  gap: 0.8rem;
  margin: 1rem 0 1.2rem;
}

.price {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.term { font-weight: 700; color: #1e293b; }
.fine-print, .small-note { font-size: 0.9rem; color: #64748b; }

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.8);
}

.trust-grid {
  padding: 1rem 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
  font-weight: 700;
  color: #1e293b;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: center;
}

.comparison-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  overflow: hidden;
}

.comparison-col { padding: 1.5rem; }
.comparison-col.bad { background: var(--bad); }
.comparison-col.good { background: var(--good); }
.comparison-col ul, .footer-links, .check-list { padding-left: 1.1rem; margin: 0; }
.comparison-col li, .check-list li, .footer-links li { margin-bottom: 0.7rem; color: #334155; }

.feature-grid,
.pricing-grid,
.steps-grid,
.footer-grid {
  display: grid;
  gap: 1.3rem;
}

.feature-grid { grid-template-columns: repeat(3, 1fr); margin-top: 2rem; }
.pricing-grid { grid-template-columns: repeat(3, 1fr); margin-top: 2rem; align-items: stretch; }
.steps-grid { grid-template-columns: repeat(4, 1fr); margin-top: 2rem; }
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr; padding: 3rem 0; }

.feature-card,
.pricing-card,
.step-card,
.quote-card { padding: 1.5rem; }
.pricing-card.featured { border: 2px solid rgba(37,99,235,0.28); transform: translateY(-8px); }
.pricing-for, .annual-note { color: #475569; }
.price-stack {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin: 1rem 0 0.5rem;
}
.price-stack span { font-size: 3rem; font-weight: 800; letter-spacing: -0.04em; }
.price-stack small { font-size: 1rem; font-weight: 700; }
.compact li { margin-bottom: 0.55rem; }
.section-head { margin-bottom: 1.5rem; }
.split-head { display: flex; justify-content: space-between; gap: 1.2rem; align-items: end; }
.section-intro { max-width: 42ch; }

.step-card span {
  display: inline-grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  background: rgba(37,99,235,0.1);
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 1rem;
}

.quote-section { align-items: start; }
.quote-card hr { border: 0; border-top: 1px solid var(--line); margin: 1.2rem 0; }
.quote { font-size: 1.12rem; font-weight: 600; color: #1e293b; }
.quote-meta { font-size: 0.92rem; }

.faq-wrap { max-width: 980px; }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.faq-grid details { padding: 1.2rem 1.25rem; }
.faq-grid summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: #0f172a;
  padding-right: 1.2rem;
  position: relative;
}
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after {
  content: "+";
  position: absolute;
  right: 0; top: -0.1rem;
  font-size: 1.35rem;
  color: var(--primary);
}
.faq-grid details[open] summary::after { content: "−"; }
.faq-grid details p { margin-top: 0.9rem; }

.cta-section { padding-top: 1rem; }
.cta-box {
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(15,118,110,0.08));
}

.cta-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.site-footer {
  margin-top: 3rem;
  background: #0f172a;
  color: #dbeafe;
}
.site-footer h3, .site-footer strong { color: white; }
.footer-note, .site-footer small, .site-footer li, .site-footer a { color: #cbd5e1; }
.footer-brand .brand-mark { box-shadow: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}
.btn-primary:hover { box-shadow: 0 18px 34px rgba(37, 99, 235, 0.26); }
.btn-secondary {
  color: #0f172a;
  background: white;
  border-color: var(--line);
}
.btn-outline {
  color: var(--primary-dark);
  border-color: rgba(37,99,235,0.22);
  background: rgba(255,255,255,0.7);
}
.btn-sm { min-height: 42px; padding: 0.75rem 1rem; }
.btn-block { width: 100%; }

@media (max-width: 1050px) {
  .hero-grid,
  .split,
  .footer-grid,
  .trust-grid,
  .feature-grid,
  .pricing-grid,
  .steps-grid,
  .faq-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-grid { grid-template-columns: 1fr; }
  .split, .footer-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-box, .split-head { flex-direction: column; align-items: start; }
}

@media (max-width: 760px) {
  .nav { flex-direction: column; align-items: start; }
  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.8rem 1rem;
  }
  .feature-grid,
  .pricing-grid,
  .steps-grid,
  .faq-grid,
  .trust-grid,
  .comparison-card {
    grid-template-columns: 1fr;
  }
  .section { padding: 4.3rem 0; }
  .hero { padding-top: 3.5rem; }
  .price { font-size: 2.8rem; }
  .price-stack span { font-size: 2.5rem; }
  .hero-actions, .cta-actions { width: 100%; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 100%; }
}


.brand-logo-img {
  height: 42px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 34px;
  width: auto;
  display: block;
}

.stacked-actions {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.contact-wrap {
  display: grid;
  gap: 1.4rem;
}

.contact-box {
  padding: 2rem;
}

.keep-links {
  justify-content: flex-start;
}

.contact-form {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(219,228,240,0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label,
.option-group legend {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 700;
  color: #1e293b;
}

.form-field input {
  width: 100%;
  min-height: 52px;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

.form-field input:focus {
  outline: 2px solid rgba(37,99,235,0.18);
  border-color: rgba(37,99,235,0.35);
}

.option-group {
  margin: 1.25rem 0 0;
  padding: 0;
  border: 0;
}

.option-group label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.2rem 1.2rem 0.2rem 0;
  color: #334155;
  font-weight: 600;
}

.form-actions {
  margin-top: 1.35rem;
}

@media (max-width: 760px) {
  .brand-logo-img { height: 36px; }
  .footer-logo-img { height: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .option-group label { display: flex; margin-right: 0; margin-bottom: 0.7rem; }
}

.form-row {
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #dbe4f0;
  font-family: inherit;
  font-size: 14px;
}

.form-row input[type="text"],
.form-row input[type="email"] {
  flex: 1;
}

.form-row label {
  font-size: 14px;
  margin-right: 15px;
  cursor: pointer;
}

.contact-form {
  width: 100%;
  max-width: 900px;
  margin: 30px auto 0;
}

.form-submit {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

#formMessage {
  font-weight: 600;
}
