:root {
  color-scheme: dark;
  --bg: #08090b;
  --surface: #101216;
  --surface-2: #171a20;
  --surface-3: #20242b;
  --text: #f7f8fb;
  --muted: #aeb4be;
  --dim: #747b86;
  --line: rgba(255, 255, 255, 0.12);
  --purple: #9b30ff;
  --purple-dark: #6412aa;
  --green: #31cc63;
  --cyan: #20b9dd;
  --red: #ff4d55;
  --gold: #f7c948;
  --blue: #4c7dff;
  --max-width: 1200px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

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

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

h1,
h2,
h3 {
  letter-spacing: 0;
  text-wrap: balance;
}

h1 {
  margin-bottom: 20px;
  font-size: 76px;
  line-height: 0.95;
}

h2 {
  margin-bottom: 18px;
  font-size: 48px;
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 23px;
  line-height: 1.15;
}

p,
li {
  color: var(--muted);
}

.section-inner {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 9, 11, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(var(--max-width), calc(100% - 48px));
  min-height: 72px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 850;
  white-space: nowrap;
}

.brand img {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.main-nav a,
.footer-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: color 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.header-store-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 8px 13px;
  background: #f7f8fb;
  color: #090a0c;
  font-size: 14px;
  font-weight: 800;
}

.launch-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 680px;
  height: 76svh;
  max-height: 780px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-background,
.hero-background img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-background img {
  object-fit: cover;
  object-position: 70% 47%;
  filter: saturate(0.9) contrast(1.08);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.98) 0%, rgba(8, 9, 11, 0.88) 38%, rgba(8, 9, 11, 0.28) 76%, rgba(8, 9, 11, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 9, 11, 0.88) 0%, rgba(8, 9, 11, 0.08) 58%, rgba(8, 9, 11, 0.34) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 54px;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: #dfffe8;
  font-size: 16px;
  font-weight: 800;
}

.live-dot,
.android-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(49, 204, 99, 0.9);
}

.hero-copy {
  max-width: 760px;
  margin-bottom: 28px;
  color: #e5e7eb;
  font-size: 21px;
  line-height: 1.42;
}

.hero-actions,
.download-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 198px;
  min-height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 9px 16px;
  background: #050506;
  color: #fff;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.34);
  transition: transform 180ms ease, border-color 180ms ease;
}

.app-store-badge:hover,
.app-store-badge:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.56);
}

.apple-symbol {
  font-size: 36px;
  line-height: 1;
}

.app-store-badge span:last-child {
  display: grid;
}

.app-store-badge small {
  font-size: 11px;
  line-height: 1;
}

.app-store-badge strong {
  font-size: 23px;
  line-height: 1.08;
}

.android-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #d5d8de;
  font-size: 15px;
  font-weight: 700;
}

.android-dot {
  background: var(--gold);
  box-shadow: 0 0 16px rgba(247, 201, 72, 0.7);
}

.hero-facts {
  display: flex;
  gap: 0;
  max-width: 760px;
  margin: 36px 0 0;
  padding: 0;
}

.hero-facts div {
  min-width: 170px;
  border-left: 1px solid var(--line);
  padding: 4px 30px 4px 16px;
}

.hero-facts dt {
  color: var(--text);
  font-size: 15px;
  font-weight: 850;
}

.hero-facts dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.category-band {
  border-bottom: 1px solid var(--line);
  background: #0c0e11;
}

.category-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  align-items: center;
  gap: 48px;
  padding: 58px 0;
}

.category-inner h2 {
  max-width: 470px;
  margin-bottom: 0;
  font-size: 36px;
}

.section-label {
  margin-bottom: 12px;
  color: #c690ff;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.category-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category {
  display: grid;
  min-height: 122px;
  border-top: 3px solid var(--category-color);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 6px;
  padding: 15px 13px;
  background: var(--surface);
}

.category-mark {
  width: 24px;
  height: 8px;
  margin-bottom: 18px;
  border-radius: 2px;
  background: var(--category-color);
  box-shadow: 0 0 18px color-mix(in srgb, var(--category-color), transparent 36%);
}

.category strong {
  font-size: 17px;
}

.category small {
  align-self: end;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.category.snack {
  --category-color: var(--cyan);
}

.category.drinks {
  --category-color: var(--blue);
}

.category.games {
  --category-color: var(--purple);
}

.category.cigarettes {
  --category-color: var(--red);
}

.category.cash {
  --category-color: var(--green);
}

.content-section,
.community-section,
.feedback-section {
  padding: 104px 0;
}

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

.section-heading > p:last-child {
  margin-bottom: 0;
  font-size: 18px;
}

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

.feature-card {
  min-height: 220px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--feature-color);
  border-radius: 6px;
  padding: 24px;
  background: var(--surface);
  transition: transform 180ms ease, background 180ms ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  background: var(--surface-2);
}

