/* ============================================================
   Bingo by Keybotivated — tokens
   ============================================================ */
:root {
  /* color — matched to the app's actual black/white/gray interface */
  --paper: #fafafa;
  --paper-raised: #ffffff;
  --ink: #131316;
  --ink-soft: #6b6f76;
  --ink-faint: #9ca0a8;
  --marker-red: #d93a2b;
  --marker-red-dark: #b92e21;
  --rule: #e8e8ea;
  --rule-strong: #d6d8db;

  /* type — one typeface throughout, matching the app's single-font UI */
  --font-display: "Inter", -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
  --font-mono: "Inter", -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;

  /* spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  /* shape */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-paper: 0 1px 2px rgba(19, 19, 22, 0.05), 0 12px 28px -8px rgba(19, 19, 22, 0.14);
  --shadow-soft: 0 1px 1px rgba(19, 19, 22, 0.04), 0 4px 10px rgba(19, 19, 22, 0.06);

  --container: 1180px;
}

/* ============================================================
   Reset / base
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font: inherit;
}

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

@media (min-width: 640px) {
  .container { padding-inline: var(--sp-7); }
}

section {
  padding-block: var(--sp-9);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 3px solid var(--marker-red);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
}

/* Content is visible by default; JS opts elements in, so nothing depends
   on script execution. */
.reveal-pending {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-pending.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.steps > :nth-child(2).reveal-pending,
.modes > :nth-child(2).reveal-pending,
.values > :nth-child(2).reveal-pending { transition-delay: 0.08s; }
.steps > :nth-child(3).reveal-pending,
.modes > :nth-child(3).reveal-pending,
.values > :nth-child(3).reveal-pending { transition-delay: 0.16s; }
.steps > :nth-child(4).reveal-pending,
.modes > :nth-child(4).reveal-pending,
.values > :nth-child(4).reveal-pending { transition-delay: 0.24s; }

/* ============================================================
   Type helpers
   ============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--marker-red);
  flex: none;
}

.hero-copy .eyebrow::before {
  animation: dot-pulse 2.4s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(217, 58, 43, 0.35); }
  50% { box-shadow: 0 0 0 5px rgba(217, 58, 43, 0); }
}

.section-head {
  max-width: 42rem;
  margin-bottom: var(--sp-8);
}

.section-head h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  line-height: 1.15;
}

.section-head p {
  margin-top: var(--sp-4);
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 38rem;
}

.accent-word {
  color: var(--marker-red);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.85em 1.6em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.btn:active {
  transform: scale(0.96);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper-raised);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: var(--shadow-paper);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--rule-strong);
}

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

.btn-sm {
  padding: 0.6em 1.1em;
  font-size: 0.85rem;
}

/* Play Store badge */
.play-badge {
  background: var(--ink);
  color: var(--paper-raised);
  border-radius: var(--radius-sm);
  padding: 0.65em 1.3em 0.65em 1.1em;
  gap: var(--sp-3);
  box-shadow: var(--shadow-soft);
}

.play-badge:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: var(--shadow-paper);
}

.play-badge svg {
  flex: none;
}

.play-badge .play-badge-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.play-badge .play-badge-text small {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #cfcbc0;
  font-weight: 500;
}

