:root {
  --bg: #f4f6f8;
  --bg-2: #edf3f9;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --ink: #0f172a;
  --muted: #475569;
  --line: #dbe6f1;
  --brand: #0b6e99;
  --brand-strong: #084e70;
  --accent: #f59e0b;
  --mint: #c7f2e3;
  --shadow-xl: 0 26px 55px rgba(10, 34, 56, 0.13);
  --shadow-md: 0 14px 28px rgba(13, 31, 56, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 8% 10%, #d4efff 0, transparent 30%),
    radial-gradient(circle at 88% 18%, #ffeccf 0, transparent 27%),
    linear-gradient(160deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--ink);
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  line-height: 1.62;
  min-height: 100vh;
}

.ambient {
  background-image: radial-gradient(#0f172a1a 0.5px, transparent 0.5px);
  background-size: 4px 4px;
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

main,
header,
footer {
  position: relative;
  z-index: 1;
}

.container {
  margin: 0 auto;
  max-width: 1160px;
  padding: 0 1.25rem;
}

.site-header {
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--surface) 82%, #ffffff 18%);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
}

.nav-links a {
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  text-decoration: none;
  transition: all 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: #e8f2fa;
  color: var(--brand-strong);
}

.hero {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1.25fr 0.95fr;
  padding: 5rem 1.25rem 2.2rem;
}

.eyebrow {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "IBM Plex Serif", Georgia, serif;
  line-height: 1.18;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  letter-spacing: -0.01em;
  max-width: 14ch;
}

.lead {
  color: #233346;
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
  margin-top: 1rem;
  max-width: 54ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.btn {
  border-radius: 999px;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  text-decoration: none;
  transition: transform 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand);
  color: #f8fdff;
}

.btn-primary:hover {
  background: var(--brand-strong);
}

.btn-secondary {
  background: #e9f1f9;
  color: var(--brand-strong);
}

.spotlight {
  background:
    linear-gradient(140deg, #ffffffd9 0%, #f8fcffe8 100%),
    linear-gradient(40deg, var(--mint) 0%, #ffffff 100%);
  border: 1px solid #cfe2f3;
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
  padding: 1.2rem;
}

.spotlight h2 {
  font-size: 1.45rem;
  margin-bottom: 0.55rem;
}

.spotlight p {
  color: #2d3e51;
}

.stat-row {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(3, minmax(70px, 1fr));
  margin-top: 1rem;
}

.stat {
  background: #ffffff;
  border: 1px solid #d8e5f2;
  border-radius: 14px;
  padding: 0.7rem;
  text-align: center;
}

.stat b {
  color: var(--brand-strong);
  display: block;
  font-size: 1.2rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.82rem;
}

.bento,
.grid-two,
.resources,
.cards {
  display: grid;
  gap: 1rem;
}

.bento {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  margin-bottom: 1rem;
}

.bento-card {
  background: linear-gradient(155deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 1.2rem;
}

.bento-card h2 {
  margin-bottom: 0.45rem;
}

.bento-card p {
  color: #31445a;
}

.bento-large {
  grid-column: span 7;
}

.bento-medium {
  grid-column: span 5;
}

.bento-small {
  grid-column: span 4;
}

.link-arrow {
  color: var(--brand-strong);
  font-weight: 700;
  text-decoration: none;
}

.link-arrow:hover {
  text-decoration: underline;
}

.panel,
.card,
.resource-item,
.timeline li,
.note {
  background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
}

.panel {
  margin-bottom: 2rem;
  padding: 1.2rem;
}

.panel h2 {
  margin-bottom: 0.55rem;
}

.page-header {
  padding: 4.2rem 1.25rem 1.8rem;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 0.65rem;
}

.page-header p {
  color: var(--muted);
  max-width: 65ch;
}

.grid-two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-bottom: 2rem;
}

.clean-list {
  list-style: none;
}

.clean-list li + li {
  margin-top: 0.55rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin-top: 0.75rem;
}

.pill-list li {
  background: #e8f3fb;
  border: 1px solid #cfe1f0;
  border-radius: 999px;
  color: #1f3c57;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.34rem 0.74rem;
}

.timeline {
  display: grid;
  gap: 0.8rem;
  list-style: none;
  margin-bottom: 2rem;
}

.timeline li {
  padding: 1rem;
}

.timeline strong {
  color: var(--brand-strong);
}

.resources {
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  margin-bottom: 2rem;
}

.resource-item {
  padding: 1rem;
}

.resource-item p,
.panel p,
.card p,
.note p {
  color: #2f4256;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: #4f6277;
  font-size: 0.92rem;
  padding: 1.3rem 0 2rem;
}

.footer-meta {
  color: #37506a;
  font-weight: 600;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  justify-content: space-between;
}

.fade-in {
  animation: fade-up 700ms ease both;
}

.delay-1 {
  animation-delay: 80ms;
}

.delay-2 {
  animation-delay: 160ms;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .bento-large,
  .bento-medium,
  .bento-small {
    grid-column: span 12;
  }
}

@media (max-width: 860px) {
  .nav-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.7rem 0;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 4rem;
  }

  .btn {
    width: 100%;
  }

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

  .footer-row {
    flex-direction: column;
  }
}
