:root {
  --ink: #233a34;
  --muted: #58665f;
  --green: #1f6250;
  --green-deep: #173e34;
  --paper: #f5f5ef;
  --white: #fff;
  --line: #dce2d9;
  --amber: #e4b474;
  --focus: #715a2c;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height, 72px) + 1rem);
}
body {
  margin: 0;
  min-width: 320px;
  line-height: 1.5;
}
a {
  color: inherit;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
.gallery :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--amber);
}
.skip-link {
  position: fixed;
  top: 0;
  left: 1rem;
  z-index: 20;
  transform: translateY(-120%);
  background: var(--amber);
  padding: 0.6rem 0.9rem;
  color: var(--ink);
  font-weight: 700;
}
.skip-link:focus {
  transform: translateY(0);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.beta-banner {
  padding: 0.65rem clamp(1rem, 4vw, 4rem);
  background: var(--amber);
  color: var(--ink);
  text-align: center;
  font-size: 0.92rem;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 72px;
  flex-wrap: wrap;
  padding: 0 clamp(1rem, 4vw, 4rem);
  display: flex;
  align-items: center;
  gap: 1.6rem;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: 0;
}
.wordmark img {
  object-fit: contain;
}
.site-header nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.site-header nav a,
.site-footer nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 650;
}
.site-header nav a:hover,
.site-footer nav a:hover,
.text-link:hover {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.header-download,
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 42px;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 750;
  border-radius: 4px;
}
.header-download:hover,
.button:hover {
  background: var(--green-deep);
}
.menu-button {
  display: none;
  min-height: 44px;
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.42rem 0.65rem;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: center;
  max-width: 1320px;
  margin: auto;
  padding: clamp(4rem, 9vw, 8.75rem) clamp(1rem, 5vw, 4rem) clamp(4rem, 8vw, 7rem);
}
.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}
h1 {
  max-width: 650px;
  margin-bottom: 1.35rem;
  font-size: clamp(2.75rem, 6vw, 5.9rem);
  font-weight: 780;
}
h2 {
  max-width: 760px;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 760;
}
.hero-intro {
  max-width: 570px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2rem;
}
.button {
  min-height: 48px;
  padding: 0.7rem 1.15rem;
}
.text-link {
  font-weight: 750;
  text-decoration: none;
}
.availability {
  margin: 2.1rem 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}