.feature-number {
  display: block;
  margin-bottom: 42px;
  color: var(--feature-color);
  font-size: 13px;
  font-weight: 900;
}

.feature-card p {
  margin-bottom: 0;
}

.map-feature {
  --feature-color: var(--cyan);
}

.community-feature {
  --feature-color: var(--purple);
}

.rating-feature {
  --feature-color: var(--gold);
}

.photo-feature {
  --feature-color: var(--blue);
}

.add-feature {
  --feature-color: var(--red);
}

.verified-feature {
  --feature-color: var(--green);
}

.community-section {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f3f4f6;
  color: #0a0b0d;
}

.community-section .section-label {
  color: #7523bc;
}

.community-section p {
  color: #4b515a;
}

.community-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 70px;
}

.community-copy h2 {
  max-width: 530px;
  font-size: 50px;
}

.community-copy > p:not(.section-label) {
  max-width: 580px;
  font-size: 19px;
}

.community-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 30px;
}

.community-points span {
  border-left: 3px solid var(--purple);
  padding: 8px 12px;
  background: #fff;
  color: #111318;
  font-size: 14px;
  font-weight: 800;
}

.community-visual {
  position: relative;
  min-height: 650px;
}

.phone-frame {
  position: absolute;
  width: 315px;
  margin: 0;
  overflow: hidden;
  border: 8px solid #111318;
  border-radius: 8px;
  background: #111318;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.28);
}

.phone-frame img {
  width: 100%;
  height: auto;
}

.phone-map {
  right: 224px;
  top: 0;
  transform: rotate(-3deg);
}

.phone-list {
  right: 0;
  top: 58px;
  transform: rotate(4deg);
}

.gallery-section {
  background: #0b0d10;
}

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

.screenshot-card {
  min-width: 0;
  margin: 0;
}

.screenshot-media {
  aspect-ratio: 1290 / 2796;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #17191d;
  box-shadow: var(--shadow);
}

.screenshot-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screenshot-card figcaption {
  display: grid;
  gap: 3px;
  padding: 14px 2px 0;
}

.screenshot-card figcaption strong {
  color: var(--text);
  font-size: 16px;
}

.screenshot-card figcaption span {
  color: var(--muted);
  font-size: 13px;
}

.feedback-section {
  padding-top: 0;
  background: #0b0d10;
}

.feedback-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 48px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--cyan);
  border-radius: 6px;
  padding: 38px;
  background: var(--surface);
}

.feedback-card .section-label,
.feedback-card h2 {
  grid-column: 1;
}

.feedback-card h2 {
  margin-bottom: 4px;
  font-size: 38px;
}

.feedback-card p {
  grid-column: 2;
  margin-bottom: 0;
}

.feedback-card p:nth-of-type(2) {
  grid-row: 1;
  margin-top: 5px;
}

.feedback-card p:nth-of-type(3) {
  grid-row: 2;
}

.feedback-card p:nth-of-type(4) {
  grid-row: 3;
}

.text-link {
  grid-column: 1;
  align-self: end;
  width: fit-content;
  color: #99edff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.download-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #090a0c;
}

.download-background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.98), rgba(8, 9, 11, 0.75)),
    url("/assets/screens/hero-map.jpg") center 48% / cover no-repeat;
  opacity: 0.56;
}

.download-inner {
  position: relative;
  z-index: 1;
  padding: 112px 0;
}

.download-icon {
  width: 104px;
  height: 104px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.44);
}

.download-inner h2 {
  max-width: 720px;
  font-size: 58px;
}

.download-inner > p:not(.section-label) {
  max-width: 650px;
  margin-bottom: 30px;
  color: #d8dbe1;
  font-size: 19px;
}

.app-store-badge.large {
  min-width: 220px;
  min-height: 68px;
}

.play-status {
  display: grid;
  align-content: center;
  min-width: 190px;
  min-height: 68px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 18px;
  background: rgba(17, 19, 23, 0.82);
}

.play-status strong {
  color: #eef0f4;
  font-size: 17px;
}

.play-status span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 750;
}

.site-footer {
  padding: 44px 0;
  background: #050607;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px 50px;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-inner > p {
  grid-column: 1 / -1;
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: var(--dim);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Shared legal and support pages */
.shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 18px;
}

.topbar nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.shell .hero {
  padding: 72px 0 30px;
}

.shell .hero h1,
.shell .card h1 {
  font-size: 52px;
  line-height: 1;
  overflow-wrap: break-word;
  hyphens: auto;
}

