:root {
  color-scheme: dark;
  --bg: #08090b;
  --panel: rgba(13, 16, 18, 0.88);
  --panel-strong: rgba(18, 22, 24, 0.94);
  --text: #f5f1e8;
  --muted: #b9b2a5;
  --line: rgba(142, 211, 205, 0.28);
  --cyan: #77d8db;
  --gold: #f2cf63;
  --green: #8ed88c;
  --danger: #d95d56;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 22%, rgba(119, 216, 219, 0.12), transparent 24rem),
    radial-gradient(circle at 87% 12%, rgba(242, 207, 99, 0.09), transparent 26rem),
    linear-gradient(180deg, #07090b 0%, #15100f 54%, #08090b 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgba(7, 9, 11, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.brand,
.topbar nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand {
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 2.3rem;
  height: 2.3rem;
  place-items: center;
  border: 1px solid var(--cyan);
  background: rgba(119, 216, 219, 0.12);
  color: var(--cyan);
  font-size: 0.82rem;
}

.topbar nav a {
  padding: 0.65rem 0.75rem;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
}

.topbar nav a:hover {
  color: var(--text);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: clamp(7rem, 13vh, 10rem) clamp(1rem, 6vw, 6rem) clamp(2rem, 7vh, 4.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("/assets/future-vision.png");
  background-size: cover;
  background-position: center 54%;
  filter: saturate(1.02) contrast(1.06);
  transform: scale(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 7, 9, 0.94) 0%, rgba(5, 7, 9, 0.76) 38%, rgba(5, 7, 9, 0.33) 72%, rgba(5, 7, 9, 0.7) 100%),
    linear-gradient(180deg, rgba(5, 7, 9, 0.42) 0%, rgba(5, 7, 9, 0.2) 52%, rgba(5, 7, 9, 0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 58rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 13ch;
  margin-bottom: 1rem;
  font-size: clamp(4rem, 11vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.lead {
  max-width: 43rem;
  color: #f7f1e7;
  font-size: clamp(1.25rem, 2.4vw, 2.25rem);
  line-height: 1.24;
}

.hero-actions,
.game-callout,
.status-strip,
.team-grid,
.service-grid {
  display: grid;
  gap: 0.9rem;
}

.hero-actions {
  grid-template-columns: repeat(2, minmax(0, max-content));
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.25rem;
  padding: 0.9rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  text-decoration: none;
  font-weight: 800;
}

.button svg,
article svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
  flex: 0 0 auto;
}

.button.primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #16130a;
}

.button.secondary {
  background: rgba(8, 12, 14, 0.72);
  border-color: var(--cyan);
  color: var(--text);
}

.status-strip {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 58rem;
  margin-top: clamp(2rem, 8vh, 6rem);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.status-strip div {
  padding-top: 1rem;
}

.status-strip span,
footer {
  color: var(--muted);
}

.status-strip strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--text);
}

.intro,
.section,
.game-callout,
footer {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
}

.intro {
  padding: clamp(2.25rem, 6vw, 5rem) 0;
  color: #e8e1d6;
  font-size: clamp(1.2rem, 2.15vw, 1.85rem);
  line-height: 1.38;
}

.section {
  padding: clamp(2rem, 5vw, 4.5rem) 0;
}

.section-heading {
  max-width: 45rem;
  margin-bottom: 1.6rem;
}

h2 {
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

article {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--panel);
  padding: 1.25rem;
}

article svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--cyan);
  margin-bottom: 1.4rem;
}

article h3 {
  margin-bottom: 0.75rem;
  font-size: 1.18rem;
}

article p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.team-section {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.team-grid article {
  background: var(--panel-strong);
}

.game-callout {
  grid-template-columns: 1fr auto;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(119, 216, 219, 0.12), rgba(242, 207, 99, 0.09)),
    var(--panel);
}

.game-callout h2 {
  margin-bottom: 0.75rem;
}

.game-callout p:not(.eyebrow) {
  max-width: 44rem;
  margin-bottom: 0;
  color: #ddd6ca;
  line-height: 1.5;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 900px) {
  .topbar {
    position: absolute;
    align-items: flex-start;
  }

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

  .hero {
    min-height: 88vh;
  }

  .hero-actions,
  .status-strip,
  .service-grid,
  .team-grid,
  .game-callout {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .topbar {
    flex-direction: column;
  }

  .topbar nav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 11rem;
  }

  h1 {
    font-size: clamp(3.25rem, 18vw, 5rem);
  }
}