.play-badge .play-badge-text strong {
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-display);
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--sp-3);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: var(--shadow-soft);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.site-nav {
  display: none;
  align-items: center;
  gap: var(--sp-6);
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

@media (min-width: 860px) {
  .site-nav { display: flex; }
}

.cta-short { display: inline; }
.cta-full { display: none; }

@media (min-width: 420px) {
  .cta-short { display: none; }
  .cta-full { display: inline; }
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--rule-strong);
  background: var(--paper-raised);
  color: var(--ink);
  cursor: pointer;
  flex: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.nav-toggle:hover {
  border-color: var(--ink);
}

.nav-toggle:active {
  transform: scale(0.94);
}

.nav-toggle svg {
  overflow: visible;
}

.nt-line {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nt-line-1 {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nt-line-2 {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nt-line-3 {
  transform: translateY(-6px) rotate(-45deg);
}

@media (min-width: 860px) {
  .nav-toggle { display: none; }
}

.mobile-nav {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.25s ease, visibility 0s linear 0.25s;
}

.mobile-nav.is-open {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows 0.25s ease, visibility 0s linear 0s;
}

.mobile-nav-inner {
  overflow: hidden;
  padding-inline: var(--sp-5);
  border-top: 1px solid transparent;
}

.mobile-nav.is-open .mobile-nav-inner {
  border-top-color: var(--rule);
}

.mobile-nav a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--rule);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

@media (min-width: 860px) {
  .mobile-nav { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding-top: var(--sp-8);
  overflow: hidden;
}

.hero .container {
  position: relative;
  display: grid;
  gap: var(--sp-8);
  align-items: center;
}

.hero-copy {
  text-align: center;
}

.hero-icon {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  margin-inline: auto;
  margin-bottom: var(--sp-5);
  box-shadow: var(--shadow-paper);
}

.hero-copy .eyebrow {
  justify-content: center;
  margin-bottom: var(--sp-4);
}

.hero h1 {
  font-size: clamp(2.75rem, 2.1rem + 3vw, 4.5rem);
  line-height: 0.98;
}

.hero h1 .sub {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 0.7rem + 0.4vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: var(--sp-3);
}

.hero-tagline {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.35rem);
  color: var(--ink);
  margin: var(--sp-5) auto 0;
  max-width: 30rem;
  line-height: 1.35;
}

.hero-hook {
  margin: var(--sp-4) auto 0;
  max-width: 32rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: var(--sp-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
}

.hero-actions .fineprint {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}

.hero-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: var(--sp-6);
}

/* ── Hero icon image animation ───────────────────────────── */
.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-app-image {
  position: relative;
  z-index: 1;
  width: min(420px, 90vw);
  height: auto;
  border-radius: 28px;
  box-shadow:
    0 8px 24px rgba(19, 19, 22, 0.12),
    0 32px 72px -16px rgba(19, 19, 22, 0.22);
  animation: hero-float 6s ease-in-out infinite;
  transform-origin: center bottom;
}

.hero-image-glow {
  position: absolute;
  inset: 10% 10% -6% 10%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(217, 58, 43, 0.18) 0%, transparent 70%);
  filter: blur(32px);
  animation: hero-glow-pulse 6s ease-in-out infinite;
}

@keyframes hero-float {
  0%, 100% {
    transform: translateY(0px) rotate(-1deg);
    box-shadow:
      0 8px 24px rgba(19, 19, 22, 0.12),
      0 32px 72px -16px rgba(19, 19, 22, 0.22);
  }
  50% {
    transform: translateY(-18px) rotate(0.5deg);
    box-shadow:
      0 22px 44px rgba(19, 19, 22, 0.10),
      0 48px 90px -20px rgba(19, 19, 22, 0.18);
  }
}

@keyframes hero-glow-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

.stats-strip {
  margin: var(--sp-7) 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2);
  max-width: 30rem;
  margin-inline: auto;
}

.stats-strip .stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-3) var(--sp-1);
  border-radius: var(--radius-sm);
  border: 1px solid var(--rule);
  background: var(--paper-raised);
}

.stats-strip dt {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  order: 2;
  margin-top: var(--sp-1);
}

.stats-strip dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--ink);
  order: 1;
}

@media (min-width: 960px) {
  .stats-strip { margin-inline: 0; }
}

@media (min-width: 960px) {
  .hero .container {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-9);
  }
  .hero-copy { text-align: left; }
  .hero-icon { margin-inline: 0; }
  .hero-copy .eyebrow { justify-content: flex-start; }
  .hero-tagline { margin-left: 0; }
  .hero-hook { margin-left: 0; }
  .hero-actions { align-items: flex-start; }
  .hero-stage { padding-bottom: 0; }
}

/* Bingo grid mockup — the app's actual icon/signature visual */
.grid-card {
  position: relative;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-paper);
  padding: var(--sp-5);
  width: min(380px, 100%);
}

.grid-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--sp-4);
  padding-inline: var(--sp-1);
}

.grid-card-head span:first-child {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--marker-red-dark);
}

