:root {
  color-scheme: light;
  --navy: #124b75;
  --blue: #0078ad;
  --ink: #17252a;
  --body: #405f6a;
  --pale: #f3f8fa;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #ffcf57; outline-offset: 5px; box-shadow: 0 0 0 7px #17252a; }
.skip-link {
  position: absolute;
  z-index: 10;
  top: 12px;
  left: 16px;
  padding: 12px 20px;
  background: #fff;
  color: var(--navy);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.site-header { position: fixed; inset: 0 0 auto; z-index: 2; background: transparent; color: #fff; }
.header-inner {
  max-width: 1200px;
  margin: auto;
  min-height: 92px;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { font-size: 1.4rem; font-weight: 650; text-decoration: none; line-height: 1.3; }
.brand span { font-weight: 400; }
nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 2px;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
}
nav a[aria-current="page"] { border-color: #a6dcf4; color: #cbeeff; }
nav a:hover { border-color: #fff; }
.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 632px;
  padding: 164px 24px 72px;
  color: #fff;
  text-align: center;
  background: #16364b;
}
.hero-image { position: absolute; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(5 24 40 / 62%); }
.hero-content { width: 100%; max-width: 940px; margin: auto; }
h1 { margin: 0; font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1.16; font-weight: 650; letter-spacing: -.025em; }
h1 span { display: inline-block; }
.hero-content > p { margin: 24px 0 30px; font-size: 1.2rem; line-height: 1.6; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  min-width: 128px;
  padding: 8px 18px;
  border: 2px solid transparent;
  border-radius: 28px;
  text-decoration: none;
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .07em;
}
.button-primary { background: var(--blue); border-color: var(--blue); }
.button-primary:hover { background: #005d87; border-color: #005d87; }
.button-outline { border-color: #fff; background: rgb(5 24 40 / 25%); }
.button-outline:hover { background: #fff; color: var(--navy); }
.about { background: var(--pale); padding: 80px 32px; }
.about-inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; max-width: 1120px; margin: auto; }
.about-copy {
  background: #fff;
  padding: 56px 76px 56px 48px;
  border-radius: 6px;
  box-shadow: 0 6px 24px rgb(23 37 42 / 8%);
}
.eyebrow { color: var(--navy); font-size: .95rem; font-weight: 400; margin: 0 0 16px; }
h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.22; letter-spacing: -.02em; font-weight: 300; margin: 0 0 24px; }
.about-copy > p:last-child { font-weight: 350; color: var(--body); margin: 0; max-width: 52ch; line-height: 1.8; }
.about-image { width: calc(100% + 32px); max-width: none; margin-left: -32px; border-radius: 6px; box-shadow: 0 14px 28px -10px rgb(23 37 42 / 18%); }
.reviews { min-width: 0; padding: 80px 32px; background: #fff; }
.reviews-inner { min-width: 0; max-width: 1120px; margin: auto; }
.reviews-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.reviews-heading .eyebrow { margin-bottom: 12px; }
.reviews-heading h2 { margin-bottom: 8px; }
.reviews-rating { margin: 0; color: var(--body); font-weight: 600; }
.reviews-rating > span:first-child, .review-stars > span:first-child { color: #f2b01e; letter-spacing: .1em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.reviews-controls { display: flex; gap: 10px; }
.review-control { display: inline-grid; width: 44px; height: 44px; place-items: center; border: 1px solid #b9cbd3; border-radius: 50%; background: #fff; color: var(--navy); font: inherit; font-size: 1.25rem; cursor: pointer; }
.review-control:hover { border-color: var(--blue); color: var(--blue); }
.review-control:focus-visible, .review-carousel:focus-visible, details summary:focus-visible { outline: 3px solid #ffcf57; outline-offset: 4px; }
.review-carousel-viewport { min-width: 0; overflow: hidden; contain: paint; }
.review-carousel { display: grid; width: 100%; min-width: 0; max-width: 100%; grid-auto-columns: calc((100% - 48px) / 3); grid-auto-flow: column; align-items: start; gap: 24px; overflow-x: auto; padding: 4px 2px 18px; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-color: #9fc8db #edf5f8; scrollbar-width: thin; }
.review-card { display: flex; flex-direction: column; min-height: 300px; padding: 28px; border: 1px solid #dce8ed; border-radius: 8px; background: #fff; box-shadow: 0 7px 20px rgb(23 37 42 / 7%); scroll-snap-align: start; }
.review-stars { margin: 0 0 16px; line-height: 1; }
.review-card blockquote { margin: 0; color: var(--body); font-weight: 350; }
.review-card blockquote p { margin: 0; }
.review-card details { margin-top: 12px; }
.review-card summary { color: var(--navy); font-size: .92rem; font-weight: 650; cursor: pointer; }
.review-card details p + p { margin-top: 12px; }
.reviewer-name { margin: auto 0 2px; padding-top: 24px; color: var(--navy); font-weight: 650; }
.review-source { margin: 0; color: var(--body); font-size: .85rem; }
.reviews-link { margin-top: 20px; }
.reviews-link a { color: var(--navy); font-weight: 650; text-underline-offset: 3px; }
.reviews-link a:hover { color: var(--blue); }
.reviews-link p { margin: 4px 0 0; color: var(--body); font-size: .875rem; }
.site-footer { padding: 28px 24px; color: var(--body); font-size: .875rem; text-align: center; }
.site-footer p { margin: 0; }
@media (max-width: 850px) {
  .header-inner { padding-inline: 24px; gap: 16px; }
  .brand { font-size: 1.2rem; }
  nav ul { gap: 20px; }
  .hero { min-height: 572px; }
  .about { padding: 56px 24px; }
  .about-copy { padding: 32px 40px 32px 28px; }
  .about-image { width: calc(100% + 16px); margin-left: -16px; }
  .reviews { padding: 60px 24px; }
  .review-carousel { grid-auto-columns: calc((100% - 24px) / 2); }
}
@media (max-width: 600px) {
  .header-inner { flex-direction: column; gap: 8px; padding: 18px 20px 10px; }
  .brand { font-size: 1.2rem; text-align: center; }
  nav ul { gap: 28px; }
  .hero { min-height: 575px; padding: 161px 20px 56px; }
  .hero-image { object-position: 62% top; }
  h1 { font-size: clamp(2rem, 8.8vw, 2.5rem); }
  .hero-content > p { font-size: 1.05rem; margin-block: 22px 28px; }
  .hero-actions { gap: 12px; }
  .button { min-width: 128px; padding-inline: 18px; }
  .about { padding: 36px 20px 44px; }
  .about-inner { grid-template-columns: minmax(0, 1fr); }
  .about-copy { padding: 32px 24px 48px; }
  .about-image { width: calc(100% - 24px); margin: -20px auto 0; }
  .reviews { padding: 48px 20px; }
  .reviews-heading { align-items: start; margin-bottom: 24px; }
  .review-carousel { grid-auto-columns: 100%; gap: 16px; }
  .review-card { min-height: 0; padding: 24px; }
}

/* The fixed header changes appearance without moving page content. */
.site-header { transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease; }
.site-header.is-scrolled {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 12px rgb(23 37 42 / 10%);
}
.site-header.is-scrolled .header-inner { min-height: 64px; padding-block: 10px; }
.site-header.is-scrolled .brand { color: #0078ad; }
.site-header.is-scrolled .brand span { color: #405f6a; }
.site-header.is-scrolled nav a[aria-current="page"] { color: var(--navy); border-color: var(--blue); }
.site-header.is-scrolled nav a:hover { border-color: var(--navy); }
html { scroll-padding-top: 110px; }
.skip-link { position: fixed; }
@media (max-width: 600px) {
  .site-header.is-scrolled .header-inner { min-height: 0; padding-block: 6px; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
}
