:root {
  color-scheme: dark;
  --bg: #0a100d;
  --bg-2: #121a15;
  --ink: #f1eadc;
  --muted: #b7ad9b;
  --soft: #d8cdb8;
  --line: rgba(241, 234, 220, 0.17);
  --rust: #d9a647;
  --amber: #1f4f78;
  --green: #6f8a64;
  --steel: #5f726b;
  --shadow: rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: linear-gradient(180deg, rgba(10, 12, 11, 0.92), rgba(10, 12, 11, 0.42));
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(12, 15, 14, 0.95);
  border-bottom-color: var(--line);
}

.brand {
  flex: 0 0 auto;
  order: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-nav {
  flex: 0 0 auto;
  order: 3;
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-nav a {
  text-decoration: none;
}

.site-nav .nav-placeholder {
  position: relative;
  display: inline-block;
  cursor: default;
}

.site-nav .nav-placeholder small {
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 5px;
  font-weight: 700;
  text-transform: none;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--ink);
}

.site-nav a[aria-current="page"] {
  color: var(--amber);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(241, 234, 220, 0.04);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 140px clamp(20px, 5vw, 72px) 86px;
  background: #050606;
}

.hero.banner-only {
  min-height: calc(100vh - 89px);
  padding: 89px 0 0;
  place-items: center;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg {
  object-fit: contain;
  object-position: center center;
  filter: saturate(0.92) contrast(1.04);
}

.banner-only .hero-bg {
  position: relative;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 89px);
  object-fit: contain;
}

.banner-tags {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: min(780px, calc(100vw - 36px));
}

.header-tags {
  order: 2;
  flex: 1 1 auto;
  justify-content: center;
  max-width: none;
  min-width: 0;
}

.banner-tags span {
  border: 1px solid rgba(215, 163, 77, 0.58);
  background: rgba(8, 10, 9, 0.82);
  color: var(--soft);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.banner-tags .server-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.banner-tags .server-status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #78d481;
  box-shadow: 0 0 12px rgba(120, 212, 129, 0.78);
}

.banner-tags .server-status.is-offline::before {
  background: #d76555;
  box-shadow: 0 0 12px rgba(215, 101, 85, 0.78);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 9, 8, 0.94) 0%, rgba(7, 9, 8, 0.74) 42%, rgba(7, 9, 8, 0.36) 100%),
    linear-gradient(180deg, rgba(7, 9, 8, 0.18), rgba(7, 9, 8, 0.9));
}

.hero-content,
.hero-status {
  position: relative;
  z-index: 2;
}

