/* ============ FLYDEE TESTS — LANDING ============ */

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

:root {
  --bg: #FFF7EE;
  --bg-warm: #FFE9D6;
  --ink: #1B1B3A;
  --ink-2: #4A4A6B;
  --ink-3: #8A8AA3;
  --line: #1B1B3A;
  --primary: #FF5A1F;
  --primary-dark: #E84A12;
  --green: #4FB930;
  --green-dark: #3A9920;
  --yellow: #FFC700;
  --blue: #2E7BE6;
  --pink: #FF4D8F;
  --purple: #7B5BFF;
  --card: #FFFFFF;
  --shadow-hard: 0 6px 0 var(--ink);
  --shadow-hard-sm: 0 4px 0 var(--ink);
  --shadow-soft: 0 12px 32px rgba(27, 27, 58, 0.08);
  --radius: 22px;
  --radius-lg: 32px;
  --radius-sm: 14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background:
    radial-gradient(800px 500px at 85% 240px, var(--bg-warm), transparent 60%),
    radial-gradient(900px 600px at 5% 720px, #FFE0CC, transparent 70%),
    var(--bg);
  background-repeat: no-repeat;
  background-attachment: scroll;
  color: var(--ink);
  line-height: 1.5;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, .display {
  font-family: 'Unbounded', 'Onest', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

img, svg { display: block; max-width: 100%; }

/* ====== LAYOUT ====== */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }

/* ====== NAV ====== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 238, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--ink);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1180px;
  margin: 0 auto;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 22px;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--primary);
  border: 2px solid var(--ink);
  box-shadow: 0 3px 0 var(--ink);
  display: grid;
  place-items: center;
  font-size: 20px;
}
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.nav-links a:hover { color: var(--primary); }

@media (max-width: 720px) {
  .nav-links { display: none; }
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 16px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow-hard-sm);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  user-select: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn::before, .store-badge::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.45) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: btn-shine 3.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.btn > * { position: relative; z-index: 2; }
.store-badge { position: relative; overflow: hidden; isolation: isolate; }
.store-badge img { position: relative; z-index: 2; }
@keyframes btn-shine {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) {
  .btn::before, .store-badge::before { animation: none; display: none; }
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn-primary { background: var(--primary); color: white; }
.btn-green   { background: var(--green); color: white; }
.btn-yellow  { background: var(--yellow); color: var(--ink); }
.btn-white   { background: white; color: var(--ink); }
.btn-lg { padding: 20px 36px; font-size: 18px; border-radius: 18px; box-shadow: var(--shadow-hard); }
.btn-lg:hover { box-shadow: 0 7px 0 var(--ink); }
.btn-lg:active { box-shadow: 0 2px 0 var(--ink); }
.btn-sm { padding: 10px 18px; font-size: 13px; border-radius: 12px; }

/* ====== HERO ====== */
.hero {
  position: relative;
  padding: 70px 0 100px;
  /* gradient lives on body now, so hero+quote share one seamless surface */
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  margin: 18px 0 22px;
  line-height: 0.98;
}
.hero h1 .accent {
  background: var(--yellow);
  padding: 0 12px;
  display: inline-block;
  border-radius: 12px;
  transform: rotate(-1deg);
  border: 2px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink);
}
.hero-sub {
  font-size: 20px;
  color: var(--ink-2);
  margin-bottom: 32px;
  max-width: 520px;
  line-height: 1.4;
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 2px solid var(--ink);
  border-radius: 100px;
  padding: 10px 18px 10px 14px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow-hard-sm);
  margin-bottom: 8px;
}
.live-dot {
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  position: relative;
}
.live-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.4;
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(2); opacity: 0; }
}
.live-count {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  color: var(--primary);
  font-size: 15px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.trust-strip {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
}
.trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Hero illustration */
.hero-art {
  position: relative;
  height: 480px;
}
.hero-art .card-stack {
  position: absolute;
  inset: 0;
}
.float-card {
  position: absolute;
  background: white;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard);
  padding: 18px;
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-10px) rotate(var(--r, 0deg)); }
}
.fc-1 { top: 5%; left: 5%; width: 240px; --r: -4deg; animation-delay: 0s; }
.fc-2 { top: 30%; right: 0; width: 200px; --r: 5deg; animation-delay: -2s; }
.fc-3 { bottom: 5%; left: 18%; width: 260px; --r: -2deg; animation-delay: -4s; }

