:root {
  color-scheme: light;
  --ink: #101116;
  --muted: #636872;
  --panel: #ffffff;
  --line: #d8dbe2;
  --paper: #f4f1ea;
  --coal: #17181f;
  --red: #c8352e;
  --gold: #d99b34;
  --teal: #177b83;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 64px);
  color: #fff;
  background: linear-gradient(180deg, rgba(14, 15, 20, 0.82), rgba(14, 15, 20, 0));
}

.brand,
.site-nav,
.hero-actions,
.hero-stats,
.contact {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.14);
  font-weight: 900;
}

.site-nav {
  gap: clamp(12px, 2.4vw, 30px);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.88;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 138px clamp(20px, 5vw, 80px) 34px;
  color: #fff;
  background:
    linear-gradient(95deg, rgba(11, 12, 16, 0.92) 0%, rgba(11, 12, 16, 0.68) 43%, rgba(11, 12, 16, 0.12) 100%),
    url("https://images.unsplash.com/photo-1593305841991-05c297ba4575?auto=format&fit=crop&w=2200&q=85") center/cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(23, 24, 31, 0.92) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 930px;
  padding-bottom: 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--red);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 6.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.83);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-weight: 850;
}

.button.primary {
  background: var(--red);
  color: #fff;
}

.button.primary:hover {
  background: #a92924;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.button.light {
  background: #fff;
  color: var(--coal);
}

.hero-stats {
  position: relative;
  z-index: 1;
  justify-content: flex-start;
  gap: 1px;
  width: min(760px, 100%);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.hero-stats div {
  flex: 1 1 0;
  min-width: 150px;
  padding: 18px;
  background: rgba(12, 13, 18, 0.54);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: 1.45rem;
}

.hero-stats span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(20px, 5vw, 80px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: end;
  background: var(--paper);
}

.intro p:last-child,
.technology-content > p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

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

.game-card {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(20, 20, 25, 0.08);
}

.game-card img {
  width: 100%;
  aspect-ratio: 1.22;
  object-fit: cover;
}

.game-card-body {
  padding: 22px;
}

.tag {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 9px;
  background: rgba(23, 123, 131, 0.12);
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.game-card p,
.process-item p {
  margin: 12px 0 0;
  color: var(--muted);
}

.technology {
  padding: clamp(72px, 9vw, 132px) clamp(20px, 5vw, 80px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(17, 18, 24, 0.96), rgba(17, 18, 24, 0.82)),
    url("https://images.unsplash.com/photo-1556438064-2d7646166914?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.technology-content {
  max-width: 1120px;
}

.technology-content h2 {
  max-width: 760px;
}

.technology-content > p {
  max-width: 760px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.74);
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.14);
}

.capability-list div {
  min-height: 220px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.capability-list p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.process {
  background: #fff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.process-item {
  min-height: 210px;
  padding: 24px;
  background: #fff;
}

.process-item span {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--red);
  font-weight: 900;
}

.contact {
  justify-content: space-between;
  gap: 28px;
  padding: clamp(56px, 7vw, 92px) clamp(20px, 5vw, 80px);
  color: #fff;
  background: var(--teal);
}

.contact h2 {
  max-width: 820px;
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .intro,
  .game-grid,
  .capability-list,
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .site-header {
    flex-direction: column;
    padding: 18px 20px;
  }

  .site-nav {
    justify-content: flex-start;
    font-size: 0.84rem;
  }

  .hero {
    min-height: 100vh;
    padding-top: 184px;
  }

  .hero-content {
    padding-bottom: 34px;
  }

  .hero-stats,
  .intro,
  .game-grid,
  .capability-list,
  .process-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-stats div {
    min-width: 0;
  }

  .button {
    width: 100%;
  }
}
