:root {
  --ink: #14202b;
  --muted: #5b6773;
  --line: #d8dee6;
  --paper: #f4f1ea;
  --white: #ffffff;
  --navy: #10233a;
  --navy-2: #18324f;
  --accent: #1f6f5b;
  --accent-dark: #165544;
  --max: 1080px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent);
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}

.brand:hover {
  color: var(--white);
}

.mark {
  width: 36px;
  height: 36px;
}

.brand-name {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  position: relative;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
  content: "";
  position: absolute;
}

.nav-toggle-label span::before {
  top: -7px;
}

.nav-toggle-label span::after {
  top: 7px;
}

.site-nav ul {
  display: flex;
  list-style: none;
  gap: 8px 22px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
}

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, #214563 100%);
  color: var(--white);
  padding: 72px 0 80px;
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #b7d7cc;
  margin-bottom: 16px;
}

.hero h1,
.page-hero h1 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  max-width: 16ch;
  margin-bottom: 18px;
}

.hero p {
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
  margin-bottom: 28px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.section {
  padding: 64px 0;
}

.section h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.lead {
  color: var(--muted);
  max-width: 62ch;
  margin-bottom: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}

.card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 0.98rem;
}

.page-hero {
  padding: 48px 0 12px;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 10px;
}

.prose {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  margin: 24px 0 64px;
}

.prose h2 {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.25rem;
  margin: 28px 0 10px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--ink);
  margin-bottom: 12px;
}

.prose ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.contact-box {
  display: grid;
  gap: 10px;
}

.contact-box a {
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 28px 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 800px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .nav-toggle-label {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: var(--navy-2);
    padding: 12px 20px 20px;
  }

  .site-nav ul {
    flex-direction: column;
  }

  .nav-toggle:checked ~ .site-nav {
    display: block;
  }

  .hero,
  .section,
  .page-hero {
    padding-left: 0;
    padding-right: 0;
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 56px;
  }
}
.partners-section {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
  min-height: 100px;
  transition: all 0.2s ease;
  line-height: 1.3;
  cursor: default;
}

.partner-logo:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  color: var(--accent-dark);
}
