:root {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #ecf0eb;
  background: #141b1a;
  font-synthesis: none;
  --accent: #b3e99b;
  --muted: #a1ada5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: radial-gradient(ellipse at 85% 45%, #273a2c66, transparent 50%);
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}
.site-header,
main,
footer {
  width: min(1120px, calc(100% - 80px));
  margin-inline: auto;
}
.site-header {
  padding-block: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.035em;
}
.beta {
  color: var(--accent);
  border: 1px solid #b3e99b33;
  border-radius: 5px;
  padding: 3px 7px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-left: 4px;
}
.source-link {
  font-size: 0.875rem;
  color: var(--muted);
}
.source-link:hover,
.all-releases:hover {
  color: var(--accent);
}
main {
  flex: 1;
  display: flex;
  align-items: center;
  padding-block: 70px 85px;
}
.hero {
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 40px;
}
.eyebrow {
  color: var(--accent);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.6;
  margin: 0 0 24px;
}
h1 {
  font-size: clamp(3rem, 6.5vw, 5.4rem);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.065em;
  margin: 0;
}
h1 em {
  color: var(--accent);
  font-weight: inherit;
  font-style: normal;
}
.description {
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.75;
  max-width: 450px;
  margin: 28px 0 36px;
}
.download-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 24px;
  border-radius: 8px;
  background: var(--accent);
  color: #172512;
  font-size: 1rem;
  font-weight: 650;
  min-height: 56px;
  transition:
    background 0.15s,
    transform 0.15s;
}
.download-button:hover {
  background: #c4f4b0;
  transform: translateY(-2px);
}
.download-status {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
  max-width: 440px;
}
.platform-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
[hidden] {
  display: none !important;
}
.platform-choice label {
  color: var(--muted);
  font-size: 0.875rem;
}
select {
  font: inherit;
  font-size: 0.875rem;
  color: #ecf0eb;
  background: #1a2320;
  border: 1px solid #34453a;
  border-radius: 6px;
  padding: 9px 12px;
  max-width: 100%;
}
.all-releases {
  color: var(--muted);
  font-size: 0.875rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-top: 5px;
  line-height: 1.6;
}
.deck {
  position: relative;
  height: 420px;
  width: 100%;
}
.card {
  position: absolute;
  width: 255px;
  height: 355px;
  left: 50%;
  top: 30px;
  border-radius: 17px;
  box-shadow: 0 20px 40px #0003;
}
.card-back {
  transform: translateX(-35%) rotate(15deg);
  border: 1px solid #53624e;
  background: repeating-linear-gradient(45deg, #2d412c 0 6px, #344b32 6px 7px);
}
.card-middle {
  transform: translateX(-50%) rotate(1deg);
  background: #91b782;
  border: 1px solid #c0e3a8;
}
.card-front {
  transform: translateX(-65%) rotate(-12deg);
  background: #e6eadb;
  color: #1f3528;
  display: grid;
  place-items: center;
  border: 1px solid #fbfff0;
}
.card-front::after {
  content: '';
  position: absolute;
  inset: 11px;
  border: 1px solid #213b2822;
  border-radius: 10px;
}
.spade {
  width: 175px;
  height: 175px;
  fill: currentColor;
}
.card-corner {
  position: absolute;
  top: 20px;
  left: 22px;
  font-family: Georgia, serif;
  font-size: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}
.card-corner span {
  font-size: 1.4rem;
}
.card-corner-bottom {
  top: auto;
  left: auto;
  bottom: 20px;
  right: 22px;
  transform: rotate(180deg);
}
footer {
  border-top: 1px solid #2a3430;
  padding-block: 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--muted);
}
footer span {
  color: #d3dece;
}
footer p {
  margin: 0;
}
@media (max-width: 850px) {
  .site-header,
  main,
  footer {
    width: calc(100% - 48px);
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 0;
  }
  main {
    padding-block: 45px;
  }
  .deck {
    display: none;
  }
  h1 {
    font-size: clamp(3rem, 10vw, 5rem);
  }
  footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
@media (max-width: 400px) {
  .site-header,
  main,
  footer {
    width: calc(100% - 36px);
  }
  .site-header {
    padding-block: 24px;
  }
  .download-button {
    padding-inline: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .download-button {
    transition: none;
  }
  .download-button:hover {
    transform: none;
  }
}
