:root {
  --bg: #0b0a09;
  --bg-2: #141210;
  --text: #f2ede6;
  --muted: #a39b91;
  --line: #2a2622;
  --amber: #f5a524;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 72px 20px 56px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("assets/hero.jpg") center / cover no-repeat;
  animation: drift 24s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: scale(1.02) translateX(-0.5%); } to { transform: scale(1.08) translateX(0.5%); } }
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 45%, rgba(0,0,0,0) 70%),
    linear-gradient(to bottom, rgba(11,10,9,.25) 0%, rgba(11,10,9,0) 30%, rgba(11,10,9,0) 60%, var(--bg) 100%);
}
.hero__inner { max-width: 720px; }
.appicon {
  position: absolute;
  top: 22px;
  left: 24px;
  display: block;
  width: 44px;
  height: 44px;
}
.appicon img {
  width: 100%;
  height: 100%;
  border-radius: 22%;
  box-shadow: 0 6px 18px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.12) inset;
}
.wordmark {
  width: clamp(200px, 36vw, 320px);
  margin: 0 auto 20px;
  filter: invert(1) drop-shadow(0 2px 18px rgba(0,0,0,.6));
}
.hero h1 {
  font-size: clamp(26px, 4.2vw, 42px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  text-shadow: 0 2px 20px rgba(0,0,0,.6);
}
.hero p {
  font-size: clamp(16px, 2vw, 19px);
  color: #e8e1d8;
  margin: 0 auto 28px;
  max-width: 520px;
  text-shadow: 0 1px 12px rgba(0,0,0,.7);
}

/* App Store badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 10px;
  padding: 9px 16px 9px 12px;
  text-decoration: none;
  line-height: 1.05;
  transition: transform .15s ease, border-color .15s ease;
}
.badge:hover { transform: translateY(-1px); border-color: rgba(255,255,255,.7); }
.badge svg { width: 26px; height: 26px; fill: #fff; }
.badge__text { text-align: left; }
.badge__text small { display: block; font-size: 10px; letter-spacing: .02em; opacity: .9; }
.badge__text strong { display: block; font-size: 19px; font-weight: 600; }
.hero .coming { display: block; margin-top: 14px; font-size: 13px; color: #cfc6bb; }

/* Effect strip */
.strip { padding: 56px 0 24px; overflow: hidden; }
.strip h2, .points h2 {
  text-align: center;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 22px;
}
.marquee { display: flex; width: max-content; gap: 14px; animation: scroll 60s linear infinite; }
.strip:hover .marquee { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.chip {
  position: relative;
  width: 150px;
  aspect-ratio: 186 / 246;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  flex: none;
}
.chip img { width: 100%; height: 100%; object-fit: cover; }
.chip span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 26px 10px 9px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,0));
  text-shadow: 0 1px 4px rgba(0,0,0,.8);
}
.strip .count { text-align: center; color: var(--muted); font-size: 14px; margin: 22px 0 0; }

/* Points */
.points { padding: 48px 20px 72px; }
.points ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 920px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.points li {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
}
.points li b { display: block; font-size: 17px; margin-bottom: 6px; }
.points li b::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); margin-right: 10px; vertical-align: 2px; }
.points li p { margin: 0; color: var(--muted); font-size: 15px; }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 26px 20px 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: 13px;
  color: var(--muted);
}
footer nav { display: flex; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

/* Legal pages */
.legal { max-width: 720px; margin: 0 auto; padding: 48px 20px 80px; }
.legal .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.legal .top img { width: 120px; filter: invert(1); }
.legal .top a { font-size: 14px; color: var(--muted); text-decoration: none; }
.legal h1 { font-size: 30px; margin: 0 0 6px; }
.legal .date { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.legal h2 { font-size: 18px; margin: 32px 0 8px; }
.legal p, .legal li { color: #d9d2c8; font-size: 16px; }
.legal ul { padding-left: 20px; }

@media (max-width: 600px) {
  .hero { padding-top: 56px; }
  .appicon { top: 16px; left: 16px; width: 38px; height: 38px; }
  .chip { width: 120px; }
  footer { flex-direction: column; align-items: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg, .marquee { animation: none; }
  .strip { overflow-x: auto; }
}
