@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/space-grotesk-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/inter-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/inter-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/inter-600.woff2') format('woff2');
}

:root {
  --navy: #101F35;
  --mid-navy: #193653;
  --amber: #F5A623;
  --amber-hover: #E09412;
  --bg: #F5F7FA;
  --white: #FFFFFF;
  --text: #3F4F66;
  --muted: #4A5A70;
  --chip-border: #D5DEE9;
  --divider: #E2E8F0;
  --eyebrow: #8A5700;
  --footer-text: #C9D5E5;
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
body.drawer-open { overflow: hidden; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--amber);
  color: var(--navy);
  padding: 10px 16px;
  font-weight: 600;
  z-index: 2000;
}
.skip-link:focus { left: 12px; top: 12px; }

a { color: var(--mid-navy); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Header */
.site-header {
  height: 76px;
  background: var(--white);
  border-bottom: 1px solid var(--divider);
  padding: 0 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 100;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark {
  width: 34px;
  height: 34px;
  background: var(--navy);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-link, .nav-dropdown-btn {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  background: none;
  border: 0;
  padding: 6px 0;
  cursor: pointer;
  font-family: var(--font-body);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-link:hover, .nav-dropdown-btn:hover { color: var(--mid-navy); text-decoration: none; }
.nav-cta {
  background: var(--amber);
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-cta:hover { background: var(--amber-hover); text-decoration: none; }

.nav-dropdown-wrap { position: relative; }
.services-panel {
  position: absolute;
  top: calc(100% + 14px);
  right: -120px;
  width: 540px;
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(16,31,53,.16);
  padding: 24px;
  display: none;
  z-index: 200;
}
.services-panel.open { display: block; }
.services-panel-title {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--navy);
  margin: 0 0 14px;
}
.services-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.services-group-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--eyebrow);
  margin: 0 0 8px;
}
.services-group-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.services-group-list a {
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
}

.hamburger-btn {
  display: none;
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

/* Mobile Drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16,31,53,.55);
  z-index: 950;
  display: none;
}
.drawer-overlay.open { display: block; }
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 310px;
  max-width: 88vw;
  background: var(--white);
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--divider);
}
.drawer-close {
  width: 44px;
  height: 44px;
  background: none;
  border: 0;
  font-size: 28px;
  line-height: 1;
  color: var(--navy);
  cursor: pointer;
}
.drawer-nav {
  list-style: none;
  margin: 0;
  padding: 8px 18px;
  flex: 1;
}
.drawer-nav > li { border-bottom: 1px solid var(--divider); }
.drawer-link, .drawer-sub-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  background: none;
  border: 0;
  font-family: var(--font-body);
  cursor: pointer;
  text-align: left;
}
.drawer-sub {
  display: none;
  padding: 0 0 14px;
}
.drawer-sub.open { display: block; }
.drawer-sub-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--eyebrow);
  margin: 10px 0 6px;
}
.drawer-sub ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.drawer-sub a { font-size: 14px; color: var(--text); }
.drawer-footer {
  padding: 16px 18px;
  border-top: 1px solid var(--divider);
}
.drawer-footer .nav-cta { width: 100%; justify-content: center; }

/* Hero */
.hero {
  height: 560px;
  background: linear-gradient(120deg, var(--navy) 0%, var(--mid-navy) 100%);
  position: relative;
  margin-bottom: 120px;
}
.hero-inner {
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  position: relative;
}
.hero-media {
  position: absolute;
  right: 120px;
  top: 48px;
  width: 520px;
  height: 440px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-card {
  position: absolute;
  left: 80px;
  bottom: -90px;
  width: 600px;
  background: var(--white);
  border-radius: 20px;
  padding: 44px;
  box-shadow: 0 24px 60px rgba(16,31,53,.22);
  z-index: 10;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eyebrow);
  margin: 0 0 10px;
}
.hero-card h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 46px;
  line-height: 1.08;
  color: var(--navy);
  margin: 0 0 16px;
}
.hero-card p { margin: 0 0 22px; color: var(--text); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}
.btn-primary {
  background: var(--amber);
  color: var(--navy);
  font-weight: 600;
  padding: 15px 26px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font-size: 16px;
}
.btn-primary:hover { background: var(--amber-hover); text-decoration: none; }
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.btn-secondary:hover { background: var(--bg); text-decoration: none; }
.hero-note { font-size: 13px; color: var(--muted); margin: 0; }

/* Sections */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.section { padding: 56px 0; }
.section-title {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 16px;
}
.text-center { text-align: center; }

.state-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 12px 32px rgba(16,31,53,.08);
}
.card h2, .card h3 {
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 10px;
}
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
}
.chip {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--chip-border);
  border-radius: 999px;
  font-size: 14px;
  color: var(--navy);
  background: var(--white);
}
.chip:hover { border-color: var(--navy); text-decoration: none; }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
}
.step-item { text-align: center; }
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.disclosure-band {
  background: var(--mid-navy);
  color: var(--white);
  padding: 28px 0;
  margin-top: 40px;
}
.disclosure-inner {
  display: flex;
  align-items: center;
  gap: 18px;
}
.disclosure-inner p { margin: 0; color: var(--footer-text); font-size: 15px; }

