:root {
  --bg: #f6f7fb;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #1c2430;
  --muted: #5f6b7a;
  --line: rgba(28, 36, 48, 0.1);
  --brand: #2957d3;
  --brand-2: #6b8cff;
  --accent: #e9efff;
  --shadow: 0 18px 40px rgba(41, 87, 211, 0.12);
  --radius: 22px;
  --radius-sm: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(107, 140, 255, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(41, 87, 211, 0.12), transparent 28%),
    var(--bg);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(246, 247, 251, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand strong,
.hero h1,
.section h2,
.page-hero h1,
.feature-card h3,
.news-card h3,
.org-hero h1 {
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  font-weight: 600;
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--brand);
  background: rgba(41, 87, 211, 0.08);
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--surface-strong);
  border-radius: 14px;
  padding: 0.85rem;
  box-shadow: var(--shadow);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
}

.nav-toggle span + span {
  margin-top: 4px;
}

.hero,
.page-hero {
  padding: 5rem 0 3rem;
}

.hero-grid,
.org-hero {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}

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

.hero h1,
.page-hero h1,
.org-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.98;
  margin: 0 0 1.2rem;
}

.hero-copy,
.page-hero p,
.org-hero p,
.section-head p,
.feature-card p,
.news-card p,
.content-card p,
.content-card li {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
}

.button-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  box-shadow: var(--shadow);
}

.button-secondary {
  background: var(--surface-strong);
  border: 1px solid var(--line);
}

.hero-card,
.feature-card,
.news-card,
.content-card,
.info-strip {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.hero-card {
  padding: 2rem;
  align-self: end;
}

.hero-card-label {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand);
  font-weight: 700;
}

.section {
  padding: 2.5rem 0 4rem;
}

.section-muted {
  background: rgba(255, 255, 255, 0.42);
  border-top: 1px solid rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.section-head {
  max-width: 720px;
  margin-bottom: 2rem;
}

.cards-grid,
.news-grid,
.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.feature-card,
.news-card,
.content-card {
  padding: 1.5rem;
}

.feature-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.tag {
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--brand);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.news-card time,
.info-strip span {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.92rem;
}

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

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.page-hero {
  padding-bottom: 1rem;
}

.info-strip {
  margin-top: 1.4rem;
  padding: 1.2rem 1.4rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.content-card h2,
.content-card h3 {
  margin-top: 0;
}

.content-card ul {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .hero-grid,
  .org-hero,
  .cards-grid,
  .news-grid,
  .content-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid > :first-child,
  .org-hero > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.9rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .cards-grid,
  .news-grid,
  .content-grid,
  .hero-grid,
  .org-hero {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero {
    padding-top: 3rem;
  }
}
