:root {
  --bg: #131922;
  --panel: #222831;
  --panel-soft: rgba(34, 40, 49, 0.64);
  --line: rgba(238, 238, 238, 0.12);
  --muted: rgba(238, 238, 238, 0.72);
  --text: #eeeeee;
  --slate: #393e46;
  --teal: #00adb5;
  --teal-soft: rgba(0, 173, 181, 0.2);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 12%, rgba(0, 173, 181, 0.16), transparent 26rem),
    linear-gradient(180deg, #131922 0%, #161d27 44%, #10151d 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(calc(100% - 32px), var(--max));
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px solid rgba(238, 238, 238, 0.1);
  border-radius: 999px;
  background: rgba(19, 25, 34, 0.72);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.scrolled {
  border-color: rgba(0, 173, 181, 0.2);
  background: rgba(19, 25, 34, 0.88);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.32);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(238, 238, 238, 0.04);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.94rem;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(238, 238, 238, 0.08);
  color: var(--text);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(238, 238, 238, 0.12);
  border-radius: 50%;
  background: rgba(238, 238, 238, 0.06);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease;
}

.nav-toggle span + span {
  margin-top: -10px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  place-items: center;
  overflow: hidden;
  padding: 150px 20px 110px;
}

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

.hero-bg {
  background-image: url("assets/header.png");
  background-position: center;
  background-size: cover;
  filter: saturate(0.95) contrast(1.06);
  transform: scale(1.02);
}

.hero-overlay {
  background:
    radial-gradient(circle at 50% 28%, rgba(0, 173, 181, 0.2), transparent 32rem),
    linear-gradient(180deg, rgba(19, 25, 34, 0.34) 0%, rgba(19, 25, 34, 0.72) 58%, #131922 100%),
    linear-gradient(90deg, rgba(19, 25, 34, 0.88), rgba(19, 25, 34, 0.28), rgba(19, 25, 34, 0.88));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.1rem, 8vw, 7.1rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.05rem, 4.2vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: -0.018em;
}

.hero-copy {
  width: min(760px, 100%);
  margin: 0 auto 34px;
  color: rgba(238, 238, 238, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions,
.play-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

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

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button.primary {
  background: var(--teal);
  box-shadow: 0 18px 46px rgba(0, 173, 181, 0.26);
  color: #071114;
}

.button.primary:hover,
.button.primary:focus-visible {
  box-shadow: 0 20px 58px rgba(0, 173, 181, 0.36);
}

.button.secondary,
.button.compact {
  border-color: rgba(238, 238, 238, 0.16);
  background: rgba(238, 238, 238, 0.08);
  color: var(--text);
  backdrop-filter: blur(14px);
}

.button.compact {
  min-height: 48px;
  white-space: nowrap;
}

.section,
.mission,
.play-cta {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.app-section {
  padding-top: 36px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.featured-card,
.glass-card,
.mission,
.play-cta {
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(238, 238, 238, 0.12), rgba(238, 238, 238, 0.035)),
    rgba(34, 40, 49, 0.54);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.featured-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border-radius: 28px;
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.featured-card::before,
.play-cta::before {
  position: absolute;
  inset: -1px;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle at 12% 0%, rgba(0, 173, 181, 0.22), transparent 24rem);
}

.app-mark {
  position: relative;
  width: 86px;
  height: 86px;
  overflow: hidden;
  border: 1px solid rgba(238, 238, 238, 0.16);
  border-radius: 24px;
  background: rgba(238, 238, 238, 0.04);
  box-shadow:
    0 0 42px rgba(0, 173, 181, 0.18),
    0 18px 42px rgba(0, 0, 0, 0.3);
}

.app-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-copy,
.featured-card .button {
  position: relative;
}

.featured-copy p,
.glass-card p,
.mission p,
.play-cta p,
.site-footer {
  color: var(--muted);
}

.featured-copy p {
  max-width: 680px;
  margin-bottom: 0;
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.glass-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 24px;
  padding: 26px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.glass-card:hover {
  border-color: rgba(0, 173, 181, 0.26);
  background:
    linear-gradient(145deg, rgba(238, 238, 238, 0.14), rgba(238, 238, 238, 0.045)),
    rgba(34, 40, 49, 0.66);
  transform: translateY(-4px);
}

.card-line {
  display: block;
  width: 42px;
  height: 3px;
  margin-bottom: 54px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 28px var(--teal-soft);
}

.mission {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  border-radius: 32px;
  padding: 64px;
}

.mission p {
  margin: 0;
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
}

.trust-section {
  padding-bottom: 70px;
}

.play-cta {
  position: relative;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 34px;
  padding: 52px;
}

.play-cta > * {
  position: relative;
}

.play-cta p {
  max-width: 560px;
  margin: 14px 0 0;
  font-size: 1.08rem;
}

.site-footer {
  display: flex;
  width: min(calc(100% - 40px), var(--max));
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 80px auto 0;
  padding: 30px 0 38px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
  outline: none;
}

@media (max-width: 940px) {
  .card-grid.four,
  .card-grid.three,
  .mission,
  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-card {
    align-items: start;
  }

  .play-cta {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .site-footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 720px) {
  .site-header {
    border-radius: 24px;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: 82px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(19, 25, 34, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
    backdrop-filter: blur(18px);
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

  .hero {
    min-height: 680px;
    padding: 128px 20px 82px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .hero-actions,
  .play-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 72px 0;
  }

  .featured-card,
  .mission,
  .play-cta {
    border-radius: 24px;
    padding: 26px;
  }

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

  .card-line {
    margin-bottom: 40px;
  }
}

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