:root {
  --bg: #0a0c12;
  --bg-soft: #11151d;
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.05);
  --text: #eef2f7;
  --muted: rgba(220, 227, 239, 0.72);
  --muted-2: rgba(220, 227, 239, 0.56);
  --accent: #a5b4fc;
  --accent-2: #7dd3fc;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.08), transparent 24%),
    linear-gradient(180deg, #0d1017 0%, #090b10 100%);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black, transparent 82%);
}

.page-shell {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 24px 96px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 56px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
}

nav {
  display: flex;
  gap: 24px;
}

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

nav a:hover {
  color: var(--text);
}

.editorial-hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  align-items: end;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line);
}

.eyebrow,
.section-tag,
.card-index {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--muted-2);
}

h1 {
  margin: 16px 0 18px;
  font-size: clamp(3.3rem, 8vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  max-width: 9ch;
}

h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: 13ch;
}

h3 {
  margin: 14px 0 10px;
  font-size: 1.25rem;
  line-height: 1.18;
}

.lede,
.hero-note p,
.editorial-card p,
.editorial-lead p,
.perspective-layout p,
.path-list p {
  color: var(--muted);
  line-height: 1.78;
}

.hero-copy {
  max-width: 720px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #07111a;
}

.button.secondary {
  color: var(--muted);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.hero-note {
  padding: 24px 0 6px;
}

.editorial-lead,
.perspective-section,
.path-section {
  padding-top: 56px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-top: 28px;
}

.editorial-card {
  padding: 26px 0 22px;
  border-top: 1px solid var(--line);
}

.editorial-card p + p {
  margin-top: 14px;
}

.editorial-card.feature-primary,
.editorial-card.wide {
  grid-column: span 2;
}

.editorial-heading {
  margin-bottom: 22px;
}

.perspective-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.perspective-layout article,
.path-list article {
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.capability-band {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.capability-band span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(236, 242, 249, 0.82);
  font-size: 0.94rem;
}

.path-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 32px;
}

@media (max-width: 980px) {
  .editorial-hero,
  .perspective-layout,
  .editorial-grid,
  .path-list {
    grid-template-columns: 1fr;
  }

  .editorial-card.feature-primary,
  .editorial-card.wide {
    grid-column: span 1;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 680px) {
  .page-shell {
    padding: 20px 16px 72px;
  }

  h1,
  h2 {
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
