/* ============================================================
   BiMus marketing site — neo-brutalist design system
   (mirrors developer/app/globals.css + components/ui)
   ============================================================ */

:root {
  --cream: #FFF5EE;
  --red: #ef4444;
  --pink: #f472b6;
  --yellow: #fde047;
  --yellow-strong: #facc15;
  --purple: #a855f7;
  --green: #22c55e;
  --black: #000;
  --white: #fff;
  --font-body: "Baloo 2", system-ui, sans-serif;
  --font-display: "Shrikhand", cursive;
  --font-bagel: "Bagel Fat One", cursive;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: var(--font-body);
  font-weight: 500;
  background: var(--cream);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.5;
}

h1, h2, h3 { line-height: 1.15; }

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  text-decoration: none;
  text-align: center;
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 400;
  border: 2px solid var(--black);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.1s;
  box-shadow: 3px 3px 0 0 var(--black);
}
.btn:hover { box-shadow: 1px 1px 0 0 var(--black); transform: translate(2px, 2px); }
.btn:active { box-shadow: none; transform: translate(3px, 3px); }
.btn-red { background: var(--red); color: var(--white); }
.btn-white { background: var(--white); }
.btn-yellow { background: var(--yellow); }
.btn-big { padding: 10px 18px; font-size: 15px; }
.btn-nav { padding: 6px 14px; font-size: 14px; border-radius: 12px; box-shadow: 2px 2px 0 0 var(--black); }
.btn-nav:hover { box-shadow: 1px 1px 0 0 var(--black); transform: translate(1px, 1px); }

/* Idle wobble on primary CTAs */
.btn-wobble { animation: wobble 3.2s ease-in-out infinite; }
@keyframes wobble {
  0%, 88%, 100% { rotate: 0deg; }
  91% { rotate: -2deg; }
  94% { rotate: 2deg; }
  97% { rotate: -1deg; }
}

/* ============ Logo (mirrors components/ui/Logo.tsx) ============ */
.logo-icon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  background: var(--white);
  border: 1.5px solid var(--black);
  border-radius: 4px;
  box-shadow: 1px 1px 0 0 var(--black);
  overflow: hidden;
  flex-shrink: 0;
}
.logo-icon-nav { width: 22px; height: 22px; }
.logo-icon-lg { width: 64px; height: 64px; border-width: 3px; border-radius: 12px; box-shadow: 3px 3px 0 0 var(--black); }
.li-cell { background: var(--white); }
.li-cell:nth-child(1) { border-right: 1px solid var(--black); border-bottom: 1px solid var(--black); }
.li-cell:nth-child(2) { border-bottom: 1px solid var(--black); }
.li-cell:nth-child(3) { border-right: 1px solid var(--black); }
.logo-icon-lg .li-cell:nth-child(1) { border-right-width: 2px; border-bottom-width: 2px; }
.logo-icon-lg .li-cell:nth-child(2) { border-bottom-width: 2px; }
.logo-icon-lg .li-cell:nth-child(3) { border-right-width: 2px; }
.li-note { background: var(--red) !important; display: flex; align-items: center; justify-content: center; }
.li-note svg { width: 55%; height: 55%; }
.logo-icon-lg .li-note svg { width: 50%; height: 50%; }
.li-chipcell { display: flex; align-items: center; justify-content: center; }
.li-chip {
  width: 52%; height: 52%;
  border: 1.5px solid var(--black);
  border-radius: 50%;
  background: var(--yellow);
}
.logo-icon-lg .li-chip { border-width: 2px; width: 50%; height: 50%; }

