:root {
  --bg-base: #05040a;
  --bg-gradient: radial-gradient(circle at 12% 18%, rgba(124, 58, 237, 0.36) 0%, rgba(124, 58, 237, 0) 42%),
    radial-gradient(circle at 86% 12%, rgba(236, 72, 153, 0.16) 0%, rgba(236, 72, 153, 0) 28%),
    radial-gradient(circle at 52% 92%, rgba(6, 182, 212, 0.15) 0%, rgba(6, 182, 212, 0) 32%),
    linear-gradient(135deg, #17122d 0%, #0b0a16 55%, #05040a 100%);
  --panel: rgba(18, 16, 34, 0.88);
  --panel-soft: rgba(14, 16, 30, 0.84);
  --panel-elevated: rgba(26, 20, 48, 0.94);
  --border: rgba(76, 59, 121, 0.58);
  --border-bright: rgba(139, 92, 246, 0.48);
  --text: #f5f0ff;
  --muted: #cbd5e1;
  --muted-soft: #b9b0d3;
  --chip: #d8cafe;
  --accent: #93c5fd;
  --accent-link: #c4b5fd;
  --accent-gradient: linear-gradient(90deg, #7c3aed 0%, #ec4899 100%);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-base);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text);
}

a {
  color: inherit;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #ffffff;
  color: #111827;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.page-shell {
  padding: 1.5rem;
}

.site-header,
.shell,
.site-footer {
  width: min(100%, 72rem);
  margin: 0 auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1rem 0 2rem;
}

.site-title {
  margin: 0.45rem 0 0;
  color: var(--muted-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.site-nav a {
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.84rem;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--border-bright);
  background: rgba(124, 58, 237, 0.16);
  color: var(--text);
}

.shell {
  display: grid;
  gap: 1.5rem;
  padding-bottom: 4rem;
}

.panel {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: 2rem;
  background: radial-gradient(circle at top left, rgba(22, 33, 63, 0.95) 0%, rgba(11, 18, 32, 0.92) 42%, rgba(5, 8, 22, 0.96) 100%);
  box-shadow: var(--shadow);
}

.panel-soft {
  background: var(--panel-soft);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(16rem, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.hero-copy {
  max-width: 42rem;
}

.eyebrow,
.section-label,
.card-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
ol,
ul {
  margin-top: 0;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 5vw, 4.3rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.6rem, 2vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 0.9rem;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

p,
li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

strong {
  color: var(--text);
}

.summary {
  max-width: 46rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-stats {
  display: grid;
  gap: 0.9rem;
}

.stat-card {
  display: grid;
  gap: 0.2rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--panel-elevated);
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  color: var(--muted-soft);
  font-size: 0.86rem;
  line-height: 1.5;
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 1.5rem;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.path-list {
  margin: 0;
  padding-left: 1.4rem;
}

.path-list li + li {
  margin-top: 0.85rem;
}

.content-section {
  display: grid;
  gap: 1.5rem;
}

.article-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.article-card {
  height: 100%;
}

.card-link {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  height: 100%;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.75rem;
  background: rgba(15, 23, 42, 0.9);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.card-link:hover,
.card-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(17, 24, 39, 0.96);
}

.card-kicker {
  color: var(--accent);
}

.card-link p {
  margin-bottom: 0;
}

.card-cta {
  margin-top: auto;
  color: var(--accent-link);
  font-size: 0.9rem;
  font-weight: 600;
}

.site-footer {
  padding: 0 0 2rem;
}

.site-footer p {
  margin: 0;
  color: var(--muted-soft);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .hero,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 1rem;
  }

  .panel {
    padding: 1.35rem;
    border-radius: 1.5rem;
  }

  .site-nav {
    gap: 0.55rem;
  }

  .site-nav a {
    width: 100%;
    text-align: center;
  }

  h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }
}