.fc-title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}
.fc-meta {
  font-size: 12px;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.fc-bar {
  height: 8px;
  border-radius: 100px;
  background: #F0F0F5;
  overflow: hidden;
  border: 1.5px solid var(--ink);
}
.fc-bar > div { height: 100%; border-radius: 100px; }
.fc-score {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 36px;
}
.fc-emoji { font-size: 32px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { height: 340px; }
  .fc-1 { width: 200px; }
  .fc-2 { width: 170px; }
  .fc-3 { width: 220px; }
}

/* ====== SECTION HEADERS ====== */
.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.eyebrow {
  display: inline-block;
  background: var(--ink);
  color: white;
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.section-head h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  max-width: 760px;
  margin: 0 auto 14px;
}
.section-head p {
  color: var(--ink-2);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

/* ====== TEST GRID ====== */
.tests-section { background: white; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.tests-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.tests-grid .test-card.featured {
  grid-column: span 2;
  grid-row: span 2;
}
@media (max-width: 900px) {
  .tests-grid { grid-template-columns: repeat(2, 1fr); }
  .tests-grid .test-card.featured { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 480px) {
  .tests-grid { grid-template-columns: 1fr; }
  .tests-grid .test-card.featured { grid-column: auto; }
}

.test-card {
  position: relative;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow-hard-sm);
  text-align: left;
  font-family: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 180px;
  overflow: hidden;
}
.test-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 0 var(--ink);
}
.test-card .tc-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  font-size: 30px;
  box-shadow: 0 3px 0 var(--ink);
}
.test-card h3 {
  font-size: 22px;
  margin-top: 6px;
}
.test-card .tc-sub {
  color: var(--ink-2);
  font-size: 14px;
  flex: 1;
}
.test-card .tc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-3);
  margin-top: 4px;
}
.test-card.featured {
  background: var(--primary);
  color: white;
  min-height: 380px;
  padding: 32px;
}
.test-card.featured .tc-icon { background: white; }
.test-card.featured h3 { font-size: 36px; }
.test-card.featured .tc-sub { color: rgba(255,255,255,0.9); font-size: 16px; }
.test-card.featured .tc-foot { color: rgba(255,255,255,0.7); }
.featured-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 100px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  letter-spacing: 0.04em;
  box-shadow: 0 2px 0 var(--ink);
}
.start-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 100px;
  padding: 12px 20px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 14px;
  align-self: flex-start;
  margin-top: 12px;
  box-shadow: 0 3px 0 var(--ink);
}
.soon-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #F0F0F5;
  border: 1.5px solid var(--ink);
  border-radius: 100px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tc-icon-alcohol  { background: #FFD3D3; }
.tc-icon-smoke    { background: #D5E5FF; }
.tc-icon-vape     { background: #E5D5FF; }
.tc-icon-gambling { background: #FFE7B0; }
.tc-icon-phone    { background: #C8F4D0; }
.tc-icon-social   { background: #FFD8EB; }
.tc-icon-food     { background: #FFE0C0; }

/* ====== TEST MODAL ====== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(27, 27, 58, 0.5);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fade 0.2s ease;
}
.modal-backdrop.open { display: flex; }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }

.modal {
  background: var(--bg);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hard);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes pop {
  from { transform: scale(0.9) translateY(20px); opacity: 0 }
  to { transform: scale(1) translateY(0); opacity: 1 }
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: white;
  cursor: pointer;
  font-size: 18px;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 0 var(--ink);
  z-index: 2;
}
.modal-body { padding: 36px 32px; }

.progress-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.progress-bar {
  flex: 1;
  height: 12px;
  background: #F0F0F5;
  border: 2px solid var(--ink);
  border-radius: 100px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--green);
  border-radius: 100px;
  transition: width 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  width: 0;
}
.progress-text {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  white-space: nowrap;
}

.q-text {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 24px;
}
.q-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.q-option {
  width: 100%;
  text-align: left;
  background: white;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 3px 0 var(--ink);
  transition: transform 0.12s, background 0.15s;
}
.q-option:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--ink); background: #FFFCF5; }
.q-option:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }

/* Result */
.result-head {
  text-align: center;
  margin-bottom: 28px;
}
.result-score {
  width: 180px;
  height: 180px;
  margin: 0 auto 18px;
  position: relative;
}
.result-emoji {
  font-size: 56px;
  text-align: center;
  margin-bottom: 12px;
}
.result-level {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 8px;
}
.result-desc {
  color: var(--ink-2);
  font-size: 15px;
  max-width: 460px;
  margin: 0 auto;
}
.result-recs {
  background: white;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin: 24px 0;
}
.result-recs h4 {
  font-family: 'Unbounded', sans-serif;
  font-size: 16px;
  margin-bottom: 12px;
}
.result-recs ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.result-recs li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
}
.result-recs li::before {
  content: '✓';
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-weight: 700;
  text-align: center;
  line-height: 22px;
  flex-shrink: 0;
  border: 1.5px solid var(--ink);
  font-size: 12px;
}
.result-cta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  padding: 20px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: 0 3px 0 var(--ink);
}
.result-cta strong {
  font-family: 'Unbounded', sans-serif;
  font-size: 18px;
}
.result-cta p { font-size: 14px; margin-bottom: 8px; }
.result-cta-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }

/* ====== CALCULATOR ====== */
.calc-section {
  padding: 100px 0;
}
.calc-card {
  background: var(--ink);
  color: white;
  border-radius: var(--radius-lg);
  border: 2px solid var(--ink);
  padding: 48px;
  box-shadow: var(--shadow-hard);
  overflow: hidden;
  position: relative;
}
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) {
  .calc-grid { grid-template-columns: 1fr; gap: 32px; }
  .calc-card { padding: 32px 24px; }
}
.calc-title {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 12px;
  color: white;
}
.calc-sub {
  color: rgba(255,255,255,0.7);
  margin-bottom: 28px;
  font-size: 15px;
}
.calc-field { margin-bottom: 22px; }
.calc-field label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.85);
}
.calc-field .val {
  background: var(--yellow);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
}
.calc-field input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  background: rgba(255,255,255,0.15);
  border-radius: 100px;
  outline: none;
}
.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--ink);
  cursor: pointer;
  box-shadow: 0 2px 0 rgba(0,0,0,0.5);
}
.calc-field input[type="range"]::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--ink);
  cursor: pointer;
}

.calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.calc-stat {
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 22px;
  position: relative;
  overflow: hidden;
}
.calc-stat.feature {
  grid-column: span 2;
  background: var(--primary);
  border-color: var(--ink);
  box-shadow: 0 4px 0 #993000;
}
.calc-stat .cs-label {
  font-family: 'Unbounded', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}
.calc-stat.feature .cs-label { color: rgba(255,255,255,0.85); }
.calc-stat .cs-value {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.calc-stat.feature .cs-value { font-size: 56px; }
.calc-stat .cs-unit {
  font-family: 'Unbounded', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}
.calc-cta {
  margin-top: 24px;
  text-align: center;
}
.calc-cta p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 14px;
  font-size: 15px;
}

/* ====== HOW IT WORKS / SEO content ====== */
.how-section { background: white; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 800px) {
  .how-grid { grid-template-columns: 1fr; }
}
.how-card {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--bg);
  box-shadow: var(--shadow-hard-sm);
}
.how-num {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 48px;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 16px;
}
.how-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.how-card p {
  color: var(--ink-2);
  font-size: 15px;
}

/* ====== SEO CONTENT BLOCK ====== */
.seo-section {
  padding: 90px 0;
}
.seo-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 860px) {
  .seo-grid { grid-template-columns: 1fr; gap: 32px; }
}
.seo-text h2 { font-size: clamp(28px, 3.5vw, 42px); margin-bottom: 20px; }
.seo-text h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 19px;
  margin: 28px 0 10px;
}
.seo-text p {
  color: var(--ink-2);
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.65;
}
.seo-text ul {
  padding-left: 0;
  list-style: none;
  margin: 12px 0;
}
.seo-text ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--ink-2);
}
.seo-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--ink);
}