.wordmark {
  font-family: var(--font-bagel);
  font-weight: 400;
  line-height: 1;
  color: var(--black);
  display: inline-flex;
  align-items: flex-end;
  position: relative;
}
.wordmark-nav { font-size: 19px; position: relative; top: 1px; }
.wordmark-lg { font-size: 44px; }
.wordmark-block { display: inline-block; }
.wm-red { color: var(--red); }
.wm-i { position: relative; display: inline-block; }
.wm-dot {
  position: absolute;
  left: 50%; top: 0.10em;
  transform: translateX(-50%);
  width: 0.28em; height: 0.28em;
  border: 0.055em solid var(--black);
  border-radius: 50%;
  background: var(--yellow);
}
.wm-bar {
  display: block;
  height: 6px;
  background: var(--red);
  border: 1.5px solid var(--black);
  border-radius: 2px;
  margin-top: -3px;
}

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 16px;
  background: var(--cream);
  border-bottom: 2px solid var(--black);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
}
.nav-right { display: flex; align-items: center; gap: 10px; }

/* Language toggle pill */
.lang-toggle {
  display: inline-flex;
  border: 2px solid var(--black);
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
  box-shadow: 2px 2px 0 0 var(--black);
}
.lang-btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  padding: 5px 10px;
  background: var(--white);
  color: var(--black);
  border: none;
  cursor: pointer;
}
.lang-btn + .lang-btn { border-left: 2px solid var(--black); }
.lang-btn.active { background: var(--black); color: var(--yellow); }

/* ============ Hero ============ */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: 30px 18px 42px;
  max-width: 1000px;
  margin: 0 auto;
}
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 420px;
}
.hero-logo { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 16px; }
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(21px, 5.6vw, 32px);
  margin-bottom: 10px;
}
.hero-sub { font-size: 14px; margin-bottom: 18px; }
.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  max-width: 240px;
}
.hero-note { margin-top: 12px; font-size: 12px; font-weight: 600; opacity: 0.75; }

