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

:root {
  --navy: #071942;
  --ink: #0b1f4d;
  --blue: #1d4ed8;
  --sky: #eff6ff;
  --line: #dbeafe;
  --white: #ffffff;
  --muted: #64748b;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --green: #16a34a;
  --shadow: 0 18px 50px rgba(7, 25, 66, 0.16);
  --radius: 14px;
  --max: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f4f8ff;
  color: var(--ink);
  font-family: "Nunito", Arial, sans-serif;
  line-height: 1.55;
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.topbar {
  background: var(--blue);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  padding: 8px 18px;
  text-align: center;
}

.topbar a {
  color: #fbbf24;
  text-decoration: none;
}

header {
  background: rgba(7, 25, 66, 0.98);
  box-shadow: 0 10px 28px rgba(7, 25, 66, 0.24);
  position: sticky;
  top: 0;
  z-index: 50;
}

nav {
  align-items: center;
  display: flex;
  height: 66px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--max);
  padding: 0 24px;
}

.logo {
  align-items: center;
  color: var(--white);
  display: inline-flex;
  gap: 11px;
  text-decoration: none;
}

.logo-mark {
  align-items: center;
  background: linear-gradient(135deg, #3b82f6, #0ea5e9);
  border-radius: 9px;
  color: var(--white);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.logo-mark svg {
  height: 23px;
  width: 23px;
}

.logo-text {
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.logo-text span {
  color: var(--amber);
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-top: 4px;
  text-transform: uppercase;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 3px;
  list-style: none;
}

.nav-links a {
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.84);
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 12px;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.nav-links .nav-call {
  background: var(--amber);
  color: var(--navy);
  font-weight: 900;
}

.menu-btn {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--white);
  cursor: pointer;
  display: none;
  height: 42px;
  justify-content: center;
  position: relative;
  width: 42px;
}

.menu-btn span,
.menu-btn::before,
.menu-btn::after {
  background: currentColor;
  border-radius: 99px;
  content: "";
  display: block;
  height: 2px;
  position: absolute;
  transition: transform 180ms ease, opacity 180ms ease;
  width: 24px;
}

.menu-btn::before {
  transform: translateY(-7px);
}

.menu-btn::after {
  transform: translateY(7px);
}

body.menu-open .menu-btn span {
  opacity: 0;
}

body.menu-open .menu-btn::before {
  transform: rotate(45deg);
}

body.menu-open .menu-btn::after {
  transform: rotate(-45deg);
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(7, 25, 66, 0.91), rgba(7, 25, 66, 0.68)),
    url("https://images.unsplash.com/photo-1436491865332-7a61a109cc05?auto=format&fit=crop&w=1800&q=85") center / cover;
  color: var(--white);
  padding: 78px 24px 72px;
}

.page-hero-inner,
.inner {
  margin: 0 auto;
  max-width: var(--max);
}

.page-hero-copy {
  max-width: 760px;
}

.eyebrow {
  background: rgba(22, 163, 74, 0.18);
  border: 1px solid rgba(134, 239, 172, 0.34);
  border-radius: 999px;
  color: #86efac;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  padding: 6px 13px;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(38px, 7vw, 68px);
  line-height: 1;
  margin-bottom: 18px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
  max-width: 670px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  align-items: center;
  border-radius: 12px;
  display: inline-flex;
  font-size: 16px;
  font-weight: 900;
  gap: 10px;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 160ms ease;
}

.btn svg {
  height: 19px;
  width: 19px;
}

.btn-primary {
  background: var(--amber);
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.34);
  color: var(--navy);
}

.btn-primary:hover {
  background: var(--amber-dark);
  transform: translateY(-1px);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.38);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.82);
}

.page-section {
  padding: 72px 24px;
}

.page-section.alt {
  background: var(--sky);
}

.section-label {
  background: rgba(29, 78, 216, 0.1);
  border-radius: 999px;
  color: var(--blue);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  padding: 6px 12px;
  text-transform: uppercase;
}

.section-title {
  color: var(--ink);
  font-size: clamp(29px, 4vw, 44px);
  line-height: 1.08;
  margin-bottom: 14px;
  max-width: 780px;
}

.section-subtitle {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 700px;
}

.split {
  align-items: start;
  display: grid;
  gap: 36px;
  grid-template-columns: 1.05fr 0.95fr;
}

.cards {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.card,
.panel,
.legal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 26px rgba(29, 78, 216, 0.06);
}

.card {
  padding: 24px;
}