.grid-card-head span:last-child {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.7rem;
  color: var(--ink-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bingo-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.bingo-grid .cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(0.7rem, 1.6vw, 0.85rem);
  color: var(--ink);
  background: var(--paper-raised);
}

.bingo-grid .cell.called {
  background: var(--paper);
  color: var(--ink-soft);
}

.bingo-grid .cell.on-line {
  color: var(--marker-red-dark);
  font-weight: 600;
}

.bingo-grid .strike-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.bingo-grid .strike-path {
  fill: none;
  stroke: var(--marker-red);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.bingo-grid.is-drawn .strike-path {
  transition: stroke-dashoffset 0.9s cubic-bezier(0.65, 0, 0.35, 1) 1.15s;
  stroke-dashoffset: 0;
}

.grid-card-foot {
  margin-top: var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.82rem;
  color: var(--ink-soft);
  padding-inline: var(--sp-1);
}

.grid-card-foot strong {
  color: var(--ink);
}

/* ============================================================
   How to play
   ============================================================ */
.steps {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}

.step {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.step-index {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

.step h3 {
  font-size: 1.1rem;
}

.step p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.step-visual {
  order: -1;
  display: flex;
  justify-content: center;
  padding: var(--sp-4) 0;
}

.mini-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  width: 100%;
  max-width: 150px;
}

.mini-grid .cell {
  aspect-ratio: 1;
  border-radius: 5px;
  border: 1px solid var(--rule);
  background: var(--paper);
}

.mini-grid .cell.filled {
  background: var(--paper-raised);
  border-color: var(--rule-strong);
}

.mini-grid .cell.called {
  background: var(--ink);
  border-color: var(--ink);
}

.mini-grid .cell.on-line {
  border-color: var(--marker-red-dark);
}

/* ============================================================
   Modes
   ============================================================ */
.modes {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .modes { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .modes { grid-template-columns: repeat(4, 1fr); }
}

.mode-card {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.mode-card:hover {
  border-color: var(--rule-strong);
  transform: translateY(-2px);
}

.mode-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-4);
  color: var(--ink);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.mode-card:hover .mode-icon {
  transform: rotate(-6deg) scale(1.08);
  background: var(--paper-raised);
}

.mode-card h3 {
  font-size: 1.08rem;
  margin-bottom: var(--sp-2);
}

.mode-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.difficulty-dots {
  display: flex;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
}

.difficulty-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rule-strong);
}

.difficulty-dots span:last-child {
  background: var(--marker-red);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  max-width: 44rem;
}

.faq-item {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: var(--sp-4) var(--sp-5);
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: var(--rule-strong);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  font-weight: 600;
  font-size: 1rem;
  padding-block: var(--sp-2);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -4px;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.faq-item p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  padding-top: var(--sp-2);
  padding-bottom: var(--sp-1);
  max-width: 40rem;
}

/* ============================================================
   Simple by design (values)
   ============================================================ */
.values-section {
  padding-block: 0;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  margin-inline: var(--sp-5);
}

@media (min-width: 640px) {
  .values-section { margin-inline: var(--sp-7); }
}

.values-section .section-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: var(--sp-8) var(--sp-5);
}

@media (min-width: 640px) {
  .values-section .section-inner { padding: var(--sp-9) var(--sp-7); }
}

.values-section .section-head p {
  color: #9a9ea5;
}

.values-section .eyebrow {
  color: #9a9ea5;
}

.values {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .values { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .values { grid-template-columns: repeat(4, 1fr); }
}

.value {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.value-check {
  width: 30px;
  height: 30px;
  flex: none;
}

.value h3 {
  font-size: 1.02rem;
  color: var(--paper-raised);
}

.value p {
  font-size: 0.9rem;
  color: #9a9ea5;
}

/* ============================================================
   Screenshots carousel
   ============================================================ */
.carousel-wrap {
  position: relative;
}

.carousel {
  display: flex;
  gap: var(--sp-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--sp-4);
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  scroll-snap-align: center;
  flex: 0 0 auto;
  width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
}

.phone-frame {
  width: 220px;
  height: 462px;
  border-radius: 32px;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-paper);
  padding: 10px;
  position: relative;
}

.phone-frame .notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--rule-strong);
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: repeating-linear-gradient(
    135deg,
    var(--paper) 0px,
    var(--paper) 10px,
    #eef0f1 10px,
    #eef0f1 20px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}

.carousel-item:hover .phone-screen img {
  transform: scale(1.05);
}

.phone-screen .placeholder-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-faint);
  text-align: center;
  padding: 0 var(--sp-4);
  letter-spacing: 0.02em;
}

.screenshot-caption {
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-align: center;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}

