/* Batch — landing pages · theme: Obsidian Precision (Premium Light)
   Matches the extensions: white surfaces, #131313 primary, per-product accent.

   ── PER-PRODUCT THEMING ───────────────────────────────────────────────────
   Every accent tint on the page derives from --accent-rgb, so a page only has
   to set that one triplet (plus the gradient) to retint buttons, glows, badges,
   borders and the mockup. Set it with a data-product attribute on <body>:

       <body data-product="batchgpt">     blue   — matches the BatchGPT panel
       <body data-product="batchgemini">  violet — matches the BatchGemini panel

   Do NOT reintroduce hardcoded rgba(0,113,227,…) values; they silently break
   the Gemini page, which then shows violet buttons with blue glows.
   ──────────────────────────────────────────────────────────────────────────── */

:root {
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #f5f5f7;
  --surface-3: #ececf0;

  --line: #e8e8ed;
  --line-2: #d2d2d7;

  --text: #131313;
  --text-2: #6e6e73;
  --text-3: #aeaeb2;

  /* default accent = BatchGPT blue; body[data-product] overrides it below */
  --accent-rgb: 0, 113, 227;
  --accent-2-rgb: 155, 114, 203;
  --accent: #0071e3;
  --accent-grad: linear-gradient(135deg, #3a8dff 0%, #0a63e8 100%);
  --accent-wash: rgba(var(--accent-rgb), 0.08);
  --accent-ring: rgba(var(--accent-rgb), 0.35);

  --primary: #131313;
  --primary-2: #2c2c2e;

  --ok: #1f8a3d;
  --ok-wash: rgba(31, 138, 61, 0.1);
  --danger: #d70015;
  --wa: #25d366;
  --wa-rgb: 37, 211, 102;

  --r: 14px;
  --r-sm: 10px;
  --shadow-1: 0 1px 2px rgba(19, 19, 19, 0.05);
  --shadow-2: 0 24px 60px -24px rgba(19, 19, 19, 0.28);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --max: 1120px;
}

/* ── product themes ──
   BatchGemini borrows Gemini's own blue→violet spectrum so the page reads as a
   companion to the app it drives. */
body[data-product="batchgemini"] {
  --accent-rgb: 66, 133, 244;
  --accent-2-rgb: 217, 101, 112;
  --accent: #4285f4;
  --accent-grad: linear-gradient(135deg, #4285f4 0%, #9b72cb 100%);
}

/* Platform pages (home, legal, setup): same BatchGPT blue as the licence buttons. */
body[data-product="batchai"] {
  --accent-rgb: 0, 113, 227;
  --accent: #0071e3;
  --accent-grad: linear-gradient(135deg, #3a8dff 0%, #0a63e8 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }

/* Content must NEVER be gated on JS — see the note in site.js. */
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent-ring); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.03em; margin: 0; font-family: inherit; }
h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 750; }
h3 { font-size: 17.5px; font-weight: 700; }
.center { text-align: center; }
.mark {
  color: var(--accent);
}

.launch-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 18px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.12);
  color: rgb(var(--accent-rgb));
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.launch-tag.free {
  background: var(--ok-wash);
  color: var(--ok);
}
.launch-tag.offer {
  background: var(--accent-wash);
  color: var(--accent);
}
.launch-tag + .hot-tag.sm {
  margin-left: 8px;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 84px 22px; }
.wrap.narrow { max-width: 840px; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.sub { color: var(--text-2); margin: 12px auto 0; max-width: 580px; }
code {
  background: var(--surface-3);
  border: 1px solid var(--line);
  padding: 1px 7px;
  border-radius: 6px;
  font-size: 13.5px;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  color: var(--text);
}

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 650; font-size: 15px; padding: 12px 22px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--text);
  cursor: pointer; transition: all 0.15s var(--ease); white-space: nowrap;
}
.btn:hover { border-color: var(--text-2); }
.btn.primary {
  background: var(--accent-grad); border-color: transparent; color: #fff;
  box-shadow: 0 8px 20px -10px rgba(var(--accent-rgb), 0.45);
}
.btn.primary:hover {
  filter: brightness(1.04);
  box-shadow: 0 10px 24px -8px rgba(var(--accent-rgb), 0.5);
  border-color: transparent;
}
.btn.ghost { background: transparent; color: var(--text-2); border-color: var(--line-2); }
.btn.ghost:hover { color: var(--text); border-color: var(--primary); background: var(--surface); }
.btn.lg { padding: 14px 28px; font-size: 16px; }
.btn.sm { padding: 9px 16px; font-size: 14px; }
.btn.full { width: 100%; margin-top: 20px; }

/* ── nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 26px;
  padding: 14px 22px;
  background: rgba(245, 245, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav.solid {
  background: rgba(245, 245, 247, 0.96);
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.nav-brand img { border-radius: 8px; flex: none; }
.nav-brand-tag {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-3);
  line-height: 1.2;
  margin-top: 1px;
}
@media (max-width: 720px) { .nav-brand-tag { display: none; } }

/* Home hero: the five tool marks in a row — shows the suite at a glance. */
.suite-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  flex-wrap: wrap;
}
.suite-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.suite-icon:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.suite-icon img { border-radius: 8px; width: 28px; height: 28px; object-fit: contain; }
.nav-links { display: flex; gap: 24px; margin-left: auto; font-size: 14.5px; color: var(--text-2); font-weight: 500; }
.nav-links a:hover { color: var(--text); }
/* Eight links now that BatchClips is here. Without this a flex item is allowed to
   shrink and break its own label in half — "Watermark Remover" and "Setup guide"
   were sitting on two lines and dragging the whole header to 72px tall. Nowrap
   keeps every label whole; the two steps below buy back the width that costs, so
   it still fits on one line all the way down to where the links are hidden.
   (Widths measured on the live header, not guessed.) */
.nav-links a { white-space: nowrap; }
@media (max-width: 1180px) { .nav-links { gap: 14px; font-size: 13px; } }
@media (max-width: 1040px) { .nav-links { gap: 10px; font-size: 12px; } }

/* ── hero ── */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: 54px 22px 90px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 54px; align-items: center;
  position: relative;
}
/* Replaced by .hero-bg on the home page; product pages may still use .aurora. */
.hero:not(:has(.hero-bg))::before {
  content: ""; position: absolute; inset: -14% -30% auto -30%; height: 560px; z-index: -1;
  background: radial-gradient(50% 55% at 50% 38%, rgba(var(--accent-rgb), 0.07), transparent 70%);
  pointer-events: none;
}

/* Subtle hero wash on product pages that carry an .aurora element. */
.aurora {
  position: absolute;
  inset: -18% -10% auto -10%;
  height: 520px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(55% 60% at 50% 38%, rgba(var(--accent-rgb), 0.08), transparent 72%);
}

/* ── headline word reveal ──
   Words rise and sharpen in sequence. `backwards` matters: it applies the
   from-state only for the delay, so if the animation never runs the text is
   simply visible. Nothing here can leave the headline blank. */