.availability span {
  color: var(--green);
}
.hero-product {
  margin: 0;
  min-width: 0;
}
.hero-product img,
.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  box-shadow: 0 16px 40px rgb(35 58 52 / 13%);
}
.hero-product figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.82rem;
}
.section {
  max-width: 1320px;
  margin: auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 4rem);
}
.features {
  border-top: 1px solid var(--line);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.6rem, 4vw, 4rem);
  margin-top: 3.25rem;
}
.feature-grid article {
  border-top: 2px solid var(--green);
  padding-top: 1.15rem;
}
.feature-grid .number {
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
}
.feature-grid h3 {
  margin-bottom: 0.75rem;
  font-size: 1.33rem;
}
.feature-grid article > p:last-child,
.gallery-heading > p,
.section-heading > p {
  color: var(--muted);
}
.import-skills-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.import-skills-grid article {
  min-width: 0;
}
.import-skills-grid article > p:not(.number) {
  color: var(--muted);
}
.import-skills-grid .button {
  text-align: center;
  overflow-wrap: anywhere;
}
.games {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
  background: #e9efe9;
}
.games-intro > p:last-child {
  max-width: 31rem;
  color: var(--muted);
}
.games-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid #b8cabb;
}
.games-grid article {
  position: relative;
  padding: 1.2rem 0 1.25rem 3.7rem;
  border-bottom: 1px solid #b8cabb;
}
.games-grid h3 {
  margin-bottom: 0.45rem;
  font-size: 1.22rem;
}
.games-grid p {
  margin-bottom: 0;
  color: var(--muted);
}
.games-icon {
  position: absolute;
  top: 1.2rem;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid var(--green);
  border-radius: 50%;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
}
.gallery {
  background: var(--green-deep);
  color: #f7f7f1;
  max-width: none;
}
.gallery .section-heading {
  max-width: 1320px;
  margin: auto;
}
.gallery .eyebrow {
  color: var(--amber);
}
.gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}
.gallery-heading > p {
  max-width: 330px;
  color: #c9d3cc;
}
.gallery-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1320px;
  margin: 3rem auto 0;
}
.gallery-item {
  min-width: 0;
  margin: 0;
}
.gallery-item img {
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: top;
  box-shadow: none;
}
.gallery-item figcaption {
  display: grid;
  gap: 0.2rem;
  padding: 0.8rem 0 0;
}
.gallery-item figcaption span {
  color: #c9d3cc;
  font-size: 0.9rem;
}
.gallery-controls {
  display: none;
}
.download {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 4rem;
  align-items: start;
}
.platform-grid {
  display: grid;
  gap: 0.75rem;
}
.platform {
  min-height: 82px;
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: var(--white);
  text-decoration: none;
}
.platform:hover {
  border-color: var(--green);
  background: #fbfcf9;
}
.platform strong,
.platform small {
  display: block;
}
.platform small {
  color: var(--muted);
  font-size: 0.8rem;
}
.platform b {
  color: var(--green);
}
.platform-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: #e9efe9;
  color: var(--green);
  font-size: 0.68rem;
  font-weight: 800;
  border-radius: 50%;
}
.release-note {
  grid-column: 2;
  border-left: 3px solid var(--amber);
  padding: 0.9rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.release-note strong {
  color: var(--ink);
}
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  max-width: 800px;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  font-weight: 750;
}
.faq details p {
  margin: 0.8rem 0 0;
  color: var(--muted);
}
.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem clamp(1rem, 5vw, 4rem);
  background: var(--green-deep);
  color: #f5f5ef;
}
.site-footer p {
  margin: 0;
  color: #cad4cd;
  font-size: 0.9rem;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 1rem;
}
.site-footer nav a:hover {
  color: var(--amber);
}
.legal {
  max-width: 850px;
  margin: auto;
  padding: clamp(4rem, 8vw, 7rem) 1rem;
}
.legal header {
  margin-bottom: 3rem;
}
.legal h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}
.legal h2 {
  margin-top: 2.5rem;
  font-size: 1.45rem;
}
.legal p,
.legal li {
  color: var(--muted);
}
.legal .placeholder {
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--amber);
  background: #fffaf0;
  color: var(--ink);
}
.return-link {
  color: var(--green);
  font-weight: 750;
}
@media (max-width: 1000px) {
  .site-header {
    height: auto;
    min-height: 64px;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .site-header nav {
    order: 4;
    flex-basis: 100%;
    margin: 0;
    padding: 0.7rem 0 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .site-header.navigation-ready nav {
    display: none;
  }
  .site-header.navigation-ready nav.is-open {
    display: flex;
  }
  .navigation-ready .menu-button {
    display: block;
    margin-left: auto;
  }
  .header-download {
    display: none;
  }
}
@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 3.5rem;
  }
  .hero-product {
    max-width: 680px;
  }
  .feature-grid,
  .import-skills-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }
  .games {
    display: block;
  }
  .games-grid {
    margin-top: 2rem;
  }
  .gallery-heading,
  .download {
    display: block;
  }
  .gallery-heading > p {
    margin-top: 1.2rem;
  }
  .gallery-track {
    grid-template-columns: 1fr;
    margin-top: 1.4rem;
  }
  .gallery-ready .gallery-track {
    display: flex;
    overflow: hidden;
    margin-top: 1.4rem;
  }
  .gallery-ready .gallery-item {
    display: none;
    flex: 0 0 100%;
  }
  .gallery-ready .gallery-item.is-active {
    display: block;
  }
  .gallery-ready .gallery-controls {
    display: flex;
    justify-content: end;
    gap: 0.5rem;
    max-width: 1320px;
    margin: 1.5rem auto 0;
  }
  .gallery-button {
    width: 44px;
    height: 44px;
    border: 1px solid #628478;
    color: #fff;
    background: transparent;
    font-size: 1.1rem;
  }
  .platform-grid {
    margin-top: 2rem;
  }
  .release-note {
    margin-top: 1.3rem;
  }
  .site-footer {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .site-footer nav {
    justify-content: start;
  }
}
@media (max-width: 390px) {
  h1 {
    font-size: 2.6rem;
  }
  .platform {
    grid-template-columns: 42px 1fr auto;
    gap: 0.65rem;
  }
  .platform small {
    font-size: 0.74rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@media print {
  .site-header,
  .site-footer,
  .gallery-controls,
  .menu-button {
    display: none;
  }
  .hero,
  .section {
    padding: 1.5rem;
  }
  .gallery {
    color: var(--ink);
    background: #fff;
  }
  .gallery-ready .gallery-controls {
    display: none;
  }
  .gallery-ready .gallery-track {
    display: block;
    overflow: visible;
  }
  .gallery-item,
  .gallery-ready .gallery-item {
    display: block;
    margin: 0 0 1rem;
  }
}