.carousel-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  background: var(--paper-raised);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.carousel-btn:hover {
  border-color: var(--ink);
  background: var(--paper);
}

.carousel-dots {
  display: flex;
  gap: var(--sp-2);
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--rule-strong);
  padding: 0;
  cursor: pointer;
}

.carousel-dots button[aria-current="true"] {
  background: var(--ink);
  width: 20px;
  border-radius: var(--radius-pill);
  transition: width 0.2s ease;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--rule);
  padding-block: var(--sp-8);
}

.footer-grid {
  display: grid;
  gap: var(--sp-7);
  grid-template-columns: 1fr;
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--rule);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.footer-brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.footer-brand span {
  font-family: var(--font-display);
  font-weight: 800;
}

.footer-blurb {
  margin-top: var(--sp-3);
  color: var(--ink-soft);
  font-size: 0.9rem;
  max-width: 24rem;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  margin-bottom: var(--sp-4);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  font-size: 0.92rem;
}

.footer-col a {
  text-decoration: none;
  color: var(--ink-soft);
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  padding-top: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  font-size: 0.8rem;
  color: var(--ink-faint);
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ============================================================
   Privacy Policy Page
   ============================================================ */
.privacy-page {
  padding-block: var(--sp-8) var(--sp-10);
  max-width: 840px;
}

.privacy-header {
  margin-bottom: var(--sp-8);
  border-bottom: 1px solid var(--rule);
  padding-bottom: var(--sp-6);
}

.privacy-header h1 {
  font-size: clamp(2rem, 1.6rem + 2vw, 3rem);
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-3);
  line-height: 1.1;
}

.privacy-header .effective-date {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.privacy-body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-7);
}

.privacy-card {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  box-shadow: var(--shadow-soft);
}

.intro-card p {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink);
}

.privacy-section {
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  border-radius: var(--radius-md);
  padding: var(--sp-6);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.2s ease;
}

.privacy-section:hover {
  border-color: var(--rule-strong);
}

.privacy-section h2 {
  font-size: 1.35rem;
  margin-bottom: var(--sp-4);
  color: var(--ink);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid var(--rule);
}

.privacy-section p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: var(--sp-3);
}

.privacy-section p:last-child {
  margin-bottom: 0;
}

.privacy-subsection {
  margin-bottom: var(--sp-5);
}

.privacy-subsection:last-child {
  margin-bottom: 0;
}

.privacy-subsection h3 {
  font-size: 1.1rem;
  margin-bottom: var(--sp-2);
  color: var(--ink);
}

.privacy-section ul {
  list-style: disc;
  padding-left: var(--sp-5);
  margin-bottom: var(--sp-3);
  color: var(--ink-soft);
}

.privacy-section ul li {
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: var(--sp-2);
}

.privacy-section code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--paper);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  border: 1px solid var(--rule-strong);
}

.third-party-list {
  list-style: none !important;
  padding-left: 0 !important;
}

.third-party-list li {
  padding: var(--sp-3) var(--sp-4);
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-sm);
  margin-bottom: var(--sp-3) !important;
}

.third-party-list li strong {
  color: var(--ink);
}

.contact-card {
  background: var(--ink);
  color: var(--paper-raised);
  border: none;
}

.contact-card h2 {
  color: var(--paper-raised);
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

.contact-card p {
  color: #9a9ea5;
}

.contact-email {
  display: inline-block;
  margin-top: var(--sp-2);
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--paper-raised);
  text-decoration: underline;
  text-decoration-color: var(--marker-red);
  text-underline-offset: 4px;
  transition: color 0.15s ease;
}

.contact-email:hover {
  color: var(--marker-red);
}

/* ============================================================
   Bingo Animations
   ============================================================ */

/* Floating Particles */
.floating-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--paper-raised);
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-soft);
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ink-soft);
  opacity: 0;
  animation: particle-float 12s infinite ease-in-out;
}

@keyframes particle-float {
  0% { transform: translateY(100px) rotate(-10deg) scale(0.8); opacity: 0; }
  20% { opacity: 0.8; }
  80% { opacity: 0.8; }
  100% { transform: translateY(-150px) rotate(20deg) scale(1.1); opacity: 0; }
}

