/* ── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:      #F5F0E8;
  --cream-dark: #EAE3D6;
  --tangerine:  #E8622A;
  --goldenrod:  #F2B134;
  --teal:       #2A9D8F;
  --cobalt:     #3A7CA5;
  --coral:      #E76F51;
  --sage:       #6B9E78;
  --charcoal:   #1F1F1F;
  --muted:      #8E8279;
  --border:     #CEC2B6;
  --card-bg:    #FAF7F2;
  --white:      #FAFAF8;

  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max-w: 1080px;
  --radius: 4px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

.accent { color: var(--tangerine); }

/* ── Navigation ─────────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-name {
  font-size: 17px;
  font-weight: bold;
  color: var(--charcoal);
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--tangerine); }

.nav-links a.nav-cta {
  color: var(--white);
  background: var(--tangerine);
  padding: 8px 18px;
  border-radius: var(--radius);
  transition: background 0.15s;
}

.nav-links a.nav-cta:hover { background: #C8501E; color: var(--white); }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--tangerine);
  color: var(--white);
  padding: 13px 28px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 0.4px;
  border-radius: var(--radius);
  transition: background 0.15s, transform 0.1s;
}

.btn-primary:hover { background: #C8501E; transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  border: 1.5px solid var(--border);
  color: var(--charcoal);
  padding: 12px 28px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 0.4px;
  border-radius: var(--radius);
  transition: border-color 0.15s, color 0.15s;
}

.btn-ghost:hover { border-color: var(--tangerine); color: var(--tangerine); }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  padding: 96px 0 80px;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-text { flex: 1; }

.hero-eyebrow {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.hero-text h1 {
  font-size: clamp(46px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: #4A4040;
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.store-badge {
  display: block;
  height: 44px;
  width: auto;
}

.download-card .store-badge {
  margin-top: 16px;
}

.hero-platforms {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.platform-tag {
  background: var(--cream-dark);
  color: var(--charcoal);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
}

.hero-visual {
  flex-shrink: 0;
}

.hero-visual img {
  width: clamp(280px, 38vw, 480px);
  height: clamp(280px, 38vw, 480px);
  border-radius: 22%;
  display: block;
  box-shadow: 0 32px 80px rgba(31,31,31,0.14);
}

/* ── Trust strip ───────────────────────────────────────────────────────── */
.trust-strip {
  background: var(--charcoal);
  padding: 32px 0;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(245,240,232,0.85);
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.2px;
}

.trust-icon {
  font-size: 18px;
  opacity: 0.7;
}

/* ── Personas ──────────────────────────────────────────────────────────── */
.personas {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

.personas h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: bold;
  letter-spacing: -0.8px;
  margin-bottom: 52px;
  line-height: 1.2;
  max-width: 520px;
}

.personas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}

.persona-card {
  background: var(--card-bg);
  padding: 40px 32px;
}

.persona-icon {
  font-size: 32px;
  margin-bottom: 16px;
  line-height: 1;
}

.persona-card h3 {
  font-size: 18px;
  font-weight: bold;
  letter-spacing: -0.3px;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.persona-card p {
  font-size: 14px;
  color: #5A504A;
  line-height: 1.7;
}

/* ── Section labels ─────────────────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--tangerine);
  margin-bottom: 12px;
}

/* ── Games grid ─────────────────────────────────────────────────────────── */
.games {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

.games h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: bold;
  letter-spacing: -0.8px;
  margin-bottom: 52px;
  line-height: 1.2;
  max-width: 520px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}

.game-card {
  background: var(--card-bg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.game-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.game-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.game-badge {
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

.game-card h3 {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: -0.3px;
  color: var(--charcoal);
  line-height: 1.2;
}

.game-card p {
  font-size: 14px;
  color: #5A504A;
  line-height: 1.7;
  flex: 1;
}

.game-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.game-tag {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.3px;
  padding: 3px 9px;
  border-radius: 3px;
  background: var(--cream-dark);
  color: var(--muted);
}

/* ── Mid-page CTA ──────────────────────────────────────────────────────── */
.mid-cta {
  text-align: center;
  padding: 56px 0 0;
}

.mid-cta p {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 20px;
}

/* ── Features ───────────────────────────────────────────────────────────── */
.features {
  background: var(--charcoal);
  padding: 96px 0;
}

.features .section-label { color: var(--goldenrod); }

.features h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: bold;
  letter-spacing: -0.8px;
  color: var(--cream);
  margin-bottom: 56px;
  line-height: 1.2;
  max-width: 520px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
}

.feature-card {
  background: #272727;
  padding: 32px 28px;
}

.feature-icon {
  font-size: 26px;
  margin-bottom: 14px;
  line-height: 1;
}

.feature-card h3 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--cream);
}

.feature-card p {
  font-size: 13px;
  color: rgba(245,240,232,0.55);
  line-height: 1.65;
}

/* ── Screenshots ────────────────────────────────────────────────────────── */
.screenshots {
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

.screenshots h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: bold;
  letter-spacing: -0.8px;
  margin-bottom: 32px;
  line-height: 1.2;
}

.device-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
}

