/* ===================== TOKENS (light theme) ===================== */
:root {
  --yellow: #F5C518;
  --yellow-deep: #E0AF00;
  --yellow-tint: #FFF6D6;
  --ink: #0E0E0E;
  --ink-3: #262626;
  --white: #FFFFFF;

  --bg: #FFFFFF;
  --bg-2: #F7F7F4;   /* alt sections */
  --bg-3: #EFEFEA;   /* subtle fills */
  --text: #14141A;
  --text-soft: #55555F;
  --muted: #8A8A93;
  --line: rgba(0, 0, 0, 0.10);

  --radius: 18px;
  --radius-sm: 12px;
  --max: 1140px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  --card-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  font-synthesis: none;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;   /* never let anything cause sideways scroll on mobile */
}
img { max-width: 100%; }

a { color: inherit; text-decoration: none; }
mark {
  display: inline-block;
  background: var(--yellow); color: var(--white);
  line-height: .9;
  padding: .08em .18em .05em;
  border-radius: 10px;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 22px; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 15px;
  padding: 13px 20px; border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap; cursor: pointer; border: none;
}
.btn:active { transform: translateY(1px); }

.btn--dark { background: var(--ink); color: var(--white); border: 1.5px solid var(--ink); }
.btn--dark:hover { background: var(--ink-3); }

.btn--ghost { background: transparent; color: var(--text); border: 1.5px solid rgba(0,0,0,.18); }
.btn--ghost:hover { border-color: var(--yellow-deep); color: var(--yellow-deep); }

.btn--play {
  background: var(--ink); color: var(--white);
  padding-block: 10px; align-items: center;
}
.btn--play:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.28); }
.btn--play span { display: flex; flex-direction: column; line-height: 1.1; font-size: 17px; text-align: left; }
.btn--play small { font-size: 10px; font-weight: 600; letter-spacing: .12em; opacity: .75; }
.btn--play svg, .btn--play small, .btn--play span { color: var(--white); }
.btn--lg { padding: 14px 26px; }
.btn--lg span { font-size: 19px; }

/* ===================== NAV ===================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, #FCD24A 0%, #F3BE12 100%);
  border-bottom: 1px solid rgba(0,0,0,.10);
}
.nav__inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.nav__links { margin-left: auto; display: flex; gap: 26px; font-weight: 600; font-size: 15px; color: rgba(14,14,14,.72); }
.nav__links a:hover { color: #000; }
.nav__cta { margin-left: 8px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__logo {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--yellow); color: var(--ink);
  display: grid; place-items: center;
  font-weight: 900; font-size: 30px; line-height: 1;
  box-shadow: 0 4px 14px rgba(245,197,24,.4);
}
.brand__name { font-weight: 800; font-size: 28px; letter-spacing: -.02em; color: var(--ink); }

/* On the yellow header, invert the logo so it stands out */
.nav .brand__logo { background: var(--ink); color: var(--yellow); box-shadow: 0 4px 14px rgba(0,0,0,.22); }

/* ===================== HERO ===================== */
.hero { position: relative; overflow: hidden; padding: 60px 0 40px; }
.hero::before {
  content: ""; position: absolute; inset: -20% 40% auto -10%;
  height: 620px; background: radial-gradient(closest-side, rgba(245,197,24,.28), transparent 70%);
  filter: blur(10px); z-index: 0;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.pill {
  display: inline-block; background: #FCE8E8; color: #D32F2F;
  border: 1px solid rgba(211,47,47,.4);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 18px;
}
.hero__title {
  font-size: clamp(40px, 6.4vw, 74px); font-weight: 900; line-height: 1.28; letter-spacing: -.03em;
  margin-bottom: 18px; color: var(--ink);
}
.hero__sub { color: var(--text-soft); font-size: clamp(15px, 1.7vw, 18px); max-width: 480px; margin-bottom: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__stats {
  list-style: none; display: flex; gap: 34px; margin-top: 34px; flex-wrap: wrap;
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 26px; font-weight: 800; color: var(--ink); }
.hero__stats span { font-size: 13px; color: var(--muted); }

/* ---------- Phone mockup (real screenshot — stays dark) ---------- */
.hero__phone { display: flex; justify-content: center; }
.phone {
  position: relative; width: 300px;
  background: #050505; border-radius: 44px; padding: 10px;
  border: 2px solid #1c1c1c; box-shadow: var(--shadow);
}
.phone__screen {
  position: relative;
  width: 100%; background: #000; border-radius: 36px; overflow: hidden;
  line-height: 0;
}
.phone__shot { display: block; width: 100%; height: auto; }

/* ===================== SECTIONS ===================== */
.section { padding: 78px 0; }
.section__title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.02em; text-align: center; color: var(--ink); }
.section__lead { text-align: center; color: var(--text-soft); margin-top: 12px; margin-bottom: 46px; font-size: 17px; }

.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Features */
.features { background: var(--bg-2); }
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--card-shadow);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-6px); border-color: rgba(245,197,24,.7); box-shadow: 0 16px 34px rgba(0,0,0,.10); }
.feature__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  font-size: 26px; background: var(--yellow-tint); border: 1px solid rgba(245,197,24,.45); margin-bottom: 18px;
}
.feature h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.feature p { color: var(--text-soft); font-size: 15px; }