.particle:nth-child(1) { left: 10%; top: 30%; width: 40px; height: 40px; font-size: 1.2rem; animation-delay: 0s; animation-duration: 8s; }
.particle:nth-child(2) { left: 85%; top: 20%; width: 30px; height: 30px; font-size: 0.9rem; animation-delay: 2s; animation-duration: 10s; }
.particle:nth-child(3) { left: 20%; top: 70%; width: 50px; height: 50px; font-size: 1.5rem; animation-delay: 4s; animation-duration: 12s; }
.particle:nth-child(4) { left: 75%; top: 60%; width: 35px; height: 35px; font-size: 1rem; animation-delay: 1s; animation-duration: 9s; }
.particle:nth-child(5) { left: 50%; top: 10%; width: 45px; height: 45px; font-size: 1.3rem; animation-delay: 3s; animation-duration: 11s; }

/* Mini Grid Strike */
.mini-grid .strike-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 2;
}

.mini-grid .strike-path {
  fill: none;
  stroke: var(--marker-red);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
}

.mini-grid.is-drawn .strike-path {
  transition: stroke-dashoffset 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.5s;
  stroke-dashoffset: 0;
}

/* Cell Pop-in */
@keyframes cell-pop-in {
  0% { transform: scale(0.6); opacity: 0; }
  70% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

.mini-grid.animate-cells .cell {
  opacity: 0;
  animation: cell-pop-in 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.mini-grid.animate-cells .cell:nth-child(1) { animation-delay: 0.05s; }
.mini-grid.animate-cells .cell:nth-child(2) { animation-delay: 0.1s; }
.mini-grid.animate-cells .cell:nth-child(3) { animation-delay: 0.15s; }
.mini-grid.animate-cells .cell:nth-child(4) { animation-delay: 0.2s; }
.mini-grid.animate-cells .cell:nth-child(5) { animation-delay: 0.25s; }
.mini-grid.animate-cells .cell:nth-child(6) { animation-delay: 0.1s; }
.mini-grid.animate-cells .cell:nth-child(7) { animation-delay: 0.15s; }
.mini-grid.animate-cells .cell:nth-child(8) { animation-delay: 0.2s; }
.mini-grid.animate-cells .cell:nth-child(9) { animation-delay: 0.25s; }
.mini-grid.animate-cells .cell:nth-child(10) { animation-delay: 0.3s; }
.mini-grid.animate-cells .cell:nth-child(11) { animation-delay: 0.15s; }
.mini-grid.animate-cells .cell:nth-child(12) { animation-delay: 0.2s; }
.mini-grid.animate-cells .cell:nth-child(13) { animation-delay: 0.25s; }
.mini-grid.animate-cells .cell:nth-child(14) { animation-delay: 0.3s; }
.mini-grid.animate-cells .cell:nth-child(15) { animation-delay: 0.35s; }
.mini-grid.animate-cells .cell:nth-child(16) { animation-delay: 0.2s; }
.mini-grid.animate-cells .cell:nth-child(17) { animation-delay: 0.25s; }
.mini-grid.animate-cells .cell:nth-child(18) { animation-delay: 0.3s; }
.mini-grid.animate-cells .cell:nth-child(19) { animation-delay: 0.35s; }
.mini-grid.animate-cells .cell:nth-child(20) { animation-delay: 0.4s; }
.mini-grid.animate-cells .cell:nth-child(21) { animation-delay: 0.25s; }
.mini-grid.animate-cells .cell:nth-child(22) { animation-delay: 0.3s; }
.mini-grid.animate-cells .cell:nth-child(23) { animation-delay: 0.35s; }
.mini-grid.animate-cells .cell:nth-child(24) { animation-delay: 0.4s; }
.mini-grid.animate-cells .cell:nth-child(25) { animation-delay: 0.45s; }

/* Cell Called Animation */
@keyframes cell-called {
  0% { transform: scale(1); background-color: var(--paper-raised); }
  50% { transform: scale(0.9); background-color: var(--marker-red); border-color: var(--marker-red); color: white; }
  100% { transform: scale(1); background-color: var(--ink); border-color: var(--ink); color: var(--ink-soft); }
}

.mini-grid.animate-called .cell.called {
  animation: cell-called 0.6s ease forwards;
}

.mini-grid.animate-called .cell.called:nth-child(odd) { animation-delay: 0.2s; }
.mini-grid.animate-called .cell.called:nth-child(even) { animation-delay: 0.4s; }


