/* Homepage density correction; shared headers, game logic and MU styling are unchanged. */
body.ex-home.sc-site .hero .hero__center { padding-top:36px; padding-bottom:24px; }
body.ex-home.sc-site .hero .sc-hero-kicker { margin-bottom:16px; }
body.ex-home.sc-site .hero .hero__sub { margin-top:18px; }
body.ex-home.sc-site .hero .hero__ctas { margin-top:20px; }
body.ex-home.sc-site .hero .hero__discord { margin-top:12px; }
body.ex-home.sc-site .ex-section-nav.section { padding-top:8px; padding-bottom:8px; }
body.ex-home.sc-site .section-label { margin-bottom:18px; }
body.ex-home.sc-site :is(#servers,#features,#deploy,#kazino,#discord,#downloads,#feed,#conlog) { padding-top:24px; padding-bottom:24px; }
/* The document already reserves 72px for its fixed header when scrolling to anchors. */
body.ex-home.sc-site :is(#servers,#features,#deploy,#kazino,#discord,#downloads,#launcher,#app,#feed,#conlog,.node:not(.node--mu)) { scroll-margin-top:12px; }

/* Four servers form complete rows instead of leaving two empty desktop columns. */
body.ex-home.sc-site .board__grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; align-items:start; }
body.ex-home.sc-site .node:not(.node--mu) .node__body { padding-top:22px; padding-bottom:22px; gap:14px; }
body.ex-home.sc-site .node:not(.node--mu) .node__pitch { min-height:0; }
body.ex-home.sc-site .node:not(.node--mu) .ipline { min-height:72px; gap:4px 12px; padding-top:10px; padding-bottom:10px; }
body.ex-home.sc-site .node:not(.node--mu) .ipline__label { grid-column:1; grid-row:1; align-self:end; }
body.ex-home.sc-site .node:not(.node--mu) .ipline__value { grid-column:1; grid-row:2; align-self:start; }
body.ex-home.sc-site .node:not(.node--mu) .ipline .copybtn { grid-column:2; grid-row:1 / 3; align-self:center; }
body.ex-home.sc-site .node:not(.node--mu) .node__ctas { margin-top:0; gap:8px; }

body.ex-home.sc-site .ex-hub-link { padding-top:16px; padding-bottom:16px; }
body.ex-home.sc-site :is(.appdl__panel,.comms__panel) { padding-top:0; padding-bottom:0; }
body.ex-home.sc-site #kazino .appdl__panel { padding-top:20px; padding-bottom:20px; }
body.ex-home.sc-site .appdl__glyph { margin-bottom:12px; }
body.ex-home.sc-site .appdl__eyebrow { margin-bottom:10px; }
body.ex-home.sc-site :is(.appdl__head,.comms__head) { margin-bottom:12px; }
body.ex-home.sc-site .appdl__ctas { margin-top:16px; }
body.ex-home.sc-site .appdl__meta { margin-top:12px; }
body.ex-home.sc-site #discord .comms__micro { margin-top:18px; padding-top:16px; }
body.ex-home.sc-site .ex-downloads { gap:24px; align-items:start; }
body.ex-home.sc-site .ex-downloads .appdl__panel { display:block; height:auto; padding-top:18px; padding-bottom:0; }
body.ex-home.sc-site .ex-downloads .appdl__sub { min-height:0; }
body.ex-home.sc-site .ex-downloads .appdl__specs { margin-top:14px; margin-bottom:0; gap:18px; }
body.ex-home.sc-site .ex-downloads .appdl__ctas { margin-top:16px; padding-top:0; }
body.ex-home.sc-site .conlog__wrap { padding-top:18px; }
body.ex-home.sc-site .feedbox__lines { height:240px; }
body.ex-home.sc-site .term__panel:not(#termMu) { padding-top:24px; padding-bottom:24px; gap:24px; }
body.ex-home.sc-site .term__panel:not(#termMu) .steps { gap:4px; }
body.ex-home.sc-site .term__panel:not(#termMu) .steps__line { min-height:48px; padding-top:10px; padding-bottom:10px; }
body.ex-home.sc-site .term__panel:not(#termMu) .term__art { max-width:170px; }
body.ex-home.sc-site .term__panel:not(#termMu) .term__side { gap:10px; padding-top:0; padding-bottom:0; }

/* Content must be visible even before a tall section crosses the old reveal threshold. */
html.js.reveal-ready body.ex-home.sc-site .reveal:not(#node-mu):not(#termMu *) { opacity:1; transform:none; transition:none; }

@media (min-width:901px) {
 body.ex-home.sc-site .hero .sc-brand-title span { display:inline; }
}
@media (max-width:900px) {
 body.ex-home.sc-site .board__grid { grid-template-columns:minmax(0,1fr); gap:18px; }
 body.ex-home.sc-site .hero .hero__center { padding-top:28px; padding-bottom:20px; }
 body.ex-home.sc-site :is(#servers,#features,#deploy,#kazino,#discord,#downloads,#feed,#conlog) { padding-top:20px; padding-bottom:20px; }
 body.ex-home.sc-site .ex-hub-link { padding-top:14px; padding-bottom:14px; }
 body.ex-home.sc-site .term__panel:not(#termMu) .steps__line { grid-template-columns:25px minmax(0,1fr); gap:4px 10px; }
 body.ex-home.sc-site .term__panel:not(#termMu) .steps__text { grid-column:2; }
}
@media (max-width:700px) {
 body.ex-home.sc-site .node:not(.node--mu) .node__body { padding-top:18px; padding-bottom:18px; gap:12px; }
 body.ex-home.sc-site .ex-section-nav a { min-height:40px; }
 body.ex-home.sc-site .ex-downloads { gap:20px; }
 body.ex-home.sc-site .ex-downloads .appdl__ctas { gap:8px; }
 body.ex-home.sc-site .feedbox__lines { height:260px; }
 body.ex-home.sc-site #discord .cta--discord { margin-top:16px; }
 body.ex-home.sc-site #discord .comms__micro { gap:12px; }
 body.ex-home.sc-site .term__panel:not(#termMu) { padding-top:18px; padding-bottom:18px; gap:18px; }
 body.ex-home.sc-site .term__panel:not(#termMu) .term__art { max-width:140px; }
}
@media (max-width:440px) {
 body.ex-home.sc-site .node:not(.node--mu) .ipline { min-height:0; gap:8px 12px; }
 body.ex-home.sc-site .node:not(.node--mu) .ipline__label { align-self:center; }
 body.ex-home.sc-site .node:not(.node--mu) .ipline__value { grid-column:1 / -1; }
 body.ex-home.sc-site .node:not(.node--mu) .ipline .copybtn { grid-row:1; }
}
