:root {
  --onyx: #101211;
  --grove: #142318;
  --moss: #6f8469;
  --gold: #e4c27b;
  --blue: #1e5b78;
  --steel: #9fa5a1;
  --mist: #f5f3ee;
  --paper: #ebe7de;
  --ink: #191b19;
  --muted: #6f726d;
  --line: rgba(25, 27, 25, 0.14);
  --light-line: rgba(245, 243, 238, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--onyx);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(214, 106, 77, 0.22), transparent 25%),
    radial-gradient(circle at 82% 14%, rgba(30, 91, 120, 0.42), transparent 32%),
    radial-gradient(circle at 52% 84%, rgba(216, 166, 66, 0.18), transparent 34%),
    linear-gradient(145deg, #111311 0%, #142b21 45%, #0d1821 100%);
  color: var(--mist);
  min-height: 100vh;
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 4vw, 64px);
}

.site-header {
  background: rgba(16, 18, 17, 0.82);
  border-bottom: 1px solid rgba(245, 243, 238, 0.16);
  color: #fffaf0;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
}

.brand,
.site-header nav,
.site-footer nav,
.actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand img {
  width: 34px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 1px 1px rgba(16, 18, 17, 0.24));
}

.site-header nav,
.site-footer nav {
  gap: clamp(14px, 3vw, 30px);
  color: rgba(255, 250, 240, 0.72);
  font-size: 14px;
  font-weight: 650;
}

.site-header a,
.site-footer a {
  text-decoration: none;
}

.site-header nav a[aria-current="page"],
.site-header nav a:hover,
.site-footer a:hover {
  color: #fffaf0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  gap: clamp(36px, 8vw, 120px);
  min-height: calc(100vh - 79px);
  align-items: center;
  padding: clamp(56px, 8vw, 120px) clamp(20px, 6vw, 96px);
  background:
    linear-gradient(105deg, rgba(255, 250, 240, 0.08), transparent 22% 62%, rgba(184, 216, 194, 0.08)),
    repeating-linear-gradient(90deg, rgba(255, 250, 240, 0.055) 0 1px, transparent 1px 74px),
    radial-gradient(circle at 18% 22%, rgba(214, 106, 77, 0.28), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(35, 90, 128, 0.45), transparent 31%),
    linear-gradient(145deg, #111311 0%, #142b21 45%, #0d1821 100%);
  background-size: 100% 100%, 74px 74px, 120% 120%, 140% 140%, 100% 100%;
  animation: pageGradientBreathe 13s ease-in-out infinite alternate;
}

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

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.02;
  color: #fffaf0;
}

h1 {
  max-width: 780px;
  font-size: clamp(48px, 8vw, 108px);
}

h2 {
  font-size: clamp(32px, 4vw, 58px);
}

h3 {
  font-size: 24px;
}

.lede {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 250, 240, 0.74);
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: #fffaf0;
  color: var(--onyx);
}

.button.ghost {
  background: transparent;
  color: #fffaf0;
}

.hero-composition {
  position: relative;
  min-height: 420px;
  border-left: 1px solid rgba(255, 250, 240, 0.16);
}

.hero-card {
  position: absolute;
  display: grid;
  align-content: end;
  gap: 16px;
  width: min(56%, 280px);
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(255, 250, 240, 0.16);
  background: rgba(16, 18, 17, 0.24);
  box-shadow: 0 22px 44px rgba(16, 18, 17, 0.12);
  backdrop-filter: blur(12px);
}

.hero-card span {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--moss);
}

.hero-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 400;
}

.hero-card-app {
  left: 13%;
  top: 10%;
  transform: rotate(-5deg);
}

.hero-card-game {
  right: 4%;
  bottom: 11%;
  transform: rotate(6deg);
}

.hero-card-game span {
  background: #d4a348;
}

.hero-orbit {
  position: absolute;
  inset: 12% 5% 8% 17%;
  border: 1px solid rgba(255, 250, 240, 0.16);
  border-radius: 50%;
}

.hero-orbit span {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fffaf0;
}

.hero-orbit span:nth-child(1) {
  left: 12%;
  top: 18%;
}

.hero-orbit span:nth-child(2) {
  right: 10%;
  top: 44%;
}

.hero-orbit span:nth-child(3) {
  left: 42%;
  bottom: 5%;
}

.band {
  padding: clamp(56px, 8vw, 108px) clamp(20px, 6vw, 96px);
  background: var(--onyx);
  color: var(--mist);
}

