:root {
  color-scheme: dark;
  --black: #070707;
  --black-soft: #111111;
  --white: #ffffff;
  --light: #f5f5f7;
  --ink: #171719;
  --gray: #a1a1a6;
  --gray-dark: #5e5e63;
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-light: rgba(0, 0, 0, 0.1);
  --accent: #ff5a36;
  --accent-soft: #ff8a61;
  --shell: min(1180px, calc(100% - 48px));
  --radius-large: 36px;
  --radius-medium: 24px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

[hidden] {
  display: none !important;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(7, 7, 7, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(130%);
  backdrop-filter: blur(20px) saturate(130%);
}

.nav {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-actions,
.nav-links,
.language-switch {
  display: flex;
  align-items: center;
}

.nav-actions {
  gap: 28px;
}

.nav-links {
  gap: 24px;
}

.nav-links a,
.language-button {
  color: #d4d4d8;
  font-size: 0.82rem;
  transition: color 160ms ease;
}

.nav-links a:hover,
.language-button:hover,
.language-button.is-active {
  color: var(--white);
}

.language-switch {
  gap: 6px;
  color: var(--gray-dark);
}

.language-button {
  min-width: 28px;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: calc(100svh - 68px);
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-glow {
  position: absolute;
  z-index: -2;
  right: -14vw;
  top: 5%;
  width: 58vw;
  height: 58vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 54, 0.13), transparent 68%);
  filter: blur(8px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: clamp(36px, 7vw, 100px);
  padding-block: clamp(72px, 9vw, 132px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  animation: rise-in 700ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.eyebrow,
.section-kicker {
  margin: 0 0 22px;
  color: var(--accent-soft);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

h1 {
  margin: 0;
  font-size: clamp(3.6rem, 7.4vw, 7rem);
  font-weight: 760;
  letter-spacing: -0.072em;
  line-height: 0.86;
}

h1 span {
  display: block;
}

.hero-tagline {
  margin: 38px 0 0;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  font-weight: 660;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hero-tagline span {
  display: block;
}

.accent-text {
  color: var(--accent);
}

.hero-description {
  max-width: 590px;
  margin: 24px 0 0;
  color: var(--gray);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.6;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--white);
  color: var(--ink);
}

.button-primary:hover {
  background: #e8e8ea;
}

.button-secondary {
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

.button-disabled {
  color: rgba(255, 255, 255, 0.56);
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  cursor: default;
}

.button-disabled:hover {
  transform: none;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 36px 0 0;
  padding: 0;
  color: #77777d;
  font-size: 0.78rem;
  list-style: none;
}

.hero-meta li {
  position: relative;
}

.hero-meta li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #46464a;
}

.arena-visual {
  width: min(100%, 520px);
  justify-self: end;
  animation: rise-in 800ms 120ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.arena-frame {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-large);
  background: linear-gradient(145deg, #18181a, #0b0b0c 62%);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
  transform: perspective(900px) rotateY(-7deg) rotateX(4deg);
}

.arena-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 34%);
  pointer-events: none;
}

.arena-grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image: linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 12.5% 12.5%;
  transform: perspective(450px) rotateX(58deg) scale(1.45) translateY(27%);
}

.arena-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.arena-ring-outer {
  width: 68%;
  height: 68%;
  box-shadow: inset 0 0 48px rgba(255, 90, 54, 0.04);
}

.arena-ring-inner {
  width: 27%;
  height: 27%;
  border-color: rgba(255, 90, 54, 0.4);
  background: rgba(255, 90, 54, 0.04);
}

.hazard {
  position: absolute;
  width: 12%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.18);
}

.hazard::after {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid currentColor;
  border-radius: inherit;
  opacity: 0.24;
}

.hazard-one {
  top: 17%;
  left: 20%;
  color: #ff8266;
  background: #ff8266;
}

.hazard-two {
  top: 24%;
  right: 16%;
  width: 8%;
  color: #d9f1ff;
  background: #d9f1ff;
}

.hazard-three {
  bottom: 19%;
  left: 17%;
  width: 9%;
  color: #ffe29b;
  background: #ffe29b;
}

.hazard-four {
  right: 22%;
  bottom: 22%;
  width: 14%;
  color: #bdb0ff;
  background: #bdb0ff;
}

.arena-label {
  position: absolute;
  left: 24px;
  bottom: 22px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.arena-label span {
  font-size: 2rem;
  font-weight: 750;
}

.arena-label small {
  max-width: 92px;
  color: var(--gray);
  font-size: 0.65rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.section {
  padding-block: clamp(92px, 12vw, 174px);
}

.section-light {
  background: var(--light);
  color: var(--ink);
}

.section-light .section-kicker {
  color: #d94320;
}

.section-dark {
  background: var(--black);
  color: var(--white);
}

.display-heading {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3rem, 6.2vw, 6rem);
  font-weight: 740;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.display-heading span {
  display: block;
}

.compact-heading {
  max-width: 760px;
  font-size: clamp(2.8rem, 5.4vw, 5rem);
}

.sentence-builder {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 16px;
  margin-top: clamp(52px, 8vw, 92px);
}

.keyword-card {
  min-width: 0;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3.4vw, 38px);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-medium);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
}

.card-number {
  align-self: flex-start;
  padding: 7px 10px;
  border-radius: 999px;
  background: #ededf0;
  color: var(--gray-dark);
  font-size: 0.72rem;
  font-weight: 750;
}

.card-category {
  margin: auto 0 10px;
  color: var(--gray-dark);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.keyword-card h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.045em;
}

.operator {
  align-self: center;
  color: #a7a7ab;
  font-size: 1.8rem;
  font-weight: 300;
}

.compiled-sentence {
  display: grid;
  justify-items: center;
  gap: 20px;
  margin-top: 36px;
}

.compiled-sentence span {
  color: #a7a7ab;
  font-size: 1.6rem;
}

.compiled-sentence p {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.5rem);
  font-weight: 680;
  letter-spacing: -0.04em;
  text-align: center;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: clamp(48px, 9vw, 130px);
}

.section-copy,
.section-intro {
  color: var(--gray);
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  line-height: 1.6;
}

.section-copy p {
  margin: 0;
}

.section-copy p + p {
  margin-top: 24px;
}

.event-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(64px, 10vw, 120px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-medium);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.025);
}

