:root {
  --bg: #050706;
  --panel: rgba(9, 13, 13, 0.86);
  --panel-strong: rgba(13, 18, 17, 0.94);
  --line: rgba(226, 213, 126, 0.2);
  --text: #f3f1df;
  --muted: #b8b39e;
  --green: #9edc7a;
  --gold: #f0d85b;
  --cyan: #65c7e8;
  --orange: #ff9e57;
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.42);
  --content: 1160px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    linear-gradient(180deg, rgba(3, 5, 6, 0.34), var(--bg) 72vh),
    radial-gradient(circle at 75% 15%, rgba(158, 220, 122, 0.16), transparent 24rem),
    url("assets/background.png") center top / cover no-repeat fixed,
    var(--bg);
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.32), transparent 62%);
}

a {
  color: inherit;
}

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

figure {
  margin: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 10ch;
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 7vw, 6rem);
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.7);
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  line-height: 1.15;
}

section,
.asset-group {
  scroll-margin-top: 96px;
}

.site-header,
main,
.site-footer {
  width: min(var(--content), calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  backdrop-filter: blur(12px);
}

.brand img {
  width: 232px;
  height: auto;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.top-nav a,
.button,
.download-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(240, 216, 91, 0.28);
  border-radius: 6px;
  background: rgba(7, 10, 10, 0.68);
  color: var(--text);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.top-nav a {
  padding: 8px 13px;
}

.button {
  padding: 12px 18px;
}

.download-link {
  flex: 0 0 auto;
  padding: 9px 13px;
  border-color: rgba(101, 199, 232, 0.34);
  color: var(--cyan);
  white-space: nowrap;
}

.button-primary {
  border-color: rgba(240, 216, 91, 0.78);
  background: linear-gradient(135deg, rgba(240, 216, 91, 0.92), rgba(255, 158, 87, 0.9));
  color: #141008;
}

.top-nav a:hover,
.button:hover,
.download-link:hover,
.asset-card:hover,
.media-card:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 216, 91, 0.72);
}

a:focus-visible,
video:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  padding: 72px 0 86px;
}

.hero-copy {
  max-width: 820px;
}

.eyebrow,
.asset-type {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead {
  max-width: 760px;
  margin-bottom: 28px;
  color: var(--text);
  font-size: clamp(1.08rem, 2vw, 1.36rem);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}

.genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -6px 0 24px;
}

.genre-tags span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid rgba(158, 220, 122, 0.3);
  border-radius: 999px;
  background: rgba(8, 13, 12, 0.78);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 720;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.screenshot-showcase,
.quick-facts,
.section-block,
.ai-disclaimer {
  margin-bottom: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.screenshot-showcase,
.quick-facts,
.section-block,
.ai-disclaimer {
  padding: clamp(22px, 4vw, 40px);
}

.description-copy p,
.ai-disclaimer p,
.section-heading p,
.subsection-heading p,
.wordmark-card p,
.video-details p {
  max-width: 760px;
  color: var(--muted);
}

.description-copy {
  max-width: 900px;
  font-size: 1.04rem;
}

.description-copy p:last-child,
.ai-disclaimer p:last-child {
  margin-bottom: 0;
}

.section-heading {
  margin-bottom: 24px;
}

.subsection-heading {
  margin-bottom: 18px;
}

.subsection-heading h3 {
  margin-bottom: 8px;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.showcase-grid,
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.showcase-card-featured {
  grid-column: span 2;
}

.asset-card,
.media-card,
.facts-grid div,
.wordmark-card {
  border: 1px solid rgba(226, 213, 126, 0.16);
  border-radius: 8px;
  background: var(--panel-strong);
}

.asset-card {
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.asset-preview {
  display: block;
  overflow: hidden;
  background: #060807;
}

.asset-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  transition: transform 220ms ease;
}

.asset-preview:hover img {
  transform: scale(1.012);
}

.asset-caption {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px;
}

.asset-caption > span {
  display: flex;
  flex-direction: column;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.asset-caption strong {
  margin-bottom: 3px;
  color: var(--text);
  font-size: 1rem;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
}

.facts-grid div {
  padding: 18px;
}

dt {
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

dd {
  margin: 0;
  color: var(--text);
  font-weight: 650;
}

dd a,
.site-footer a {
  color: var(--cyan);
  text-underline-offset: 3px;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list-full {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-list li {
  position: relative;
  padding: 13px 15px 13px 35px;
  border-left: 2px solid rgba(158, 220, 122, 0.58);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-weight: 620;
}

.feature-list li::before {
  position: absolute;
  left: 14px;
  color: var(--green);
  content: "+";
}

.wordmark-card {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(260px, 0.9fr);
  gap: 28px;
  align-items: center;
  padding: clamp(20px, 3vw, 30px);
}

.wordmark-card .button {
  margin-top: 6px;
}

.wordmark-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  padding: 30px;
  border: 1px solid rgba(101, 199, 232, 0.16);
  border-radius: 6px;
  background:
    radial-gradient(circle, rgba(101, 199, 232, 0.1), transparent 68%),
    #070a0a;
}

.wordmark-preview img {
  width: min(460px, 100%);
}

.capsule-card {
  margin-top: 16px;
}

.capsule-preview {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(101, 199, 232, 0.16);
  border-radius: 6px;
  background: #070a0a;
}

.capsule-preview img {
  width: 100%;
}

.asset-group {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.video-card {
  position: relative;
}

.video-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-details {
  padding: 18px;
}

.video-details h3 {
  margin-bottom: 6px;
}

.video-details p:not(.asset-type) {
  margin-bottom: 16px;
}

.video-badge {
  display: inline-flex;
  margin-right: 8px;
  padding: 4px 7px;
  border: 1px solid rgba(255, 158, 87, 0.55);
  border-radius: 4px;
  background: rgba(255, 158, 87, 0.12);
  color: var(--orange);
}

.screenshot-card .asset-caption {
  min-height: 0;
  justify-content: flex-end;
  padding: 8px;
}

.screenshot-card .download-link {
  width: 100%;
  min-height: 34px;
  padding: 6px 9px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.media-card {
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #111;
}

.media-card span {
  display: block;
  min-height: 86px;
  padding: 15px;
  font-weight: 760;
  line-height: 1.28;
}

.media-card.featured {
  border-color: rgba(240, 216, 91, 0.34);
}

.ai-disclaimer {
  background: rgba(9, 13, 13, 0.76);
}

.ai-disclaimer h2 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.ai-disclaimer p:not(.eyebrow) {
  max-width: 900px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 0 52px;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .hero {
    min-height: 500px;
    padding-top: 52px;
  }

  .wordmark-card {
    grid-template-columns: 1fr;
  }

  .screenshot-grid,
  .facts-grid,
  .media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body {
    background-attachment: scroll;
  }

  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .brand img {
    width: 196px;
  }

  .top-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .top-nav a {
    flex: 1 1 auto;
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  .hero {
    min-height: 440px;
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .showcase-grid,
  .screenshot-grid,
  .video-grid,
  .facts-grid,
  .feature-list-full,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .showcase-card-featured {
    grid-column: auto;
  }

  .asset-caption {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .download-link {
    width: 100%;
  }

  .wordmark-preview {
    min-height: 160px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
