:root {
  --cream: #fff6ec;
  --cream-2: #ffe4cf;
  --ink: #1a1410;
  --muted: #6a5f54;
  --red: #e53935;
  --red-deep: #b71c1c;
  --gold: #f0b429;
  --line: rgba(26, 20, 16, 0.1);
  --shadow: 0 22px 60px rgba(26, 20, 16, 0.14);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Nunito", system-ui, -apple-system, sans-serif;
  --display: "Fredoka", "Nunito", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 8% -8%, rgba(229, 57, 53, 0.14), transparent 55%),
    radial-gradient(700px 420px at 100% 0%, rgba(240, 180, 41, 0.18), transparent 50%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 55%, #f2e4d4 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: var(--red-deep); }
a:hover { text-decoration: underline; }
h1, h2, h3 {
  margin: 0 0 0.4em;
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
p { margin: 0 0 1em; color: var(--muted); }

.container { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }

/* AOS-style reveals (like Real Bingo, no jQuery) */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform, filter;
  transition-duration: 0.9s;
  transition-timing-function: var(--ease);
  transition-delay: var(--aos-delay, 0ms);
  will-change: opacity, transform;
}
[data-aos="fade-up"] { transform: translate3d(0, 40px, 0); }
[data-aos="fade-down"] { transform: translate3d(0, -36px, 0); }
[data-aos="fade-left"] { transform: translate3d(42px, 0, 0); }
[data-aos="fade-right"] { transform: translate3d(-42px, 0, 0); }
[data-aos="zoom-in"] { transform: scale(0.88); filter: blur(2px); }
[data-aos].aos-in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 246, 236, 0.8);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 74px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none !important;
  transition: transform 0.25s var(--ease);
}
.logo:hover { transform: translateY(-1px); }
.logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  background: transparent !important;
  border: none;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 4px 10px rgba(229, 57, 53, 0.2));
  animation: logoBob 3.8s var(--ease) infinite;
}
.logo-text {
  font-weight: 700;
  letter-spacing: -0.01em;
}
@media (max-width: 420px) {
  .logo-text { display: none; }
}
@keyframes logoBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.nav { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.nav a {
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.nav a:hover,
.nav a[aria-current="page"],
.nav a.is-active {
  color: var(--red-deep);
  background: rgba(229, 57, 53, 0.14);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: inset 0 -2px 0 var(--red);
}
.btn-nav {
  margin-left: 6px !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--red), var(--red-deep)) !important;
  box-shadow: 0 10px 24px rgba(229, 57, 53, 0.28);
  padding: 10px 18px !important;
}
.btn-nav:hover {
  color: #fff !important;
  transform: translateY(-2px) !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-weight: 900;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.35) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  box-shadow: 0 14px 32px rgba(229, 57, 53, 0.32);
}
.btn-ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  border: 1.5px solid var(--line);
}

/* Store badges */
.store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 28px;
}
.store-row-sm { gap: 10px; margin-top: 0; }
.store-badge {
  display: inline-block;
  line-height: 0;
  text-decoration: none !important;
  border-radius: 10px;
  transition: transform 0.3s var(--ease), filter 0.3s var(--ease);
}
.store-badge:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.05);
}
.store-badge:active { transform: scale(0.98); }
.store-badge img {
  width: 168px;
  height: auto;
  border-radius: 8px;
}
.store-row-sm .store-badge img { width: 132px; }

/* CTA band */
.cta-band {
  margin: 8px 0 0;
  padding: 44px 0;
  background:
    radial-gradient(560px 180px at 18% 50%, rgba(229, 57, 53, 0.32), transparent 60%),
    linear-gradient(120deg, #2a1814, #1a1510 55%, #3a2218);
  color: #fff;
}
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.cta-kicker {
  margin: 0 0 6px;
  color: #ffb4a8;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.cta-band h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
}
.cta-band .store-row { margin-top: 0; }

/* Leaderboard page */
.lb-hero {
  padding: clamp(36px, 6vw, 56px) 0 8px;
}
.lb-hero-copy h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  margin-bottom: 0.3em;
}
.lb-hero-copy p:last-child {
  margin: 0;
  max-width: 36ch;
  font-size: 1.05rem;
}
.lb-section { padding-top: 12px; padding-bottom: 40px; }

