:root {
  --home-hero-measure: 47rem;
  --home-section-measure: 40em;
  --home-band-space: clamp(64px, 7vw, 112px);
  --home-card-travel: -3px;
  --home-layer-number: clamp(1.3rem, 2.4vw, 2.2rem);
}

.home-symbols {
  position: absolute;
  pointer-events: none;
}

.home-hero::before {
  background: none;
}

.home-hero .hero-title {
  max-width: var(--home-hero-measure);
}

.home-topics {
  justify-content: center;
  margin-top: 12px;
}

.home-topics a:hover {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.home-hero .art {
  overflow: clip;
}

#main > .section {
  padding-block: var(--home-band-space);
  line-height: 1.8;
}

.home-section-head {
  margin-bottom: 28px;
}

.home-section-head .number-label {
  letter-spacing: .14em;
}

.home-section-head > p {
  max-width: var(--home-section-measure);
}

.home-section-end {
  margin: 24px 0 0;
  font-weight: 600;
}

[data-home-features] > [role="tablist"] {
  grid-column: 1;
  grid-row: 1;
}

[data-home-features] > .demo-pane {
  grid-column: 2;
  grid-row: 1;
}

.home-platform-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-platform-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.home-platform-card .client-head h3 a:hover {
  text-decoration: underline;
  text-underline-offset: .2em;
}

.home-platform-icon {
  display: grid;
  place-items: center;
  inline-size: 42px;
  block-size: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-ctrl);
  background: var(--bg);
  color: var(--text);
}

.home-platform-icon svg {
  inline-size: 20px;
  block-size: 20px;
}

.home-platform-card .client-actions {
  margin-top: auto;
  padding-top: 18px;
}

.home-quickstart .timeline {
  background: var(--bg);
}

.home-ecosystem-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  align-items: start;
  gap: clamp(24px, 6vw, 88px);
}

.home-ecosystem-intro {
  position: sticky;
  top: 24px;
  min-width: 0;
  margin-bottom: 0;
}

.home-layer-map {
  margin: 28px 0 0;
  border-color: var(--border-dark);
  background: var(--surface-dark-2);
  color: var(--text-on-dark);
}

.home-layer-map div + div {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-dark);
}

.home-layer-map dt {
  font: 600 .875rem/1.5 var(--font-mono);
}

.home-layer-map dd {
  margin: 4px 0 0;
  color: var(--text-on-dark-muted);
}

.home-ecosystem-notes {
  min-width: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: ecosystem-layer;
}

.home-ecosystem-notes > li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: clamp(12px, 2vw, 24px);
  padding-block: 24px;
  counter-increment: ecosystem-layer;
}

.home-ecosystem-notes > li:first-child {
  padding-top: 0;
}

.home-ecosystem-notes > li + li {
  border-top: 1px solid var(--border-dark);
}

.home-ecosystem-notes > li::before {
  content: counter(ecosystem-layer, decimal-leading-zero);
  color: var(--text-on-dark-muted);
  font: 500 var(--home-layer-number)/1.1 var(--font-mono);
}

.home-ecosystem-notes p {
  color: var(--text-on-dark);
}

.home-reading-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 16px;
}

.home-reading-grid time {
  margin-top: auto;
  padding-top: 10px;
}

.home-reading-lead {
  grid-row: 1 / span 2;
  justify-content: flex-end;
  min-height: 320px;
  border-color: var(--accent-dark);
  background: linear-gradient(145deg, var(--accent), var(--accent-dark) 62%);
  color: var(--white);
}

.home-reading-lead h3 {
  max-width: 24ch;
  margin-top: 10px;
  font-size: var(--size-h2);
  text-wrap: pretty;
}

.home-reading-lead :is(p, time, h3 a:hover) {
  color: var(--white);
}

.home-reading-lead time {
  margin-top: 0;
}

.home-reading-lead a:focus-visible {
  outline-color: var(--white);
}

@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .home-platform-card,
  .home-reading-grid > .post-card {
    transition: transform .2s ease, box-shadow .2s ease;
  }

  .home-platform-card:hover,
  .home-reading-grid > .post-card:hover {
    transform: translateY(var(--home-card-travel));
    box-shadow: var(--shadow-float);
  }
}

@media (max-width: 900px) {
  .home-ecosystem-layout,
  .home-reading-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-ecosystem-intro {
    position: static;
  }

  .home-reading-grid {
    grid-template-rows: none;
  }

  .home-reading-lead {
    grid-row: auto;
    min-height: 240px;
  }
}

@media (max-width: 768px) {
  .home-hero .stage {
    padding-top: 137px;
  }

  .home-hero .stage .art {
    display: block;
    inset: 0 auto auto 50%;
    width: 1120px;
    height: 256px;
    transform: translateX(-50%) scale(.53);
    transform-origin: center top;
  }

  [data-home-features] > [role="tablist"] {
    flex-direction: column;
  }

  [data-home-features] > .demo-pane {
    grid-column: 1;
    grid-row: 2;
  }

  .home-reading-lead h3 {
    max-width: none;
  }
}

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

  .home-hero .platforms ul {
    column-gap: 10px;
  }

  .home-hero .platforms a {
    gap: 4px;
    min-height: 30px;
    font-size: .75rem;
  }

  .home-hero .platforms svg {
    width: 13px;
    height: 13px;
  }

  .home-ecosystem-notes > li {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
}

@media (forced-colors: active) {
  .home-reading-lead a:focus-visible {
    outline-color: var(--focus-ink);
  }
}