.seo-aside {
  position: sticky;
  top: 100px;
  background: var(--ink);
  color: white;
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-hard);
}
.seo-aside h3 {
  color: white;
  font-size: 22px;
  margin-bottom: 14px;
}
.seo-aside p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 22px;
  font-size: 15px;
}
.signs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.signs-list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  align-items: flex-start;
  color: rgba(255,255,255,0.9);
}
.signs-list li::before {
  content: '⚠';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 50%;
  text-align: center;
  font-size: 13px;
  line-height: 24px;
  font-weight: 700;
}

/* ====== FAQ ====== */
.faq-section { background: var(--bg-warm); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: white;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hard-sm);
}
.faq-q {
  width: 100%;
  padding: 22px 26px;
  background: none;
  border: none;
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 17px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--ink);
}
.faq-q .plus {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-a-inner {
  padding: 0 26px 26px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.55;
}

/* ====== DOWNLOAD CTA ====== */
.dl-section {
  padding: 100px 0;
  text-align: center;
  background: var(--primary);
  color: white;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.dl-section::before, .dl-section::after {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
}
.dl-section::before { top: -80px; left: -50px; }
.dl-section::after { bottom: -100px; right: -60px; width: 280px; height: 280px; }
.dl-section .wrap { position: relative; z-index: 1; }
.dl-section h2 {
  font-size: clamp(36px, 5vw, 60px);
  margin-bottom: 18px;
  color: white;
}
.dl-section p {
  font-size: 19px;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.92;
}
.store-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.store-btn {
  background: var(--ink);
  color: white;
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 14px 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(0,0,0,0.3);
  transition: transform 0.12s ease;
  font-weight: 600;
}
.store-btn:hover { transform: translateY(-2px); }
.store-btn small { display: block; font-size: 11px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.04em; }
.store-btn strong { display: block; font-size: 16px; font-family: 'Unbounded', sans-serif; }
.store-icon { font-size: 24px; }

.store-badge {
  display: inline-flex;
  align-items: center;
  transition: transform 0.12s ease;
  border-radius: 8px;
}
.store-badge img {
  height: 56px;
  width: auto;
  display: block;
}
.store-badge:hover { transform: translateY(-2px); }

/* ====== FOOTER ====== */
footer {
  padding: 50px 0 30px;
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
footer a { color: rgba(255,255,255,0.85); text-decoration: none; margin-right: 18px; }
footer a:hover { color: white; }
footer .f-logo { color: white; font-family: 'Unbounded', sans-serif; font-weight: 700; }

/* ====== UTILS ====== */
.hidden { display: none !important; }
.fade-in { animation: slidein 0.35s ease; }
@keyframes slidein {
  from { opacity: 0; transform: translateX(20px) }
  to { opacity: 1; transform: translateX(0) }
}
/* ===== home-specific extensions ===== */

/* App showcase / hero phone */
.phone-mock {
  width: 280px;
  background: var(--ink);
  border-radius: 42px;
  padding: 14px;
  border: 5px solid var(--ink);
  /* layered hard-shadow for a bolder, "brutalist" frame */
  box-shadow:
    0 0 0 2px var(--bg) inset,             /* subtle inner ring between bezel and screen */
    0 10px 0 var(--ink),                   /* main hard shadow */
    0 24px 40px -10px rgba(27,27,58,0.35); /* soft ambient depth */
  position: relative;
}
.phone-mock::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: var(--ink);
  border-radius: 100px;
  border: 2px solid var(--ink);
  z-index: 2;
}
.phone-screen {
  background: var(--bg);
  border-radius: 28px;
  overflow: hidden;
  padding: 38px 16px 16px;
  min-height: 520px;
  position: relative;
}
.phone-screen--shot {
  padding: 0;
  min-height: 0;
}
img.logo-mark {
  object-fit: cover;
  background: transparent;
  padding: 0;
}
.phone-shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 28px;
}

/* Streak header card */
.streak-card {
  background: var(--primary);
  color: white;
  border: 2px solid var(--ink);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 3px 0 var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.streak-card .sc-num {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 36px;
  line-height: 1;
}
.streak-card .sc-flame { font-size: 40px; }
.streak-card .sc-label { font-size: 11px; opacity: 0.9; letter-spacing: 0.05em; text-transform: uppercase; }

.mini-card {
  background: white;
  border: 2px solid var(--ink);
  border-radius: 14px;
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: 0 2px 0 var(--ink);
}
.mini-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
}
.mini-row + .mini-row { margin-top: 8px; }
.mini-tag {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 10px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 100px;
  border: 1.5px solid var(--ink);
}

.tab-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  padding: 12px 0 18px;
  background: white;
  border-top: 2px solid var(--ink);
}
.tab-bar > div { font-size: 22px; opacity: 0.5; }
.tab-bar > div.active { opacity: 1; }

