:root {
  color-scheme: dark;
  --navy-950: #031f2e;
  --navy-900: #052f43;
  --navy-800: #0b455d;
  --teal-400: #58d5cc;
  --teal-200: #a8f0e8;
  --gold-400: #dda94f;
  --cream: #fffaf0;
  --muted: #c8d8df;
  --line: rgba(168, 240, 232, 0.22);
  --surface: rgba(8, 56, 75, 0.82);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--navy-950);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  background:
    radial-gradient(circle at 18% 12%, rgba(88, 213, 204, 0.18), transparent 30rem),
    radial-gradient(circle at 90% 8%, rgba(221, 169, 79, 0.14), transparent 28rem),
    linear-gradient(145deg, var(--navy-950), var(--navy-900) 56%, #06384b);
  line-height: 1.65;
}

a {
  color: var(--teal-200);
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: white;
}

.shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(3, 31, 46, 0.9);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: white;
  font-weight: 760;
  text-decoration: none;
}

.mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--gold-400), var(--teal-400));
  color: var(--navy-950);
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(88, 213, 204, 0.2);
}

.brand-subtitle {
  display: block;
  color: var(--gold-400);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.94rem;
  font-weight: 650;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.hero {
  padding: 7rem 0 5rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold-400);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  max-width: 820px;
  margin: 0 auto;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  font-weight: 500;
}

.lede {
  max-width: 720px;
  margin: 1.25rem auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.badge {
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--teal-200);
  font-size: 0.9rem;
  font-weight: 650;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-bottom: 5rem;
}

.card,
.document {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card {
  padding: 1.5rem;
}

.card h2 {
  margin: 0 0 0.6rem;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.document {
  max-width: 840px;
  margin: 4rem auto;
  padding: clamp(1.4rem, 4vw, 3.4rem);
}

.document h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.7rem);
}

.document h2 {
  margin-top: 2.2rem;
  color: var(--teal-200);
  font-size: 1.25rem;
}

.document p,
.document li {
  color: var(--muted);
}

.document strong {
  color: white;
}

.meta {
  margin: 0.9rem 0 2.2rem;
  color: var(--gold-400);
  font-size: 0.95rem;
}

.callout {
  margin: 1.6rem 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--gold-400);
  border-radius: 0 14px 14px 0;
  background: rgba(221, 169, 79, 0.1);
}

.button {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: var(--teal-400);
  color: var(--navy-950);
  font-weight: 760;
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0 2.2rem;
}

.footer-row p {
  margin: 0;
}

@media (max-width: 760px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.9rem 0;
  }

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

  .hero {
    padding-top: 4.5rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .card,
  .button {
    transition: transform 180ms ease, border-color 180ms ease;
  }

  .card:hover,
  .button:hover {
    transform: translateY(-2px);
  }
}
