:root {
  --navy: #10233A;
  --navy-soft: #1B3654;
  --marigold: #F2B23E;
  --marigold-dark: #E09F22;
  --white: #FFFFFF;
  --gray-band: #F4F6F8;
  --gray-line: #DDE3EA;
  --text: #2B3A4B;
  --text-muted: #55657A;
  --radius: 12px;
  --font-heading: "Space Grotesk", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  max-width: 22ch;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--marigold);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
  border-radius: 8px;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 780px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--marigold);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--marigold-dark);
}

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-small {
  min-height: 42px;
  padding: 8px 18px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--gray-line);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a:not(.btn) {
  color: var(--navy);
  font-size: 0.975rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:not(.btn):hover {
  text-decoration: underline;
  text-decoration-color: var(--marigold);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  background: none;
  border: 1px solid var(--gray-line);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--navy);
  border-radius: 2px;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--gray-line);
    box-shadow: 0 12px 24px rgba(16, 35, 58, 0.08);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 20px;
  }

  .site-nav a:not(.btn) {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-line);
    font-size: 1.05rem;
  }

  .site-nav .btn {
    width: 100%;
    margin-top: 16px;
  }
}

/* Hero */
.hero {
  padding: 64px 0 72px;
  background:
    radial-gradient(circle at 100% 0%, rgba(242, 178, 62, 0.16), transparent 45%),
    var(--white);
}

.hero-inner {
  max-width: 1120px;
}

.hero h1 {
  max-width: 17ch;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 7px 14px;
  background: var(--navy);
  color: var(--white);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3;
}

.badge svg {
  flex-shrink: 0;
}

.lead {
  max-width: 58ch;
  margin: 24px 0 32px;
  color: var(--text-muted);
  font-size: clamp(1.075rem, 2vw, 1.25rem);
}

/* Sections */
.section {
  padding: 72px 0;
}

.band {
  background: var(--gray-band);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 3px;
  margin-right: 10px;
  background: var(--marigold);
  border-radius: 2px;
  vertical-align: middle;
}

.section-intro {
  max-width: 60ch;
  margin-top: 16px;
  color: var(--text-muted);
}

/* Services */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-top: 4px solid var(--marigold);
  border-radius: var(--radius);
}

.card p {
  margin-top: 10px;
  color: var(--text-muted);
}

/* Compliance */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.split-col {
  padding: 32px;
  background: var(--gray-band);
  border-radius: var(--radius);
}

.split-col-dark {
  background: var(--navy);
  color: var(--white);
}

.split-col-dark h3 {
  color: var(--white);
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.35em;
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--marigold-dark);
  border-bottom: 3px solid var(--marigold-dark);
  transform: rotate(-45deg);
}

.split-col-dark .check-list li::before {
  border-color: var(--marigold);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.step {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  background: var(--navy);
  color: var(--marigold);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.step p {
  margin-top: 10px;
  color: var(--text-muted);
}

/* Why us */
.why {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  align-items: start;
}

.why-text p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--text-muted);
}

.why-points {
  display: grid;
  gap: 20px;
}

.why-points li {
  padding: 24px 24px 24px 28px;
  border-left: 4px solid var(--marigold);
  background: var(--gray-band);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.why-points p {
  margin-top: 8px;
  color: var(--text-muted);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 48px;
  align-items: stretch;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
}

.plan-featured {
  border: 2px solid var(--navy);
  box-shadow: 0 16px 32px rgba(16, 35, 58, 0.12);
}

.plan-tag {
  position: absolute;
  top: -14px;
  left: 28px;
  padding: 4px 12px;
  background: var(--marigold);
  color: var(--navy);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan-hours {
  margin-top: 6px;
  color: var(--text-muted);
}

.plan-price {
  margin-top: 20px;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.plan-price span {
  margin-left: 2px;
  color: var(--text-muted);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0;
}

.plan-price-text {
  font-size: 2rem;
  line-height: 1.5125;
}

.plan .check-list {
  margin: 24px 0 28px;
}

.plan .btn {
  margin-top: auto;
}

/* Agency Navigator bundle */
.bundle {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  background: var(--navy);
  color: #D5DEE8;
  border-radius: 20px;
}

.bundle h2,
.bundle .eyebrow {
  color: var(--white);
}

.bundle-text p:not(.eyebrow) {
  margin-top: 18px;
}

.text-link {
  color: var(--marigold);
  font-weight: 700;
  text-underline-offset: 4px;
}

.text-link::after {
  content: " \2192";
}

.bundle-offer {
  padding: 28px;
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius);
}

.bundle-label {
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 600;
}

.bundle-offer .plan-price {
  margin: 12px 0 24px;
}

.bundle-offer .btn {
  width: 100%;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 36px;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex-shrink: 0;
  color: var(--marigold-dark);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "\2212";
}

.faq-list details p {
  padding: 0 24px 22px;
  color: var(--text-muted);
}

/* Final CTA */
.cta {
  padding: 80px 0;
  background: var(--navy);
  text-align: center;
}

.cta h2 {
  max-width: 20ch;
  margin: 0 auto 32px;
  color: var(--white);
}

.cta-contact {
  margin-top: 20px;
  color: #D5DEE8;
}

.cta-contact a {
  color: var(--marigold);
  font-weight: 500;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

/* Footer */
.site-footer {
  padding: 28px 0;
  background: #0B1A2C;
  color: #C3CEDA;
  font-size: 0.925rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
}

.site-footer a {
  color: var(--marigold);
  font-weight: 500;
  text-underline-offset: 4px;
}

@media (max-width: 600px) {
  .hero {
    padding: 44px 0 56px;
  }

  .section {
    padding: 56px 0;
  }

  .btn-row .btn {
    width: 100%;
  }

  .cta {
    padding: 64px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