.reveal > span { display: inline-block; animation: wordIn 0.6s var(--ease) backwards; }
@keyframes wordIn {
  from { opacity: 0; transform: translateY(20px); filter: blur(7px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
.reveal > span:nth-of-type(1) { animation-delay: 0.06s; }
.reveal > span:nth-of-type(2) { animation-delay: 0.13s; }
.reveal > span:nth-of-type(3) { animation-delay: 0.2s; }
.reveal > span:nth-of-type(4) { animation-delay: 0.27s; }
.reveal > span:nth-of-type(5) { animation-delay: 0.36s; }
.reveal > span:nth-of-type(6) { animation-delay: 0.43s; }
.reveal > span:nth-of-type(7) { animation-delay: 0.5s; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line-2);
  color: var(--text-2); padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; margin-bottom: 22px;
  box-shadow: var(--shadow-1);
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.hero h1 { font-size: clamp(38px, 6vw, 58px); font-weight: 800; }
.lede { color: var(--text-2); font-size: 17.5px; margin: 20px 0 28px; max-width: 520px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-note { color: var(--text-3); font-size: 13px; margin: 14px 0 0; max-width: 460px; }
.hero-facts {
  list-style: none; padding: 0; margin: 26px 0 0;
  display: flex; gap: 20px; flex-wrap: wrap; color: var(--text-2); font-size: 14px;
}

/* entrance polish — CSS only, `backwards` so nothing can stay hidden */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise 0.55s var(--ease) backwards; }
.hero-copy > *:nth-child(2) { animation-delay: 0.05s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.1s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.15s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.2s; }
.hero-copy > *:nth-child(6) { animation-delay: 0.25s; }
.hero-shot { animation: rise 0.7s var(--ease) 0.12s backwards; }

/* ── product mockup (matches the real extension) ── */
.hero-shot { display: flex; justify-content: center; }
.panel {
  width: 100%; max-width: 340px; background: var(--bg); border: 1px solid var(--line-2);
  border-radius: 18px; overflow: hidden;
  box-shadow: var(--shadow-2);
  transform: perspective(1400px) rotateY(-7deg) rotateX(2deg);
}
.panel-top {
  display: flex; align-items: center; gap: 9px; padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.panel-logo {
  width: 24px; height: 24px; border-radius: 7px; background: var(--primary);
  display: grid; place-items: center; font-size: 12px; color: #fff;
}
.panel-name { font-weight: 800; font-size: 14px; color: var(--text); letter-spacing: -0.01em; }
.panel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); margin-left: auto; box-shadow: 0 0 0 3px var(--ok-wash); }
.panel-body { padding: 14px; }
.p-label {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--text-2);
  margin: 14px 0 8px; display: flex; align-items: center; justify-content: space-between;
}
.p-label:first-child { margin-top: 0; }
.p-chip {
  background: var(--surface); border: 1px solid var(--line-2); color: var(--text-2);
  padding: 2px 9px; border-radius: 999px; font-size: 10px; letter-spacing: 0;
}
.p-editor {
  background: var(--surface); border: 1px solid var(--line); border-radius: 9px;
  padding: 9px; display: grid; grid-template-columns: 16px 1fr; gap: 3px 8px;
  font-size: 10.5px; line-height: 1.5;
}
.p-editor .ln { color: var(--text-3); text-align: right; }
.p-editor .tx { color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-ratios { display: flex; gap: 4px; }
.p-ratios .r {
  flex: 1; border: 1px solid var(--line-2); background: var(--surface); border-radius: 8px;
  padding: 6px 2px; display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 9px; font-weight: 700; color: var(--text-2);
}
.p-ratios .r.on { border-color: var(--primary); color: #fff; background: var(--primary); }
.p-ratios .b { border: 1.3px solid currentColor; border-radius: 2px; display: block; }
.b1 { width: 12px; height: 12px; } .b2 { width: 8px; height: 14px; } .b3 { width: 15px; height: 8px; }
.b4 { width: 10px; height: 13px; } .b5 { width: 14px; height: 10px; }
.q {
  display: flex; align-items: center; gap: 8px; padding: 8px 9px; margin-bottom: 5px;
  border: 1px solid var(--line); border-radius: 9px; background: var(--surface); font-size: 10.5px;
}
.q.live { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.15); }
.qi { width: 17px; height: 17px; border-radius: 5px; background: var(--surface-3); color: var(--text-2);
      display: grid; place-items: center; font-size: 9px; font-weight: 700; flex-shrink: 0; }
.qi.on { background: var(--accent); color: #fff; }
.qt { flex: 1; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 550; }
.qs { color: var(--text-3); font-weight: 650; flex-shrink: 0; }
.qs.ok { color: var(--ok); }
.qs.run { color: var(--accent); }

/* BatchFinder's match rows. Shared, because the same mock appears twice: in the
   home carousel and in the BatchFinder hero. The score colours are literal
   rather than tokens — they mean confidence, not the page's accent. */
.p-match {
  display: flex; align-items: center; gap: 8px; padding: 8px 9px; margin-bottom: 6px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--surface);
}
.p-match.top { border-color: #0071e3; box-shadow: 0 0 0 1px rgba(0, 113, 227, 0.18) inset; }
.p-match.warn { border-color: rgba(178, 80, 0, 0.45); }
.p-match .m-av {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, #dfe3ea, #c9cfd8);
}
.p-match .m-tx { flex: 1; min-width: 0; }
.p-match .m-nm { display: block; font-size: 11.5px; font-weight: 700; }
.p-match .m-sub {
  display: block; font-size: 10px; color: var(--text-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.p-match .m-pc { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; flex-shrink: 0; }
.p-match .m-pc.hi { color: #1f8a3d; }
.p-match .m-pc.mid { color: #0071e3; }
.p-match .m-pc.warn { color: #b25000; }
.p-flag {
  font-size: 10px; font-weight: 700; color: #b25000; margin-bottom: 8px;
  background: rgba(178, 80, 0, 0.08); border-radius: 8px; padding: 6px 8px;
}
.p-bar { display: flex; align-items: center; gap: 9px; margin: 12px 0 10px; font-size: 10.5px; color: var(--text-2); }
.p-bar .track { flex: 1; height: 5px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.p-bar .fill { display: block; height: 100%; width: 17%; border-radius: 999px; background: var(--accent-grad); }
.p-btn {
  background: var(--accent-grad); color: #fff; text-align: center; font-weight: 750; font-size: 13px;
  padding: 11px; border-radius: 9px; box-shadow: 0 6px 18px -8px rgba(var(--accent-rgb), 0.7);
}

/* ═══════════════════════════════════════════════════════════════════════════
   HUB PAGE — the two-tool chooser at index.html
   ═══════════════════════════════════════════════════════════════════════════ */

/* The hub hero is centred and has no mockup beside it — the tool cards below
   are the visual, so a second one here would compete with them. */
.hero.hub {
  grid-template-columns: 1fr;
  text-align: center;
  padding-bottom: 20px;
}
.hero.hub .hero-copy { max-width: 760px; margin: 0 auto; }
.hero.hub .lede { margin-inline: auto; max-width: 600px; }
.hero.hub .hero-facts { justify-content: center; }

/* ── tool cards ── */
.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 6px; }
@media (max-width: 1080px) {
  .tools { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 660px) {
  .tools { grid-template-columns: 1fr; }
}

/* Each card carries its OWN accent, so the chooser previews what each product
   looks like before you commit to a click. */
.tool {
  --accent-rgb: 0, 113, 227;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 28px 28px;
  box-shadow: var(--shadow-1);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    border-color 0.18s var(--ease);
  overflow: hidden;
}
.tool::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 150px;
  background: radial-gradient(60% 100% at 50% 0%, rgba(var(--accent-rgb), 0.1), transparent 72%);
  pointer-events: none;
}
.tool:hover {
  border-color: rgba(var(--accent-rgb), 0.35);
  box-shadow: var(--shadow-2);
}
.tool.gemini { --accent-rgb: 66, 133, 244; }
.tool.watermark { --accent-rgb: 245, 158, 11; }
.tool.clips { --accent-rgb: 255, 107, 53; }
.tool.clips-web { --accent-rgb: 255, 122, 69; }
.tool.finder { --accent-rgb: 99, 102, 241; }

.tool-head {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  position: relative;
  flex-wrap: nowrap;
}
.tool-head img { width: 46px; height: 46px; border-radius: 13px; box-shadow: var(--shadow-1); flex: none; }
.tool-meta { flex: 1; min-width: 0; }
.tool-title-row,
.tool-sub-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.tool-sub-row { margin-top: 5px; }
.tool-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.tool-sub {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 500;
  line-height: 1.3;
  min-width: 0;
}
.tool-badge,
.tool-for,
.tool-free {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.02em;
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
  flex: none;
  margin-left: 0;
}
.tool p.tool-lede {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.55;
  margin: 14px 0 0;
  position: relative;
  max-width: none;
}
.tool-list { list-style: none; padding: 0; margin: 18px 0 0; position: relative; }
.tool-list li {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.45;
  padding: 9px 0 9px 25px;
  border-top: 1px solid var(--line);
  position: relative;
}
.tool-list li:first-child { border-top: 0; }
.tool-list li::before {
  content: "·"; color: rgb(var(--accent-rgb)); font-weight: 700;
  position: absolute; left: 0; top: 9px;
}
.tool-badge.offer,
.tool-for {
  color: rgb(var(--accent-rgb));
  background: rgba(var(--accent-rgb), 0.12);
}
.tool-badge.free,
.tool-free {
  color: var(--ok);
  background: var(--ok-wash);
}
.tool-badge.scarce {
  color: #c2410c;
  background: rgba(255, 107, 53, 0.14);
}
.tool-badge.beta {
  color: rgb(var(--accent-rgb));
  background: rgba(var(--accent-rgb), 0.12);
}
.tool-badge.hot {
  color: #c2410c;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.22);
}

/* Compact “hot” label on bars and fomo cards only. */
.hot-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 107, 53, 0.1);
  border: 1px solid rgba(255, 107, 53, 0.22);
  color: #c2410c;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  flex: none;
}
.hot-tag.sm {
  font-size: 10px;
  padding: 4px 8px;
}
.showcase-bar .hot-tag.sm {
  margin-left: auto;
  margin-right: 8px;
}
.fomo-card .hot-tag.sm {
  align-self: flex-start;
}

/* Homepage: quick-start FOMO cards above the tool grid.
   Spaced cleanly so cards never overlap the heading/sub text. */
.fomo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  margin-bottom: 12px;
}
.fomo-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease), transform 0.15s var(--ease);
}
.fomo-card:hover {
  border-color: rgba(var(--accent-rgb), 0.35);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}
.fomo-card strong {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.fomo-card span:last-child {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.45;
}
.fomo-chip {
  display: inline-flex;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 3px 9px;
}
.fomo-chip.free {
  color: var(--ok);
  background: var(--ok-wash);
}
.fomo-chip.offer {
  color: var(--accent);
  background: var(--accent-wash);
}
.fomo-chip.scarce {
  color: #c2410c;
  background: rgba(255, 107, 53, 0.14);
}
@media (max-width: 960px) {
  .fomo-strip { grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
}
@media (max-width: 580px) {
  .fomo-strip { grid-template-columns: 1fr; margin-top: 20px; }
}

/* The card's own accent drives its primary button, so cards read as
   distinct products rather than one repeated template. */
.tool .btn.primary {
  background: linear-gradient(135deg, rgb(var(--accent-rgb)), rgba(var(--accent-rgb), 0.72));
  box-shadow: 0 8px 22px -8px rgba(var(--accent-rgb), 0.6);
}
.tool.gemini .btn.primary { background: linear-gradient(135deg, #4285f4 0%, #9b72cb 100%); }
.tool.watermark .btn.primary { background: linear-gradient(135deg, #fbbf24 0%, #ea8a04 100%); }
.tool.clips .btn.primary { background: linear-gradient(135deg, #ff8f55 0%, #ff6b35 100%); }
.tool.clips-web .btn.primary { background: linear-gradient(135deg, #ff9a5b 0%, #e84a1a 100%); }
.tool.finder .btn.primary { background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%); }

.tool-cta { display: flex; gap: 10px; margin-top: auto; padding-top: 22px; position: relative; }
.tool-cta .btn { flex: 1; }

/* ── bundle band ── */
.bundle {
  margin-top: 22px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  padding: 30px;
  background: linear-gradient(120deg, rgba(0, 113, 227, 0.07), rgba(155, 114, 203, 0.09)),
    var(--surface);
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-1);
}
.bundle-copy { flex: 1 1 320px; }
.bundle h3 { font-size: 20px; }
.bundle p { color: var(--text-2); margin: 8px 0 0; font-size: 15px; }
.bundle-price { text-align: right; flex-shrink: 0; }
.bundle-price .amount { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; display: block; }
.bundle-price .was { color: var(--text-3); font-size: 14px; text-decoration: line-through; }
.bundle-price .save { color: var(--ok); font-size: 13.5px; font-weight: 650; display: block; margin-top: 2px; }
.bundle .btn { margin-top: 14px; }

/* ── back link on the detail pages ── */
.backlink {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--text-2); font-size: 14px; font-weight: 600;
}
.backlink:hover { color: var(--text); }

/* Which product you are reading about, shown in the detail-page nav. */
.nav-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; justify-content: flex-end; max-width: min(100%, 560px); }
.nav-tab {
  font-size: 14px; font-weight: 620; color: var(--text-2);
  padding: 7px 13px; border-radius: 9px; border: 1px solid transparent;
}
.nav-tab:hover { color: var(--text); background: var(--surface-3); }
.nav-tab.on {
  color: var(--text); background: var(--surface);
  border-color: var(--line-2); box-shadow: var(--shadow-1);
}

/* ── compare ── */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 38px; text-align: left; }
.cmp { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; background: var(--bg); }
.cmp.good {
  border-color: rgba(var(--accent-rgb), 0.35);
  background: linear-gradient(180deg, var(--accent-wash), transparent 65%), var(--surface);
  box-shadow: var(--shadow-1);
}
.cmp-head { font-weight: 750; font-size: 16px; margin-bottom: 14px; }
.cmp ul { margin: 0; padding-left: 20px; color: var(--text-2); font-size: 15px; }
.cmp li { margin-bottom: 9px; }
.cmp.good li::marker { color: var(--accent); }
.cmp b { color: var(--text); }

/* ── steps ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px; box-shadow: var(--shadow-1);
}
.step-n {
  width: 34px; height: 34px; border-radius: 10px; background: var(--primary); color: #fff;
  display: grid; place-items: center; font-weight: 800; margin-bottom: 15px;
}
.step p { color: var(--text-2); margin: 9px 0 0; font-size: 15px; }

/* ── features ── */
.feats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 44px; }
.feat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 24px;
}
.feat:hover { border-color: var(--line-2); }
.fi { display: none; }
.feat p { color: var(--text-2); font-size: 14.5px; margin: 8px 0 0; }

/* ── setup guide ── */
.setup { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: 22px; margin-top: 44px; align-items: start; }
.setup-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.setup-steps li {
  display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px; box-shadow: var(--shadow-1);
}
.s-n {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 10px;
  background: var(--primary); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 15px;
}
.setup-steps p { color: var(--text-2); font-size: 14.5px; margin: 7px 0 0; }
.setup-steps .btn { margin-top: 14px; }
.setup-side {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 24px; position: sticky; top: 84px;
  box-shadow: var(--shadow-1);
}
.setup-side ul { list-style: none; margin: 14px 0 4px; padding: 0; }
.setup-side li {
  color: var(--text-2); font-size: 14px; padding: 9px 0;
  border-top: 1px solid var(--line); line-height: 1.5;
}
.setup-side li:first-child { border-top: 0; padding-top: 0; }
.setup-side b, .setup-side i { color: var(--text); }

/* ── pricing ── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; align-items: start; }
.plan {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px 24px; position: relative; box-shadow: var(--shadow-1);
}
.plan.best {
  border-color: rgba(var(--accent-rgb), 0.35);
  box-shadow: var(--shadow-2);
}
.tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent-grad); color: #fff; font-size: 11.5px; font-weight: 750;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.plan-name { font-size: 15px; font-weight: 700; color: var(--text-2); }
.plan-price { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; margin: 10px 0 4px; }
.plan-price .usd { font-size: 16px; font-weight: 600; color: var(--text-3); }
.plan-per { color: var(--text-3); font-size: 13.5px; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 0; }
.plan li { color: var(--text-2); font-size: 14.5px; padding: 7px 0 7px 16px; border-top: 1px solid var(--line); position: relative; }
.plan li:first-child { border-top: 0; }
.plan li::before {
  content: "·"; position: absolute; left: 0; top: 7px;
  color: rgb(var(--accent-rgb)); font-weight: 700;
}
.note { color: var(--text-2); font-size: 14px; margin-top: 30px; }
.note b { color: var(--text); }

/* ── faq ── */
.faq { margin-top: 38px; }
.faq details {
  border: 1px solid var(--line); border-radius: 12px; background: var(--bg);
  margin-bottom: 10px; overflow: hidden; transition: all 0.15s var(--ease);
}
.faq summary {
  cursor: pointer; padding: 17px 20px; font-weight: 650; font-size: 15.5px;
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; color: var(--accent); font-size: 20px; font-weight: 400;
  flex-shrink: 0; transition: transform 0.2s var(--ease);
}
.faq details[open] { border-color: var(--line-2); background: var(--surface); box-shadow: var(--shadow-1); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--text-2); padding: 0 20px 18px; margin: 0; font-size: 15px; }

/* ── final ── */
.final { padding-top: 0; }
.final-card {
  border: 1px solid rgba(var(--accent-rgb), 0.35); border-radius: 20px; padding: 52px 30px;
  text-align: center;
  background: radial-gradient(70% 130% at 50% 0%, var(--accent-wash), transparent 70%), var(--surface);
  box-shadow: var(--shadow-1);
}
.final-card p { color: var(--text-2); margin: 14px 0 28px; }

/* ── footer ── */
.foot { border-top: 1px solid var(--line); background: var(--surface); }
.foot-in { display: flex; justify-content: space-between; gap: 26px; flex-wrap: wrap; padding-block: 40px 24px; }
.foot-note { color: var(--text-2); font-size: 14px; margin: 10px 0 0; }
.foot-links { display: flex; gap: 22px; color: var(--text-2); font-size: 14.5px; flex-wrap: wrap; }
.foot-links a:hover { color: var(--text); }
.disclaimer {
  max-width: var(--max); margin: 0 auto; padding: 0 22px 34px;
  color: var(--text-3); font-size: 12.5px; line-height: 1.6;
}

/* ── floating whatsapp ── */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 54px; height: 54px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 26px -6px rgba(var(--wa-rgb), 0.55);
  transition: transform 0.15s var(--ease);
}
.wa-float:hover { transform: scale(1.07); }

/* ── mobile sticky download bar ── */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.sticky-cta .btn { flex: 1; padding: 11px 10px; font-size: 14px; }

/* ── responsive ── */
@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding-bottom: 70px; }
  .hero-shot { order: -1; }
  .panel { transform: none; max-width: 320px; }
  .steps, .feats, .plans { grid-template-columns: 1fr 1fr; }
  .setup { grid-template-columns: 1fr; }
  .setup-side { position: static; }
  .nav-links { display: none; }
  .tools { grid-template-columns: 1fr; }
  .bundle { flex-direction: column; align-items: stretch; text-align: center; }
  .bundle-price { text-align: center; }
}
@media (max-width: 660px) {
  .wrap { padding: 60px 18px; }
  .compare, .steps, .feats, .plans { grid-template-columns: 1fr; }
  .plan.best { order: -1; }
  .hero-cta .btn { flex: 1; }
  .foot-in { flex-direction: column; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 74px; }
  .wa-float { bottom: 84px; }
  .tool { padding: 26px 22px 24px; }
  .tool-cta { flex-direction: column; }

  /* Tabs stay visible on mobile — once .nav-links is hidden they are the only
     way to move between the two products. But brand + tabs + button is 440px
     of content in a 375px bar, so the nav's CTA goes: the sticky bottom bar
     already offers "Get a license", and losing a duplicate beats a header
     that runs off the screen. */
  .nav { gap: 12px; padding-inline: 14px; }
  .nav > .btn.primary.sm { display: none; }
  .nav-tabs { margin-left: auto; }
  .nav-tab { padding: 6px 10px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* The invited-visitor bar lived here. Removed with the rest of the referral
   system — it nagged visitors who had never asked to be invited. Styles are in
   _referral-archive/styles.css.with-referral if it is ever brought back. */

/* ── BatchClips accents (home + download page) ── */
.notice-bar.home.clips-launch {
  background: linear-gradient(100deg, #b8421a 0%, #ff6b35 50%, #ff8f55 100%);
}
.notice-bar.home.clips-launch .btn.primary {
  background: #fff;
  color: #b8421a;
  font-weight: 700;
}
body[data-product="batchai"] .btn.clips-cta {
  background: linear-gradient(135deg, #ff8f55, #ff7039);
  color: #fff;
  border: 0;
  box-shadow: 0 10px 28px -12px rgba(255, 107, 53, 0.65);
}
body[data-product="batchai"] .btn.clips-cta:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}
.pv-clips {
  border-left-color: #ff6b35 !important;
}
.pv-i.clips-i {
  background: rgba(255, 107, 53, 0.12);
  color: #ff6b35;
}

/* BatchClips Desktop + Web split card on the hub */
.tool-split .tool-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}
.tool-duo-card {
  padding: 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.tool-duo-card.web {
  border-color: rgba(255, 107, 53, 0.22);
  background: rgba(255, 107, 53, 0.04);
}
.tool-duo-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgb(var(--accent-rgb));
  margin-bottom: 10px;
}
.tool-duo-card .tool-list { margin-top: 0; }
.tool-duo-card .tool-cta { margin-top: 14px; flex-direction: column; align-items: stretch; }
.tool-duo-card .tool-cta .btn { width: 100%; justify-content: center; }
.price-compare {
  margin-top: 28px;
  text-align: left;
  max-width: 520px;
  margin-inline: auto;
}
.price-compare ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.65;
}
@media (max-width: 760px) {
  .tool-split .tool-duo { grid-template-columns: 1fr; }
}