.lb-wrap {
  background: #fff;
  border: 1px solid rgba(26, 20, 16, 0.06);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(26, 20, 16, 0.08);
}
.lb-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 20px;
  border-bottom: 1px solid #f0ebe3;
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 800;
  background: linear-gradient(180deg, #fffaf4, #fff);
}
.lb-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lb-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
}
.lb-table th, .lb-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid #f3eee6;
  font-size: 0.94rem;
  vertical-align: middle;
}
.lb-table th {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a8f82;
  background: #fbf7f1;
  font-weight: 800;
}
.lb-table tbody tr {
  opacity: 0;
  transform: translateY(10px);
  animation: rowIn 0.45s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 45ms);
  transition: background 0.2s var(--ease);
}
@keyframes rowIn {
  to { opacity: 1; transform: none; }
}
.lb-table tbody tr:last-child td { border-bottom: none; }
.lb-table tbody tr:hover { background: rgba(229, 57, 53, 0.035); }
.lb-table tbody tr.lb-top { background: linear-gradient(90deg, rgba(240, 180, 41, 0.08), transparent 55%); }

.lb-rank {
  width: 72px;
  font-weight: 900;
  color: var(--red);
}
.lb-rank span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(229, 57, 53, 0.08);
  font-size: 0.88rem;
}
.lb-medal.gold span {
  color: #8a5a00;
  background: linear-gradient(135deg, #ffe7a0, #f0b429);
}
.lb-medal.silver span {
  color: #4a5560;
  background: linear-gradient(135deg, #eef1f4, #c5ced6);
}
.lb-medal.bronze span {
  color: #6b3d1a;
  background: linear-gradient(135deg, #f3d0a8, #d88a4a);
}

.lb-player {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lb-avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 900;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(145deg, var(--red), #ff7043 60%, var(--gold));
  box-shadow: 0 6px 14px rgba(229, 57, 53, 0.22);
}
.lb-name {
  font-weight: 800;
  color: var(--ink);
  font-size: 1rem;
}
.lb-levels { font-weight: 800; color: var(--ink); }
.lb-time { font-variant-numeric: tabular-nums; font-weight: 700; color: #4a4038; }
.lb-date { color: var(--muted); font-weight: 700; font-size: 0.88rem; }

.lb-empty, .lb-loading, .lb-error {
  padding: 44px 18px;
  text-align: center;
  color: var(--muted);
  font-weight: 800;
}

/* Hero — full-bleed stage + split like Real Bingo */
.hero-stage {
  position: relative;
  padding: clamp(48px, 8vw, 100px) 0 clamp(56px, 8vw, 90px);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: -20% 30% auto -10%;
  height: 70%;
  background:
    radial-gradient(circle at 30% 40%, rgba(229, 57, 53, 0.22), transparent 55%),
    radial-gradient(circle at 70% 30%, rgba(240, 180, 41, 0.2), transparent 50%);
  filter: blur(40px);
  pointer-events: none;
  animation: glowPulse 7s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.brand-kicker {
  font-family: var(--display);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 700;
  color: var(--red);
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}
.hero-copy h1 {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  max-width: 10ch;
  margin-bottom: 0.35em;
}
.hero-copy h1 span {
  background: linear-gradient(120deg, var(--red), #ff7043 45%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-copy .lead {
  font-size: 1.12rem;
  max-width: 36ch;
  margin-bottom: 0;
}
.store-note {
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 700;
}

/* Phone / logo hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 900px;
}
.hero-logo-wrap {
  position: relative;
  width: min(380px, 78vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  animation: phoneFloat 5.5s ease-in-out infinite;
}
.hero-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 50px rgba(26, 20, 16, 0.28));
  position: relative;
  z-index: 2;
}
.orbit {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  filter: blur(1px);
  pointer-events: none;
}
.orbit.o-a {
  width: 140px;
  height: 140px;
  background: rgba(229, 57, 53, 0.2);
  top: 4%;
  right: -6%;
  animation: float 7s ease-in-out infinite;
}
.orbit.o-b {
  width: 100px;
  height: 100px;
  background: rgba(240, 180, 41, 0.26);
  bottom: 10%;
  left: -8%;
  animation: float 8s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-16px) scale(1.05); }
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-16px) rotate(2deg); }
}

.section { padding: 56px 0; }
.section-head { margin-bottom: 28px; max-width: 38rem; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }

.feature-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  padding: 8px 4px 8px 0;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--red), var(--gold)) 1;
  transition: transform 0.35s var(--ease);
}
.feature:hover { transform: translateY(-4px); }
.feature-ico {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--red-deep);
  background: linear-gradient(145deg, rgba(229,57,53,0.12), rgba(240,180,41,0.2));
}
.feature h3 { font-size: 1.15rem; }
.feature p { margin: 0; font-size: 0.95rem; }

.policy-list { display: grid; gap: 10px; }
.policy-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none !important;
  color: inherit;
  transition: padding-left 0.3s var(--ease), color 0.3s var(--ease);
}
.policy-link span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}
.policy-link em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.95rem;
}
.policy-link:hover { padding-left: 10px; }
.policy-link:hover span { color: var(--red-deep); }

/* Legacy card support (other pages) */
.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.in { opacity: 1; transform: none; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 22px;
  padding: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(31, 26, 20, 0.14);
}
.card .icon {
  width: 48px; height: 48px;
  border-radius: 16px;
  display: grid; place-items: center;
  margin-bottom: 14px;
  font-size: 1.25rem;
  background: linear-gradient(145deg, rgba(229,57,53,0.12), rgba(244,185,66,0.18));
}
.card h3 { font-size: 1.08rem; }
.card p { margin: 0; font-size: 0.95rem; }

/* Legal */
.legal {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  padding: clamp(22px, 4vw, 44px);
  box-shadow: var(--shadow);
  margin: 36px 0 56px;
  backdrop-filter: blur(12px);
}
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); }
.legal h2 { font-size: 1.15rem; margin-top: 1.55em; }
.legal ul, .legal ol { color: var(--muted); padding-left: 1.2em; }
.legal li { margin-bottom: 0.4em; }
.updated { font-size: 0.88rem; color: var(--muted); font-weight: 800; }

/* Footer */
.site-footer {
  margin-top: 0;
  padding: 44px 0 28px;
  background: linear-gradient(180deg, #241c16, #15110e);
  color: #d5ccc0;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #ffccbc; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 28px;
}
.footer-brand {
  max-width: 30ch;
  line-height: 1.5;
}
.footer-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
  margin-bottom: 12px;
  background: transparent !important;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}
.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-family: var(--display);
}
.footer-col h4 {
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  margin-bottom: 10px;
  color: #c9bfb3;
  font-weight: 700;
  font-size: 0.92rem;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
.footer-col a:hover {
  color: #fff;
  transform: translateX(2px);
}
.footer-copy {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  color: #8f8578;
}

.back-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 200;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: 0 12px 28px rgba(229, 57, 53, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.back-top.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

/* ——— Landing page ——— */
.narrow { width: min(760px, calc(100% - 32px)); margin-left: auto; margin-right: auto; }
.brand-kicker {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--red);
  margin: 0 0 10px;
}
.prose-section .section-head { margin-bottom: 18px; }
.prose p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
}
.prose p strong { color: var(--ink); }

.phone-frame {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  animation: phoneFloat 5.5s ease-in-out infinite;
}
.phone-bezel {
  position: relative;
  border-radius: 28px;
  padding: 8px;
  background: linear-gradient(160deg, #2c241e, #0e0b09);
  box-shadow:
    0 24px 50px rgba(26, 20, 16, 0.28),
    inset 0 0 0 2px rgba(255,255,255,0.1);
}
.phone-bezel::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 28%;
  height: 8px;
  border-radius: 999px;
  background: #0a0807;
  z-index: 2;
  pointer-events: none;
}
.phone-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  width: 270px;
  height: 480px;
  max-width: min(270px, 72vw);
  background: #1a1410;
}
.phone-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  width: 270px;
  height: 480px;
  max-width: min(270px, 72vw);
  background: #1a1410;
}
.phone-shot {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  object-fit: cover;
  object-position: top center;
  display: block;
  opacity: 1;
  transform: translate3d(100%, 0, 0);
  transition: none;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  backface-visibility: hidden;
}
/* Current screen */
.phone-shot.is-active {
  transform: translate3d(0, 0, 0);
  z-index: 2;
}
/* Next screen waiting off to the right */
.phone-shot.is-enter-from {
  transform: translate3d(100%, 0, 0);
  z-index: 3;
}
/* Animate: new screen pushes in from right */
.phone-shot.is-enter-from.is-animating {
  transition: transform 0.48s cubic-bezier(0.32, 0.72, 0, 1);
  transform: translate3d(0, 0, 0);
}
/* Old screen slides left (nav push feel) */
.phone-shot.is-exit {
  z-index: 1;
  transition: transform 0.48s cubic-bezier(0.32, 0.72, 0, 1);
  transform: translate3d(-28%, 0, 0);
}
.phone-shot.img-fallback {
  object-fit: contain;
  padding: 16%;
  background: #fff8ef;
}

.hero-landing {
  background-image:
    linear-gradient(180deg, rgba(255, 246, 236, 0.9), rgba(255, 232, 212, 0.94)),
    url("/assets/img/hero-bg.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.hero-landing .hero-copy {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
.hero-landing .hero-grid {
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
}
.hero-landing .lead {
  max-width: 34ch;
}
.hero-landing .store-row {
  margin-top: 20px;
}

.feature-blocks { display: grid; gap: 36px; margin-bottom: 36px; }
.feature-block {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(18px, 4vw, 40px);
  align-items: center;
}
.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }
.feature-media {
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(26,20,16,0.06);
  box-shadow: var(--shadow);
  min-height: 200px;
  display: grid;
  place-items: center;
}
.feature-media img {
  width: 100%;
  height: auto;
  display: block;
}
.feature-media img.img-fallback {
  width: 42%;
  padding: 40px 0;
  object-fit: contain;
}
.feature-copy h3 { font-size: 1.45rem; }
.feature-copy p { margin: 0; font-size: 1.02rem; }

.pill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.pill-card {
  background: #fff;
  border: 1px solid rgba(26,20,16,0.06);
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: 0 10px 28px rgba(26,20,16,0.06);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pill-card strong {
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--ink);
}
.pill-card span { color: var(--muted); font-size: 0.88rem; font-weight: 700; }

.alt-band {
  background: rgba(255, 255, 255, 0.45);
  border-block: 1px solid var(--line);
}
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.diff-card {
  background: #fff;
  border-radius: 20px;
  padding: 22px;
  border: 1px solid rgba(26,20,16,0.06);
  box-shadow: var(--shadow);
}
.diff-card h3 { color: var(--red); font-size: 1.25rem; }
.diff-card.hard h3 { color: #8b4513; }
.diff-card p { margin: 0; }
.diff-note { margin-top: 16px; font-weight: 700; font-size: 0.95rem; }

.premium-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  padding: clamp(22px, 4vw, 36px);
  border-radius: 28px;
  background:
    radial-gradient(500px 200px at 10% 20%, rgba(229,57,53,0.2), transparent 60%),
    linear-gradient(135deg, #2a1814, #1a1510);
  color: #f3e9df;
  box-shadow: var(--shadow);
}
.premium-panel h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.premium-panel p { color: #d5c8ba; }
.premium-list {
  margin: 0 0 14px;
  padding-left: 1.15em;
  color: #e8ddd0;
  font-weight: 700;
}
.premium-list li { margin-bottom: 6px; }
.premium-list strong { color: var(--gold); }
.premium-media {
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  min-height: 180px;
  display: grid;
  place-items: center;
}
.premium-media img { width: 100%; height: auto; display: block; }
.premium-media img.img-fallback { width: 45%; padding: 28px 0; }
.premium-panel .store-note { color: #b9aa9a; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  padding: 14px 16px 14px 44px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(26,20,16,0.06);
  color: var(--muted);
  font-weight: 700;
  position: relative;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
}
.check-list strong { color: var(--ink); }

.faq { display: grid; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 0;
  background: transparent;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 40px 18px 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--ink);
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--red);
  background: rgba(229, 57, 53, 0.1);
}
.faq-item[open] summary::after { content: "−"; }
.faq-body {
  padding: 0 0 18px;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.65;
}
.faq-body p { margin: 0 0 0.75em; }
.faq-body p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .hero-grid, .feature-rail, .footer-grid, .grid-3,
  .feature-block, .diff-grid, .premium-panel, .pill-grid { grid-template-columns: 1fr; }
  .feature-block.reverse { direction: ltr; }
  .hero-copy h1 { max-width: none; }
  /* Text first on small screens — do NOT pull phone above the headline */
  .hero-visual { order: 0; }
  .hero-logo-wrap { width: min(260px, 68vw); }
  .hero-landing .hero-grid {
    text-align: center;
  }
  .hero-landing .lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-landing .store-row {
    justify-content: center;
  }
  .phone-viewport {
    width: min(200px, 52vw);
    height: min(356px, 92vw);
    border-radius: 18px;
  }
  .phone-bezel { padding: 7px; border-radius: 24px; }
  .phone-bezel::before { top: 11px; height: 6px; width: 30%; }
  .hero-stage { padding: 24px 0 32px; }
  .hero-landing .brand-kicker { font-size: 0.95rem; }
  .hero-landing h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 74px;
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 10px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
  }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .btn-nav { margin-left: 0 !important; text-align: center; }
}
@media (min-width: 901px) {
  .nav-toggle { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-aos], .reveal { opacity: 1; transform: none; filter: none; }
}