/* Features section */
.features-section { background: white; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto auto 1fr;
  gap: 20px;
}
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

/* subgrid keeps icon row / title row / text row aligned across all cards */
.feature-card {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--bg);
  box-shadow: var(--shadow-hard-sm);
  transition: transform 0.15s, box-shadow 0.15s;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  row-gap: 14px;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 7px 0 var(--ink); }
.feat-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  font-size: 30px;
  box-shadow: 0 3px 0 var(--ink);
}
.feature-card h3 {
  font-size: 22px;
  align-self: start;
}
.feature-card p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
  align-self: start;
}

.feat-1 { background: #FFE5D0; }
.feat-2 { background: #D5E5FF; }
.feat-3 { background: #C8F4D0; }
.feat-4 { background: #FFD8EB; }
.feat-5 { background: #FFE7B0; }
.feat-6 { background: #E5D5FF; }

.feat-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--ink);
  color: white;
  font-family: 'Unbounded', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 100px;
}

/* Quote block — sits on the same body background as hero, no separate gradient */
.quote-section {
  padding: 60px 0 130px;
  position: relative;
  background: transparent;
  margin-top: 0;
}
.quote-section .wrap { position: relative; z-index: 1; }
.quote-card {
  max-width: 880px;
  margin: 0 auto;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  box-shadow: var(--shadow-hard);
  position: relative;
}
.quote-card::before {
  content: '"';
  position: absolute;
  top: -50px;
  left: 30px;
  font-family: 'Unbounded', sans-serif;
  font-size: 200px;
  color: var(--ink);
  line-height: 1;
}
.quote-card p {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 18px;
}
.quote-card cite {
  font-family: 'Onest', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}
@media (max-width: 600px) {
  .quote-card { padding: 40px 28px; }
  .quote-card::before { font-size: 140px; top: -30px; }
}

/* Game mechanics section */
.game-section { padding: 100px 0; }
.game-card {
  background: var(--ink);
  color: white;
  border-radius: var(--radius-lg);
  border: 2px solid var(--ink);
  padding: 60px;
  box-shadow: var(--shadow-hard);
  position: relative;
  overflow: hidden;
}
.game-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.2;
}
.game-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 860px) { .game-grid { grid-template-columns: 1fr; gap: 40px; } .game-card { padding: 40px 28px; } }
.game-card h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: white;
  margin-bottom: 18px;
}
.game-card .game-sub {
  color: rgba(255,255,255,0.75);
  font-size: 17px;
  margin-bottom: 28px;
}
.game-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}
.game-stat-mini {
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  padding: 18px;
}
.game-stat-mini .gs-val {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 32px;
  margin-bottom: 4px;
}
.game-stat-mini .gs-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.6);
}

.badges-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.badge-pill {
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  padding: 10px 18px;
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.badge-pill.earned {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}

/* Phone column wraps the phone + CTA together — CTA lives in spare vertical space below the phone so the card doesn't grow.
   space-between pins the CTA to the bottom of the column = same baseline as the achievements row in the left column. */
.game-phone-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  align-self: stretch;
  gap: 22px;
}
@media (max-width: 860px) {
  .game-phone-col { gap: 24px; justify-content: center; align-self: auto; }
}

