:root {
  color-scheme: light;
  --navy: #071d3a;
  --navy-soft: #12345d;
  --teal: #087f7b;
  --teal-dark: #056561;
  --gold: #c99738;
  --green: #2f6b4f;
  --ink: #162235;
  --muted: #5d6878;
  --line: #dbe3ec;
  --surface: #ffffff;
  --surface-soft: #f6f8fb;
  --surface-warm: #fbf7ef;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  letter-spacing: 0;
}

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

a {
  color: var(--teal-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--navy-soft);
  font-weight: 650;
  font-size: 0.94rem;
  padding: 8px 10px;
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--surface-soft);
  text-decoration: none;
}

.button-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 8px;
  font-weight: 750;
  border: 1px solid transparent;
  text-decoration: none;
}

.button:hover {
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--teal);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
}

.button.secondary:hover {
  border-color: var(--teal);
}

.hero {
  min-height: 620px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(7, 29, 58, 0.88), rgba(7, 29, 58, 0.58) 42%, rgba(7, 29, 58, 0.08) 72%);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 74px 22px 86px;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 12px;
  font-weight: 750;
  color: var(--gold);
}

.hero h1,
.page-hero h1 {
  margin: 0;
  line-height: 1.05;
  font-size: clamp(2.55rem, 7vw, 5.15rem);
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
  font-size: clamp(1.8rem, 4vw, 3.35rem);
  margin-top: 10px;
}

.hero p {
  margin: 22px 0 0;
  max-width: 620px;
  font-size: 1.16rem;
  color: rgba(255, 255, 255, 0.92);
}

.hero .button-row {
  margin-top: 30px;
}

.hero .button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.34);
}

.trust-strip {
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
}

.trust-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.trust-item {
  padding: 12px 0;
  border-top: 2px solid var(--teal);
}

.trust-item strong {
  display: block;
  color: var(--navy);
}

.trust-item span {
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  padding: 72px 22px;
}

.section.alt {
  background: var(--surface-soft);
}

.section.warm {
  background: var(--surface-warm);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--teal-dark);
  font-weight: 800;
}

h2 {
  margin: 0;
  color: var(--navy);
  line-height: 1.15;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
}

h3 {
  margin: 0 0 10px;
  color: var(--navy);
  line-height: 1.2;
  font-size: 1.2rem;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 760px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.resource-card,
.info-card,
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

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

.resource-card a {
  display: inline-block;
  margin-top: 14px;
  font-weight: 750;
}

.contact-page .page-hero-inner {
  padding-top: 48px;
  padding-bottom: 44px;
}

.contact-page .page-hero p:not(.section-kicker) {
  margin: 18px 0 0;
}

.contact-section {
  padding-top: 40px;
}

.contact-channel-grid {
  gap: 18px;
}

.contact-channel-grid .info-card {
  min-height: 142px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-channel-grid .info-card h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
  line-height: 1.15;
}

.contact-channel-grid .info-card p {
  margin-top: 8px;
}

.contact-reference-title {
  margin-top: 36px;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
}

.contact-reference-list {
  margin-top: 18px;
}

.fact-list {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.fact-list dt,
.fact-list dd {
  margin: 0;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}

.fact-list dt {
  font-weight: 760;
  color: var(--navy);
  background: var(--surface-soft);
}

.fact-list dd {
  color: var(--ink);
}

.fact-list dt:last-of-type,
.fact-list dd:last-of-type {
  border-bottom: 0;
}

.notice {
  border-left: 4px solid var(--gold);
  padding: 16px 18px;
  background: #fff8e8;
  color: #4d3a15;
  border-radius: 0 8px 8px 0;
}

.page-hero {
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 62px 22px 66px;
}

.page-hero p {
  max-width: 820px;
  font-size: 1.12rem;
  color: var(--muted);
}

.content {
  max-width: 860px;
}

.content h2 {
  margin-top: 42px;
  font-size: 1.7rem;
}

.content p,
.content li {
  color: var(--muted);
}

.content ul,
.content ol {
  padding-left: 22px;
}

.inline-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.inline-links a {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-weight: 700;
}

.site-footer {
  background: var(--navy);
  color: #dce6f2;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 46px 22px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-summary {
  max-width: 620px;
  margin-bottom: 30px;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
}

.site-footer p,
.site-footer li {
  color: #b9c8d9;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.site-footer a {
  color: #dce6f2;
}

.copyright {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #b9c8d9;
  font-size: 0.95rem;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: 590px;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(7, 29, 58, 0.92), rgba(7, 29, 58, 0.72) 54%, rgba(7, 29, 58, 0.34));
  }

  .trust-grid,
  .grid.two,
  .grid.three,
  .grid.four,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .fact-list {
    grid-template-columns: 1fr;
  }

  .fact-list dt {
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .nav {
    padding-top: 12px;
    padding-bottom: 10px;
  }

  .brand {
    font-size: 1.12rem;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 6px 8px;
    font-size: 0.88rem;
  }

  .hero-inner,
  .page-hero-inner,
  .section,
  .footer-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-inner {
    padding-top: 40px;
    padding-bottom: 46px;
  }

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

  .hero h1 span {
    font-size: 1.62rem;
    margin-top: 8px;
  }

  .hero p {
    font-size: 1rem;
  }

  .button {
    width: 100%;
  }
}
