:root {
  --bg: #f5f5f7;
  --bg-alt: #ffffff;
  --text: #111827;
  --muted: #4b5563;
  --border-subtle: #e5e7eb;
  --accent: #1f6feb;
  --accent-soft: #e0ebff;
  --accent-2: #46b68f;
  --shadow-soft: 0 14px 30px rgba(15, 23, 42, 0.08);
  --radius-lg: 16px;
  --radius-full: 999px;
  --font-sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Fraunces", "Georgia", serif;
}

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

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at top left, #ffffff, #f4f4f8);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

/* Layout */

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--bg);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.3fr);
  gap: 2.5rem;
}

@media (max-width: 800px) {
  .section-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 245, 247, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

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

.logo-mark {
  background: radial-gradient(circle at 20% 20%, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 600;
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text);
}

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

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--muted);
  position: relative;
}

.site-nav a[aria-current="page"]::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.3rem;
}

.nav-toggle-line {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

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

@media (max-width: 720px) {
  .site-nav {
    position: absolute;
    inset: 56px 0 auto;
    background: #ffffff;
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.75rem 1.5rem 1rem;
    display: none;
  }

  .site-nav a {
    display: block;
    padding: 0.4rem 0;
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

/* Hero */

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

.hero-content {
  max-width: 920px;
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  margin: 0 0 1.5rem;
  letter-spacing: -0.04em;
  line-height: 1.1;
  font-weight: 600;
}

.hero-lead {
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 800px) {
  .hero {
    padding: 3rem 0 4rem;
  }
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--text);
  color: white;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-subtle);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--text);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: gap 0.2s ease;
  gap: 0.25rem;
}

.btn-link:hover {
  gap: 0.5rem;
}

/* Section Layouts */

.section-intro {
  padding: 5rem 0 3rem;
  text-align: center;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.75rem);
  margin: 0 0 1.25rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
  font-weight: 600;
}

.section-description {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}

.themes-section {
  padding: 3rem 0 5rem;
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.theme-card {
  padding: 2rem;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.theme-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(31, 111, 235, 0.2);
}

.theme-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.theme-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
}

/* Page header */

.page-header {
  padding: 3.5rem 0 2rem;
  text-align: center;
}

.narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-header h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* About Section */

.about-section {
  padding: 5rem 0;
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.about-image {
  display: flex;
  justify-content: center;
}

.stat-card {
  background: var(--bg-alt);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.stat-label {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.stat-description {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* CTA Section */

.cta-section {
  padding: 5rem 0;
  text-align: center;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Cards, lists, etc. */

.card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.prose p {
  color: var(--muted);
  line-height: 1.7;
}

.prose ul {
  padding-left: 1.1rem;
}

.bullet-grid {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 0.4rem;
  margin-top: 1rem;
}

.bullet-grid li::before {
  content: "•";
  margin-right: 0.35rem;
  color: var(--accent-2);
}

.resource-list {
  padding-left: 1rem;
}

.resource-list li {
  margin-bottom: 0.4rem;
}

/* Pipeline */

.pipeline-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.09);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.pipeline-svg-wrap {
  margin: 0.8rem -0.3rem 0.6rem;
}

.pipeline-steps {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  background: #ffffff;
  padding: 2rem 0 2.4rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  font-size: 0.9rem;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.footer-brand {
  font-family: var(--font-serif);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.footer-heading {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.footer-copy {
  color: var(--muted);
}

.footer-links {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.25rem;
}

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

.footer-links a:hover {
  color: var(--accent);
}