/* Hero entrance animations */
.anim-rise, .anim-pop { opacity: 0; }
.anim-rise { animation: rise 0.55s ease-out forwards; }
.anim-pop { animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.hero-logo { animation-delay: 0.05s; }
.hero-title { animation-delay: 0.18s; }
.hero-sub { animation-delay: 0.30s; }
.hero-ctas { animation-delay: 0.42s; }
.hero-note { animation-delay: 0.54s; }
.hero-demo { animation-delay: 0.6s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pop {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

/* ============ Bingo card demo ============ */
.hero-demo { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.demo-card {
  position: relative;
  width: min(290px, 80vw);
  background: var(--cream);
  border: 2px solid var(--black);
  border-radius: 8px;
  box-shadow: 4px 4px 0 0 var(--black);
  padding: 10px;
  rotate: -1.5deg;
}
/* Mirrors the app's BingoCard: red frame, white cells, yellow chip */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 4px;
  background: var(--red);
  border: 3px solid var(--red);
  border-radius: 2px;
  box-shadow: 3px 3px 0 0 var(--black);
}
.demo-cell {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3px;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.15;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 2px;
  box-shadow: 2px 2px 0 0 var(--black);
}
/* Empty cell (no song) — mirrors the app: gray with a gray note icon */
.demo-empty {
  background: #9ca3af;
  border-color: #6b7280;
  box-shadow: none;
  color: #4b5563;
}
.demo-empty svg { width: 33%; height: 33%; }
/* Chip drop-in — same keyframes as the app's .bingo-chip */
.demo-cell.marked::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 82%;
  aspect-ratio: 1;
  border: 2px solid var(--black);
  border-radius: 50%;
  background: #fde047;
  box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.35);
  animation: chip-drop 0.28s ease-out;
}
.demo-cell.marked::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 54%;
  aspect-ratio: 1;
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  animation: chip-drop 0.28s ease-out;
}
@keyframes chip-drop {
  0% { transform: scale(1.6); opacity: 0; }
  60% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1); }
}
.demo-stamp {
  position: absolute;
  inset: 0;
  margin: auto;
  width: fit-content;
  height: fit-content;
  padding: 8px 22px;
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--white);
  background: var(--red);
  border: 3px solid var(--black);
  border-radius: 10px;
  box-shadow: 4px 4px 0 0 var(--black);
  rotate: -8deg;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s;
}
.demo-stamp.show { transform: scale(1); opacity: 1; }
.demo-confetti { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.confetto {
  position: absolute;
  left: 50%; top: 50%;
  width: 8px; height: 12px;
  border: 1.5px solid var(--black);
  border-radius: 2px;
  opacity: 0;
}
.confetto.fly {
  animation: confetto-fly 0.9s ease-out forwards;
}
@keyframes confetto-fly {
  0% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
  100% { opacity: 0; transform: translate(var(--cx), var(--cy)) rotate(var(--cr)) scale(0.7); }
}
.demo-nowplaying {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 999px;
  box-shadow: 2px 2px 0 0 var(--black);
  padding: 6px 14px;
  rotate: 1deg;
}
.np-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.np-bars i {
  width: 3px;
  background: var(--red);
  border-radius: 1px;
  animation: np-bounce 0.9s ease-in-out infinite;
}
.np-bars i:nth-child(1) { height: 60%; animation-delay: 0s; }
.np-bars i:nth-child(2) { height: 100%; animation-delay: 0.15s; }
.np-bars i:nth-child(3) { height: 75%; animation-delay: 0.3s; }
@keyframes np-bounce {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}

/* ============ Sections ============ */
.section { padding: 38px 18px; max-width: 1000px; margin: 0 auto; }
.section-alt { position: relative; }
.section-alt::before {
  content: "";
  position: absolute;
  inset: 0 -100vw;
  background: var(--white);
  border-top: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  z-index: -1;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(19px, 5vw, 28px);
  text-align: center;
  margin-bottom: 24px;
}

/* Scroll reveals */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.steps .reveal:nth-child(2), .features .reveal:nth-child(2) { transition-delay: 0.08s; }
.steps .reveal:nth-child(3), .features .reveal:nth-child(3) { transition-delay: 0.16s; }
.steps .reveal:nth-child(4), .features .reveal:nth-child(4) { transition-delay: 0.24s; }
.features .reveal:nth-child(5) { transition-delay: 0.32s; }
.features .reveal:nth-child(6) { transition-delay: 0.40s; }

/* ============ Steps ============ */
.steps { display: grid; gap: 18px; }
.step-card {
  position: relative;
  border: 2px solid var(--black);
  border-radius: 14px;
  box-shadow: 4px 4px 0 0 var(--black);
  padding: 20px 18px 18px;
}
.step-yellow { background: var(--yellow); rotate: -0.6deg; }
.step-pink { background: var(--pink); rotate: 0.5deg; }
.step-purple { background: var(--purple); rotate: -0.5deg; color: var(--white); }
.step-purple h3, .step-purple p { color: var(--white); }
.step-green { background: var(--green); rotate: 0.6deg; }
.step-num {
  position: absolute;
  top: -14px; left: 14px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  background: var(--white);
  color: var(--black);
  border: 2px solid var(--black);
  border-radius: 50%;
  box-shadow: 2px 2px 0 0 var(--black);
}
.step-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 16px; margin-bottom: 5px; }
.step-card p { font-size: 13px; }

/* Step art bits */
.step-art { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.tap-cell {
  font-size: 12px; font-weight: 700;
  background: var(--white); color: var(--black);
  border: 2px solid var(--black);
  border-radius: 8px;
  padding: 8px 12px;
  box-shadow: 2px 2px 0 0 var(--black);
}
.tap-marked {
  position: relative;
}
.tap-marked::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  height: 82%;
  aspect-ratio: 1;
  border: 2px solid var(--black);
  border-radius: 50%;
  background: #fde047;
  box-shadow: 2px 2px 0 0 rgba(0, 0, 0, 0.35);
}
.win-badge {
  font-size: 13px; font-weight: 800;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 8px;
  padding: 6px 12px;
  box-shadow: 2px 2px 0 0 var(--black);
  rotate: -2deg;
}
.win-badge-2 { rotate: 2deg; }