.hero-content {
  width: min(760px, 100%);
  padding: 28px;
  margin-left: -28px;
  background: linear-gradient(90deg, rgba(7, 9, 8, 0.58), rgba(7, 9, 8, 0));
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.platform-row span,
.status-pill {
  border: 1px solid rgba(215, 163, 77, 0.42);
  background: rgba(12, 15, 14, 0.68);
  color: var(--soft);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Rajdhani, Inter, sans-serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(74px, 12vw, 170px);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(42px, 6vw, 82px);
  max-width: 880px;
}

h3 {
  font-size: 28px;
}

p {
  margin: 0;
}

.hero-lede {
  margin-top: 22px;
  max-width: 660px;
  color: var(--soft);
  font-size: clamp(19px, 2.2vw, 28px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
}

.button.primary {
  background: var(--amber);
  color: #0a100d;
}

.steam-coming-soon-button {
  flex-direction: column;
  gap: 2px;
  min-height: 62px;
  margin-top: 24px;
  padding-block: 8px;
  line-height: 1.05;
}

.steam-coming-soon-button small {
  font-size: 11px;
  font-weight: 800;
  text-transform: none;
}

.button.secondary {
  border-color: rgba(241, 234, 220, 0.36);
  background: rgba(241, 234, 220, 0.06);
  color: var(--ink);
}

.hero-status {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 40px;
  display: grid;
  gap: 4px;
  width: min(360px, calc(100vw - 40px));
  border-left: 3px solid var(--rust);
  padding: 18px 0 18px 18px;
  background: linear-gradient(90deg, rgba(9, 12, 11, 0.68), rgba(9, 12, 11, 0));
}

.hero-status strong {
  text-transform: uppercase;
  font-size: 13px;
  color: var(--amber);
}

.hero-status span {
  color: var(--soft);
}

.landing-gateway {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding-top: 1px;
  background: rgba(241, 234, 220, 0.16);
}

.landing-gateway.single {
  grid-template-columns: 1fr;
  padding: clamp(20px, 5vw, 72px);
  background: #080a09;
}

.landing-gateway.bottom-actions {
  grid-template-columns: repeat(2, minmax(280px, 490px));
  justify-content: center;
  gap: 18px;
  padding: clamp(20px, 5vw, 72px);
  background: #080a09;
}

.gateway-card {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  padding: 28px;
  background: var(--bg);
  color: inherit;
  text-decoration: none;
}

.gateway-card:hover {
  background: #1b221f;
}

.gateway-card.launcher-only {
  min-height: 260px;
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid rgba(215, 163, 77, 0.5);
  background:
    linear-gradient(90deg, rgba(217, 166, 71, 0.18), rgba(241, 234, 220, 0.035)),
    var(--bg);
}

.gateway-card.launcher-only:hover {
  background:
    linear-gradient(90deg, rgba(215, 163, 77, 0.28), rgba(241, 234, 220, 0.055)),
    #1b221f;
}

.gateway-card.support-card {
  background:
    linear-gradient(90deg, rgba(111, 138, 100, 0.2), rgba(241, 234, 220, 0.035)),
    var(--bg);
}

.gateway-card.support-card:hover {
  background:
    linear-gradient(90deg, rgba(217, 166, 71, 0.22), rgba(241, 234, 220, 0.055)),
    #1b221f;
}

.gateway-card span {
  color: var(--amber);
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 34px;
  font-weight: 800;
}

.gateway-card h2 {
  font-size: clamp(32px, 4vw, 46px);
}

.gateway-card p {
  color: var(--muted);
}

.discord-support {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 360px));
  gap: 24px;
  align-items: stretch;
  justify-content: center;
  background: var(--bg);
}

.discord-card {
  position: relative;
  width: 100%;
  min-height: 292px;
  overflow: hidden;
  border: 1px solid rgba(217, 166, 71, 0.52);
  border-radius: 12px;
  background: #121a15;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.34);
}

.discord-card-top {
  height: 86px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(18, 26, 21, 0.86), rgba(5, 8, 7, 0.94)),
    url("assets/cinder-state-key-art.png") center 34% / cover;
}

.discord-glyph {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.discord-server-icon {
  position: absolute;
  top: 48px;
  left: 22px;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 4px solid #121a15;
  border-radius: 20px;
  object-fit: cover;
  background: #0b0f0d;
}

.email-server-icon {
  color: var(--amber);
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.discord-card-body {
  display: grid;
  gap: 6px;
  padding: 54px 18px 18px;
}

.discord-card h2 {
  font-family: Inter, system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.15;
  text-transform: none;
}

.discord-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.email-contact-link {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.email-card .discord-button {
  margin-top: 40px;
}

.online-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 6px;
  border-radius: 999px;
  background: #58d67a;
}

.discord-button {
  display: grid;
  place-items: center;
  min-height: 44px;
  margin-top: 12px;
  border-radius: 7px;
  background: var(--amber);
  color: #0a100d;
  font-weight: 800;
}

.discord-card:hover .discord-button {
  background: #e2b65f;
}

section {
  padding: 92px clamp(20px, 5vw, 72px);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: start;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.intro {
  background: var(--bg);
}

.intro-copy {
  display: grid;
  gap: 20px;
  color: var(--soft);
  font-size: 18px;
}

.feature-band {
  background: #101811;
  color: var(--ink);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(241, 234, 220, 0.12);
  border: 1px solid var(--line);
}

.feature-grid article {
  min-height: 270px;
  padding: 28px;
  background: #121a15;
}

.feature-grid span {
  color: var(--amber);
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 28px;
  font-weight: 800;
}

.feature-grid h3 {
  margin: 6px 0 14px;
}

.feature-grid p {
  color: var(--soft);
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: var(--bg-2);
}

.governance-showcase {
  grid-template-columns: minmax(320px, 1.35fr) minmax(300px, 0.85fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 18% 10%, rgba(31, 79, 120, 0.16), transparent 30%),
    linear-gradient(90deg, rgba(8, 13, 10, 0.98), rgba(5, 8, 7, 0.94));
  padding: clamp(28px, 4vw, 56px);
}

.media-panel img,
.media-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px var(--shadow);
}

.governance-showcase .media-panel img {
  border: 0;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
}

.copy-panel {
  max-width: 680px;
}

.governance-showcase .copy-panel {
  max-width: 620px;
}

.governance-showcase .eyebrow {
  color: var(--amber);
}

.governance-showcase h2 {
  max-width: 560px;
  color: var(--ink);
  font-size: clamp(56px, 6.4vw, 92px);
  line-height: 0.94;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(241, 234, 220, 0.08), 0 20px 60px rgba(0, 0, 0, 0.55);
}

.check-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--soft);
}

