:root {
  color-scheme: light;
  --navy: #0b2545;
  --navy-deep: #06182d;
  --blue: #176b87;
  --teal: #0f7584;
  --surface: #ffffff;
  --soft: #edf4f7;
  --text: #14202b;
  --muted: #52616f;
  --error: #9c1c1c;
  --warning: #7a4b00;
  --border: #b8c7d1;
  --focus: #00a1a7;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
}

body {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--soft);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: var(--blue);
}

:where(a, button, input, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.65rem 0.9rem;
  transform: translateY(-160%);
  border-radius: 0.25rem;
  background: var(--focus);
  color: var(--navy-deep);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  min-height: 4rem;
  padding: 0.6rem clamp(1rem, 4vw, 3rem);
  background: var(--navy);
  color: white;
}

.site-brand {
  color: white;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 0.35rem;
}

.site-nav a {
  padding: 0.5rem 0.65rem;
  border-radius: 0.25rem;
  color: #eaf8fb;
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: #dff7f7;
  color: var(--navy-deep);
}

.page-main {
  width: min(64rem, calc(100% - 2rem));
  margin: 0 auto;
  padding-block: clamp(1.5rem, 5vw, 3rem);
}

.page-panel {
  padding: clamp(1.25rem, 4vw, 3rem);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
  box-shadow: 0 0.75rem 2rem rgb(11 37 69 / 10%);
}

.page-layout {
  display: grid;
  gap: 1.5rem;
}

.page-header {
  display: grid;
  gap: 0.5rem;
}

.page-header > .eyebrow,
.page-header > h1,
.page-header > .page-introduction {
  margin-block: 0;
}

.page-header .page-introduction {
  margin-top: 0.25rem;
}

.page-content {
  display: grid;
  gap: var(--page-content-gap, 1.5rem);
  min-width: 0;
  grid-template-columns: minmax(0, 1fr);
}

.page-content > * {
  min-width: 0;
}

h1,
h2 {
  color: var(--navy);
  line-height: 1.15;
}

h1 {
  margin-top: 0;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-introduction {
  max-width: 46rem;
  font-size: 1.15rem;
}

.availability-note {
  max-width: 46rem;
  margin: 0;
  padding: 1rem;
  border-left: 0.3rem solid var(--teal);
  background: var(--soft);
}

.result-access {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-left: 0.3rem solid var(--teal);
  border-radius: 0.35rem;
  background: var(--soft);
}

.result-access :where(h2, p, dl) {
  margin-block: 0;
}

.result-access dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1rem;
}

.result-access dl div {
  display: grid;
  gap: 0.1rem;
}

.result-access dt {
  font-weight: 750;
}

.result-access dd {
  margin: 0;
}

.result-access button {
  width: fit-content;
  min-height: 2.75rem;
  padding: 0.6rem 1rem;
  border: 0;
  border-radius: 0.3rem;
  background: var(--navy);
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 750;
}

