:root {
  color-scheme: dark;
  --bg: #070a16;
  --bg-2: #0e1729;
  --panel: #111b31;
  --panel-2: #162540;
  --text: #f5fbff;
  --muted: #b8c7d9;
  --cyan: #27dcff;
  --pink: #ff3fd2;
  --gold: #ffd76d;
  --line: rgba(144, 220, 255, 0.28);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 24% 10%, rgba(39, 220, 255, 0.14), transparent 30%),
    radial-gradient(circle at 76% 15%, rgba(255, 63, 210, 0.14), transparent 32%),
    linear-gradient(180deg, #070a16 0%, #0b1222 46%, #101729 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(91, 174, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 174, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 78%);
}

a {
  color: inherit;
}

.site-header,
.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}

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

.brand {
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  box-shadow: 0 0 28px rgba(39, 220, 255, 0.24);
}

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

.site-header nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.site-header nav a:hover,
.site-footer a:hover,
.policy-content a,
.contact-section a {
  color: var(--cyan);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: clamp(24px, 6vw, 72px);
  width: min(1160px, calc(100% - 32px));
  min-height: calc(100vh - 86px);
  margin: 0 auto;
  padding: 32px 0 56px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.8rem, 8vw, 6.7rem);
  line-height: 0.95;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.05;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.hero-lede {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: linear-gradient(135deg, var(--cyan), #7cf4ff 44%, var(--pink));
  color: #06101d;
  border-color: transparent;
}

.button.secondary {
  background: rgba(17, 27, 49, 0.7);
  color: var(--text);
}

.app-store-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 9px 16px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: #05070d;
  color: var(--text);
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.app-store-button small {
  display: block;
  margin-bottom: 3px;
  color: #d7e3ee;
  font-size: 0.68rem;
  font-weight: 700;
}

.app-store-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #05070d;
  border-radius: 7px;
  background: linear-gradient(135deg, #f5fbff, #b9c9dd);
  font-size: 1.15rem;
  font-weight: 900;
}

.hero-art {
  position: relative;
}

.hero-art img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  filter: drop-shadow(0 24px 58px rgba(0, 0, 0, 0.55));
}

.section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.intro-section {
  padding-top: 40px;
}

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

.console-panel {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(39, 220, 255, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(17, 27, 49, 0.92), rgba(10, 18, 33, 0.92));
  box-shadow: var(--shadow);
}

.console-panel p,
.contact-section p,
.badge-row p {
  max-width: 860px;
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.console-panel p + p {
  margin-top: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 27, 49, 0.82);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.rank-layout,
.badge-row {
  display: grid;
  align-items: center;
  gap: clamp(18px, 4vw, 40px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}

.rank-layout {
  grid-template-columns: 220px minmax(220px, 1fr) 220px;
}

.badge-row {
  grid-template-columns: 170px minmax(220px, 1fr) 170px;
}

.rank-layout img,
.badge-row img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.38));
}

.rank-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style-position: inside;
}

.rank-list li {
  padding: 12px 14px;
  border: 1px solid rgba(144, 220, 255, 0.2);
  border-radius: 8px;
  background: rgba(17, 27, 49, 0.64);
  color: var(--muted);
}

.contact-section {
  padding-bottom: 92px;
}

.site-footer {
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 24px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.policy-page {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

.policy-hero {
  padding: 82px 0 34px;
}

.policy-hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
}

.policy-hero p:not(.eyebrow) {
  color: var(--muted);
}

.policy-content {
  padding: 28px 0 90px;
}

.policy-content h2 {
  margin-top: 34px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.policy-content p,
.policy-content li {
  color: var(--muted);
  font-size: 1.02rem;
}

.policy-content ul {
  padding-left: 22px;
}

@media (max-width: 900px) {
  .hero,
  .feature-grid,
  .rank-layout,
  .badge-row {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
  }

  .hero-art img {
    max-height: none;
  }

  .rank-layout img,
  .badge-row img {
    width: min(220px, 70vw);
    margin: 0 auto;
  }
}

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

  .site-header nav {
    justify-content: flex-start;
  }

  .rank-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }
}