.governance-showcase .check-list {
  gap: 26px;
  color: rgba(116, 157, 203, 0.88);
  font-size: 20px;
  line-height: 1.65;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  background: var(--rust);
}

.governance-showcase .check-list li::before {
  top: 12px;
  width: 11px;
  height: 11px;
  background: var(--amber);
  box-shadow: 0 0 16px rgba(31, 79, 120, 0.64);
}

.launcher-section {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  background:
    linear-gradient(rgba(17, 21, 19, 0.86), rgba(17, 21, 19, 0.94)),
    url("assets/council.png") center / cover;
}

.launcher-copy p:not(.eyebrow) {
  max-width: 720px;
  margin-top: 22px;
  color: var(--soft);
  font-size: 18px;
}

.download-panel {
  border: 1px solid var(--line);
  background: rgba(15, 18, 17, 0.88);
  padding: 28px;
  box-shadow: 0 24px 70px var(--shadow);
}

.download-panel h3 {
  margin-top: 20px;
}

.download-panel p {
  margin: 14px 0 22px;
  color: var(--muted);
}

.download-panel dl {
  display: grid;
  gap: 14px;
  margin: 26px 0 0;
}

.download-panel div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  text-align: right;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading.centered {
  display: block;
  text-align: center;
}

.section-heading.centered h2 {
  margin: 0 auto;
}

.media-coming-soon {
  margin-top: 12px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 5px;
  text-align: center;
  text-transform: uppercase;
}

.blog-section {
  background: var(--bg);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.blog-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: rgba(241, 234, 220, 0.035);
  padding: 26px;
}

.blog-card time {
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.blog-card h3 {
  margin-top: 22px;
}

.blog-card p {
  margin-top: 16px;
  color: var(--muted);
}

.blog-card a {
  margin-top: auto;
  color: var(--soft);
  font-weight: 800;
  text-transform: uppercase;
}

.media-section {
  background: var(--bg-2);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.community-media-grid figure {
  border: 1px solid rgba(215, 163, 77, 0.35);
  background: rgba(241, 234, 220, 0.035);
  padding: 10px;
}

.community-media-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

figure {
  margin: 0;
}

figcaption {
  margin-top: 12px;
  color: var(--soft);
  font-weight: 800;
  text-transform: uppercase;
}

figcaption span {
  display: block;
  margin-bottom: 3px;
  color: var(--amber);
  font-size: 12px;
}

.closing {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  background: #101811;
  color: var(--ink);
}

.closing .eyebrow {
  color: var(--amber);
}

.closing .button.secondary {
  border-color: var(--line);
  color: var(--ink);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 72px);
  background: #0c0f0e;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
}

.page-hero,
.store-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding-top: 150px;
}

.page-hero.compact {
  min-height: 540px;
}

.launcher-download-hero .page-hero-bg {
  object-position: center top;
}

.launcher-download-hero .page-hero-copy {
  width: min(760px, 100%);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 12, 11, 0.92), rgba(10, 12, 11, 0.56)),
    linear-gradient(180deg, rgba(10, 12, 11, 0.1), rgba(10, 12, 11, 0.88));
}

.dev-blog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(10, 16, 13, 0.01);
}

.dev-blog-hero .page-hero-bg {
  z-index: 0;
  opacity: 0.18;
}

.page-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 960px;
}

.page-hero-copy h1 {
  font-size: clamp(56px, 9vw, 112px);
  max-width: 980px;
}

.page-hero-copy p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 24px;
  color: var(--soft);
  font-size: clamp(18px, 2vw, 24px);
}

.text-rhythm {
  background: var(--bg);
}

.wide-copy {
  max-width: 980px;
}

.wide-copy p {
  margin-top: 20px;
  color: var(--soft);
  font-size: 19px;
}

