:root {
  --home-space: clamp(64px, 7vw, 112px);
  --home-leading: 1.8;
  --home-hero-compact: 11px;
  --home-index-size: clamp(23px, 3.4vw, 40px);
  --home-feature-top: #3B5049;
}

.home-symbols { position: absolute; pointer-events: none; }
.home-page { line-height: var(--home-leading); }
.home-page > section:not(.hero) > .section-space { padding-block: var(--home-space); }

.home-hero {
  height: auto;
  min-height: max(720px, calc(100svh - var(--nav-h) - 56px));
}
.home-hero .hero-inner {
  height: auto;
  padding-block: clamp(27px, 4vh, 52px) 46px;
}
.home-hero .badge { margin-block: 0; }
.home-hero .badge-tag .dot { margin-inline-end: 6px; }
.home-hero .cta-row { margin-top: 18px; }
.home-hero .hero-desc { margin-top: 12px; color: var(--mist-lo); }
.home-hero .platforms { margin-top: 9px; }
.home-hero .platforms a { min-height: var(--hit); color: var(--mist-lo); }
.home-hero .platforms a:hover { color: var(--text); }
.home-hero .device-wrap { margin-top: 16px; }

.home-hero-tags {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.home-hero-tags .flag { border-radius: var(--r-pill); }
.home-status { font-family: var(--font-mono); }

.home-intro {
  max-width: 40em;
  min-width: 0;
  margin-bottom: clamp(22px, 4vw, 38px);
}
.home-intro > :last-child { margin-bottom: 0; }
.home-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  letter-spacing: .14em;
}
.home-kicker .step-mark { letter-spacing: .04em; }
.home-scenes [role="tabpanel"] > :last-child { margin-bottom: 0; }

.home-platforms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.home-platforms > .client-card {
  box-shadow: var(--soft-shadow);
  transition: transform var(--quick) var(--ease), border-color var(--quick) var(--ease);
}
.home-platform-label {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 16px;
}
.home-platform-label:hover h3 { text-decoration: underline; }
.home-platform-label h3 { margin: 0; min-width: 0; }
.home-platform-icon {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: var(--r-key);
  background: linear-gradient(145deg, var(--accent), var(--accent-dark));
  color: var(--ink);
}
.home-platform-icon svg { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) and (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .home-platforms > .client-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-mid);
  }
}

.home-section-link {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 20px 0 0;
}
.home-section-link a { display: inline-flex; align-items: center; min-height: var(--hit); }

.home-steps, .home-ecosystem-notes {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: home-item;
}
.home-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 32px);
}
.home-steps > li, .home-ecosystem-notes > li { counter-increment: home-item; min-width: 0; }
.home-steps > li { padding-block: 15px 0; border-top: 1px solid var(--text-muted); }
.home-steps > li::before, .home-ecosystem-notes > li::before {
  content: counter(home-item, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  font: var(--weight-regular) var(--home-index-size)/1.1 var(--font-mono);
  letter-spacing: -.04em;
}
.home-steps > li::before { color: var(--accent); }
.home-steps p:last-child, .home-ecosystem-notes p:last-child { margin-bottom: 0; }

.home-ecosystem {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  align-items: start;
  gap: clamp(24px, 6vw, 72px);
}
.home-ecosystem-guide { position: sticky; top: 20px; }
.home-layer-map {
  margin: 24px 0 20px;
  padding: 15px;
  border: 1px solid rgb(var(--ink-rgb) / .22);
  border-radius: var(--r-note);
}
.home-layer-map ol { list-style: none; margin: 8px 0 0; padding: 0; }
.home-layer-map li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 12px;
  padding-block: 6px;
}
.home-layer-map li + li { border-top: 1px solid rgb(var(--ink-rgb) / .16); }
.home-layer-map code { color: var(--section-ink-link); }
.home-ecosystem-notes > li + li {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgb(var(--ink-rgb) / .22);
}
.home-ecosystem-notes > li::before { color: var(--section-ink-link); }

.home-reads {
  display: grid;
  align-items: stretch;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: var(--gap);
}
.home-reads > * { min-width: 0; box-shadow: var(--soft-shadow); }
.home-featured-read {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-content: start;
  background:
    radial-gradient(circle, rgb(var(--white-rgb) / .11) 1px, var(--clear) 1.5px) bottom right / 18px 18px,
    linear-gradient(150deg, var(--home-feature-top), var(--bg-panel));
  border-color: var(--accent-mid);
  color: var(--mist-hi);
}
.home-featured-read .article-meta, .home-read-guide { color: var(--mist-hi); }
.home-featured-read h3 { max-width: 23ch; font-size: var(--size-h2); }
.home-read-guide {
  padding-top: 12px;
  border-top: 1px solid rgb(var(--mist-rgb) / .35);
}
.home-featured-read .home-read-guide { margin-top: auto; }

@media (max-width: 960px) {
  .home-hero { min-height: 0; padding-bottom: 0; }
}
@media (max-width: 900px) {
  .home-steps, .home-ecosystem, .home-reads { grid-template-columns: minmax(0, 1fr); }
  .home-ecosystem-guide { position: static; margin-bottom: 0; }
  .home-featured-read { grid-column: auto; grid-row: auto; }
  .home-reads { grid-template-rows: none; }
}
@media (max-width: 640px) {
  .home-platforms { grid-template-columns: minmax(0, 1fr); }
  .home-hero .hero-inner { padding-block: 22px 32px; }
  .home-hero .hero-desc { font-size: var(--size-small); }
  .home-hero .platforms {
    flex-wrap: nowrap;
    gap: clamp(6px, 2.4vw, 14px);
  }
  .home-hero .platforms a { gap: 4px; font-size: var(--home-hero-compact); white-space: nowrap; }
  .home-hero .platforms svg { width: 11px; height: 12px; }
  .home-hero-tags { gap: 4px; }
  .home-hero-tags .flag { padding-inline: 8px; font-size: var(--home-hero-compact); }
  .home-hero .device { min-height: 185px; }
  .home-hero .device-foot { padding-top: 12px; }
  .home-status { flex-wrap: wrap; gap: 6px 10px; }
  .home-status .peek-items { display: flex; justify-content: center; gap: 4px 10px; }
  .home-status .peek-line { flex-basis: 18px; }
}
@media (forced-colors: active) {
  .home-platform-icon { border: 1px solid currentColor; }
}