:root {
  --navy: #06335d;
  --deep: #071f3b;
  --teal: #04a99d;
  --purple: #7551b5;
  --pink: #e83f75;
  --soft: #f5f9fb;
  --line: #dbe8f0;
  --muted: #52677d;
  --shadow: 0 18px 44px rgba(6, 51, 93, .11);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #10243a;
  background: linear-gradient(180deg, #f8fcfd 0%, #fff 42%);
  font-size: 18px;
}
a { color: inherit; text-decoration: none; }
.email-text {
  color: var(--navy);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.contact-route {
  color: inherit;
  text-decoration: none;
}

.contact-route:hover,
.contact-route:focus-visible {
  border-color: rgba(0, 167, 167, 0.42);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(4,169,157,.42);
  outline-offset: 3px;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--navy);
  color: white;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 900;
}
.skip-link:focus { transform: translateY(0); }
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav {
  width: min(1240px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); font-weight: 950; }
.brand img { width: 46px; height: 46px; object-fit: contain; }
.brand span span { display: block; color: var(--muted); font-size: .9rem; font-weight: 750; }
nav { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
nav a,
.nav-dropdown summary {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}
.nav-dropdown summary::-webkit-details-marker { display: none; }
nav a:hover,
.nav-dropdown summary:hover,
.nav-dropdown[open] summary { background: #e9fbf9; border-color: #b9e7e2; }
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  box-shadow: var(--shadow);
  display: grid;
  gap: 6px;
}
.dropdown-menu a { border-radius: 12px; white-space: nowrap; }
.nav-separator { width: 1px; height: 28px; background: var(--line); margin: 0 4px; }
.nav-login { color: var(--teal); }
.nav-get-started { background: var(--navy); color: white; border-color: var(--navy); }
.mobile-menu-toggle {
  display: none;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  background: white;
  color: var(--navy);
  font: inherit;
  font-weight: 900;
}
.notice {
  background: var(--deep);
  color: white;
  font-size: 1rem;
}
.notice .wrap {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.notice a { color: #b8fff7; font-weight: 900; }
main { overflow: hidden; }
section,
.page-hero {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
}
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr);
  gap: 34px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 12px;
  background: #e9fbf9;
  color: #007e78;
  font-weight: 950;
}
h1, h2, h3 { margin: 0; color: var(--navy); letter-spacing: 0; }
h1 { margin-top: 18px; font-size: clamp(3rem, 6vw, 5.8rem); line-height: .98; max-width: 900px; }
h2 { font-size: clamp(2.1rem, 4vw, 3.6rem); line-height: 1.05; }
h1 span, h2 span { color: var(--teal); }
p { color: var(--muted); line-height: 1.65; }
.lead { max-width: 820px; font-size: clamp(1.22rem, 2vw, 1.48rem); }
.section-head { text-align: center; max-width: 860px; margin: 0 auto 24px; }
.section-head p, .section-intro { font-size: 1.18rem; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 1.35rem; }
.icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  color: white;
  font-weight: 950;
}
.quote-card {
  border-left: 6px solid var(--teal);
  background: #f7fffe;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--navy);
}
.buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 13px 20px;
  background: white;
  color: var(--navy);
  font-weight: 950;
}
.btn.primary { background: linear-gradient(135deg, var(--navy), var(--teal)); color: white; border: 0; }
.btn.light { background: white; color: var(--navy); }
.safety {
  background: #fff8ec;
  border-left: 6px solid #f59e0b;
}
form { display: grid; gap: 16px; }
label { display: grid; gap: 7px; color: var(--navy); font-weight: 850; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  font: inherit;
  color: #10243a;
  background: white;
}
textarea { min-height: 150px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.consent-label { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); line-height: 1.45; }
.consent-label input { width: auto; margin-top: 5px; }
.error-summary {
  display: none;
  border: 1px solid #fecaca;
  border-radius: 14px;
  background: #fff1f2;
  color: #991b1b;
  padding: 14px;
}
.error-text { color: #b91c1c; font-size: .95rem; min-height: 1.2em; }
.status-message { font-weight: 850; color: var(--navy); }
.app-access-note { margin: 14px 0 0; color: var(--muted); font-weight: 800; }
.app-access-note a { color: var(--teal); font-weight: 950; }
.accordion-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: white; overflow: hidden; }
.faq-item button {
  width: 100%;
  border: 0;
  background: white;
  padding: 18px;
  color: var(--navy);
  font: inherit;
  font-weight: 950;
  text-align: left;
  cursor: pointer;
}
.faq-panel { display: none; padding: 0 18px 18px; }
.faq-item.open .faq-panel { display: block; }
.resource-empty { border: 1px dashed #b8c8d6; background: #f8fcfd; }
.footer { background: var(--deep); color: white; margin-top: 44px; }
.footer .wrap { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }
.footer-main {
  padding: 54px 0 34px;
  display: grid;
  grid-template-columns: 1.35fr repeat(5, minmax(130px, 1fr));
  gap: 30px;
}
.footer img { height: 66px; width: auto; margin-bottom: 12px; }
.footer p, .footer li { color: #cbd5e1; line-height: 1.65; }
.footer h3 { color: #38d6d1; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: white; font-weight: 850; }
.footer-bottom {
  border-top: 1px solid rgba(203,213,225,.28);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: #94a3b8;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.hidden-field { display: none; }
@media (max-width: 1100px) {
  .page-hero, .grid, .grid.two { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav { flex-wrap: wrap; padding: 12px 0; }
  .brand { flex: 1 1 auto; min-width: 0; }
  .brand span span { display: none; }
  .mobile-menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  nav {
    display: none;
    flex: 1 0 100%;
    width: 100%;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: white;
    box-shadow: var(--shadow);
  }
  nav.open { display: grid; grid-template-columns: 1fr; gap: 8px; }
  nav a, .nav-dropdown summary { border-color: var(--line); border-radius: 12px; padding: 12px; text-align: left; background: #f8fcfd; }
  .nav-dropdown { position: static; }
  .dropdown-menu { position: static; min-width: 0; margin-top: 8px; box-shadow: none; border-radius: 12px; }
  .dropdown-menu a { white-space: normal; }
  .nav-separator { display: none; }
  section, .page-hero { padding: 34px 0; }
  h1 { font-size: clamp(2.65rem, 11vw, 4.4rem); }
  .buttons .btn { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; padding-top: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