.store-hero {
  grid-template-columns: minmax(0, 980px) minmax(280px, 420px);
  justify-content: center;
  gap: 28px;
  align-items: stretch;
  background: #101811;
  padding: 150px clamp(18px, 4vw, 56px) 48px;
}

.store-media {
  width: min(100%, 1040px);
  min-width: 0;
  justify-self: center;
}

.store-media img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.store-flipboard {
  position: relative;
  width: min(430px, 100%);
  display: grid;
  place-items: center;
}

.flipboard-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4.1;
  overflow: hidden;
  border: 1px solid rgba(241, 234, 220, 0.26);
  background: #050807;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.34);
}

.store-media .flipboard-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  opacity: 0;
  transform: translateX(24px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.store-media .flipboard-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.flipboard-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(241, 234, 220, 0.42);
  border-radius: 999px;
  background: rgba(5, 8, 7, 0.78);
  color: var(--ink);
  cursor: pointer;
  font-size: 42px;
  line-height: 1;
  transform: translateY(-50%);
}

.flipboard-arrow:hover {
  border-color: rgba(217, 166, 71, 0.72);
  color: var(--amber);
}

.flipboard-prev {
  left: -24px;
}

.flipboard-next {
  right: -24px;
}

.store-summary {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 22px;
  min-width: 0;
  border: 1px solid var(--line);
  background: rgba(8, 13, 10, 0.82);
  padding: 28px;
}

.store-summary h1 {
  font-size: clamp(56px, 8vw, 100px);
}

.store-summary p:not(.eyebrow) {
  color: var(--soft);
}

.store-summary .tag-row {
  margin-top: 10px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  background: rgba(111, 138, 100, 0.24);
  color: var(--soft);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.store-layout,
.launcher-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(28px, 5vw, 70px);
  background: #0a100d;
}

.store-main,
.steps-panel {
  max-width: 920px;
}

.store-main h3,
.steps-panel h2 {
  margin-top: 36px;
}

.store-main p {
  margin-top: 18px;
  color: var(--soft);
  font-size: 18px;
}

.store-sidebar,
.steps-panel,
.download-panel.large {
  border: 1px solid var(--line);
  background: rgba(18, 26, 21, 0.72);
  padding: 28px;
}

.store-sidebar {
  align-self: start;
}

.store-sidebar dl {
  display: grid;
  gap: 16px;
  margin: 0;
}

.store-sidebar div {
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.store-sidebar div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.server-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.server-state::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #58d67a;
  box-shadow: 0 0 12px rgba(88, 214, 122, 0.72);
}

.server-state.is-offline::before {
  background: #d76555;
  box-shadow: 0 0 12px rgba(215, 101, 85, 0.78);
}

.download-panel.large h2 {
  margin-top: 20px;
}

.step-list {
  display: grid;
  gap: 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: grid;
  gap: 6px;
  border-left: 3px solid var(--rust);
  padding-left: 18px;
}

.step-list span {
  color: var(--muted);
}

.platform-downloads {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(10, 16, 13, 0.92), rgba(10, 16, 13, 0.96)),
    url("assets/launcher-downloads-bg.png") center center / cover;
  color: var(--ink);
}

.platform-downloads .section-heading.centered {
  max-width: 760px;
  margin-right: auto;
  text-align: left;
}

.platform-downloads .section-heading.centered h2 {
  margin: 0;
}

.platform-downloads .eyebrow {
  color: var(--amber);
}

.platform-download-card {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

.platform-tile {
  position: relative;
  min-height: 510px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 82px 34px 34px;
  isolation: isolate;
  color: #fff;
  text-align: center;
}

.platform-tile::before,
.platform-tile::after {
  content: "";
  position: absolute;
  inset: 0;
}

.platform-tile::before {
  z-index: -2;
  background-image: url("assets/launcher-bg.png");
  background-size: cover;
  filter: blur(5px) saturate(0.85);
  transform: scale(1.04);
}

.platform-tile::after {
  z-index: -1;
  background:
    linear-gradient(rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.68)),
    rgba(26, 32, 31, 0.36);
}

.windows-tile::before {
  background-image: url("assets/launcher-control-card.png");
  background-position: left center;
}

.macos-tile::before {
  background-image: url("assets/launcher-rebuild-card.png");
  background-position: center center;
}

.linux-tile::before {
  background-image: url("assets/launcher-survive-card.png");
  background-position: right center;
}