/* CTA inside the dark gamification card */
.game-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 18px;
  background: var(--primary);
  color: white;
  border: 2px solid var(--ink);
  border-radius: 16px;
  text-decoration: none;
  box-shadow: 0 5px 0 var(--ink), 0 0 0 2px rgba(255,255,255,0.08) inset;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.game-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--ink), 0 0 0 2px rgba(255,255,255,0.12) inset;
}
.game-cta:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--ink), 0 0 0 2px rgba(255,255,255,0.08) inset;
}
.game-cta-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.game-cta-title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
}
.game-cta-sub {
  font-size: 12px;
  opacity: 0.85;
  margin-top: 2px;
}
.game-cta-arrow {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ink);
  color: white;
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.game-cta:hover .game-cta-arrow { transform: rotate(-8deg) scale(1.05); }

/* Audience cards */
.audience-section { background: var(--bg-warm); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 800px) { .audience-grid { grid-template-columns: 1fr; } }
.audience-card {
  background: white;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-hard-sm);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.aud-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  font-size: 36px;
  margin-bottom: 18px;
  box-shadow: 0 3px 0 var(--ink);
}
.aud-1 { background: #FFE0C0; }
.aud-2 { background: #D5E5FF; }
.aud-3 { background: #FFD8EB; }
.audience-card h3 { font-size: 24px; margin-bottom: 10px; min-height: 2.4em; line-height: 1.2; display: flex; align-items: flex-end; }
.audience-card p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 800px) { .audience-card h3 { min-height: 0; display: block; } }

/* Screens gallery */
.screens-section { padding: 100px 0; }
.screens-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 860px) { .screens-row { grid-template-columns: repeat(2, 1fr); } }
.screen-card {
  background: white;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 14px 14px 18px;
  box-shadow: var(--shadow-hard-sm);
  text-align: center;
}
.screen-card .sc-img {
  border-radius: 18px;
  border: 2px solid var(--ink);
  background: var(--bg-warm);
  aspect-ratio: 9 / 19;
  margin-bottom: 12px;
  display: grid;
  place-items: center;
  font-size: 60px;
  overflow: hidden;
}
.screen-card .sc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.screen-card h4 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}
.screen-card p { font-size: 12px; color: var(--ink-3); }

/* Testimonials */
.testi-section { background: white; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.testi-stats {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.testi-stat-num {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  color: var(--primary);
}
.testi-stat-label {
  font-size: 14px;
  color: var(--ink-2);
  margin-top: 6px;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card {
  background: var(--bg);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-hard-sm);
}
.testi-card:nth-child(2) { background: var(--yellow); }
.testi-card:nth-child(3) { background: #FFD8EB; }
.testi-stars { font-size: 18px; color: var(--primary); margin-bottom: 14px; letter-spacing: 2px; }
.testi-card blockquote {
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.35;
  margin-bottom: 20px;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  object-fit: cover;
}
.testi-author strong { font-size: 14px; }
.testi-author small { display: block; color: var(--ink-3); font-size: 12px; }

/* Pricing */
.pricing-section { padding: 100px 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 720px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  background: white;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-hard-sm);
  position: relative;
}
.price-card.featured {
  background: var(--ink);
  color: white;
}
.price-card.featured .price-num,
.price-card.featured h3 { color: white; }
.price-card .pop-tag {
  position: absolute;
  top: -14px;
  right: 28px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 100px;
  padding: 6px 14px;
  font-family: 'Unbounded', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
  letter-spacing: 0.06em;
  box-shadow: 0 2px 0 var(--ink);
}
.price-card h3 { font-size: 26px; margin-bottom: 6px; }
.price-num {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 48px;
  margin: 14px 0 22px;
  line-height: 1;
}
.price-num small { font-family: 'Onest', sans-serif; font-size: 16px; font-weight: 500; opacity: 0.6; }
.price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.price-list li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  align-items: flex-start;
}
.price-list li::before {
  content: '✓';
  display: inline-block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  text-align: center;
  line-height: 22px;
  font-weight: 700;
  flex-shrink: 0;
  border: 1.5px solid var(--ink);
  font-size: 12px;
}
.price-card.featured .price-list li::before { background: var(--primary); }

/* Tests promo block */
.tests-promo-section { padding: 80px 0; }
.tests-promo {
  background: var(--green);
  color: white;
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  box-shadow: var(--shadow-hard);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.tests-promo::after {
  content: '?';
  position: absolute;
  right: -40px;
  bottom: -80px;
  font-family: 'Unbounded', sans-serif;
  font-size: 360px;
  font-weight: 800;
  color: rgba(255,255,255,0.08);
  line-height: 1;
}
.tests-promo h2 {
  font-size: clamp(28px, 4vw, 42px);
  color: white;
  margin-bottom: 12px;
}
.tests-promo p {
  font-size: 17px;
  margin-bottom: 22px;
  opacity: 0.95;
  max-width: 480px;
}
.tests-promo-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1;
  position: relative;
}
.tests-promo-stat {
  background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tests-promo-stat .tps-val {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 24px;
}
.tests-promo-stat .tps-label { font-size: 13px; opacity: 0.85; }

@media (max-width: 800px) {
  .tests-promo { grid-template-columns: 1fr; padding: 40px 28px; }
}

/* Award strip */
.award-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--ink-2);
  flex-wrap: wrap;
}
.award-pill {
  background: white;
  border: 2px solid var(--ink);
  border-radius: 100px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 2px 0 var(--ink);
}
.award-pill .star { color: var(--yellow); }