.card h3,
.panel h3,
.legal-card h2 {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 9px;
}

.card p,
.panel p,
.legal-card p,
.legal-card li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.panel {
  padding: 28px;
}

.panel ul,
.legal-card ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin-top: 14px;
}

.panel li,
.legal-card li {
  display: flex;
  gap: 10px;
}

.panel li::before,
.legal-card li::before {
  color: var(--green);
  content: "+";
  flex: 0 0 auto;
  font-weight: 900;
}

.contact-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr 1fr;
  margin-top: 34px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

.contact-card strong {
  color: var(--ink);
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
}

.contact-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.phone-large {
  color: var(--blue);
  display: inline-flex;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  margin: 12px 0 16px;
  text-decoration: none;
}

.legal-layout {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 320px;
}

.legal-stack {
  display: grid;
  gap: 18px;
}

.legal-card {
  padding: 28px;
}

.legal-card h2 {
  font-family: "Nunito", Arial, sans-serif;
}

.side-note {
  align-self: start;
  background: var(--navy);
  border-radius: var(--radius);
  color: var(--white);
  padding: 26px;
  position: sticky;
  top: 124px;
}

.side-note h2 {
  color: var(--white);
  font-family: "Nunito", Arial, sans-serif;
  font-size: 18px;
  margin-bottom: 8px;
}

.side-note p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.65;
}

.cta-strip {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: var(--white);
  padding: 62px 24px;
  text-align: center;
}

.cta-strip h2 {
  color: var(--white);
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.08;
  margin-bottom: 12px;
}

.cta-strip p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 17px;
  margin: 0 auto 26px;
  max-width: 660px;
}

.cta-strip .btn-row {
  justify-content: center;
  margin-top: 0;
}

.disclaimer {
  background: #061536;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  line-height: 1.6;
  padding: 16px 24px;
  text-align: center;
}

.modal-overlay {
  align-items: center;
  background: rgba(7, 17, 45, 0.74);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 16px;
  position: fixed;
  z-index: 100;
}

.modal-overlay.visible {
  display: flex;
}

.modal {
  animation: pop-in 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 24px 82px rgba(7, 25, 66, 0.38);
  max-width: 500px;
  padding: 32px 28px 25px;
  position: relative;
  text-align: center;
  width: 100%;
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.close-modal {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  font-size: 20px;
  font-weight: 900;
  height: 32px;
  justify-content: center;
  position: absolute;
  right: 14px;
  top: 12px;
  width: 32px;
}

.modal .icon {
  background: rgba(245, 158, 11, 0.14);
  color: var(--amber-dark);
  margin-bottom: 14px;
}

.modal h2 {
  color: var(--ink);
  font-family: "Nunito", Arial, sans-serif;
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 8px;
}

.modal p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.modal-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 18px;
}

.modal-pills span {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  padding: 6px 12px;
}

.modal .btn {
  width: 100%;
}

footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.68);
}

.footer-inner {
  display: grid;
  gap: 38px;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  margin: 0 auto;
  max-width: var(--max);
  padding: 46px 24px 0;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 14px;
  max-width: 300px;
}

.footer-col h3 {
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 9px;
  list-style: none;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--amber);
}

.footer-bottom,
.footer-disclaimer {
  margin: 0 auto;
  max-width: var(--max);
  padding-left: 24px;
  padding-right: 24px;
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 14px;
  justify-content: space-between;
  margin-top: 38px;
  padding-bottom: 22px;
  padding-top: 22px;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

.footer-disclaimer {
  color: rgba(255, 255, 255, 0.34);
  font-size: 12px;
  line-height: 1.65;
  padding-bottom: 30px;
}

@media (max-width: 960px) {
  .menu-btn {
    display: inline-flex;
  }

  .nav-links {
    background: rgba(7, 25, 66, 0.99);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
    flex-direction: column;
    gap: 6px;
    left: 0;
    padding: 18px 24px 24px;
    position: absolute;
    right: 0;
    top: 100%;
  }

  body.menu-open .nav-links {
    display: flex;
  }

  .nav-links li,
  .nav-links a {
    width: 100%;
  }

  .nav-links a {
    justify-content: center;
  }

  .cards,
  .contact-grid,
  .split,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .side-note {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .topbar {
    font-size: 12px;
  }

  nav {
    padding: 0 18px;
  }

  .page-hero {
    padding: 60px 20px;
  }

  .page-section {
    padding: 58px 20px;
  }

  .btn {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
