:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #e8dec9;
  background: #090a0a;
  font-synthesis: none;
  --ink: #090a0a;
  --panel: #111312;
  --parchment: #e8dec9;
  --muted: #a49a87;
  --bronze: #a88752;
  --bronze-bright: #c8aa73;
  --bronze-dim: #5b492e;
  --crimson: #8d211c;
  --crimson-bright: #b83227;
  --positive: #7fb46a;
  --content: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #090a0a; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid #d8b978; outline-offset: 4px; }

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100% - var(--content)) / 2));
  border-bottom: 1px solid rgba(168, 135, 82, .34);
  background: linear-gradient(180deg, rgba(9, 10, 10, .9), rgba(9, 10, 10, .28));
}

.wordmark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.wordmark img { object-fit: contain; filter: sepia(.12) drop-shadow(0 5px 9px #000); }
.wordmark span { font: 500 23px/1 Georgia, serif; letter-spacing: .15em; color: #cbb287; text-shadow: 0 2px 2px #000; }
.header-download { color: #d7c39f; text-underline-offset: 5px; text-decoration-color: var(--bronze-dim); font-size: 14px; }
.header-download:hover { color: #f0e2ca; text-decoration-color: var(--bronze-bright); }

.hero { min-height: 760px; position: relative; display: grid; overflow: hidden; border-bottom: 1px solid var(--bronze-dim); }
.hero-art { position: absolute; inset: 0; background: url("/assets/campaign-background.webp") center/cover no-repeat; filter: sepia(.1) saturate(.84) contrast(1.06) brightness(.8); transform: scale(1.004); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 9, 8, .96) 0, rgba(8, 9, 8, .8) 35%, rgba(8, 9, 8, .26) 66%, rgba(8, 9, 8, .18)), linear-gradient(0deg, #090a0a 0, transparent 34%); }
.hero::after { content: ""; position: absolute; inset: 94px 18px 18px; border: 1px solid rgba(168, 135, 82, .37); box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .32); pointer-events: none; }
.hero-content { position: relative; z-index: 2; width: min(var(--content), calc(100% - 48px)); margin: auto; padding: 118px 0 68px; }
.hero-mark { display: block; object-fit: contain; margin: 0 0 24px; filter: sepia(.12) drop-shadow(0 12px 24px #000); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 650px; margin-bottom: 20px; font: 400 clamp(44px, 6vw, 74px)/1.02 Georgia, "Times New Roman", serif; color: #e9dcc3; text-shadow: 0 3px 8px #000; }
.hero-copy { max-width: 610px; margin-bottom: 32px; color: #c8bda9; font-size: 18px; line-height: 1.62; }

.download-block { width: min(720px, 100%); }
.download-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.primary-button { min-height: 78px; padding: 12px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; color: #f2e5ce; text-decoration: none; border: 1px solid #c35943; background: linear-gradient(180deg, #a52c24, #771813); box-shadow: inset 0 0 0 2px #4b130f, inset 0 0 18px rgba(225, 112, 77, .12), 0 12px 30px rgba(0, 0, 0, .42); clip-path: polygon(2.2% 0, 97.8% 0, 100% 50%, 97.8% 100%, 2.2% 100%, 0 50%); transition: transform 160ms ease, filter 160ms ease; }
.primary-button span { font: 600 25px/1 Georgia, serif; }
.primary-button small { color: #dccab0; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; }
.primary-button:not(.is-loading):hover { transform: translateY(-2px); filter: brightness(1.12); }
.primary-button.is-loading { pointer-events: none; opacity: .62; }
.release-meta { min-height: 25px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 8px 0; color: var(--muted); font-size: 12px; }
.checksums { margin-top: 11px; border: 1px solid rgba(168, 135, 82, .4); background: rgba(9, 10, 10, .76); }
.checksums[hidden] { display: none; }
.checksum-row { padding: 9px 12px; display: grid; grid-template-columns: 108px minmax(0, 1fr) auto; align-items: center; gap: 11px; color: var(--muted); font-size: 11px; }
.checksum-row + .checksum-row { border-top: 1px solid rgba(168, 135, 82, .24); }
.checksum-row code { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #cfc3ae; }
.checksum-row button { padding: 4px 0; color: #c9ad79; border: 0; border-bottom: 1px solid var(--bronze-dim); background: none; cursor: pointer; }
.release-error { margin: 10px 8px 0; color: #ef9b91; font-size: 13px; }
.platforms { display: flex; gap: 24px; margin-top: 20px; color: #827765; font-size: 13px; }
.platform-ready { color: var(--positive); }

.journey, .details, footer { width: min(var(--content), calc(100% - 48px)); margin-inline: auto; }
.journey { padding: 92px 0 88px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 42px; padding-bottom: 27px; border-bottom: 1px solid var(--bronze-dim); }
h2 { margin-bottom: 0; color: #d6c29e; font: 400 clamp(30px, 4vw, 44px)/1.1 Georgia, serif; }
.section-heading p { max-width: 480px; margin-bottom: 4px; color: var(--muted); line-height: 1.55; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { min-height: 142px; display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 22px; border-bottom: 1px solid #312a20; }
.step-number { width: 58px; height: 58px; display: grid; place-items: center; color: #e5c99b; border: 1px solid var(--bronze); background: radial-gradient(circle, #39291b, #11130f 68%); box-shadow: inset 0 0 0 4px #242017, 0 5px 15px #000; transform: rotate(45deg); font: 400 27px/1 Georgia, serif; }
.step-number::first-letter { transform: rotate(-45deg); }
.steps h3 { margin-bottom: 8px; color: #e1d4bd; font: 400 24px/1.15 Georgia, serif; }
.steps p { margin-bottom: 0; color: var(--muted); line-height: 1.55; }

.details { display: grid; grid-template-columns: 1.25fr .75fr; gap: 74px; padding: 74px 0 88px; border-top: 1px solid var(--bronze-dim); }
.inside ul { margin: 30px 0 0; padding: 0; list-style: none; }
.inside li { position: relative; padding: 18px 0 18px 32px; border-bottom: 1px solid #312a20; color: #c9bfad; line-height: 1.5; }
.inside li::before { content: ""; position: absolute; left: 6px; top: 25px; width: 8px; height: 8px; border: 1px solid var(--bronze); background: var(--crimson); transform: rotate(45deg); }
.requirements { padding: 28px; border: 1px solid #59472e; background: radial-gradient(circle at 50% 0, rgba(88, 66, 36, .15), transparent 33%), var(--panel); box-shadow: inset 0 0 0 3px rgba(0, 0, 0, .4); }
.requirements h2 { font-size: 28px; }
.requirements dl { margin: 26px 0 22px; }
.requirements dl div { display: flex; justify-content: space-between; gap: 24px; padding: 12px 0; border-bottom: 1px solid #3b3125; }
.requirements dt { color: var(--muted); }
.requirements dd { margin: 0; color: #d8cbb5; text-align: right; }
.requirements p { margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

footer { min-height: 120px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 42px; padding: 28px 0; border-top: 1px solid var(--bronze-dim); color: #736a5b; font-size: 11px; }
.footer-brand { display: flex; align-items: center; gap: 9px; color: #bda77f; font: 400 16px/1 Georgia, serif; }
.footer-brand img { object-fit: contain; }
footer p { max-width: 650px; margin-bottom: 0; line-height: 1.5; }

/* Visual polish: one restrained system shared with the desktop launcher. */
.site-header {
  height: 72px;
  border-bottom-color: rgba(168, 135, 82, .24);
  background: rgba(10, 12, 11, .9);
  backdrop-filter: blur(10px);
}
.wordmark img { width: 44px; height: 44px; filter: drop-shadow(0 4px 8px #000); }
.wordmark span { font: 650 17px/1 Inter, "Segoe UI", sans-serif; letter-spacing: .22em; text-shadow: none; }
.header-download { font-weight: 600; text-decoration: none; border-bottom: 1px solid #6c5738; padding-bottom: 4px; }

.hero { min-height: 700px; }
.hero-art { filter: saturate(.76) contrast(1.04) brightness(.72); }
.hero-shade { background: linear-gradient(90deg, rgba(8, 10, 9, .96) 0, rgba(8, 10, 9, .79) 38%, rgba(8, 10, 9, .24) 72%), linear-gradient(0deg, #090a0a 0, transparent 32%); }
.hero::after { display: none; }
.hero-content { padding-top: 104px; }
.hero-mark { width: 112px; height: 112px; margin-bottom: 22px; filter: drop-shadow(0 10px 18px #000); }
h1 { max-width: 720px; font-size: clamp(42px, 5vw, 64px); line-height: 1.05; text-shadow: 0 2px 8px #000; }
.hero-copy { max-width: 660px; color: #c8c4bb; line-height: 1.55; }
.download-block { width: min(680px, 100%); }
.primary-button {
  min-height: 70px;
  clip-path: none;
  border-radius: 4px;
  border-color: #b94a3f;
  background: #9e2b24;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .3);
}
.primary-button span { font: 650 20px/1 Inter, "Segoe UI", sans-serif; }
.primary-button:not(.is-loading):hover { background: #b3352c; }
.checksums { border-radius: 4px; border-color: #443a29; background: rgba(10, 12, 11, .9); }
.platforms { color: #9b9488; }

.journey { padding: 74px 0 68px; }
.section-heading { align-items: center; padding-bottom: 22px; border-bottom-color: #3b3326; }
h2 { font-size: clamp(28px, 3.3vw, 40px); }
.steps li { min-height: 118px; grid-template-columns: 58px 1fr; border-bottom-color: #302b22; }
.step-number { width: 38px; height: 38px; color: #d6bd8f; font: 650 14px/1 Inter, "Segoe UI", sans-serif; border: 1px solid #655236; border-radius: 50%; background: #151714; }
.step-number::before { display: none; }
.steps h3 { margin-bottom: 6px; font-size: 21px; }
.steps p { color: #aaa397; }

.details { grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr); gap: 56px; padding: 60px 0 72px; border-top-color: #3b3326; }
.inside li { padding-block: 16px; border-bottom-color: #302b22; color: #c9c5bc; }
.inside li::before { width: 7px; height: 7px; background: #a63129; }
.requirements { padding: 26px; border-color: #4b402d; border-radius: 4px; background: #111311; box-shadow: none; }
.requirements h2 { font-size: 25px; }
.requirements dl { margin-block: 22px 18px; }
.requirements dl div { gap: 20px; padding-block: 11px; border-bottom-color: #343027; }
.requirements dd { max-width: 68%; }

footer { min-height: 104px; gap: 30px; color: #938c7f; font-size: 12px; }
.footer-brand { font: 600 14px/1 Inter, "Segoe UI", sans-serif; }
footer a { color: #c9ad79; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .site-header { height: 68px; padding-inline: 18px; }
  .wordmark img { width: 42px; height: 42px; }
  .wordmark span { font-size: 18px; }
  .header-download { font-size: 12px; }
  .hero { min-height: 720px; }
  .hero::after { inset: 78px 8px 8px; }
  .hero-art { background-position: 38% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(8, 9, 8, .95), rgba(8, 9, 8, .57)), linear-gradient(0deg, #090a0a, transparent 45%); }
  .hero-content { width: calc(100% - 36px); padding-top: 105px; }
  .hero-mark { width: 108px; height: 108px; margin-bottom: 20px; }
  h1 { font-size: clamp(39px, 12vw, 58px); }
  .hero-copy { font-size: 16px; }
  .primary-button span { font-size: 21px; }
  .download-actions { grid-template-columns: 1fr; }
  .release-meta { align-items: flex-start; flex-direction: column; gap: 4px; }
  .checksum-row { grid-template-columns: auto 1fr; }
  .checksum-row button { grid-column: 2; justify-self: start; }
  .platforms { flex-direction: column; gap: 8px; }
  .journey, .details, footer { width: calc(100% - 36px); }
  .journey { padding-block: 68px; }
  .section-heading { display: block; }
  .section-heading p { margin: 18px 0 0; }
  .steps li { grid-template-columns: 58px 1fr; gap: 16px; padding-block: 22px; }
  .step-number { width: 44px; height: 44px; font-size: 21px; }
  .details { grid-template-columns: 1fr; gap: 48px; padding-block: 60px; }
  .requirements { padding: 24px 19px; }
  footer { grid-template-columns: 1fr; gap: 14px; padding-block: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