/* ============ MOBILE NAV / BURGER ============ */
.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  background: white;
  border: 2px solid var(--ink);
  border-radius: 12px;
  box-shadow: 0 2px 0 var(--ink);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile[hidden] { display: none !important; }
.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px 22px;
  border-top: 2px solid var(--ink);
  background: var(--bg);
}
.nav-mobile a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  padding: 6px 0;
}

/* ============ FOOTER GRID ============ */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  width: 100%;
}

/* ============ MOBILE (<=768px) ============ */
@media (max-width: 768px) {
  body { font-size: 16px; }
  section { padding: 56px 0; }
  .wrap { padding: 0 18px; }

  /* Nav */
  .nav-inner { padding: 12px 16px; gap: 10px; }
  .logo { font-size: 18px; }
  .logo-mark, img.logo-mark { width: 32px; height: 32px; }
  .nav-cta { display: none; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  /* lighter blur on mobile to reduce GPU cost */
  .nav { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

  /* Hero */
  .hero { padding: 40px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: clamp(32px, 9vw, 44px); margin: 14px 0 16px; }
  .hero-sub { font-size: 17px; margin-bottom: 24px; }
  .hero-ctas { gap: 10px; margin-top: 24px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .live-pill { font-size: 13px; padding: 8px 14px 8px 12px; }
  .award-strip { gap: 8px; margin-top: 18px; }
  .award-pill { font-size: 12px; padding: 6px 10px; }
  /* Hide phone mockup on mobile — hero stays clean */
  .hero-art { display: none; }
  .phone-mock {
    width: 220px;
    padding: 10px;
    border-radius: 32px;
    box-shadow: 0 6px 0 var(--ink), 0 14px 24px -8px rgba(27,27,58,0.25), 0 0 0 2px var(--bg) inset;
  }
  .phone-mock::before { width: 70px; height: 18px; top: 14px; }
  .phone-screen { border-radius: 22px; }
  .phone-shot { border-radius: 22px; }

  /* Buttons */
  .btn { padding: 14px 20px; font-size: 14px; }
  .btn-lg { padding: 16px 24px; font-size: 15px; }

  /* Sections heads */
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: clamp(26px, 7vw, 34px); }
  .section-head p { font-size: 16px; }

  /* Quote */
  .quote-section { padding: 30px 0 70px; }
  .quote-card { padding: 36px 22px; border-radius: 22px; }
  .quote-card::before { font-size: 110px; top: -20px; left: 16px; }
  .quote-card p { font-size: 19px; }

  /* Features */
  .features-grid { gap: 14px; }
  .feature-card { padding: 22px; }
  .feature-card h3 { font-size: 19px; }
  .feature-card p { font-size: 14px; }
  .feat-icon { width: 52px; height: 52px; }

  /* Game */
  .game-section { padding: 60px 0; }
  .game-card { padding: 32px 22px; border-radius: 22px; }
  .game-card::before { width: 220px; height: 220px; top: -80px; right: -80px; }
  .game-stats { grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
  .game-stat-mini { padding: 14px; }
  .game-stat-mini .gs-val { font-size: 24px; }
  .game-stat-mini .gs-label { font-size: 11px; }
  .badges-row { gap: 8px; }
  .badge-pill { font-size: 11px; padding: 7px 12px; }
  .game-phone-col .phone-mock { width: 200px !important; }
  .game-cta { padding: 10px 12px 10px 16px; }
  .game-cta-title { font-size: 14px; }

  /* Audience */
  .audience-card { padding: 24px; }
  .audience-card h3 { font-size: 21px; min-height: 0; }
  .audience-card p { font-size: 14px; }
  .aud-avatar { width: 60px; height: 60px; }

  /* Tests promo */
  .tests-promo-section { padding: 50px 0; }
  .tests-promo { padding: 32px 22px; grid-template-columns: 1fr; gap: 24px; border-radius: 22px; }
  .tests-promo::after { font-size: 220px; right: -30px; bottom: -60px; }
  .tests-promo h2 { font-size: 24px; }
  .tests-promo p { font-size: 15px; }
  .tests-promo-stat { padding: 12px 14px; }
  .tests-promo-stat .tps-val { font-size: 18px; }

  /* Testimonials */
  .testi-stats { gap: 22px; margin-bottom: 36px; }
  .testi-stat-num { font-size: 36px; }
  .testi-stat-label { font-size: 13px; }
  .testi-card { padding: 22px; }
  .testi-card blockquote { font-size: 15px; }

  /* Pricing */
  .pricing-section { padding: 60px 0; }
  .pricing-grid { gap: 18px; }
  .price-card { padding: 28px 22px; border-radius: 24px; }
  .price-num { font-size: 38px; }
  .price-card h3 { font-size: 22px; }
  .price-list li { font-size: 14px; }

  /* FAQ */
  .faq-q { padding: 18px 18px; font-size: 15px; gap: 12px; }
  .faq-q .plus { width: 28px; height: 28px; font-size: 16px; }
  .faq-a-inner { padding: 0 18px 20px; font-size: 14px; }

  /* Download */
  .dl-section { padding: 60px 0; }
  .dl-section::before { width: 140px; height: 140px; top: -50px; left: -40px; }
  .dl-section::after { width: 180px; height: 180px; bottom: -60px; right: -40px; }
  .dl-section h2 { font-size: clamp(28px, 8vw, 38px); }
  .dl-section p { font-size: 16px; margin-bottom: 26px; }
  .store-row { gap: 10px; }
  .store-badge img { height: 44px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  footer { padding: 36px 0 24px; }
  footer .wrap { gap: 20px !important; }
  footer .f-logo { font-size: 18px !important; }

  /* Disable shimmer animation on mobile — saves repaint cost */
  .btn::before, .store-badge::before { display: none !important; animation: none !important; }
}

/* ============ SMALL MOBILE (<=420px) ============ */
@media (max-width: 420px) {
  .wrap { padding: 0 14px; }
  .nav-inner { padding: 10px 12px; }
  .hero { padding: 28px 0 40px; }
  .hero h1 { font-size: 30px; line-height: 1.05; }
  .hero-sub { font-size: 15px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .live-pill { font-size: 12px; }
  .live-pill .live-count { font-size: 13px; }
  .award-pill { font-size: 11px; padding: 5px 9px; }
  .quote-card p { font-size: 17px; }
  .quote-card::before { font-size: 80px; top: -10px; }
  .section-head h2 { font-size: 26px; }
  .testi-stats { gap: 14px; }
  .testi-stat-num { font-size: 30px; }
  .game-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .dl-section .wrap { padding: 0 14px; }
  .dl-section h2 { font-size: 26px; }
  .phone-mock { width: 200px; }
}

/* Reduced motion — kill bob/pulse on user preference */
@media (prefers-reduced-motion: reduce) {
  .float-card, .live-dot::after { animation: none !important; }
}
