:root {
  --bg-top: #f6f7f8;
  --bg-bottom: #d4d7dc;
  --panel: rgba(255, 255, 255, 0.74);
  --panel-strong: rgba(255, 255, 255, 0.9);
  --text: #121417;
  --muted: #5c636d;
  --line: rgba(18, 20, 23, 0.1);
  --shadow: 0 30px 90px rgba(18, 20, 23, 0.18);
  --intro-duration: 1250ms;
  --intro-ease: cubic-bezier(0.76, 0.04, 0.24, 1);
  --intro-center-x: 50vw;
  --intro-center-y: 50vh;
  --intro-radius-start: 160vmax;
  --intro-art-left: 0px;
  --intro-art-top: 0px;
  --intro-art-width: 620px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0) 28%),
    linear-gradient(150deg, var(--bg-top) 0%, #eceef1 34%, var(--bg-bottom) 100%);
  color: var(--text);
  font-family: "IBM Plex Sans", sans-serif;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(12px);
}

body::before {
  width: 24rem;
  height: 24rem;
  top: -9rem;
  right: -5rem;
  background: rgba(255, 255, 255, 0.75);
}

body::after {
  width: 20rem;
  height: 20rem;
  bottom: -6rem;
  left: -4rem;
  background: rgba(141, 148, 158, 0.24);
}

img {
  display: block;
  max-width: 100%;
}

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
}

.intro-overlay__curtain {
  position: absolute;
  inset: 0;
  background: #050505;
  clip-path: circle(var(--intro-radius-start) at var(--intro-center-x) var(--intro-center-y));
  will-change: clip-path, opacity;
}

.intro-overlay__layout {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: center;
  gap: 48px;
}

.intro-overlay__spacer {
  min-height: 1px;
}

.intro-overlay__art {
  position: fixed;
  left: var(--intro-art-left);
  top: var(--intro-art-top);
  z-index: 1;
  display: flex;
  justify-content: flex-start;
  width: var(--intro-art-width);
}

.intro-overlay__frame {
  position: relative;
  z-index: 1;
  width: 100%;
  opacity: 1;
  background: #050505;
  border-radius: 32px;
  overflow: hidden;
}

.intro-overlay__ship {
  width: 100%;
  aspect-ratio: 1;
  opacity: 1;
  object-fit: cover;
  border-radius: 32px;
}

body.intro-ready .intro-overlay {
  animation: intro-overlay-hide 0ms linear var(--intro-duration) forwards;
}

body.intro-ready .intro-overlay__curtain {
  animation: intro-curtain-collapse var(--intro-duration) linear forwards;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}

.hero {
  width: min(1220px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: center;
  gap: 48px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.flag {
  margin-left: 0.35rem;
  font-size: 1.05em;
}

h1 {
  margin: 0;
  max-width: 11ch;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(4.4rem, 8vw, 7.8rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
}

.lede {
  margin: 24px 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.28rem);
  line-height: 1.7;
}

.lede-secondary {
  margin-top: 8px;
}

.hero-actions {
  margin-top: 32px;
}

.download-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 144px;
  padding: 0 68px;
  border-radius: 999px;
  background: linear-gradient(180deg, #1d2025 0%, #090a0c 100%);
  box-shadow: 0 20px 45px rgba(10, 12, 16, 0.32);
  color: #ffffff;
  font-size: 2.1rem;
  font-weight: 600;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow 180ms ease;
}

.download-button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, #3a4049 0%, #181c22 100%);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
  z-index: 0;
}

.download-button::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
  z-index: 0;
}

.download-button__label {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.download-button:hover {
  box-shadow: 0 22px 50px rgba(10, 12, 16, 0.36);
}

.download-button:hover::before,
.download-button:hover::after {
  opacity: 1;
}

.release-strip {
  margin-top: 28px;
  display: inline-flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel-strong);
  box-shadow: 0 20px 50px rgba(18, 20, 23, 0.08);
  backdrop-filter: blur(22px);
}

.release-label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#release-version {
  font-size: 1.2rem;
}

#release-details {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-art {
  display: flex;
  justify-content: flex-end;
}

.logo-frame {
  position: relative;
  width: min(100%, 620px);
  padding: 0;
  border: 0;
  border-radius: 32px;
  background: transparent;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.logo-frame::after {
  content: none;
}

.logo-frame img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 32px;
}

@keyframes intro-curtain-collapse {
  0% {
    clip-path: circle(var(--intro-radius-start) at var(--intro-center-x) var(--intro-center-y));
  }

  100% {
    clip-path: circle(0 at var(--intro-center-x) var(--intro-center-y));
  }
}

@keyframes intro-overlay-hide {
  to {
    visibility: hidden;
  }
}

@media (max-width: 980px) {
  .intro-overlay__layout {
    width: min(1220px, calc(100% - 36px));
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .intro-overlay__spacer {
    display: none;
  }

  .intro-overlay__art {
    justify-self: center;
    justify-content: center;
  }

  .page-shell {
    padding: 28px 18px 36px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-copy {
    order: 2;
  }

  .hero-art {
    order: 1;
    justify-content: center;
  }

  h1 {
    max-width: none;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: clamp(3.1rem, 18vw, 4.6rem);
    line-height: 0.92;
  }

  .download-button {
    width: 100%;
    min-height: 118px;
    padding: 0 18px;
    font-size: clamp(1.18rem, 5vw, 1.45rem);
  }

  .release-strip {
    width: 100%;
  }
}