.platform-icon {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: Rajdhani, Inter, sans-serif;
  font-size: 86px;
  font-weight: 800;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.platform-icon img {
  width: 112px;
  height: 112px;
  display: block;
  object-fit: contain;
}

.windows-tile .platform-icon {
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.windows-tile .platform-icon span {
  width: 48px;
  height: 48px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.linux-icon img {
  width: 138px;
  height: 138px;
  max-width: none;
  transform: translate(-9px, -23px);
}

.platform-tile h3 {
  font-size: clamp(44px, 5vw, 64px);
  text-transform: uppercase;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
}

.download-pill,
.split-download {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
  box-shadow: inset 0 0 22px rgba(255, 255, 255, 0.13), 0 8px 28px rgba(0, 0, 0, 0.24);
}

.download-pill {
  padding: 0 32px;
}

.split-download a {
  min-width: 104px;
  display: grid;
  place-items: center;
  align-self: stretch;
  color: #fff;
  text-decoration: none;
}

.split-download a + a {
  border-left: 2px solid rgba(255, 255, 255, 0.55);
}

.platform-tile p {
  position: absolute;
  bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.platform-tile .availability-note {
  bottom: 28px;
  display: grid;
  gap: 2px;
  letter-spacing: 5px;
}

.platform-tile .availability-note .availability-primary span {
  letter-spacing: 0;
  text-transform: lowercase;
}

.platform-tile .availability-note .availability-secondary {
  letter-spacing: 1.5px;
}

.article-list {
  display: grid;
  gap: 22px;
  background: var(--bg);
}

.article-list article {
  border: 1px solid var(--line);
  background: rgba(241, 234, 220, 0.035);
  padding: clamp(28px, 4vw, 46px);
}

.article-list details {
  display: grid;
  gap: 24px;
}

.article-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  list-style: none;
}

.article-list summary::-webkit-details-marker {
  display: none;
}

.article-card-header {
  display: grid;
  gap: 10px;
}

.article-card-title {
  color: var(--ink);
  font-family: Rajdhani, Inter, sans-serif;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
}

.article-toggle {
  flex: 0 0 auto;
  border: 1px solid rgba(241, 234, 220, 0.36);
  padding: 12px 16px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.dev-blog-body {
  margin-top: 30px;
}

.article-list time {
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-list h2 {
  margin-top: 14px;
}

.article-list h3 {
  margin-top: 42px;
}

.article-list p {
  max-width: 920px;
  margin-top: 18px;
  color: var(--soft);
  font-size: 18px;
}

.article-list ul {
  max-width: 920px;
  margin-top: 18px;
  padding-left: 22px;
  color: var(--soft);
  font-size: 18px;
}

.article-list li + li {
  margin-top: 8px;
}

.article-list .article-deck {
  color: var(--ink);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
}

.article-list .article-signoff {
  color: var(--ink);
  font-weight: 800;
}

.article-list a {
  display: inline-flex;
  margin-top: 24px;
  color: var(--soft);
  font-weight: 800;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 73px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    background: rgba(12, 15, 14, 0.98);
    padding: 8px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .site-nav .nav-placeholder {
    padding: 14px;
  }

  .site-nav .nav-placeholder small {
    position: static;
    transform: none;
    margin-top: 2px;
  }



  .section-grid,
  .split-section,
  .launcher-section {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .blog-grid,
  .media-grid,
  .landing-gateway {
    grid-template-columns: 1fr 1fr;
  }

  .store-hero,
  .store-layout,
  .launcher-page-grid,
  .platform-download-card {
    grid-template-columns: 1fr;
  }

  .platform-download-card {
    border-radius: 18px;
  }

  .hero-status {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 48px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 860px;
    padding-top: 118px;
  }

  .hero-actions,
  .closing,
  .site-footer,
  .section-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .article-list summary {
    align-items: stretch;
    flex-direction: column;
  }

  .article-toggle {
    text-align: center;
  }

  .feature-grid,
  .blog-grid,
  .media-grid,
  .landing-gateway,
  .discord-support {
    grid-template-columns: 1fr;
  }

  .landing-gateway.bottom-actions {
    grid-template-columns: 1fr;
  }

  .feature-grid article {
    min-height: 220px;
  }

  .download-panel div {
    display: grid;
  }

  dd {
    text-align: left;
  }
}
