:root {
  --bg: #f4f8ff;
  --surface: #ffffff;
  --surface-soft: #eef5ff;
  --text: #132238;
  --muted: #50627d;
  --line: #d7e1f0;
  --blue: #1663db;
  --blue-dark: #0e3f92;
  --purple: #8858ff;
  --shadow: 0 18px 48px rgba(17, 44, 86, 0.12);
  --radius: 22px;
  --max-width: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(22, 99, 219, 0.08), transparent 26rem),
    radial-gradient(circle at top right, rgba(136, 88, 255, 0.08), transparent 22rem),
    var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(244, 248, 255, 0.82);
  border-bottom: 1px solid rgba(215, 225, 240, 0.8);
}

.header-inner,
.mission-grid,
.footer-inner {
  display: grid;
  gap: 2rem;
}

.header-inner {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.brand-mark {
  width: 100px;
  height: 100px;
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  background: transparent;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

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

.brand-text span {
  color: var(--muted);
  font-size: 0.96rem;
}

.site-nav {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  outline: none;
  box-shadow: 0 0 0 3px rgba(22, 99, 219, 0.14);
}

.content-page {
  padding: 3.6rem 0 4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.page-intro,
.document-card,
.team-card {
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(215, 225, 240, 0.9);
  box-shadow: var(--shadow);
}

.page-intro {
  padding: 2rem;
  border-radius: 28px;
}

.document-card {
  padding: 2rem;
  border-radius: 28px;
}

.eyebrow,
.document-kicker {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--blue);
}

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

h1,
.document-card h2,
.team-card h3 {
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.02;
  margin-bottom: 1rem;
}

.page-intro p,
.proclamation-body p,
.signature-title,
.mission-card p,
.team-card p,
.download-link a,
code {
  color: var(--muted);
}

.document-subtitle,
.proclamation-highlight,
.signature-name {
  font-weight: 700;
}

.document-subtitle {
  text-align: center;
  font-size: 1.1rem;
}

.proclamation-body {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.therefore {
  font-weight: 700;
  color: var(--text);
}

.proclamation-highlight {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--blue-dark);
  text-transform: uppercase;
}

.signature-block {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.signature-name {
  margin-bottom: 0.1rem;
  font-size: 1.25rem;
}

.mission-grid,
.team-grid {
  display: grid;
  gap: 1.1rem;
}

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

.mission-card h2 {
  font-size: 1.8rem;
  line-height: 1.1;
}

.section-heading {
  margin-bottom: 1rem;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 0.8rem;
}

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

.team-card {
  padding: 1.4rem;
  border-radius: var(--radius);
}

.team-card h3 {
  margin-bottom: 0.25rem;
  font-size: 1.35rem;
}

.team-role {
  margin: 0 0 0.8rem;
  color: var(--blue-dark);
  font-weight: 700;
}

.download-link {
  margin: 0;
}

.download-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 16px 34px rgba(22, 99, 219, 0.28);
}

code {
  padding: 0.15rem 0.35rem;
  border-radius: 0.35rem;
  background: rgba(19, 34, 56, 0.08);
  font-family: Consolas, "Courier New", monospace;
}

.site-footer {
  padding: 0 0 3rem;
}

.footer-inner {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(215, 225, 240, 0.85);
}

.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
}

@media (max-width: 980px) {
  .mission-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header-inner,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .site-nav {
    gap: 0.55rem;
  }

  .content-page {
    padding-top: 2.6rem;
  }

  .brand-mark {
    width: 82px;
    height: 82px;
  }
}