/* How it works */
.steps .step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; position: relative; box-shadow: var(--card-shadow);
}
.step__num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--yellow); color: var(--ink); font-weight: 900; font-size: 20px; margin-bottom: 16px;
}
.step h3 { font-size: 19px; margin-bottom: 6px; color: var(--ink); }
.step p { color: var(--text-soft); font-size: 15px; }

/* Categories */
.categories { background: var(--bg-2); }
.chips { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.chips span {
  background: var(--white); border: 1px solid var(--line); color: var(--text);
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  box-shadow: var(--card-shadow);
  transition: transform .15s ease, border-color .15s ease, color .15s ease;
}
.chips span:hover { transform: translateY(-3px); border-color: var(--yellow); color: var(--yellow-deep); }

/* CTA */
.cta { background: linear-gradient(160deg, var(--yellow), var(--yellow-deep)); color: var(--ink); }
.cta__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta__logo {
  width: 72px; height: 72px; border-radius: 20px; background: var(--ink); color: var(--yellow);
  display: grid; place-items: center; font-weight: 900; font-size: 44px; margin-bottom: 22px;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
}
.cta h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; letter-spacing: -.02em; max-width: 640px; }
.cta p { font-size: 18px; margin: 12px 0 28px; opacity: .85; }
.cta .btn--play { background: var(--ink); color: var(--white); }
.cta .btn--play svg, .cta .btn--play small, .cta .btn--play span { color: var(--white); }

/* ===================== LEGAL / PRIVACY PAGE ===================== */
.legal { max-width: 820px; padding-top: 54px; padding-bottom: 70px; }
.legal h1 { font-size: clamp(30px, 5vw, 46px); font-weight: 900; letter-spacing: -.02em; color: var(--ink); margin-bottom: 22px; }
.legal__body { color: var(--text-soft); font-size: 16px; }
.legal__body h2 { color: var(--ink); font-size: 22px; font-weight: 700; margin: 30px 0 10px; }
.legal__body p { margin-bottom: 14px; }
.legal__body ul { margin: 0 0 16px 22px; }
.legal__body li { margin-bottom: 8px; }
.legal__body a { color: var(--yellow-deep); font-weight: 600; text-decoration: underline; }
.legal__loading { color: var(--muted); }

/* ===================== FOOTER ===================== */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 46px 0; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.footer__tag { color: var(--text-soft); }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.footer__links a { color: var(--text-soft); font-size: 15px; }
.footer__links a:hover { color: var(--yellow-deep); }
.footer__copy { color: var(--muted); font-size: 13px; margin-top: 6px; }

.socials { display: flex; gap: 14px; margin-top: 6px; }
.social {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--line); box-shadow: var(--card-shadow);
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.social svg { width: 23px; height: 23px; }
.social:hover { transform: translateY(-3px); background: var(--ink); color: var(--yellow); }
/* Icons with no link yet stay muted and non-interactive */
.social[href="#"] { opacity: .5; pointer-events: none; }

/* ===================== RESPONSIVE ===================== */

/* Tablet / small laptop */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }               /* push "Get the App" to the right */
  .grid--3 { grid-template-columns: 1fr 1fr; }   /* 2-up cards on tablet */
}

/* Phones */
@media (max-width: 720px) {
  .grid--3 { grid-template-columns: 1fr; }        /* stack cards */
  .section { padding: 54px 0; }

  .hero { padding: 40px 0 24px; }
  .hero__copy { text-align: center; }             /* center the hero on phones */
  .hero__sub { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero__stats { justify-content: center; gap: 26px; }
  .hero__title { font-size: clamp(34px, 8.8vw, 58px); line-height: 1.22; }
  .hero__phone { margin-top: 6px; }

  .nav__inner { height: 62px; }
  .brand__logo { width: 42px; height: 42px; font-size: 27px; }
  .brand__name { font-size: 24px; }

  .cta p { font-size: 16px; }

  /* bigger, tap-friendly social icons on phones */
  .socials { gap: 18px; margin-top: 8px; }
  .social { width: 56px; height: 56px; }
  .social svg { width: 28px; height: 28px; }
}

/* Small / narrow phones */
@media (max-width: 420px) {
  .container { padding-inline: 16px; }
  .phone { width: 232px; }
  .hero__title { font-size: clamp(29px, 9.4vw, 44px); }
  .hero__stats { gap: 18px; }
  .hero__stats strong { font-size: 22px; }
  .btn { font-size: 14px; padding: 12px 16px; }
  .nav__cta { padding: 10px 14px; }
  .brand__name { font-size: 22px; }
  .brand__logo { width: 38px; height: 38px; font-size: 24px; }
}
