:root {
  --cyan: #00c2e3;
  --cyan-deep: #0089c2;
  --ink: #0c2630;
  --ink-soft: #3c5660;
  --muted: #6b8590;
  --line: #e6eef1;
  --bg: #f7fbfc;
  --surface: #ffffff;
  --radius: 18px;
  --maxw: 1040px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--cyan-deep);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 20px 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.2px;
  color: var(--ink);
}
.nav__brand:hover {
  text-decoration: none;
}
.nav__brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(4, 38, 48, 0.18);
}
.nav__links {
  display: flex;
  gap: 26px;
  align-items: center;
}
.nav__links a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 15px;
}
.nav__links a:hover {
  color: var(--ink);
  text-decoration: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 56px 0 72px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 760px;
  max-width: 120vw;
  background: radial-gradient(circle, rgba(0, 194, 227, 0.22) 0%, rgba(0, 194, 227, 0) 62%);
  z-index: 0;
  pointer-events: none;
}
.hero > * {
  position: relative;
  z-index: 1;
}
.hero__logo {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  display: block;
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(0, 137, 194, 0.32);
}
.eyebrow {
  display: inline-block;
  background: rgba(0, 194, 227, 0.12);
  color: var(--cyan-deep);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 70px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -2px;
  margin: 0 auto 18px;
  max-width: 14ch;
}
.hero h1 .accent {
  color: var(--cyan-deep);
}
.hero .lead {
  color: var(--ink-soft);
  font-size: clamp(17px, 2.2vw, 20px);
  max-width: 540px;
  margin: 0 auto 34px;
}
.hero__meta {
  margin-top: 30px;
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 500;
}
.hero__meta span {
  white-space: nowrap;
}
.hero__meta i {
  color: var(--line);
  font-style: normal;
  margin: 0 12px;
}

/* ---------- Store buttons ---------- */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  padding: 12px 22px;
  border-radius: 13px;
  min-width: 196px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 8px 22px rgba(4, 38, 48, 0.18);
}
.store-btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(4, 38, 48, 0.24);
}
.store-btn svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  fill: #fff;
}
.store-btn__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}
.store-btn__txt small {
  font-size: 11px;
  opacity: 0.82;
  letter-spacing: 0.3px;
}
.store-btn__txt strong {
  font-size: 17px;
  font-weight: 700;
}
.store-btn--highlight {
  box-shadow: 0 0 0 3px rgba(0, 194, 227, 0.45), 0 8px 22px rgba(4, 38, 48, 0.18);
}

/* ---------- How to play ---------- */
.section {
  padding: 30px 0 90px;
}
.section__head {
  text-align: center;
  margin-bottom: 48px;
}
.section__head h2 {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -1px;
}
.section__head p {
  color: var(--muted);
  font-size: 17px;
  margin-top: 8px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.step__num {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(0, 194, 227, 0.12);
  color: var(--cyan-deep);
  font-weight: 800;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.step h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 7px;
}
.step p {
  color: var(--ink-soft);
  font-size: 15px;
}

/* ---------- Closing CTA ---------- */
.closing {
  text-align: center;
  padding: 8px 0 96px;
}
.closing h2 {
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 26px;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 40px 0;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 800;
  font-size: 17px;
}
.footer__brand:hover {
  text-decoration: none;
}
.footer__brand img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  box-shadow: 0 2px 6px rgba(4, 38, 48, 0.18);
}
.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__links a {
  color: var(--ink-soft);
  font-size: 15px;
}
.footer__links a:hover {
  color: var(--ink);
}
.footer__copy {
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

/* ---------- Legal pages ---------- */
.legal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  max-width: 800px;
  margin: 24px auto 64px;
  padding: 46px 44px;
}
.legal h1 {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -1px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--line);
}
.legal h2 {
  color: var(--ink);
  margin-top: 34px;
  font-size: 21px;
  font-weight: 700;
}
.legal h3 {
  color: var(--ink);
  margin-top: 22px;
  font-size: 17px;
  font-weight: 700;
}
.legal p,
.legal li {
  color: var(--ink-soft);
  font-size: 16px;
}
.legal ul,
.legal ol {
  padding-left: 22px;
  margin: 12px 0;
}
.legal .last-updated {
  color: var(--muted);
  font-style: italic;
  margin: 6px 0 26px;
}
.legal .highlight {
  background: rgba(0, 194, 227, 0.07);
  padding: 16px;
  border-left: 3px solid var(--cyan);
  border-radius: 8px;
  margin: 22px 0;
}
.legal .highlight--warn {
  background: #fff8e6;
  border-left-color: #f5c542;
}
.legal .box {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 12px;
  margin: 22px 0;
}
.legal hr {
  margin: 40px 0 0;
  border: none;
  border-top: 1px solid var(--line);
}
.legal__foot {
  text-align: center;
  color: var(--muted);
  margin-top: 18px;
  font-size: 14px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
  font-weight: 600;
  margin: 26px 0 0 4px;
}
.back-link:hover {
  color: var(--ink);
  text-decoration: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .nav__links {
    gap: 18px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .nav__links a:not(.nav__cta) {
    display: none;
  }
  .hero {
    padding-top: 36px;
  }
  .legal {
    padding: 30px 22px;
    margin: 16px 14px 48px;
  }
  .footer__inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .hero__meta i {
    display: block;
    height: 0;
    margin: 6px 0;
    overflow: hidden;
  }
}