/* Join mockup (step 2) — mirrors the app's JoinForm, centered */
.join-mock {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}
.jm-code {
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 14px;
  box-shadow: 3px 3px 0 0 var(--black);
  padding: 8px 4px 8px 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.3em;
  text-align: center;
  text-transform: uppercase;
}
.jm-code span {
  display: inline-block;
  opacity: 0;
  transform: scale(0.3);
}
.in-view .jm-code span { animation: key-pop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.in-view .jm-code span:nth-child(1) { animation-delay: 0.3s; }
.in-view .jm-code span:nth-child(2) { animation-delay: 0.45s; }
.in-view .jm-code span:nth-child(3) { animation-delay: 0.6s; }
.in-view .jm-code span:nth-child(4) { animation-delay: 0.75s; }
.in-view .jm-code span:nth-child(5) { animation-delay: 0.9s; }
.in-view .jm-code span:nth-child(6) { animation-delay: 1.05s; }
@keyframes key-pop {
  to { opacity: 1; transform: scale(1); }
}
.jm-label { font-size: 12px; font-weight: 700; text-align: center; margin-bottom: -4px; }
.jm-name {
  width: 130px;
  margin: 0 auto;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 14px;
  box-shadow: 2px 2px 0 0 var(--black);
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}
.join-caret {
  display: inline-block;
  width: 2px; height: 12px;
  background: var(--black);
  margin-left: 2px;
  vertical-align: -1px;
  animation: caret-blink 1s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }
.join-btn {
  font-family: var(--font-display);
  text-align: center;
  font-size: 15px;
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--black);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 2px 2px 0 0 var(--black);
}

/* ============ Two ways to play ============ */
.modes { display: grid; gap: 18px; }
.mode-card {
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 14px;
  box-shadow: 4px 4px 0 0 var(--black);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
}
.mode-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 16px; margin-bottom: 5px; }
.mode-card p { font-size: 13px; margin-bottom: 14px; }
.hostplays {
  margin-top: 18px;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  background: var(--yellow);
  border: 2px solid var(--black);
  border-radius: 999px;
  box-shadow: 3px 3px 0 0 var(--black);
  padding: 9px 18px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  rotate: -1deg;
}

/* Host screen mockup */
.host-mock {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--cream);
  border: 2px solid var(--black);
  border-radius: 10px;
  padding: 10px;
  box-shadow: 3px 3px 0 0 var(--black);
  max-width: 250px;
  rotate: 0.8deg;
}
.hm-code {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--red);
  border: 2px solid var(--black);
  border-radius: 6px;
  box-shadow: 2px 2px 0 0 var(--black);
  padding: 6px;
}
.hm-code-label { font-size: 9px; font-weight: 800; color: var(--white); text-transform: uppercase; letter-spacing: 0.06em; }
.hm-code-value { font-family: var(--font-display); font-size: 20px; color: var(--white); letter-spacing: 0.15em; }
.hm-now {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  background: var(--yellow);
  border: 2px solid var(--black);
  border-radius: 6px;
  box-shadow: 2px 2px 0 0 var(--black);
  padding: 5px 8px;
}
.hm-controls { display: flex; gap: 8px; justify-content: center; }
.hm-btn {
  width: 34px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 8px;
  box-shadow: 2px 2px 0 0 var(--black);
}
.hm-btn-red { background: var(--red); color: var(--white); }
.hm-board {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 6px;
  padding: 6px 8px;
}
.hm-row { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; }
.hm-left { color: var(--red); }