.band .eyebrow {
  color: #aebbad;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 42px;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--light-line);
  border-left: 1px solid var(--light-line);
}

.tile {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid var(--light-line);
  border-bottom: 1px solid var(--light-line);
}

.tile-kicker {
  display: block;
  margin-bottom: 64px;
  color: var(--steel);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.tile p,
.split p,
.app-row p,
.content-panel p {
  color: rgba(255, 250, 240, 0.74);
  font-size: 17px;
  line-height: 1.7;
}

.legal p {
  color: #363a35;
  font-size: 17px;
  line-height: 1.75;
}

.band .tile p {
  color: #c5c8c0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 7vw, 100px);
  padding: clamp(56px, 8vw, 108px) clamp(20px, 6vw, 96px);
  border-bottom: 1px solid var(--line);
}

.page-hero,
.legal,
.content-panel,
.app-list {
  padding: clamp(52px, 8vw, 104px) clamp(20px, 6vw, 96px);
}

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(255, 250, 240, 0.08), transparent 22% 62%, rgba(184, 216, 194, 0.08)),
    radial-gradient(circle at 18% 22%, rgba(214, 106, 77, 0.28), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(35, 90, 128, 0.45), transparent 31%),
    linear-gradient(145deg, #111311 0%, #142b21 45%, #0d1821 100%);
  background-size: 100% 100%, 120% 120%, 140% 140%, 100% 100%;
  animation: pageGradientBreathe 13s ease-in-out infinite alternate;
  border-bottom: 1px solid rgba(255, 250, 240, 0.16);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 250, 240, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 250, 240, 0.075) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
  opacity: 0.72;
  animation: pageGridDrift 18s ease-in-out infinite alternate;
  z-index: -1;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.app-list,
.content-panel {
  max-width: 980px;
}

.content-panel {
  color: #fffaf0;
}

.legal {
  width: min(100% - 40px, 1040px);
  margin: clamp(28px, 5vw, 64px) auto;
  padding: clamp(36px, 5vw, 72px);
  border: 1px solid rgba(255, 250, 240, 0.18);
  background: #e3ded3;
  color: var(--ink);
}

.legal .eyebrow {
  color: var(--moss);
}

.legal h1,
.legal h2,
.legal h3 {
  color: var(--ink);
}

.legal h1 {
  max-width: 820px;
  font-size: clamp(42px, 6vw, 68px);
}

.app-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding-bottom: 42px;
  color: #fffaf0;
}

.app-icon {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 35%, rgba(245, 243, 238, 0.12), transparent 42%),
    linear-gradient(145deg, #161918, #243226);
  box-shadow: 0 20px 48px rgba(16, 18, 17, 0.22);
}

.app-icon img {
  width: 74px;
  height: 92px;
  object-fit: contain;
}

.content-panel h2,
.legal h2 {
  margin-top: 34px;
  font-size: 28px;
}

.content-panel h2 {
  color: #fffaf0;
}

.content-panel a,
.legal a {
  color: #1f5a76;
  font-weight: 700;
}

.content-panel a {
  color: #d8e7ee;
}

.site-footer {
  background: var(--onyx);
  color: #cfd2ca;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
  color: #cfd2ca;
}

.site-footer a {
  color: #cfd2ca;
}

@keyframes pageGradientBreathe {
  0% {
    background-position: 0 0, 0% 0%, 100% 0%, 0 0;
  }

  100% {
    background-position: 0 0, 12% 8%, 82% 16%, 0 0;
  }
}

@keyframes pageGridDrift {
  0% {
    background-position: 0 0;
    transform: translateX(-2%);
  }

  100% {
    background-position: 37px 18px;
    transform: translateX(3%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 820px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav,
  .site-footer nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .section-heading,
  .split,
  .tiles {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-composition {
    min-height: 280px;
    border-left: 0;
    border-top: 1px solid rgba(25, 27, 25, 0.12);
    padding-top: 32px;
  }

  .hero-card {
    width: min(54%, 240px);
    min-height: 170px;
  }

  .hero-card-app {
    left: 5%;
    top: 48px;
  }

  .hero-card-game {
    right: 3%;
    bottom: 8px;
  }

  .tile {
    min-height: 220px;
  }

  .app-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .brand {
    font-size: 14px;
  }

  .site-header nav {
    font-size: 13px;
  }

  h1 {
    font-size: clamp(42px, 14vw, 64px);
  }

  .button {
    width: 100%;
  }
}
