:root {
  --bg: #f6f7f2;
  --ink: #172126;
  --muted: #5c676d;
  --surface: #ffffff;
  --edge: #d6ddd6;
  --accent: #d55f2a;
  --accent-2: #0f6c5a;
  --accent-3: #d9b84f;
  --shadow: 0 12px 28px rgba(23, 33, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% 15%, #fdf5e6 0%, var(--bg) 45%),
    radial-gradient(circle at 90% 5%, #e9f4ef 0%, transparent 35%),
    var(--bg);
  min-height: 100%;
}

body {
  position: relative;
  overflow-x: hidden;
}

.bg-orb {
  position: fixed;
  border-radius: 999px;
  filter: blur(8px);
  opacity: 0.45;
  z-index: -1;
}

.orb-a {
  width: 380px;
  height: 380px;
  background: #ffb38d;
  top: -100px;
  right: -80px;
}

.orb-b {
  width: 300px;
  height: 300px;
  background: #93d3c4;
  bottom: -100px;
  left: -60px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(246, 247, 242, 0.86);
  border-bottom: 1px solid var(--edge);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem clamp(1rem, 4vw, 3.5rem);
}

.brand {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.logo {
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(23, 33, 38, 0.14);
}

.logo-header {
  width: 36px;
  height: 36px;
}

.logo-footer {
  width: 62px;
  height: 62px;
  margin-bottom: 0.55rem;
}

nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-cta {
  border: 1px solid var(--ink);
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
}

main {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding-bottom: 4rem;
}

section {
  margin-top: 2.8rem;
}

.hero {
  padding: clamp(2.5rem, 4vw, 5rem) 0 1rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: center;
}

.hero-visual {
  margin: 0;
}

.hero-image {
  width: 100%;
  height: clamp(360px, 44vw, 520px);
  object-fit: cover;
  object-position: center 45%;
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: block;
}

.hero-visual figcaption {
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.eyebrow {
  color: var(--accent-2);
  letter-spacing: 0.1em;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}

h1,
h2,
h3 {
  margin-top: 0;
}

h1 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2rem, 5.8vw, 4.2rem);
  line-height: 1.05;
  margin-bottom: 1rem;
  max-width: 14ch;
}

h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.45rem, 3.2vw, 2.25rem);
}

.lead {
  max-width: 64ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 1.6rem 0 1.3rem;
}

.btn {
  text-decoration: none;
  padding: 0.72rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  display: inline-block;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-ghost {
  border: 1px solid var(--ink);
  color: var(--ink);
}

.quick-stats {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.4rem 0 0;
}

.quick-stats li {
  background: var(--surface);
  border: 1px solid var(--edge);
  box-shadow: var(--shadow);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
}

.quick-stats span {
  font-weight: 700;
  margin-right: 0.4rem;
}

#game,
#city,
#standout,
#cta {
  scroll-margin-top: 80px;
}

.panel,
.landmark-board,
.standout,
.cta {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--edge);
  border-radius: 22px;
  padding: clamp(1rem, 2.2vw, 2rem);
  box-shadow: var(--shadow);
}

.app-preview p {
  max-width: 62ch;
  color: var(--muted);
}

.phone-gallery {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: clamp(0.9rem, 2vw, 1.6rem);
  justify-items: center;
}

.phone-shot {
  margin: 0;
  width: min(100%, 290px);
}

.app-shot {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: 26px;
  border: 8px solid #101214;
  box-shadow: 0 14px 26px rgba(23, 33, 38, 0.2);
  display: block;
  background: #e9ece9;
}

.app-shot-clue {
  object-position: center 34%;
}

.app-shot-map {
  object-position: center 38%;
}

.phone-shot figcaption {
  margin-top: 0.55rem;
  font-size: 0.84rem;
  color: var(--muted);
  text-align: center;
}

.steps-grid,
.city-grid,
.standout-grid,
.cards {
  display: grid;
  gap: 0.9rem;
}

.steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.city-grid,
.standout-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.cards {
  margin-top: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.card {
  border-radius: 16px;
  padding: 1rem;
  color: #162126;
}

.card-hot {
  background: #ffd7c5;
}

.card-cool {
  background: #c9ece3;
}

.card-bold {
  background: #f7e8bb;
}

.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin-bottom: 0.7rem;
}

.tower-bridge-img {
  object-position: center 58%;
}

.tag {
  font-size: 0.86rem;
  color: #3b4b50;
}

.fact-box {
  margin-top: 1rem;
  background: linear-gradient(130deg, #fff6df, #ecf7f2);
  border: 1px dashed #c9b174;
  border-radius: 14px;
  padding: 0.85rem 1rem;
  min-height: 60px;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.cta {
  text-align: center;
}

.download-steps {
  list-style: none;
  counter-reset: steps;
  padding: 0;
  margin: 1.2rem auto 0;
  max-width: 420px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.download-steps li {
  counter-increment: steps;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--edge);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-size: 0.97rem;
}

.download-steps li::before {
  content: counter(steps);
  min-width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

footer {
  text-align: center;
  color: #4e595f;
  padding: 1.5rem 1rem 2.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 800px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-image {
    height: 280px;
  }

  .phone-gallery {
    grid-template-columns: 1fr;
  }

  .app-shot {
    max-width: 280px;
    margin: 0 auto;
  }

  .logo-header {
    width: 32px;
    height: 32px;
  }

  nav {
    flex-wrap: wrap;
  }

  h1 {
    max-width: 100%;
  }
}
