/* MemeGenie: deep genie purple, gold call to action, rounded display type to match the logo. */
:root {
  --bg: #120a1f;
  --surface: #1b1030;
  --surface-2: #251742;
  --line: #36245a;
  --text: #f6f1ff;
  --muted: #a99cc4;
  --soft: #d6cdea;
  --brand: #7c4ddb;
  --brand-2: #9b6cf5;
  --cta: #ffc21a;
  --cta-hover: #ffd34d;
  --cta-ink: #1f1300;
  --danger: #ff6b5b;
  --ok: #46d27c;
  --radius: 18px;
  --display: Fredoka, "Baloo 2", system-ui, sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
/* Lucide line icons (sprite in index.html) */
.i {
  width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font: 16px/1.5 var(--body);
  color: var(--text);
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(139, 92, 246, .32), transparent 60%),
    radial-gradient(700px 420px at -10% 30%, rgba(255, 194, 26, .08), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(18, 10, 31, .8);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.topbar .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; margin-right: auto; }
.brand-icon { width: 44px; height: 44px; margin: -4px 0; }
.brand-word { height: 26px; width: auto; }
.account { display: flex; align-items: center; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--text);
  font: 600 14px var(--body); cursor: pointer; white-space: nowrap;
}
.pill b { color: var(--cta); }
.pill .i { color: var(--cta); }
.icon-btn {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: transparent; border: 1px solid var(--line); color: var(--muted); cursor: pointer;
}
.icon-btn:hover { color: var(--text); }
@media (max-width: 380px) { .brand-word { height: 22px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--text);
  font: 650 15px/1.2 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .12s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { background: #2f1d52; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-cta { background: var(--cta); border-color: var(--cta); color: var(--cta-ink); box-shadow: 0 8px 30px rgba(255, 194, 26, .25); }
.btn-cta:hover { background: var(--cta-hover); }
.btn-brand { background: var(--brand); border-color: var(--brand-2); color: #fff; }
.btn-brand:hover { background: var(--brand-2); }
.btn-lg { min-height: 56px; padding: 14px 26px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: 14px; }
.link { color: var(--muted); font-weight: 600; text-decoration: none; }
.link:hover { color: var(--text); }

/* ---------- hero ---------- */
.hero { padding: 40px 0 24px; }
.hero .wrap {
  display: grid; gap: 28px; align-items: center;
  grid-template-areas: "copy" "media" "actions";
}
@media (min-width: 900px) {
  .hero { padding: 64px 0 40px; }
  .hero .wrap { grid-template-columns: 1.1fr .9fr; grid-template-areas: "copy media" "actions media"; column-gap: 56px; row-gap: 24px; }
  .hero-actions { align-self: start; }
  .hero-copy { align-self: end; }
}
.hero-copy { grid-area: copy; }
.hero-media { grid-area: media; justify-self: center; width: 100%; max-width: min(300px, 78vw); position: relative; }
/* The genie leans in next to the demo on wide screens */
.hero-genie { display: none; }
@media (min-width: 1100px) {
  .hero-genie {
    display: block; position: absolute; left: -190px; bottom: 30px; width: 230px; height: auto;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); pointer-events: none;
  }
}
@media (min-width: 900px) { .hero-media { max-width: 360px; } }
.hero-actions { grid-area: actions; display: grid; gap: 18px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px;
  color: var(--cta); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 14px; height: 14px; flex: none; background: var(--cta); -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M9.94%2015.5A2%202%200%200%200%208.5%2014.06l-6.14-1.58a.5.5%200%200%201%200-.96L8.5%209.94A2%202%200%200%200%209.94%208.5l1.58-6.14a.5.5%200%200%201%20.96%200L14.06%208.5a2%202%200%200%200%201.44%201.44l6.14%201.58a.5.5%200%200%201%200%20.96L15.5%2014.06a2%202%200%200%200-1.44%201.44l-1.58%206.14a.5.5%200%200%201-.96%200z%22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M9.94%2015.5A2%202%200%200%200%208.5%2014.06l-6.14-1.58a.5.5%200%200%201%200-.96L8.5%209.94A2%202%200%200%200%209.94%208.5l1.58-6.14a.5.5%200%200%201%20.96%200L14.06%208.5a2%202%200%200%200%201.44%201.44l6.14%201.58a.5.5%200%200%201%200%20.96L15.5%2014.06a2%202%200%200%200-1.44%201.44l-1.58%206.14a.5.5%200%200%201-.96%200z%22/%3E%3C/svg%3E") center / contain no-repeat; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; line-height: 1; margin: 0; }
h1 { font-size: clamp(46px, 8.4vw, 86px); }
h1 .hl { color: var(--cta); display: block; }
h2 { font-size: clamp(32px, 4.6vw, 48px); }
h3 { font-size: 22px; font-weight: 600; }
.lead { margin: 0; font-size: 18px; color: var(--soft); max-width: 34ch; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.proof {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px;
  max-width: 400px; margin: 4px 0 0; padding: 0; list-style: none;
}
.proof li { display: flex; align-items: center; gap: 9px; color: var(--soft); font-size: 14.5px; }
.proof li .i { color: var(--brand-2); font-size: 17px; }

/* phone-style video frame with a drag-to-compare line: original on the left, the result on the right */
.phone {
  position: relative; aspect-ratio: 9 / 16; border-radius: 34px; overflow: hidden;
  background: #000; border: 6px solid #050806; cursor: ew-resize; touch-action: pan-y; user-select: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 80px rgba(0, 0, 0, .55), 0 0 120px rgba(139, 92, 246, .35);
}
.phone video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.phone video.before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.divider {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; transform: translateX(-50%);
  background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .45); pointer-events: none;
}
.handle {
  position: absolute; top: 34%; left: var(--pos); width: 46px; height: 46px; transform: translate(-50%, -50%);
  display: grid; place-items: center; border-radius: 50%; color: var(--cta-ink); background: var(--cta);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .9), 0 8px 24px rgba(0, 0, 0, .45); cursor: grab;
}
.phone.dragging .handle { cursor: grabbing; transform: translate(-50%, -50%) scale(1.08); }
.phone-tag {
  position: absolute; bottom: 16px; padding: 5px 10px; border-radius: 8px;
  font: 600 14px/1 var(--display); letter-spacing: .02em;
  background: var(--cta); color: var(--cta-ink); pointer-events: none; transition: opacity .2s ease;
}
#tagBefore { left: 14px; }
#tagAfter { right: 14px; }
.phone-tag.original { background: rgba(0, 0, 0, .6); color: #fff; }
.phone-tag.hide { opacity: 0; }
.sound {
  position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(0, 0, 0, .6); color: #fff; font: 600 13px var(--body);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.sound.pulse { animation: pulse 2s ease-in-out 3; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255, 194, 26, .25); } }
.media-note { margin: 12px 0 0; text-align: center; color: var(--muted); font-size: 13px; }

/* ---------- sections ---------- */
section.block { padding: 56px 0; }
.section-head { display: grid; gap: 10px; margin-bottom: 28px; }
.section-head p { margin: 0; color: var(--muted); max-width: 52ch; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }

.steps3 { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) { .steps3 { grid-template-columns: repeat(3, 1fr); } }
.steps3 li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 4px; align-items: start; }
.steps3 .num {
  grid-row: span 2; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--brand); color: #fff;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, .22); font: 700 16px/1 var(--display);
}
.steps3 h3 { margin: 4px 0 2px; }
.steps3 p { margin: 0; color: var(--muted); }

/* ---------- create ---------- */
.create-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .create-grid { grid-template-columns: 1.2fr .8fr; align-items: start; } }
.flow { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.flow > li { display: grid; gap: 10px; }
.flow-title { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.flow-title::before {
  counter-increment: step; content: counter(step);
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--surface-2); border: 1px solid var(--line); font-size: 13px;
}
.flow > li.done .flow-title::before { content: ""; background: var(--ok) url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23062611%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%2220%206%209%2017%204%2012%22/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--ok); }
.drop {
  position: relative; display: grid; place-items: center; gap: 6px; min-height: 180px; padding: 22px;
  border: 2px dashed #4a3478; border-radius: 16px; background: rgba(255, 255, 255, .02);
  text-align: center; cursor: pointer; transition: border-color .15s, background .15s;
}
.drop:hover, .drop.drag { border-color: var(--cta); background: rgba(255, 194, 26, .05); }
.drop .big-icon { font-size: 34px; line-height: 1; color: var(--brand-2); }
.drop strong { font-size: 17px; }
.drop small { color: var(--muted); }
.drop.has-photo { min-height: 0; padding: 12px; grid-template-columns: auto 1fr; justify-items: start; text-align: left; border-style: solid; }
.drop img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--cta); flex: none; }
.fine { margin: 0; color: var(--muted); font-size: 13px; }
.tips { display: grid; gap: 12px; }
.tips ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tips li { display: flex; gap: 10px; color: var(--soft); }
.tips li::before { content: ""; width: 18px; height: 18px; margin-top: 2px; flex: none; background: var(--ok); -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%2220%206%209%2017%204%2012%22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpolyline%20points%3D%2220%206%209%2017%204%2012%22/%3E%3C/svg%3E") center / contain no-repeat; }
.tips li.no::before { background: var(--danger); -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M18%206%206%2018%22/%3E%3Cpath%20d%3D%22m6%206%2012%2012%22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M18%206%206%2018%22/%3E%3Cpath%20d%3D%22m6%206%2012%2012%22/%3E%3C/svg%3E") center / contain no-repeat; }
.signin { display: grid; gap: 14px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.field {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; font: inherit;
  background: var(--bg); color: var(--text); border: 1px solid var(--line);
}
.field:focus { outline: none; border-color: var(--cta); }
.email { display: grid; gap: 10px; }
@media (min-width: 520px) { .email { grid-template-columns: 1fr auto; } }

/* preview: the user in the clip's first frame, next to the original */
.preview { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: start; }
.preview-main {
  position: relative; aspect-ratio: 9 / 16; max-width: 280px; width: 100%;
  border-radius: 14px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line);
}
.preview-main img { width: 100%; height: 100%; object-fit: cover; display: block; animation: reveal .5s ease; }
@keyframes reveal { from { opacity: 0; transform: scale(1.03); } }
.preview-wait {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 16px; text-align: center;
  background: linear-gradient(110deg, var(--surface-2) 30%, #33215a 50%, var(--surface-2) 70%) 0 0 / 300% 100%;
  animation: shimmer 1.6s linear infinite;
}
.preview-wait small { color: var(--muted); }
.preview-wait.error { animation: none; background: var(--surface-2); }
.preview-wait.error strong { color: var(--danger); }
@keyframes shimmer { to { background-position: -300% 0; } }
.preview-ref { margin: 0; width: 88px; display: grid; gap: 4px; }
.preview-ref img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); opacity: .85; }
.preview-ref figcaption { font-size: 12px; color: var(--muted); text-align: center; }
.preview-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- pricing ---------- */
.packs { display: grid; gap: 14px; }
@media (min-width: 760px) { .packs { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pack { display: grid; gap: 6px; align-content: start; position: relative; }
.pack.best { border-color: var(--cta); box-shadow: 0 0 0 1px var(--cta), 0 20px 50px rgba(255, 194, 26, .1); }
.pack .badge {
  position: absolute; top: -12px; left: 22px; padding: 4px 10px; border-radius: 999px;
  background: var(--cta); color: var(--cta-ink); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.pack .price { font: 700 46px/1 var(--display); }
.pack .credits { font-size: 16px; color: var(--soft); }
.pack .credits b { color: var(--text); font-size: 18px; }
.pack .bonus { margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: rgba(70, 210, 124, .14); color: var(--ok); font-size: 12px; font-weight: 700; }
.pack .each { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.pack .btn { margin-top: auto; }

/* ---------- my videos ---------- */
.videos { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .videos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .videos { grid-template-columns: repeat(3, 1fr); } }
.vcard { display: grid; gap: 12px; padding: 14px; }
.vcard video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; background: #000; }
.vcard .actions { display: flex; gap: 8px; }
.vcard .actions .btn { flex: 1; }
.vcard time { color: var(--muted); font-size: 13px; }
.progress { display: grid; gap: 10px; }
.progress .status { display: flex; align-items: center; gap: 10px; font-weight: 650; }
.bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.bars span { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; position: relative; }
.bars span.done { background: var(--brand-2); }
.bars span.now { background: #34215c; }
.bars span.now::after {
  content: ""; position: absolute; inset: 0; width: 40%;
  background: linear-gradient(90deg, transparent, var(--cta), transparent);
  animation: slide 1.4s ease-in-out infinite;
}
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.bar-labels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; font-size: 12px; color: var(--muted); }
.vcard.failed .status { color: var(--danger); }
.empty-state { text-align: center; padding: 34px 20px; color: var(--muted); }
.spinner {
  width: 16px; height: 16px; border-radius: 50%; flex: none;
  border: 2px solid var(--line); border-top-color: var(--cta); animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- faq & footer ---------- */
.faq { display: grid; gap: 10px; }
.faq details { padding: 0; }
.faq summary { padding: 18px 22px; cursor: pointer; font-weight: 650; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 20px; height: 20px; flex: none; background: var(--muted); -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m6%209%206%206%206-6%22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%222.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m6%209%206%206%206-6%22/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { margin: 0; padding: 0 22px 18px; color: var(--muted); }
footer { padding: 36px 0 48px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); margin-top: 24px; }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; font: 600 16px var(--display); color: var(--text); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }

/* ---------- sticky call to action on phones ---------- */
.mobile-cta {
  position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 30;
  transition: transform .25s ease, opacity .25s ease;
}
.mobile-cta.away { transform: translateY(140%); opacity: 0; pointer-events: none; }
@media (min-width: 900px) { .mobile-cta { display: none; } }
@media (max-width: 899px) { footer { padding-bottom: 110px; } }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); z-index: 50; transform: translate(-50%, 20px);
  width: min(520px, calc(100% - 32px)); padding: 14px 16px; border-radius: 14px;
  background: #f4f7f5; color: #0b0f0c; font-weight: 600; box-shadow: 0 16px 50px rgba(0, 0, 0, .5);
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
@media (min-width: 900px) { .toast { bottom: 24px; } }

/* ---------- phones: full-width actions, even rhythm ---------- */
@media (max-width: 600px) {
  .topbar .wrap { gap: 16px; min-height: 60px; }
  .brand { gap: 6px; }
  .brand-icon { width: 36px; height: 36px; }
  .brand-word { height: 21px; }
  .account { gap: 6px; }
  .pill { padding: 6px 11px; font-size: 14px; gap: 5px; }
  .icon-btn { width: 34px; height: 34px; }
  .icon-btn .i { width: 16px; height: 16px; }
}
@media (max-width: 440px) {
  /* keep "credits" for screen readers, show just the coin and number */
  .pill-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 24px 0 8px; }
  .hero .wrap { gap: 22px; }
  .hero-actions { gap: 20px; }
  .lead { font-size: 17px; max-width: none; }
  .cta-row { display: grid; gap: 0; }
  .cta-row .btn { width: 100%; }
  .proof { max-width: none; }
  section.block { padding: 30px 0; }
  .section-head { margin-bottom: 20px; gap: 8px; }
  .card { padding: 18px; }
  .packs .btn, .vcard .btn { width: 100%; }
  .media-note { font-size: 12.5px; }
}

@media (max-width: 380px) {
  .topbar .wrap { padding: 0 16px; gap: 12px; }
  .brand-icon { width: 32px; height: 32px; }
  .brand-word { height: 17px; }
  h1 { font-size: 38px; }
  .eyebrow { font-size: 11px; letter-spacing: .08em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
