* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f3f5f8;
  --surface: #ffffff;
  --ink: #14263d;
  --muted: #5d6b7f;
  --primary: #1f3a5f;
  --primary-2: #2d557f;
  --accent: #e58a2a;
  --line: rgba(20, 38, 61, 0.14);
  --radius: 16px;
  --shadow: 0 8px 24px rgba(15, 31, 58, 0.08);
  --container: 1120px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: clip;
}

body {
  font-family: "Inter", "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(circle at 20% 0%, #e9eef5, var(--bg));
  color: var(--ink);
  line-height: 1.6;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(94%, var(--container));
  margin: 0 auto;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: #edf2f9;
}

.section-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.4rem);
  letter-spacing: -0.01em;
}

.section-header p {
  max-width: 760px;
  margin: 0.75rem auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: #000;
  color: #fff;
  padding: 0.6rem 0.9rem;
  z-index: 9999;
}

.btn {
  min-height: 44px;
  border-radius: 12px;
  border: 0;
  padding: 0.8rem 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

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

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: #355f8d;
}

.btn-secondary,
.btn-outline {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--line);
}

.btn-secondary:hover,
.btn-outline:hover {
  background: #f2f6fd;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(243, 245, 248, 0.94);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

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

.brand-mark {
  width: 34px;
  height: 34px;
}

.brand-wordmark {
  height: 22px;
  width: auto;
}

.topnav {
  display: none;
  gap: 1rem;
  align-items: center;
}

.topnav a {
  color: #203652;
  font-weight: 600;
  font-size: 0.92rem;
}

.topnav-cta {
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.hero {
  padding: 3.25rem 0 2rem;
  background-image: linear-gradient(135deg, rgba(31, 58, 95, 0.1), rgba(229, 138, 42, 0.06)), url("../images/hero-banner.svg");
  background-size: cover;
  background-position: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  background: #fff4e6;
  color: #915114;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 3.35rem);
  line-height: 1.05;
  text-wrap: balance;
  letter-spacing: -0.02em;
}

.lead {
  margin-top: 1rem;
  font-size: clamp(1rem, 2.8vw, 1.25rem);
  color: #22304a;
}

.sublead {
  margin-top: 0.6rem;
  color: var(--muted);
}

.hero-actions {
  margin-top: 1.1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.7rem;
}

.hero-visual {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.8rem;
}

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #edf1f6;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  padding: 0.85rem 0;
}

.trust-grid p {
  text-align: center;
  font-weight: 600;
  color: #2a3f5d;
  font-size: 0.95rem;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

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

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
}

.card p {
  color: var(--muted);
  font-size: 0.97rem;
}

/* How It Works */
.workflow-step {
  text-align: center;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
}

/* Feature Groups */
.feature-group {
  margin-bottom: 2.5rem;
}

.feature-group:last-child {
  margin-bottom: 0;
}

.feature-group-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--accent);
}

/* Social Proof / Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  margin: 0;
  position: relative;
}

.testimonial::before {
  content: """;
  font-size: 3rem;
  color: var(--accent);
  position: absolute;
  top: 0.3rem;
  left: 0.8rem;
  line-height: 1;
  opacity: 0.4;
}

.testimonial p {
  font-style: italic;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
}

.testimonial footer {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding-left: 1.5rem;
}

.lead-section {
  background: #eef3fb;
}

.lead-wrap {
  max-width: 920px;
}

.lead-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.85rem;
}

.hidden-field {
  display: none;
}

.lead-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.72rem 0.78rem;
  background: #fff;
  font: inherit;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: 2px solid #8eb3ea;
  outline-offset: 1px;
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-start;
}

.form-status {
  min-height: 1.25rem;
  color: #1f4a78;
  font-size: 0.95rem;
}

.footer {
  background: #0f1f3a;
  color: #d7ddea;
  padding: 2.4rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}

.footer h3,
.footer h4 {
  color: #fff;
}

.footer a {
  color: #dbe7ff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 1rem;
  text-align: center;
  padding-top: 0.85rem;
  font-size: 0.85rem;
  color: #c2ccdf;
}

@media (min-width: 768px) {
  .section {
    padding: 4.6rem 0;
  }

  .topnav {
    display: inline-flex;
  }

  .hero-inner {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
  }

  .hero-actions {
    grid-template-columns: repeat(2, max-content);
    justify-content: start;
  }

  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .testimonial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .section-header {
    margin-bottom: 2rem;
  }
}