.event-strip span,
.event-strip strong {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.event-strip span {
  border-right: 1px solid var(--line-dark);
  color: #d4d4d8;
  font-size: 0.88rem;
}

.event-strip strong {
  grid-column: 1 / -1;
  min-height: 72px;
  border-top: 1px solid var(--line-dark);
  background: var(--accent);
  color: var(--white);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.section-intro {
  max-width: 650px;
  margin: 28px 0 0;
}

.section-light .section-intro {
  color: var(--gray-dark);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(50px, 8vw, 86px);
}

.feature-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-medium);
  background: var(--white);
}

.feature-card-wide {
  grid-column: 1 / -1;
  min-height: 360px;
  background: linear-gradient(135deg, #19191b, #09090a);
  color: var(--white);
}

.feature-card-accent {
  background: var(--accent);
  color: var(--white);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: auto;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 1.35rem;
  opacity: 0.7;
}

.feature-card h3 {
  max-width: 650px;
  margin: 34px 0 0;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.feature-card p {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--gray-dark);
  line-height: 1.55;
}

.feature-card-wide p {
  color: var(--gray);
}

.feature-card-accent p {
  color: rgba(255, 255, 255, 0.78);
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
}

.section-heading-row .narrow {
  max-width: 390px;
  margin-bottom: 6px;
}

.media-placeholder,
.gameplay-video {
  width: 100%;
  margin-top: clamp(46px, 7vw, 76px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-large);
  background: #0d0d0e;
}

.media-placeholder {
  position: relative;
  aspect-ratio: 16 / 8.8;
  overflow: hidden;
}

.media-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-dark);
}

.media-grid span {
  background: radial-gradient(circle at 50% 110%, rgba(255, 90, 54, 0.12), transparent 45%), linear-gradient(135deg, #141416, #0a0a0b);
}

.media-message {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  background: rgba(7, 7, 7, 0.52);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #d4d4d8;
  text-align: center;
}

.record-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(255, 90, 54, 0.8);
}

