:root {
  --navy: #0d3155;
  --navy-strong: #0b2744;
  --navy-soft: #e4edf7;
  --navy-muted: #f1f4fa;
  --green: #6cab44;
  --green-strong: #5a9a36;
  --text: #0c1c2e;
  --muted: #42526b;
  --bg: #f6f8fb;
  --card: #ffffff;
  --border: #d8e2f0;
  --shadow: 0 10px 30px rgba(13, 49, 85, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

img {
  max-width: 100%;
  display: block;
}

.sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
}

header {
  background: var(--navy);
  color: #e9f1fb;
  padding: 1rem 1.5rem;
  box-shadow: 0 6px 20px rgba(6, 17, 30, 0.25);
  z-index: 10;
}

@media (min-width: 768px) {
  header {
    position: sticky;
    top: 0;
  }
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.5rem;
  padding: 0.4rem;
  cursor: pointer;
  color: inherit;
}

.menu-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 4px 0;
  transition: transform 0.2s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand img {
  height: 44px;
  width: 44px;
}

.nav-links {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: #dce7f5;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

section {
  padding: 3rem 0;
}

section:nth-of-type(even) {
  background: var(--navy-soft);
}

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

.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

section h2 {
  font-size: clamp(1.6rem, 2vw, 2rem);
  margin: 0.35rem 0 0.75rem;
}

.lead {
  max-width: 1000px;
  color: var(--muted);
  margin: 0;
}

.two-column {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .two-column {
    grid-template-columns: 1.4fr 1fr;
  }
}

.card-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .card-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

.card {
  background: var(--card);
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  padding: 1.25rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.badge,
.section-label--cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(13, 49, 85, 0.12);
  color: var(--navy-strong);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-label--cta {
  background: rgba(255, 255, 255, 0.85);
}

.cta-banner--light .section-label--cta {
  background: rgba(13, 49, 85, 0.12);
}

.hero {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0 3rem;
}

.hero-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin: 0 0 1rem;
  line-height: 1.2;
}

.hero p {
  margin: 0 0 1rem;
}

.hero .hero-body {
  margin: 1.25rem 0 1rem;
}

.hero-highlight {
  font-weight: 600;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

.hero-list li {
  margin-bottom: 0.35rem;
  display: flex;
  gap: 0.4rem;
}

.hero-list li::before {
  content: "•";
  color: var(--green);
  font-weight: 700;
}

.hero-cta {
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: var(--green);
  color: #0a1c2f;
  font-size: 0.95rem;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--green-strong);
  color: #f7fbff;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--navy-soft);
  color: var(--navy-strong);
  font-weight: 600;
}

.hero-metrics {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 600px) {
  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.metric {
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: var(--navy-muted);
  text-align: left;
}

.metric-value {
  font-size: 1.2rem;
  font-weight: 700;
  display: block;
}

.metric a {
  color: var(--navy-strong);
  text-decoration: underline;
  font-weight: 600;
}

.hero-logo {
  display: grid;
  place-items: center;
}

.hero-logo img {
  width: 230px;
  max-width: 100%;
}

.highlight-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.highlight-list li {
  margin-bottom: 0.5rem;
  display: flex;
  gap: 0.4rem;
}

.highlight-list li::before {
  content: "✔";
  color: var(--green);
  font-weight: 700;
}

.service-card p,
.card p {
  margin: 0;
  color: var(--muted);
}

.cta-banner {
  background: var(--navy);
  color: #f6faff;
  padding: 2.5rem 0;
}

.cta-banner h2 {
  color:  var(--navy-strong);
}

.cta-banner .surface {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 700px) {
  .cta-banner .surface {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cta-banner--light {
  background: var(--navy-soft);
  color: var(--text);
}

.process-list {
  display: grid;
  gap: 1rem;
  counter-reset: steps;
}

.process-step {
  background: var(--card);
  border-radius: 0.9rem;
  border: 1px solid var(--border);
  padding: 1rem;
  position: relative;
}

.proof-list {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .proof-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.proof-card ul {
  padding-left: 1.1rem;
  margin: 0;
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  gap: 1rem;
}

.limited-offer-banner {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(12, 28, 46, 0.1);
  background: linear-gradient(135deg, rgba(13, 49, 85, 0.95), rgba(108, 171, 68, 0.9));
  color: #f6f8fb;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  box-shadow: 0 20px 40px rgba(13, 49, 85, 0.2);
}

.limited-offer-banner h3 {
  margin: 0 0 0.2rem;
  font-size: 1.2rem;
}

.limited-offer-banner p {
  margin: 0;
  color: rgba(246, 248, 251, 0.9);
}

.limited-offer-badge {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(246, 248, 251, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 600;
}

.limited-offer-highlight {
  margin-left: auto;
  text-align: right;
}

.limited-offer-value {
  font-size: 1.3rem;
  font-weight: 700;
}

.limited-offer-label {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(246, 248, 251, 0.8);
}

@media (max-width: 600px) {
  .limited-offer-highlight {
    width: 100%;
    text-align: left;
  }
}

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

.pricing-card {
  text-align: left;
}

.pricing-amount {
  font-size: 1.6rem;
  font-weight: 700;
}

.pricing-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.faq-question {
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  background: var(--card);
}

.blog-link:hover {
  background: var(--navy);
  color: #f6f9ff;
}

form {
  display: grid;
  gap: 1rem;
  max-width: 520px;
}

label {
  font-size: 0.95rem;
  font-weight: 600;
}

input:not([type="checkbox"]),
select,
textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.6rem;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}

.checkbox-field {
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  padding: 1rem;
  margin: 0;
  width: 100%;
  background: #fff;
}

.checkbox-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.checkbox-options {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.checkbox-options label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.checkbox-options input[type="checkbox"] {
  width: auto;
  height: auto;
  accent-color: var(--green);
}

.field-help {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.3rem 0 0;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.status-message {
  min-height: 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.status-message[data-state="success"] {
  color: var(--green-strong);
}

.status-message[data-state="error"] {
  color: #c0392b;
}

footer {
  background: var(--navy);
  color: #e9f1fb;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
}

/* Section backgrounds */
#process {
  background-color: var(--bg);  /* Ensure process section has the default background */
}

#pricing {
  background-color: #f0f2f5;  /* Light gray to stand out from other sections */
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* FAQ Section */
#faq {
  background-color: var(--navy-muted);
  padding: 4rem 0;
  position: relative;
}

#faq .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

#faq .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-content {
  width: 100%;
}

.faq-list {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-list li {
  margin-bottom: 1.5rem;
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.faq-question {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.faq-answer {
  color: var(--navy);
  line-height: 1.6;
  font-size: 1rem;
}

/* Chat Assistant CTA */
.chat-assistant-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 1.5rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.chat-assistant-cta p {
  margin: 0;
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 500;
}

#chat-assistant-trigger {
  margin: 0.75rem 0 0;
  color: var(--green);
  font-size: 1.1rem;
  font-weight: 500;
  display: inline-block;
}

.chat-assistant-cta a {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--green);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.chat-assistant-cta a:hover {
  color: var(--green-strong);
  text-decoration: underline;
}

#contact {
  background-color: var(--navy-soft);  /* Same as the 'Still thinking?' section */
}

/* Adjust the light CTA banner to match the design system */
.cta-banner--light {
  background-color: var(--navy-soft);
  padding: 2.5rem 0;
}

@media (max-width: 600px) {
  .nav-links {
    justify-content: flex-start;
  }

  section {
    padding: 2.25rem 0;
  }
}

@media (max-width: 768px) {
  header {
    padding: 0.85rem 1rem;
  }

  .nav {
    align-items: flex-start;
    gap: 0.5rem;
  }

  .brand {
    flex: 1 1 auto;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 0.85rem;
    padding: 0.75rem;
    margin-top: 0.5rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 0.5rem 0.25rem;
  }

  .container {
    padding: 0 1.1rem;
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta a {
    width: 100%;
    justify-content: center;
  }

  .hero-logo {
    max-width: 210px;
    justify-self: center;
  }

  .cta-banner .surface {
    padding: 1.25rem;
  }

  .card-grid,
  .process-list {
    gap: 0.85rem;
  }

  form {
    max-width: 100%;
  }
}
