@font-face {
  font-family: "Barlow Condensed";
  src: url("/barlow-condensed-bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  font-family: system-ui, sans-serif;
  color: #f5f5eb;
  background: #0c130f;
  --signal: #d7f99a;
  --muted: #c4cfc2;
  --line: rgb(224 242 221 / 28%);
}
* { box-sizing: border-box; }
body { margin: 0; }
.stage { min-height: 100svh; position: relative; isolation: isolate; overflow: clip; }
.terrain, .route { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.terrain {
  background: #13251b url("/crinale.webp") center / cover no-repeat;
  z-index: -3;
  animation: settle 1.5s ease-out both;
}
.stage::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(0deg, #0c130f 1%, #0c130fec 17%, transparent 62%),
              linear-gradient(90deg, #0c130fed 3%, #0c130fb3 35%, transparent 74%),
              linear-gradient(180deg, #0c130f8c, transparent 21%);
  pointer-events: none;
}
.route { z-index: -1; }
.shell {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-bottom: 24px;
}
.masthead {
  min-height: 87px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.43rem; font-weight: 790; letter-spacing: -.055em; }
.brand img { object-fit: contain; }
.release { font-size: .73rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--signal); }
.intro { margin-block: auto; padding-block: clamp(36px, 8vh, 100px) 38px; animation: rise .65s ease-out both; }
h1 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(5rem, 9.5vw, 9.8rem);
  font-weight: 700;
  line-height: .81;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
h1 em { color: var(--signal); font-style: normal; }
.intro p { max-width: 38ch; margin: 25px 0 0; color: var(--muted); line-height: 1.55; font-size: clamp(.96rem, 1.5vw, 1.12rem); }
.install { position: relative; border-top: 1px solid var(--line); padding-top: 16px; animation: rise .7s .12s ease-out both; }
h2 { margin: 0 0 12px; font-size: 1rem; font-weight: 650; }
.platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 700px; }
.platform {
  min-height: 75px;
  padding: 10px 15px 10px 18px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  border-radius: 3px;
  border: 1px solid var(--line);
  background: #1c2b23;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.platform:hover { background: #293e30; border-color: var(--signal); }
.platform:disabled { opacity: .7; cursor: wait; }
.platform strong { display: block; font-size: 1.21rem; letter-spacing: -.035em; }
.platform small { display: block; color: var(--muted); font-size: .78rem; margin-top: 4px; }
.arrow { color: var(--signal); font-size: 1.6rem; transition: transform .2s; }
.platform:hover .arrow { transform: translateX(3px); }
.support { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px 20px; margin-top: 14px; color: var(--muted); font-size: .79rem; }
details { max-width: 53ch; line-height: 1.6; }
summary { cursor: pointer; width: fit-content; }
ol { padding-left: 20px; }
li + li { margin-top: 6px; }
.version { white-space: nowrap; }
#download-status { color: var(--signal); margin: 10px 0 0; font-size: .86rem; }
#download-status:empty { display: none; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
@keyframes rise { from { opacity: 0; transform: translateY(13px); } to { opacity: 1; transform: translateY(0); } }
@keyframes settle { from { transform: scale(1.035); } to { transform: scale(1); } }
@media (max-width: 700px) {
  .shell { width: calc(100% - 40px); }
  .masthead { min-height: 66px; }
  .terrain { background-position: 64% top; background-size: auto max(520px, 74svh); }
  .stage::before { background: linear-gradient(0deg, #0c130f 13%, #0c130ffa 25%, #0c130f9c 52%, #0c130f2e 80%, #0c130f8c), linear-gradient(90deg, #0c130f9c, transparent 92%); }
  .intro { padding-block: 110px 27px; }
  h1 { font-size: clamp(3.65rem, 13.4vw, 6rem); }
  .intro p { margin-top: 16px; }
  .platforms { grid-template-columns: 1fr; gap: 7px; }
  .platform { min-height: 62px; padding: 8px 12px; }
  .support { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