/* Inner page header & prose */
.page-banner {
  background: linear-gradient(120deg, var(--navy) 0%, var(--mid-navy) 100%);
  color: var(--white);
  padding: 48px 0;
}
.page-banner h1 {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--white);
}
.breadcrumbs {
  font-size: 14px;
  color: var(--footer-text);
  margin-bottom: 12px;
}
.breadcrumbs a { color: var(--amber); }

.prose-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 36px;
  padding: 48px 0;
  align-items: start;
}
.prose-main {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 12px 32px rgba(16,31,53,.06);
}
.prose-main h2 {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--navy);
  margin: 28px 0 12px;
}
.prose-main h2:first-child { margin-top: 0; }
.prose-main h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--navy);
  margin: 22px 0 8px;
}
.inline-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 20px 0;
  display: block;
}
.cta-box {
  background: var(--bg);
  border-left: 4px solid var(--amber);
  padding: 24px;
  border-radius: 12px;
  margin: 28px 0;
}
.faq-item {
  border-bottom: 1px solid var(--divider);
  padding: 16px 0;
}
.faq-item h3 { margin: 0 0 8px; font-size: 18px; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: var(--footer-text);
  padding: 56px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-heading {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 16px;
  margin: 0 0 12px;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.footer-links a { color: var(--footer-text); font-size: 14px; }

/* Floating Pill CTA */
.floating-pill-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  background: var(--amber);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(16,31,53,.28);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.floating-pill-cta:hover { background: var(--amber-hover); text-decoration: none; }

/* Form */
.form-grid { display: grid; gap: 16px; }
.form-field label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 6px; font-size: 14px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--chip-border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
}
.form-notice {
  background: #FFF8EB;
  border: 1px solid var(--amber);
  color: var(--navy);
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  display: none;
}
.form-notice.show { display: block; }

@media (max-width: 1024px) {
  .site-header { padding: 0 24px; }
  .hero-media { right: 24px; width: 420px; }
  .hero-card { left: 24px; width: 520px; }
  .prose-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .site-header { height: 64px; padding: 0 16px; }
  .desktop-nav { display: none; }
  .hamburger-btn { display: inline-flex; }
  .hero { height: auto; margin-bottom: 24px; padding-bottom: 24px; }
  .hero-media {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    height: 300px;
    border-radius: 0;
  }
  .hero-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin: -70px 16px 0;
    border-radius: 18px;
    padding: 28px 22px;
  }
  .hero-card h1 { font-size: 32px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary, .hero-actions .btn-secondary { width: 100%; }
  .container { padding: 0 16px; }
  .state-grid, .steps-grid, .footer-grid { grid-template-columns: 1fr; }
  .step-item { display: flex; text-align: left; gap: 16px; align-items: flex-start; }
  .step-num { flex-shrink: 0; margin-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-drawer { transition: none; }
  html { scroll-behavior: auto; }
}
