:root {
  --ink: #182033;
  --muted: #5d6677;
  --navy: #263148;
  --navy-dark: #1a2235;
  --blue: #5d78aa;
  --blue-light: #dce5f4;
  --paper: #ffffff;
  --wash: #f4f6f9;
  --line: #d9dee7;
  --focus: #2468c7;
  --max-width: 1160px;
  --shadow: 0 18px 50px rgba(24, 32, 51, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: #2f5f9e;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover {
  color: #1f467b;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy-dark);
  line-height: 1.16;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.3rem;
  font-size: clamp(2.65rem, 6vw, 5.25rem);
  font-weight: 690;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 650;
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.28rem;
  font-weight: 650;
}

.container {
  width: min(calc(100% - 2.5rem), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 1000;
  top: -100px;
  left: 1rem;
  padding: 0.7rem 1rem;
  color: white;
  background: var(--navy-dark);
  border-radius: 0.25rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(38, 49, 72, 0.14);
  background: rgba(255, 255, 255, 0.96);
}

.header-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
}

.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand strong {
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.brand small {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.76rem;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem 1.4rem;
}

.site-header nav a {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 590;
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--blue);
}

.hero {
  overflow: hidden;
  padding: clamp(5rem, 11vw, 9rem) 0;
  background:
    radial-gradient(circle at 82% 24%, rgba(93, 120, 170, 0.17), transparent 28rem),
    linear-gradient(180deg, #fbfcfe 0%, #f3f6fa 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.55fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}

.eyebrow,
.section-label {
  margin-bottom: 1rem;
  color: var(--blue);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead {
  max-width: 720px;
  margin-bottom: 2rem;
  color: #465064;
  font-size: clamp(1.15rem, 2vw, 1.38rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem 1.6rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  color: white;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 0.2rem;
  font-size: 0.93rem;
  font-weight: 680;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease;
}

.button:hover {
  color: white;
  background: #34415d;
  transform: translateY(-1px);
}

.text-link {
  font-weight: 650;
}

.hero-mark {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-mark::before {
  position: absolute;
  inset: 12% -8% -8% 12%;
  content: "";
  background: rgba(93, 120, 170, 0.13);
  border-radius: 50%;
  filter: blur(2px);
}

.hero-mark img {
  position: relative;
  width: min(100%, 350px);
  filter: drop-shadow(0 26px 34px rgba(38, 49, 72, 0.18));
}

.section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.section-muted {
  background: var(--wash);
  border-block: 1px solid var(--line);
}

.section-accent {
  color: white;
  background: var(--navy-dark);
}

.section-accent h2,
.section-accent .section-label {
  color: white;
}

.section-accent .prose {
  color: #dbe1eb;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 7vw, 7rem);
}

.prose {
  color: #4d5667;
  font-size: 1.06rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 4rem;
}

.fact-card {
  min-height: 145px;
  padding: 1.35rem;
  background: white;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
}

.fact-card span {
  display: block;
  margin-bottom: 1.7rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fact-card strong {
  display: block;
  color: var(--navy-dark);
  font-size: 1.04rem;
  line-height: 1.35;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 3.25rem;
}

.section-heading.narrow {
  max-width: 620px;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 1.06rem;
}

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

.research-card {
  position: relative;
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 2rem;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(38, 49, 72, 0.02);
}

.research-card:last-child {
  grid-column: 1 / -1;
}

.research-card p {
  max-width: 620px;
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.research-documents {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.2rem;
}

.document-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 0.7rem;
  padding: 0.58rem 0.72rem;
  color: var(--navy);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 0.2rem;
  font-size: 0.84rem;
  font-weight: 680;
  line-height: 1.25;
  text-decoration: none;
  transition: border-color 150ms ease, background 150ms ease, transform 150ms ease;
}

.document-link:hover {
  color: var(--navy-dark);
  background: var(--blue-light);
  border-color: #bbc8dc;
  transform: translateY(-1px);
}

.document-link small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.card-number {
  display: block;
  margin-bottom: 2.7rem;
  color: var(--blue);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
}

.milestones {
  border-top: 1px solid var(--line);
}

.milestone {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  padding: 2.3rem 0;
  border-bottom: 1px solid var(--line);
}

.award-milestone {
  grid-template-columns: 170px minmax(0, 1fr) 126px;
}

.milestone-date {
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 700;
}

.milestone p {
  max-width: 680px;
  color: var(--muted);
}

.award-milestone img {
  width: 112px;
  justify-self: end;
}

.external-link {
  font-size: 0.92rem;
  font-weight: 650;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(2rem, 7vw, 7rem);
  padding: clamp(2rem, 5vw, 4.25rem);
  background: var(--wash);
  border: 1px solid var(--line);
}

.contact-panel > div > p:last-child {
  color: var(--muted);
}

.contact-details {
  margin: 0;
  background: white;
  border: 1px solid var(--line);
}

.contact-details div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  border-bottom: 1px solid var(--line);
}

.contact-details div:last-child {
  border-bottom: 0;
}

.contact-details dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 690;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 2.7rem 0;
  color: #cbd2de;
  background: #121827;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 2rem;
}

.site-footer strong {
  color: white;
}

.site-footer p {
  margin: 0.35rem 0 0;
  font-size: 0.86rem;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.site-footer a {
  color: #dce5f4;
  font-size: 0.86rem;
}

.copyright {
  white-space: nowrap;
}

.legal-main {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--wash);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.legal-header {
  position: sticky;
  top: 2rem;
}

.legal-header h1 {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
}

.legal-header > p:last-child {
  color: var(--muted);
  font-size: 0.88rem;
}

.legal-content {
  padding: clamp(1.6rem, 4vw, 3.4rem);
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.legal-content section {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.legal-content section:last-of-type {
  margin-bottom: 0;
}

.legal-content h2 {
  font-size: 1.55rem;
}

.legal-content p,
.legal-content dd {
  color: #4d5667;
}

.legal-details {
  margin: 0;
}

.legal-details div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}

.legal-details dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.legal-details dd {
  margin: 0;
}

.legal-caution {
  margin-top: 2.5rem;
  padding: 1.2rem 1.35rem;
  background: #f4f6f9;
  border-left: 4px solid var(--blue);
}

.legal-caution p {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
}

.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 2rem;
  background: var(--wash);
}

.error-panel {
  width: min(100%, 560px);
  padding: 3rem;
  text-align: center;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.error-panel img {
  margin: 0 auto 1.5rem;
  border-radius: 50%;
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 0;
    padding-block: 1rem;
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero-grid,
  .two-column,
  .contact-panel,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    max-width: 280px;
  }

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

  .legal-header {
    position: static;
  }

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

  .copyright {
    grid-column: 1 / -1;
  }
}

@media (max-width: 650px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 1.5rem), var(--max-width));
  }

  .brand small {
    display: none;
  }

  .site-header nav {
    gap: 0.4rem 1rem;
  }

  .site-header nav a {
    font-size: 0.84rem;
  }

  .hero {
    padding-block: 4rem;
  }

  .hero-grid {
    gap: 2.5rem;
  }

  .hero-mark {
    order: -1;
    width: 150px;
    justify-self: start;
  }

  .facts-grid,
  .research-grid {
    grid-template-columns: 1fr;
  }

  .research-card:last-child {
    grid-column: auto;
  }

  .milestone,
  .award-milestone {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .award-milestone img {
    justify-self: start;
  }

  .contact-details div,
  .legal-details div {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .copyright {
    grid-column: auto;
  }

  .legal-content,
  .error-panel {
    padding: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
