:root {
  --home-statement-size: clamp(24px, 3.6vw, 44px);
  --home-brick-size: clamp(16px, 5.6vw, 26px);
  --home-download-tile: color-mix(in srgb, var(--stage) 93%, var(--on-stage));
  --home-os-icon-size: 19px;
  --home-platform-size-compact: 11px;
}

.home-symbols { position: absolute; pointer-events: none; }
.stage .brick__cursor { animation: none; }
.stage .brick:hover { transform: none; text-decoration: underline; }
.hero__platforms a { color: var(--on-stage); }
.hero__platforms a:hover { text-decoration: underline; }
.podium .brick--port { color: var(--stage); }

.home-features { padding-block-end: var(--section-space); }
.home-features .statement { padding-inline: 0; }
.home-features .statement__text { font-size: var(--home-statement-size); }
.home-features .editor > [role="tabpanel"] { grid-column: 1; grid-row: 3; }
.home-features .editor__foot { grid-column: 1; grid-row: 4; }
.home-features .editor__line::before { content: counter(editor-line) / ""; }

.home-download__intro { max-width: 68ch; margin-block-end: var(--gap); }
.home-download__intro .eyebrow { color: var(--on-stage-muted); }
.home-download__grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 27rem), 1fr)); gap: 12px; }
.home-download__grid .download-card {
  padding: clamp(14px, 1.5vw, 24px);
  grid-template-rows: auto 1fr auto;
  background: var(--home-download-tile);
  color: var(--on-stage);
  border-color: var(--stage-line);
}
.home-download__grid p { color: var(--on-stage-muted); font-size: var(--type-small); }
.home-download__grid .download-card__actions { margin-block-start: 4px; }
.home-os-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--on-stage);
  text-decoration: none;
}
.home-os-label:hover { text-decoration: underline; }
.home-os-label svg { width: var(--home-os-icon-size); height: var(--home-os-icon-size); flex-shrink: 0; }
.home-download__grid + .btn, .home-posts .grid + .btn { margin-block-start: var(--gap); }

.home-source {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(24px, 6vw, 88px);
}
.home-source__lead, .home-source__notes { min-width: 0; }
.home-source__lead > p:not(.eyebrow), .home-source__notes p { color: var(--text-muted); }
.home-source__command { background: var(--bg-panel); }
.home-source__command pre { margin-block: 14px; }
.home-source__command .home-source__status { margin-block: 0; color: var(--text-muted); font-size: var(--type-small); }
.home-source__status:not(:empty) { padding-block-start: 8px; }
.home-source__notes { border-block-start: var(--stroke) solid var(--border); }
.home-source__notes section { padding-block: 20px; border-block-end: var(--stroke) solid var(--border); }
.home-source__notes p { margin-block-end: 0; line-height: 1.8; }

.home-posts { padding-block-start: 0; }
.home-posts .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.home-posts__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }

@media (max-width: 760px) {
  .hero__platforms { flex-wrap: nowrap; max-width: 100%; }
  .hero__platforms a {
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-height: 44px;
    padding-inline: clamp(6px, 2vw, 12px);
    font-size: var(--home-platform-size-compact);
  }
  .hero__platforms svg { height: 13px; }
  .podium .brick__key { font-size: var(--home-brick-size); }
  .home-source, .home-posts .grid { grid-template-columns: minmax(0, 1fr); }
}