:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-soft: #f2f4f7;
  --ink: #1d2a38;
  --ink-soft: #4b5a68;
  --primary: #002366;
  --secondary: #2f4f4f;
  --silver: #c3c9d3;
  --line: #d6dbe4;
  --content: 1100px;
  --label-col: 172px;
  --label-gap: 2.75rem;
  --text-col: 680px;
  --body-start: calc(var(--label-col) + var(--label-gap));
  --divider-start: calc(var(--body-start) + 1rem + 2px);
  --divider-width: calc(var(--text-col) + 0.55rem);
  --divider-block-space: 2rem;
  --rule-color: rgba(170, 181, 197, 0.97);
  --mobile-gutter: 1.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  background: var(--surface);
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(
      1200px 420px at 12% -8%,
      rgba(0, 35, 102, 0.055),
      transparent 62%
    ),
    linear-gradient(180deg, #f9fafc 0%, var(--bg) 36%, #f5f7fa 100%);
  color: var(--ink);
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}
// 
/* ─── Accessibility ───────────────────────────────────────── */

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}

/* ─── Base ────────────────────────────────────────────────── */

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

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

/* ─── Header & Nav ────────────────────────────────────────── */

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  position: relative;
}

.nav-shell {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-mark {
  height: clamp(40px, 4.1vw, 48px);
  display: inline-flex;
  align-items: center;
}

.brand-mark img {
  width: auto;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  flex-wrap: wrap;
}

.nav-links a {
  font-size: clamp(0.62rem, 1.5vw, 0.76rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  padding-bottom: 0.24rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary);
  border-bottom-color: var(--silver);
}

.nav-links a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ─── Hero ────────────────────────────────────────────────── */

.hero {
  background-color: var(--primary);
  color: #ffffff;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero::before {
  display: none;
}

.hero .container {
  padding-block: 5.5rem;
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.4rem, 4.23vw, 2.88rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero p {
  margin: 1.2rem 0 0;
  max-width: 65ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.918rem;
  font-weight: 400;
}

/* Home hero variant */
.home-hero {
  min-height: 0;
  display: flex;
  align-items: center;
}


.home-hero-content {
  width: min(1480px, 92vw);
  margin: 0 auto;
  text-align: center;
}

.home-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 3.7vw, 3.2rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
  text-align: center;
}

/* Home page layout */
body.page-home {
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
}

body.page-home main {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

body.page-home .home-hero {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.page-home .site-footer {
  margin-top: 0;
}

/* ─── Page intro ──────────────────────────────────────────── */

.page-intro {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f7f9fc 0%, var(--surface-soft) 100%);
}

.page-intro .container {
  padding-top: 2.7rem;
  padding-bottom: 2.25rem;
}

.page-intro h1 {
  margin: 0;
  font-size: clamp(2.25rem, 4.2vw, 3rem);
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.01em;
  line-height: 1.12;
}

.page-intro h1 + p,
.page-intro p {
  margin-top: 1rem;
  margin-bottom: 0;
}

.page-intro h1 + p {
  margin-top: 1.25rem;
}

/* ─── Content sections ────────────────────────────────────── */

.section-grid {
  display: grid;
  grid-template-columns: var(--label-col) minmax(0, var(--text-col));
  gap: 1.1rem var(--label-gap);
  justify-content: start;
  align-items: start;
}

.section-label {
  margin: 0;
  font-size: 0.84rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #46586d;
  padding-top: 4px;
}

/* ─── Content shell ───────────────────────────────────────── */

.content-shell {
  padding-top: 2.25rem;
  padding-bottom: 2rem;
}

.content-divider {
  margin-left: var(--divider-start);
  width: min(var(--divider-width), calc(100% - var(--divider-start)));
}

.content-section {
  padding-block: var(--divider-block-space);
}

.content-block {
  border-left: 2px solid rgba(0, 35, 102, 0.62);
  padding-left: 1.15rem;
  max-width: var(--text-col);
  color: #475569;
  font-size: 1rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.content-block p {
  margin: 0;
}

.content-block p + p,
.content-block ul + p {
  margin-top: 0.75rem;
}

.content-block ul {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  padding-left: 1.4rem;
}

.content-block ul li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
  font-weight: 400;
}

.content-block ul li::marker {
  color: currentColor;
  font-size: 0.85em;
}

.content-subhead {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.65rem;
  letter-spacing: 0.01em;
}

.participants-priority .content-block {
  border-left-width: 4px;
  border-left-color: rgba(0, 35, 102, 1);
}

/* ─── Links ───────────────────────────────────────────────── */

.content-link {
  color: #3e4b59;
  text-underline-offset: 4px;
  text-decoration: none;
  text-decoration-thickness: 1px;
  text-decoration-color: #a3adb8;
}

.content-link:hover,
.content-link:focus-visible {
  color: #2f3a46;
  text-decoration: underline;
  text-decoration-color: #7f8a96;
}

.content-email-node {
  color: #2f3a46;
  font-size: 1.08rem;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: #a3adb8;
}

.content-email-node:hover,
.content-email-node:focus-visible {
  color: #26313e;
  text-decoration: underline;
  text-decoration-color: #7f8a96;
}

/* ─── Rule ────────────────────────────────────────────────── */

.rule {
  border: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--rule-color) 0%,
    var(--rule-color) 88%,
    rgba(195, 201, 211, 0) 100%
  );
  margin: 0;
}

/* ─── Footer ──────────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid var(--silver);
  background: var(--surface);
  margin-top: 1.5rem;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.4rem;
  font-size: 0.8rem;
  color: #64748b;
}

.site-footer p {
  margin: 0;
  max-width: 68ch;
}

.footer-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.footer-meta a {
  color: var(--secondary);
  border-bottom: 1px solid transparent;
}

.footer-meta a:hover,
.footer-meta a:focus-visible {
  border-bottom-color: var(--silver);
}

/* ─── Responsive ──────────────────────────────────────────── */

@media (max-width: 900px) {
  .section-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .content-divider {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .container,
  .site-header .container {
    width: min(var(--content), calc(100% - (var(--mobile-gutter) * 2)));
  }

  .nav-links {
    gap: 0.75rem;
  }

  .nav-links a {
    font-size: 0.62rem;
  }

  .site-footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
  }

  .footer-meta a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}