/* Printable sheet mockup */
.print-mock { margin-top: auto; display: flex; justify-content: center; }
.print-sheet {
  position: relative;
  width: 170px;
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 4px;
  box-shadow: 4px 4px 0 0 var(--black), 10px 10px 0 0 var(--white), 12px 12px 0 0 var(--black);
  padding: 10px;
  rotate: -1.5deg;
}
.ps-head { font-family: var(--font-bagel); font-size: 11px; margin-bottom: 8px; text-align: center; }
.ps-head::first-letter { color: var(--red); }
.ps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 3px;
  background: var(--red);
  border-radius: 2px;
  margin-bottom: 8px;
}
.ps-grid span { aspect-ratio: 1; background: var(--white); border: 1.5px solid var(--black); border-radius: 2px; position: relative; }
.ps-grid .ps-marked::after {
  content: "";
  position: absolute;
  inset: 15%;
  border: 2px solid var(--red);
  border-radius: 50%;
  rotate: -6deg;
}
.ps-cut { font-size: 9px; color: #999; text-align: center; letter-spacing: 1px; white-space: nowrap; overflow: hidden; }

/* ============ Features ============ */
.features { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.feature-card {
  background: var(--cream);
  border: 2px solid var(--black);
  border-radius: 12px;
  box-shadow: 3px 3px 0 0 var(--black);
  padding: 16px 14px;
  transition: transform 0.1s, box-shadow 0.1s;
}
.feature-card:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 0 var(--black); }
.feature-emoji { font-size: 22px; display: block; margin-bottom: 5px; }
.feature-card h3 { font-size: 14px; font-weight: 800; margin-bottom: 3px; }
.feature-card p { font-size: 12px; }

/* ============ Chips ============ */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip {
  font-size: 13px; font-weight: 800;
  border: 2px solid var(--black);
  border-radius: 999px;
  padding: 6px 14px;
  box-shadow: 3px 3px 0 0 var(--black);
  transition: transform 0.1s, box-shadow 0.1s;
}
.chip:hover { transform: translate(2px, 2px) rotate(-2deg); box-shadow: 1px 1px 0 0 var(--black); }
.chip-yellow { background: var(--yellow); }
.chip-pink { background: var(--pink); }
.chip-purple { background: var(--purple); color: var(--white); }
.chip-green { background: var(--green); }
.chip-red { background: var(--red); color: var(--white); }

/* ============ FAQ ============ */
.faq { max-width: 560px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  background: var(--cream);
  border: 2px solid var(--black);
  border-radius: 12px;
  box-shadow: 3px 3px 0 0 var(--black);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  font-size: 14px;
  padding: 11px 14px;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 18px;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 14px 12px; font-size: 13px; }

/* ============ CTA banner ============ */
.cta-banner {
  max-width: 720px;
  margin: 16px auto 48px;
  padding: 30px 20px;
  text-align: center;
  background: var(--red);
  border: 3px solid var(--black);
  border-radius: 18px;
  box-shadow: 6px 6px 0 0 var(--black);
  rotate: -0.5deg;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 6vw, 32px);
  color: var(--white);
  margin-bottom: 6px;
}
.cta-banner p { color: var(--white); font-size: 14px; margin-bottom: 16px; }

/* ============ Footer ============ */
.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 20px 36px;
  border-top: 2px solid var(--black);
  background: var(--white);
}
.footer-tagline { font-family: var(--font-display); font-size: 14px; }
.footer-copy { font-size: 12px; opacity: 0.6; }

/* ============ Responsive: tablet/desktop ============ */
@media (min-width: 768px) {
  .hero {
    flex-direction: row;
    justify-content: space-between;
    padding: 64px 24px 72px;
  }
  .hero-text { align-items: flex-start; text-align: left; }
  .hero-ctas { flex-direction: row; max-width: none; }
  .hero-logo { flex-direction: row; gap: 14px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 26px; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .modes { grid-template-columns: 1fr 1fr; gap: 26px; }
  .section { padding: 56px 24px; }
  .cta-banner { padding: 44px 32px; }
  .hero-sub { font-size: 16px; }
  .btn-big { padding: 12px 20px; font-size: 16px; }
}

/* Wide margin between cta banner sides on mobile */
@media (max-width: 767px) {
  .cta-banner { margin-left: 16px; margin-right: 16px; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim-rise, .anim-pop { animation: none; opacity: 1; }
  .btn-wobble { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .np-bars i { animation: none; }
  .jm-code span, .in-view .jm-code span { animation: none; opacity: 1; transform: none; }
  .join-caret { animation: none; }
  .demo-cell.marked::before, .demo-cell.marked::after { animation: none; }
  .demo-stamp { transition: none; }
}
