:root {
  --home-band-space:clamp(64px,7.5vw,112px);
  --home-reading-line:1.8;
  --home-lift:-3px;
  --home-note-size:clamp(30px,4vw,52px);
  --home-dot:var(--hi-line);
  --home-lead-top:var(--color-primary);
  --home-lead-bottom:var(--inverse);
}

.sort-home .hero-inner { column-gap:clamp(18px,2.25vw,36px); }
.sort-home .hero-visual { grid-column:1; grid-row:1; }
.sort-home .hero-copy { grid-column:2; grid-row:1; }
.sort-home .hero-title { line-height:1.08; }
.home-topics { margin-top:16px; gap:6px; }
.sort-home .platforms { margin-top:18px; padding-top:17px; gap:8px; }
.sort-home .plat { gap:6px; padding-inline:9px; }
.sort-home .plat svg { width:14px; height:14px; }

.home-band { padding-block:var(--home-band-space); line-height:var(--home-reading-line); }
.home-heading { margin-bottom:clamp(22px,4vw,42px); }
.home-heading > :last-child { max-width:40em; margin-bottom:0; }
.home-index {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:12px;
  font-family:var(--font-mono);
  font-size:var(--tiny-size);
  letter-spacing:.14em;
}
.home-index .step-mark { letter-spacing:0; }
.home-more { margin:26px 0 0; }
.home-more a { font-weight:600; }

.home-platform-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }
.home-platform-name { display:flex; flex-wrap:wrap; align-items:center; gap:10px; text-decoration:none; }
.home-icon {
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:var(--r-shot);
  background:linear-gradient(155deg,var(--accent),var(--accent-dark));
  color:var(--bg);
  box-shadow:0 5px 12px -6px var(--accent-glow);
}
.home-icon svg { width:20px; height:20px; }
.home-platform-grid .plat-card { gap:14px; }

.home-ecosystem {
  display:grid;
  grid-template-columns:minmax(0,.85fr) minmax(0,1.55fr);
  gap:clamp(28px,6vw,84px);
  align-items:start;
}
.home-ecosystem-side { position:sticky; top:24px; }
.home-ecosystem-side .home-heading { margin-bottom:24px; }
.home-layer-map { margin:0 0 14px; }
.home-layer-map > div {
  display:flex;
  align-items:baseline;
  gap:12px;
  padding:10px 0;
  border-top:1px solid var(--hi-line);
}
.home-layer-map dt {
  flex:none;
  padding:3px 10px;
  border:1px solid var(--hi-line);
  border-radius:var(--r-pill);
  color:var(--inverse-text);
  font-size:var(--tiny-size);
}
.home-layer-map dd { margin:0; color:var(--inverse-link); font-family:var(--font-mono); font-size:var(--muted-size); }
.home-ecosystem-notes { counter-reset:home-ecosystem-note; }
.home-ecosystem-note {
  counter-increment:home-ecosystem-note;
  display:grid;
  grid-template-columns:minmax(0,2.2em) minmax(0,1fr);
  column-gap:clamp(14px,3vw,30px);
}
.home-ecosystem-note + .home-ecosystem-note {
  margin-top:24px;
  padding-top:24px;
  border-top:1px solid var(--hi-line);
}
.home-ecosystem-note::before {
  content:counter(home-ecosystem-note,decimal-leading-zero);
  grid-column:1;
  grid-row:1 / span 3;
  font-family:var(--font-mono);
  font-size:var(--home-note-size);
  line-height:1;
  letter-spacing:-.07em;
  color:var(--inverse-link);
}
.home-ecosystem-note h3 { grid-column:2; margin:0 0 12px; }
.home-ecosystem-note p { grid-column:2; color:var(--inverse-muted); }
.home-ecosystem-note p:last-child { margin-bottom:0; }

.home-post-grid {
  display:grid;
  grid-template-columns:minmax(0,1.18fr) minmax(0,1fr);
  gap:var(--gap);
}
.home-post-grid .post-card { border-color:var(--border); }
.home-post-grid .home-post-lead {
  grid-row:span 2;
  align-content:start;
  background:
    radial-gradient(circle,var(--home-dot) 1px,var(--clear) 1.5px) right top / 24px 24px,
    linear-gradient(145deg,var(--home-lead-top),var(--home-lead-bottom) 85%);
  color:var(--inverse-text);
  box-shadow:var(--card-shadow),0 20px 34px -24px var(--accent-glow);
}
.home-post-lead h3 { max-width:27ch; font-size:clamp(var(--h3-size),2.65vw,34px); }
.home-post-lead .meta { color:var(--inverse-text); }
.home-post-lead .tag { background:var(--inverse-text); color:var(--inverse); }
.home-post-lead a:focus-visible { outline-color:var(--inverse-link); }
.home-post-lead .home-post-detail {
  margin-top:8px;
  padding-top:14px;
  border-top:1px solid var(--hi-line);
}

@media (min-width:1025px) and (hover:hover) and (prefers-reduced-motion:no-preference) {
  .home-platform-grid .plat-card,.home-post-grid .post-card { transition:transform var(--speed) ease; }
  .home-platform-grid .plat-card:hover,.home-post-grid .post-card:hover { transform:translateY(var(--home-lift)); }
}
@media (max-width:1120px) {
  .home-platform-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:960px) {
  .sort-home .hero-copy { grid-column:1; grid-row:1; max-width:none; }
  .sort-home .hero-visual { grid-row:2; width:min(100%,620px); margin-inline:auto; }
}
@media (max-width:900px) {
  .home-ecosystem,.home-post-grid { grid-template-columns:minmax(0,1fr); }
  .home-ecosystem-side { position:static; }
  .home-post-grid .home-post-lead { grid-row:auto; }
}
@media (max-width:640px) {
  .sort-home .hero-inner { padding-top:20px; }
  .sort-home .hero-title { margin-block:15px 18px; }
  .sort-home .hero-desc { margin-top:16px; }
  .home-topics { margin-top:10px; }
  .sort-home .platforms { justify-content:flex-start; gap:6px; margin-top:12px; padding-top:12px; }
  .sort-home .plat { min-height:44px; }
  .home-platform-grid { grid-template-columns:minmax(0,1fr); }
  .home-ecosystem-note { grid-template-columns:minmax(0,1fr); row-gap:6px; }
  .home-ecosystem-note::before,.home-ecosystem-note h3,.home-ecosystem-note p { grid-column:1; grid-row:auto; }
}