.gameplay-video {
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.playtest-section {
  background: var(--accent);
}

.playtest-panel {
  max-width: 900px;
  text-align: center;
}

.playtest-section .section-kicker {
  color: rgba(255, 255, 255, 0.72);
}

.playtest-panel .display-heading {
  margin-inline: auto;
}

.playtest-lead {
  max-width: 700px;
  margin: 28px auto 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.65;
}

.playtest-unavailable {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 650;
}

.provider-chooser {
  margin-top: 46px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-medium);
  background: rgba(7, 7, 7, 0.16);
  text-align: left;
}

.provider-chooser h3 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  letter-spacing: -0.045em;
}

.provider-chooser > p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.provider-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 12px;
  margin-top: 28px;
}

.provider-option {
  min-height: 156px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
  transition: transform 180ms ease, background-color 180ms ease;
}

.provider-option:hover {
  transform: translateY(-2px);
  background: #f4f4f6;
}

.provider-details {
  display: grid;
  gap: 8px;
}

.provider-name {
  font-size: 1.18rem;
}

.provider-description {
  color: var(--gray-dark);
  font-size: 0.84rem;
  line-height: 1.45;
}

.provider-action {
  font-size: 0.84rem;
  font-weight: 750;
}

.site-footer {
  padding-block: 46px;
  border-top: 1px solid var(--line-dark);
  background: var(--black);
  color: #77777d;
  font-size: 0.82rem;
}

.footer-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner div > p + p {
  margin-top: 8px;
}

.footer-brand {
  color: var(--white);
}

:focus-visible {
  outline: 3px solid #ffb49f;
  outline-offset: 4px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  :root {
    --shell: min(100% - 40px, 900px);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.7fr);
    gap: 42px;
  }

  h1 {
    font-size: clamp(3.35rem, 7vw, 5rem);
  }

  .sentence-builder {
    gap: 10px;
  }

  .keyword-card {
    min-height: 230px;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 32px, 620px);
    --radius-large: 26px;
    --radius-medium: 20px;
  }

  html {
    scroll-padding-top: 64px;
  }

  .nav {
    min-height: 62px;
    gap: 12px;
  }

  .brand {
    max-width: 150px;
    font-size: 0.8rem;
    line-height: 1.08;
  }

  .nav-actions {
    gap: 12px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 58px;
    padding-block: 72px 76px;
  }

  h1 {
    font-size: clamp(3.2rem, 15vw, 5rem);
    line-height: 0.9;
  }

  .hero-tagline {
    margin-top: 30px;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-meta {
    gap: 8px 20px;
  }

  .arena-visual {
    width: min(92%, 440px);
    justify-self: center;
  }

  .arena-frame {
    transform: none;
  }

  .section {
    padding-block: 88px;
  }

  .display-heading,
  .compact-heading {
    font-size: clamp(2.65rem, 12vw, 4.2rem);
  }

  .sentence-builder {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .keyword-card {
    min-height: 190px;
  }

  .operator {
    transform: rotate(90deg);
  }

  .split-layout,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section-copy {
    max-width: 580px;
  }

  .event-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-strip span:nth-child(2) {
    border-right: 0;
  }

  .event-strip span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-dark);
  }

  .feature-card-wide {
    grid-column: auto;
  }

  .feature-card,
  .feature-card-wide {
    min-height: 290px;
  }

  .section-heading-row {
    display: block;
  }

  .section-heading-row .narrow {
    margin-top: 24px;
  }

  .media-placeholder {
    aspect-ratio: 4 / 3;
  }

  .footer-inner {
    display: grid;
  }
}

@media (max-width: 420px) {
  .button-row {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-meta li:not(:last-child)::after {
    display: none;
  }

  .hero-meta {
    display: grid;
    gap: 7px;
  }

  .arena-label {
    left: 18px;
    bottom: 16px;
  }

  .event-strip span,
  .event-strip strong {
    padding: 14px;
  }

  .media-message {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