.lead {
  max-width: 720px;
  font-size: 19px;
}

.card {
  margin: 28px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  background: var(--surface);
}

.card h2 {
  margin-top: 40px;
  font-size: 28px;
}

.card h2:first-of-type {
  margin-top: 20px;
}

.card a,
.shell .footer a {
  color: #cfa4ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.meta {
  margin-bottom: 14px;
  color: #c690ff;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.notice {
  margin-top: 32px;
  border-left: 3px solid var(--gold);
  padding: 16px 18px;
  background: #1d1b14;
  color: #f0dfab;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  padding: 12px 18px;
  background: var(--purple);
  color: #fff;
  font-weight: 850;
}

.shell .footer {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  color: var(--dim);
  font-size: 13px;
}

@media (max-width: 1020px) {
  h1 {
    font-size: 64px;
  }

  h2 {
    font-size: 42px;
  }

  .main-nav {
    gap: 16px;
  }

  .category-inner {
    grid-template-columns: 1fr;
  }

  .category-inner h2 {
    max-width: 650px;
  }

  .community-layout {
    grid-template-columns: 1fr;
  }

  .community-copy h2 {
    max-width: 760px;
  }

  .community-visual {
    width: min(650px, 100%);
    min-height: 640px;
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 64px;
  }

  .section-inner,
  .hero-inner,
  .header-inner {
    width: min(100% - 28px, var(--max-width));
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 64px;
  }

  .brand {
    font-size: 16px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .main-nav {
    display: none;
  }

  .header-store-link {
    min-height: 36px;
    padding: 6px 10px;
    font-size: 13px;
  }

  .launch-hero {
    min-height: 610px;
    height: 76svh;
    max-height: 720px;
  }

  .hero-background img {
    object-position: 62% 46%;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(8, 9, 11, 0.98) 0%, rgba(8, 9, 11, 0.82) 52%, rgba(8, 9, 11, 0.32) 100%),
      linear-gradient(90deg, rgba(8, 9, 11, 0.82), rgba(8, 9, 11, 0.24));
  }

  .hero-inner {
    padding: 48px 0 28px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  .hero-copy {
    max-width: 590px;
    font-size: 17px;
  }

  .availability {
    font-size: 14px;
  }

  .app-store-badge {
    min-width: 186px;
    min-height: 58px;
  }

  .app-store-badge strong {
    font-size: 21px;
  }

  .hero-facts {
    margin-top: 24px;
  }

  .hero-facts div {
    min-width: 0;
    flex: 1;
    padding: 3px 10px;
  }

  .hero-facts dd {
    display: none;
  }

  .category-inner {
    padding: 44px 0;
  }

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

  .category:last-child {
    grid-column: 1 / -1;
    min-height: 96px;
  }

  .content-section,
  .community-section,
  .feedback-section {
    padding: 72px 0;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 170px;
  }

  .feature-number {
    margin-bottom: 24px;
  }

  .community-copy h2 {
    font-size: 39px;
  }

  .community-visual {
    min-height: 520px;
  }

  .phone-frame {
    width: 255px;
  }

  .phone-map {
    right: 32%;
  }

  .phone-list {
    right: 2%;
  }

  .screenshot-track {
    grid-template-columns: repeat(4, 260px);
    gap: 14px;
    width: calc(100% + 14px);
    overflow-x: auto;
    padding: 4px 14px 20px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .screenshot-track::-webkit-scrollbar {
    display: none;
  }

  .screenshot-card {
    scroll-snap-align: start;
  }

  .feedback-card {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .feedback-card .section-label,
  .feedback-card h2,
  .feedback-card p,
  .text-link {
    grid-column: 1;
    grid-row: auto !important;
  }

  .download-inner {
    padding: 84px 0;
  }

  .download-inner h2 {
    font-size: 44px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
    gap: 14px 20px;
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .shell .hero h1,
  .shell .card h1 {
    font-size: 40px;
  }

  .card {
    padding: 22px;
  }
}

@media (max-width: 430px) {
  .launch-hero {
    min-height: 620px;
    height: 78svh;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 33px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hero-facts dt {
    font-size: 13px;
  }

  .category-inner h2 {
    font-size: 31px;
  }

  .community-copy h2 {
    font-size: 35px;
  }

  .community-points {
    grid-template-columns: 1fr;
  }

  .community-visual {
    min-height: 460px;
  }

  .phone-frame {
    width: 220px;
  }

  .phone-map {
    right: 29%;
  }

  .phone-list {
    right: -3%;
    top: 44px;
  }

  .download-inner h2 {
    font-size: 39px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