.site-footer {
  padding: 0.65rem clamp(1rem, 4vw, 3rem);
  background: var(--navy-deep);
  color: #dce9f0;
  font-size: 0.82rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.landing-main {
  min-height: 0;
  background: var(--soft);
}

.landing-hero {
  display: grid;
  align-items: center;
  min-height: clamp(34rem, 72svh, 46rem);
  padding: clamp(2.5rem, 7vh, 5rem) clamp(1rem, 6vw, 5rem);
  background-color: var(--navy);
  background-image:
    linear-gradient(90deg, rgb(5 20 38 / 96%) 0%, rgb(6 24 45 / 88%) 43%, rgb(6 24 45 / 38%) 100%),
    url("images/landing-hero.cb31b1e8bb6e.jpg");
  background-position: center, 68% center;
  background-size: cover;
}

.hero-content {
  width: min(52rem, 72%);
  color: white;
}

.hero-content h1 {
  max-width: 45rem;
  margin-bottom: 0.75rem;
  color: white;
  font-size: clamp(2rem, 4.5vw, 4rem);
  letter-spacing: -0.025em;
}

.hero-content .eyebrow {
  color: #7fe1df;
}

.hero-lead {
  max-width: 42rem;
  margin-block: 0 0.5rem;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
}

.hero-caveat,
.retention-note {
  max-width: 42rem;
  margin-block: 0.35rem;
  color: #d8e8ef;
  font-size: 0.95rem;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: clamp(1rem, 3vh, 2rem);
}

.action-card {
  display: grid;
  gap: 0.25rem;
  min-height: 7rem;
  padding: 0.9rem;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 0.4rem;
  background: rgb(6 24 45 / 82%);
  color: white;
  text-decoration: none;
}

.action-card:hover {
  border-color: white;
  background: rgb(13 50 80 / 96%);
}

.action-card-primary {
  border-color: #7fe1df;
  background: #dff7f7;
  color: var(--navy-deep);
}

.action-card-primary:hover {
  background: white;
  color: var(--navy-deep);
}

.action-card strong {
  font-size: 1.05rem;
}

.action-card span {
  font-size: 0.85rem;
  line-height: 1.35;
}

.landing-content {
  display: grid;
  gap: clamp(3rem, 7vw, 5rem);
  width: min(72rem, calc(100% - 2rem));
  margin: 0 auto;
  padding-block: clamp(3rem, 7vw, 5rem);
}

.landing-section,
.landing-section-header,
.landing-card,
.landing-detail-panel {
  display: grid;
}

.landing-section {
  gap: 1.5rem;
}

.landing-section-header {
  gap: 0.5rem;
  max-width: 48rem;
}

.landing-section-header > * {
  margin-block: 0;
}

.landing-section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.landing-section-header > p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

.landing-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1rem;
}

.landing-steps {
  padding: 0;
  margin: 0;
  list-style: none;
}

.landing-card {
  align-content: start;
  gap: 0.65rem;
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
  box-shadow: 0 0.5rem 1.5rem rgb(11 37 69 / 8%);
}

.landing-card :where(h3, p),
.landing-detail-panel :where(h3, p) {
  margin-block: 0;
}

.landing-card h3,
.landing-detail-panel h3 {
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.25;
}

.landing-step-number {
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.landing-section-emphasis {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid #c7dfe5;
  border-radius: 1rem;
  background: #e3f0f3;
}

.landing-status-card {
  border-top-width: 0.3rem;
}

.status-guaranteed {
  border-top-color: var(--teal);
}

.status-possible {
  border-top-color: #b17400;
}

.status-diagnostic {
  border-top-color: var(--muted);
}

.landing-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.landing-detail-panel {
  align-content: start;
  gap: 0.85rem;
  padding: clamp(1.4rem, 4vw, 2rem);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: var(--surface);
}

.landing-limit-panel {
  border-color: var(--navy);
  background: var(--navy);
  color: #edf7fa;
}

.landing-limit-panel h3 {
  color: white;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 52rem) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero-content {
    width: min(100%, 42rem);
  }

  .landing-hero {
    background-image:
      linear-gradient(90deg, rgb(5 20 38 / 96%) 0%, rgb(6 24 45 / 84%) 100%),
      url("images/landing-hero.cb31b1e8bb6e.jpg");
    background-position: center, 66% center;
  }

  .landing-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 40rem) {
  .site-header {
    padding-block: 0.75rem;
  }

  .site-nav {
    margin-inline: -0.4rem;
  }

  .site-nav a {
    padding: 0.45rem 0.4rem;
  }

  .action-grid {
    grid-template-columns: 1fr;
  }

  .action-card {
    min-height: 0;
  }

  .landing-content {
    width: 100%;
    padding: 2.5rem 1rem;
  }

  .page-main {
    width: 100%;
    padding: 0;
  }

  .page-panel {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