.device-tab {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.5px;
  color: var(--muted);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  text-transform: uppercase;
  transition: color 0.15s;
  font-family: var(--font);
}

.device-tab:hover { color: var(--charcoal); }

.device-tab.active {
  color: var(--tangerine);
  border-bottom-color: var(--tangerine);
}

.screenshot-panel { display: none; }
.screenshot-panel.active { display: block; }

.screenshot-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.screenshot-scroll::-webkit-scrollbar { height: 4px; }
.screenshot-scroll::-webkit-scrollbar-track { background: transparent; }
.screenshot-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.screenshot-frame {
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(31,31,31,0.12);
}

.screenshot-frame.iphone { width: 240px; }
.screenshot-frame.ipad   { width: 400px; }

.screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Download ───────────────────────────────────────────────────────────── */
.download {
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  padding: 96px 0;
}

.download h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: bold;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.download-sub {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 52px;
  max-width: 520px;
  line-height: 1.65;
}

.download-card {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  max-width: 360px;
}

.download-card h4 {
  font-size: 15px;
  font-weight: bold;
  color: var(--charcoal);
}

.download-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.download-card .btn-primary { margin-top: 16px; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
footer {
  background: var(--charcoal);
  padding: 52px 0;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: bold;
  color: var(--cream);
}

.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  object-fit: cover;
}

.footer-tag {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-copy {
  font-size: 14px;
  color: rgba(245,240,232,0.45);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(245,240,232,0.40);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: rgba(245,240,232,0.75); }

.footer-legal {
  font-size: 12px;
  color: rgba(245,240,232,0.30);
  margin-top: 8px;
}

.footer-legal a {
  color: rgba(245,240,232,0.40);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-legal a:hover { color: rgba(245,240,232,0.75); }

/* ── Privacy policy & press kit ────────────────────────────────────────── */
.policy-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
}

.policy-header h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: bold;
  letter-spacing: -1.5px;
  line-height: 1;
  margin: 8px 0 12px;
}

.policy-date {
  font-size: 13px;
  color: var(--muted);
}

.policy-body {
  max-width: 680px;
  padding: 56px 32px 96px;
  margin: 0 auto;
}

.policy-body h2 {
  font-size: 20px;
  font-weight: bold;
  margin: 40px 0 10px;
  letter-spacing: -0.3px;
}

.policy-body h3 {
  font-size: 17px;
  font-weight: bold;
  margin: 28px 0 8px;
  letter-spacing: -0.2px;
}

.policy-body p, .policy-body li {
  font-size: 15px;
  color: #3A3030;
  line-height: 1.75;
  margin-bottom: 14px;
}

.policy-body ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.policy-body a {
  color: var(--tangerine);
  text-decoration: none;
  transition: color 0.15s;
}

.policy-body a:hover {
  color: #C8501E;
}

/* ── Blog ───────────────────────────────────────────────────────────────── */
.blog-list {
  padding: 56px 0 96px;
}

.blog-card {
  display: block;
  text-decoration: none;
  padding: 32px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.blog-card:first-child {
  border-top: 1px solid var(--border);
}

.blog-card:hover {
  background: var(--card-bg);
}

.blog-card-date {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.blog-card h3 {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: -0.3px;
  color: var(--charcoal);
  margin: 8px 0 6px;
  line-height: 1.3;
}

.blog-card p {
  font-size: 14px;
  color: #5A504A;
  line-height: 1.6;
}

.blog-body h3 {
  color: var(--charcoal);
}

.blog-cta {
  text-align: center;
  padding: 40px 0 0;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .hero-inner { flex-direction: column-reverse; gap: 32px; text-align: center; }
  .hero-text h1 { letter-spacing: -1px; }
  .hero-sub { max-width: 100%; }
  .hero-cta { justify-content: center; }
  .hero-platforms { justify-content: center; }
  .hero-visual img { width: 140px; height: 140px; }
  .nav-links { display: none; }
  .games-grid { grid-template-columns: 1fr; }
  .personas-grid { grid-template-columns: 1fr; }
  .trust-badges { gap: 20px; }
  .trust-badge { font-size: 13px; }
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .policy-body { padding: 40px 20px 72px; }
  .blog-card { padding: 24px 20px; }
}
