:root {
  --bg: #0f1115; --panel: #171a21; --panel2: #11141a; --line: #2a2f3a;
  --text: #e8eaed; --muted: #9aa3b2; --link: #58a6ff;
  --green: #2ea043; --green-br: #3fb950; --amber: #d29922; --orange: #f0883e;
  --red: #d65a5a; --radius: 10px;
  --caff-accent: #7C73FF; --caff-tint: #ECECFB; --caff-ink: #4E4670;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: -apple-system, "Segoe UI", system-ui, sans-serif; font-size: 14px;
}
a { color: var(--link); text-decoration: none; }
.muted { color: var(--muted); }
h1 { font-size: 22px; margin: 0; }
h2 { font-size: 16px; margin: 26px 0 10px; font-weight: 600; }
h2 .muted { font-weight: 400; font-size: 13px; }

.topbar {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 24px; background: var(--panel); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 5;
}
.topbar .brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { display: block; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-wm { font-size: 18px; font-weight: 700; letter-spacing: .04em; color: var(--text); }
.brand-wm .dot { color: var(--caff-accent); }
.brand-wm .tm { font-size: .55em; font-weight: 600; vertical-align: super; color: var(--muted); margin-left: 1px; }
.brand-full { font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.topbar .tagline { color: var(--muted); font-size: 13px; margin-left: auto; }
@media (max-width: 560px) { .topbar .tagline { display: none; } }
.wrap { max-width: 1100px; margin: 0 auto; padding: 22px 24px 60px; }

/* collapsible boxes (reference manager, add-brand) */
.box { background: var(--panel2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 4px 18px; margin-bottom: 18px; }
.box > summary { list-style: none; cursor: pointer; padding: 12px 0; display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 600; user-select: none; }
.box > summary::-webkit-details-marker { display: none; }
.box > summary::before { content: "▸"; color: var(--muted); font-size: 12px; transition: transform .15s; }
.box[open] > summary::before { transform: rotate(90deg); }
.box .box-title { flex: 0 0 auto; }
.box .box-body { padding: 0 0 16px; }
.refs-count { font-size: 12px; font-weight: 700; color: var(--link); background: #1f2530; padding: 2px 9px; border-radius: 10px; }
.refs-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.ref-thumb { position: relative; width: 96px; height: 96px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); }
.ref-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ref-del { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; line-height: 20px;
  border: none; border-radius: 50%; background: rgba(0,0,0,.65); color: #fff; font-size: 16px; cursor: pointer; padding: 0; }
.ref-del:hover { background: var(--red); }
.ref-add { width: 96px; height: 96px; border-radius: 8px; border: 1.5px dashed var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  cursor: pointer; color: var(--muted); background: var(--panel); }
.ref-add:hover { border-color: var(--link); color: var(--link); }
.ref-add .plus { font-size: 26px; line-height: 1; }
.ref-add .t { font-size: 11px; }
.ref-add.busy { opacity: .5; pointer-events: none; }
/* Biometric consent gate: the uploader is locked until the box is checked. */
.consent-gate { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px;
  margin: 12px 0 0; border-radius: 10px; background: var(--lp-bright, #F1F1FF);
  border: 1px solid #DEDAFB; font-size: 13px; line-height: 1.45; cursor: pointer; }
.consent-gate input { margin-top: 3px; flex: 0 0 auto; width: 16px; height: 16px; cursor: pointer; }
/* First-name capture, asked once, at consent. `creators.name` used to be the email
   local-part, which is unusable in an email greeting. */
.consent-name { display: block; margin: 12px 0 0; font-size: 13px; }
.consent-name .cn-label { display: block; font-weight: 600; margin-bottom: 5px; }
.consent-name input { width: 100%; max-width: 280px; padding: 9px 12px; font: inherit;
  border-radius: 9px; border: 1px solid #DEDAFB; background: #fff; }
.consent-name input:focus { outline: none; border-color: var(--accent, #7C73FF); }
.consent-name .cn-hint { display: block; margin-top: 5px; font-size: 12px; opacity: .7; }
.consent-err { margin: 8px 0 0; font-size: 13px; color: #B3261E; }
.refs-grid.locked .ref-add { opacity: .4; pointer-events: none; }
/* New-account welcome (shown until the first brand is added). */
.welcome-new { padding: 18px 20px; margin: 0 0 18px; border-radius: var(--radius, 14px);
  background: var(--lp-bright, #F1F1FF); border: 1px solid #DEDAFB; }
.welcome-new h2 { margin: 0 0 6px; font-size: 19px; }
.welcome-new p { margin: 0; line-height: 1.5; color: var(--text); }
.ref-status { position: relative; margin-top: 10px; padding: 10px 30px 10px 12px; font-size: 12px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.ref-status .ok { color: var(--green-br); }
.ref-status .bad { color: var(--orange); margin-top: 4px; }
.ref-status .status-x { position: absolute; top: 6px; right: 8px; width: 20px; height: 20px;
  border: none; background: transparent; color: var(--muted); font-size: 16px; cursor: pointer; padding: 0; }
.ref-status .status-x:hover { color: var(--text); }

/* typeahead */
.add-brand { margin-top: 26px; }
.typeahead { position: relative; max-width: 460px; }
#brand-search {
  width: 100%; padding: 11px 14px; font-size: 15px; color: var(--text);
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px;
}
#brand-search:focus { outline: none; border-color: var(--link); }
.dropdown {
  list-style: none; margin: 4px 0 0; padding: 4px; position: absolute; left: 0; right: 0;
  background: var(--panel); border: 1px solid var(--line); border-radius: 8px; z-index: 10;
  max-height: 280px; overflow: auto;
}
.dropdown li {
  padding: 9px 12px; border-radius: 6px; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.dropdown li:hover { background: #1f2530; }
.hint { color: var(--muted); font-size: 12px; margin: 8px 0 0; }
.hint code { background: #1f2530; padding: 1px 5px; border-radius: 4px; }

/* add a brand */
.addsteps { max-width: 620px; margin: 10px 0 14px; padding-left: 20px; color: var(--text); font-size: 13px; }
.addsteps li { margin: 4px 0; }
.addbrand-form { display: flex; flex-wrap: wrap; gap: 8px; max-width: 620px; align-items: center; }
.addbrand-form input { flex: 1 1 220px; padding: 10px 12px; color: var(--text);
  background: var(--panel); border: 1px solid var(--line); border-radius: 7px; font-size: 13px; }
.addbrand-form input:focus { outline: none; border-color: var(--link); }
.linklike { background: none; border: none; color: var(--link); cursor: pointer; font-size: 12px; padding: 0; text-decoration: underline; }
.brand-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 0 0 12px; }
.brand-controls .brand-filter { margin: 0; flex: 1 1 240px; }
.brand-sort { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px;
  white-space: nowrap; }
.brand-sort select { color: var(--text); background: var(--panel); border: 1px solid var(--line);
  border-radius: 7px; padding: 7px 9px; font-size: 13px; cursor: pointer; }
.brand-filter { width: 100%; max-width: 360px; margin: 0 0 12px; padding: 9px 12px; color: var(--text);
  background: var(--panel); border: 1px solid var(--line); border-radius: 7px; font-size: 13px; }
.brand-filter:focus { outline: none; border-color: var(--link); }

.byurl { margin-top: 14px; max-width: 560px; }
.byurl summary { cursor: pointer; color: var(--link); font-size: 13px; }
.byurl input { width: 100%; margin: 8px 0 0; padding: 9px 12px; color: var(--text);
  background: var(--panel); border: 1px solid var(--line); border-radius: 7px; font-size: 13px; }
.byurl input:focus { outline: none; border-color: var(--link); }
.byurl .btn { margin-top: 10px; }

/* brand list */
.brand-card {
  display: flex; align-items: center; gap: 16px; padding: 14px 16px; margin-bottom: 10px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
}
.brand-main { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-name { font-size: 15px; font-weight: 600; color: var(--text); }
.rename-btn { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 13px; padding: 0 2px; }
.rename-btn:hover { color: var(--link); }
.brand-status { min-width: 180px; font-size: 13px; }
.brand-actions { display: flex; gap: 8px; }
.brand-status .ok { color: var(--green-br); }
.brand-status .err, .err { color: var(--red); }
.brand-status .running, .running { color: var(--amber); }

.src-badge { font-size: 10px; text-transform: uppercase; letter-spacing: .04em;
  padding: 2px 7px; border-radius: 10px; background: #1f2530; color: var(--muted); }
.src-demo { color: var(--link); }
.src-apify { color: var(--green-br); }
.src-pending { color: var(--orange); }

/* buttons */
.btn {
  padding: 7px 14px; font-size: 13px; font-weight: 600; cursor: pointer;
  background: var(--green); color: #fff; border: none; border-radius: 7px;
}
.btn:hover { filter: brightness(1.08); }
.btn.ghost { background: transparent; color: var(--link); border: 1px solid var(--line); }
.btn.danger { background: transparent; color: var(--red); border: 1px solid var(--line); }
.btn.small { padding: 5px 11px; }
.btn:disabled { opacity: .5; cursor: default; }

/* results page */
.back { display: inline-block; margin-bottom: 12px; font-size: 13px; }
.brand-head { display: flex; align-items: center; gap: 16px; }
.bh-scanned { font-size: 13px; white-space: nowrap; }
.scan-summary { margin: 8px 0 4px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.match-card { background: var(--panel); border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.match-card.verdict-confirmed { border-color: var(--green); }
.match-card.verdict-rejected { border-color: var(--red); opacity: .6; }
.match-card .frame { width: 100%; display: block; }
.match-meta { padding: 10px 12px; }
.topline { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dist { font-size: 12px; color: var(--muted); }
.ad-link { display: inline-block; margin-top: 6px; font-family: ui-monospace, monospace; font-size: 13px; }
.advertiser { font-size: 12px; color: var(--muted); margin-top: 2px; }
.verdict-row { display: flex; gap: 8px; margin-top: 10px; }
.verdict-row .btn { white-space: nowrap; }
.verdict-row .confirm { background: var(--green); }
.verdict-row .reject { background: transparent; color: var(--red); border: 1px solid var(--line); }
/* Once resolved (confirmed OR rejected) both buttons de-emphasize — the card is
   decided — but stay clickable so you can untoggle. The label (✓/✕) shows which won. */
.match-card.verdict-confirmed .verdict-row .btn,
.match-card.verdict-rejected .verdict-row .btn {
  background: var(--panel2); color: var(--muted); border: 1px solid var(--line); }

/* autopilot per-brand cadence selector */
.autopilot { display: inline-flex; align-items: center; gap: 4px; }
.autopilot .ap-icon { color: var(--muted); font-size: 13px; }
.freq-select { background: var(--panel); color: var(--muted); border: 1px solid var(--line);
  border-radius: 7px; padding: 5px 8px; font-size: 12px; cursor: pointer; }
.freq-select.on { color: var(--green); border-color: var(--green); }

/* account summary strip (dashboard header) */
.summary-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 4px 0 20px; }
.summary-strip .stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.summary-strip .num { font-size: 26px; font-weight: 700; color: var(--text); line-height: 1.1; }
.summary-strip .num .den { font-size: 15px; color: var(--muted); font-weight: 600; }
.summary-strip .lbl { font-size: 12px; color: var(--muted); }
@media (max-width: 640px) { .summary-strip { grid-template-columns: repeat(2, 1fr); } }

/* live / stopped status + run info */
.status-badge { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  padding: 2px 6px; border-radius: 4px; white-space: nowrap; }
.status-badge.live { background: rgba(46,160,67,.16); color: var(--green); }
.status-badge.stopped { background: rgba(220,80,80,.14); color: var(--red); }
.match-card.inactive { opacity: .78; }
.runinfo { margin-top: 5px; font-size: 12px; }
.runinfo .launched { color: var(--text); }
.runinfo .launched.muted { color: var(--muted); }
.results.compact .runinfo { font-size: 11px; margin-top: 4px; }

/* results toolbar: view-size toggle + legend */
.results-bar { display: flex; align-items: center; gap: 14px; margin: 10px 0 16px; flex-wrap: wrap; }
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.view-toggle button { background: var(--panel); color: var(--muted); border: none; padding: 6px 12px; font-size: 12px; cursor: pointer; }
.view-toggle button.active { background: #1f2530; color: var(--text); }
.legend { color: var(--muted); font-size: 12px; line-height: 1.5; }
.legend b { color: var(--text); }

/* compact (default, scan-friendly) vs large (full detail) */
.results.compact .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.results.large .grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.results.compact .links,
.results.compact .advertiser,
.results.compact .dupe { display: none; }
/* tidy, uniform thumbnails so a big result set is fast to eyeball; faces sit
   upper-center in most talking-head ads, so bias the crop toward the top */
.results.compact .frame { height: 190px; object-fit: cover; object-position: center 28%; }
.results.compact .match-meta { padding: 7px 9px; }
.results.compact .dist { display: none; }
.results.compact .verdict-row { margin-top: 7px; gap: 6px; }
.results.compact .verdict-row .btn { flex: 1 1 0; padding: 5px 4px; font-size: 11px; }

/* confidence bars */
.conf { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.conf .bars { display: inline-flex; gap: 2px; align-items: flex-end; }
.conf .bar { width: 5px; background: var(--line); border-radius: 1px; }
.conf .bar:nth-child(1) { height: 8px; } .conf .bar:nth-child(2) { height: 12px; } .conf .bar:nth-child(3) { height: 16px; }
/* Chip escalation (2026-07-17): High=green, Medium=amber, Borderline=red. In the
   flat, section-less list this chip IS the recognition signal, so a borderline reads
   as an unmistakable red "your call needed". */
.conf.conf-high { color: var(--green-br); } .conf.conf-high .bar.on { background: var(--green-br); }
.conf.conf-medium { color: var(--amber); } .conf.conf-medium .bar.on { background: var(--amber); }
.conf.conf-borderline { color: var(--red); } .conf.conf-borderline .bar.on { background: var(--red); }
/* Verdict override: a CONFIRMED match reads green "Confirmed ✓" as its primary chip
   regardless of recognition tier, but its muted bars keep the underlying tier visible
   so a confirmed-borderline is not silently erased. CSS-toggled off the card's verdict
   class, so no JS touches the chip. */
.conf-slot { display: inline-flex; align-items: center; }
.conf.conf-confirmed { display: none; color: var(--green); }
.conf.conf-confirmed .cc-tick { font-weight: 800; }
.conf.conf-confirmed .bars { opacity: .5; margin-left: 1px; }
.conf.conf-confirmed .bar.on { background: var(--muted); }
.match-card.verdict-confirmed .conf-slot .conf:not(.conf-confirmed) { display: none; }
.match-card.verdict-confirmed .conf-slot .conf-confirmed { display: inline-flex; }

/* ===== Public pages (warm CAFF brand) — scoped to body.public ===== */
.btn-lg { padding: 13px 26px; font-size: 15px; border-radius: 10px; }

body.public {
  background: #F6ECDD; color: var(--caff-espresso, #33200F);
  font-family: "Georgia", "Iowan Old Style", ui-serif, serif;  /* warmer, less "dev tool" */
}
body.public { --warm-amber: #E8973A; --warm-muted: #7c6a55; --warm-card: #FFFDF9; --warm-line: #e6d4bb; }

.public .btn-amber { background: var(--warm-amber); color: #2a1a08; border: none; font-weight: 700; }
.public .btn-amber:hover { filter: brightness(1.05); }
.public .btn-ghost-warm { background: transparent; color: var(--caff-espresso); border: 1.5px solid var(--warm-line); font-weight: 700; }
.public .btn-ghost-warm:hover { border-color: var(--warm-amber); }

.pub-topbar { display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: 1080px; margin: 0 auto; }
.pub-brand { display: flex; align-items: center; gap: 11px; }
.pub-brand-text { display: flex; flex-direction: column; line-height: 1.12;
  font-family: -apple-system, "Segoe UI", system-ui, sans-serif; }
.pub-wm { font-weight: 800; font-size: 19px; letter-spacing: .04em; color: var(--caff-espresso); }
.pub-wm .dot { color: var(--warm-amber); }
.pub-desc { font-size: 11px; color: var(--warm-muted); letter-spacing: .02em; }

/* product preview */
.pub-preview { margin: 8px auto 12px; text-align: center; }
.preview-frame { background: #11141a; border: 1px solid var(--warm-line); border-radius: 16px;
  padding: 14px; max-width: 760px; margin: 0 auto;
  box-shadow: 0 18px 50px -20px rgba(51,32,15,.45); }
.preview-frame img { width: 100%; display: block; border-radius: 8px; }
.preview-caption { margin-top: 14px; color: var(--warm-muted); font-size: 13.5px;
  font-family: -apple-system, system-ui, sans-serif; }
.pub-main { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.pub-hero { text-align: center; padding: 54px 0 36px; max-width: 740px; margin: 0 auto; }
.eyebrow { font-family: -apple-system, system-ui, sans-serif; text-transform: uppercase;
  letter-spacing: .14em; font-size: 12px; font-weight: 700; color: var(--warm-amber); margin: 0 0 16px; }
.pub-hero h1 { font-size: 46px; line-height: 1.08; margin: 0 0 20px; letter-spacing: -.01em; font-weight: 700; }
.lede { font-size: 18px; line-height: 1.6; color: #4a3a28; max-width: 620px; margin: 0 auto 28px; }
.pub-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.pub-trust { margin-top: 22px; font-size: 13px; color: var(--warm-muted);
  font-family: -apple-system, system-ui, sans-serif; }

.pub-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin: 48px 0; }
.pub-card { background: var(--warm-card); border: 1px solid var(--warm-line); border-radius: 14px;
  padding: 26px 22px; box-shadow: 0 1px 3px rgba(51,32,15,.04); }
.pub-card h3 { margin: 0 0 10px; font-size: 19px; }
.pub-card p { margin: 0; color: #4a3a28; font-size: 15px; line-height: 1.55; }

.pub-how { max-width: 680px; margin: 56px auto; text-align: center; }
.pub-how h2 { font-size: 26px; margin: 0 0 26px; }
.pub-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; text-align: left; }
.pub-steps li { display: flex; gap: 16px; align-items: flex-start; font-size: 16px; line-height: 1.5; }
.pub-steps .step-n { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
  background: var(--warm-amber); color: #2a1a08; font-weight: 800; font-family: -apple-system, system-ui, sans-serif;
  display: flex; align-items: center; justify-content: center; font-size: 15px; }
.pub-steps b { font-weight: 700; }

.pub-why { max-width: 880px; margin: 64px auto; display: flex; gap: 36px; align-items: center; }
.why-video { flex: 0 0 232px; }
.video-ph { position: relative; width: 232px; aspect-ratio: 9 / 16; border-radius: 16px;
  background: linear-gradient(160deg, #2a1a0c, #4a2f15); border: 1px solid var(--warm-line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.video-ph .play { width: 58px; height: 58px; border-radius: 50%; background: rgba(246,236,221,.92);
  color: #33200F; display: flex; align-items: center; justify-content: center; font-size: 20px; padding-left: 4px; }
.video-ph .video-label { color: #f3e4d0; font-size: 13px; font-family: -apple-system, system-ui, sans-serif; }
.why-copy { flex: 1; }
.why-copy h2 { font-size: 26px; margin: 0 0 14px; }
.why-copy p { font-size: 17px; line-height: 1.65; color: #4a3a28; margin: 0; }

.pub-waitlist { max-width: 640px; margin: 64px auto 40px; text-align: center;
  background: var(--caff-espresso); color: #F6ECDD; border-radius: 18px; padding: 40px 28px; }
.pub-waitlist h2 { font-size: 28px; margin: 0 0 10px; color: #fff; }
.pub-waitlist > p { font-size: 16px; line-height: 1.55; color: #e8d9c4; margin: 0 auto 22px; max-width: 460px; }
.waitlist-form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; max-width: 520px; margin: 0 auto; }
.waitlist-form input, .waitlist-form select { flex: 1 1 200px; padding: 13px 14px; border-radius: 10px;
  border: 1px solid #5a4226; background: #fffdf9; color: #33200F; font-size: 15px;
  font-family: -apple-system, system-ui, sans-serif; }
.waitlist-form .btn { flex: 1 1 100%; }
.wl-note { margin-top: 14px; font-size: 12.5px; color: #c9b69d; font-family: -apple-system, system-ui, sans-serif; }
.wl-done { margin-top: 18px; font-size: 18px; color: #fff; }

.pub-footer { text-align: center; padding: 30px 24px 50px; color: var(--warm-muted); font-size: 13px;
  font-family: -apple-system, system-ui, sans-serif; }

/* join (waitlist) screen */
.join-wrap { max-width: 560px; margin: 0 auto; padding: 32px 0 60px; }
.join-back { font-family: -apple-system, system-ui, sans-serif; font-size: 13px; color: var(--warm-muted); }
.join-title { font-size: 34px; line-height: 1.12; margin: 18px 0 12px; }
.join-sub { font-size: 16px; line-height: 1.55; color: #4a3a28; margin: 0 0 28px; }
.join-form { display: flex; flex-direction: column; gap: 18px; font-family: -apple-system, system-ui, sans-serif; }
.fld { display: flex; flex-direction: column; gap: 7px; }
.fld-label { font-size: 14px; font-weight: 600; color: var(--caff-espresso); }
.fld-label .opt { font-weight: 400; color: var(--warm-muted); }
.join-form input, .join-form select { padding: 12px 13px; border-radius: 10px; border: 1px solid var(--warm-line);
  background: #fffdf9; color: #33200F; font-size: 15px; }
.join-form input:focus, .join-form select:focus { outline: none; border-color: var(--warm-amber); }
.fld-check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #4a3a28; line-height: 1.45; }
.fld-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--warm-amber); }
.join-form .btn { margin-top: 4px; }
.join-done { text-align: center; padding: 30px 0; }
.join-done h2 { font-size: 26px; margin: 0 0 10px; }
.join-done p { color: #4a3a28; font-size: 16px; }

/* admin table */
.admin-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 12px; }
.admin-table th, .admin-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.admin-table th { color: var(--muted); font-weight: 600; }

/* ---- mobile (creators often work phone-first) ---- */
@media (max-width: 560px) {
  .wrap { padding: 16px 14px 50px; }
  h1 { font-size: 19px; }
  .box { padding: 2px 14px; }

  /* brand rows stack so nothing overflows / gets cut off */
  .brand-card { flex-direction: column; align-items: stretch; gap: 10px; }
  .brand-status { min-width: 0; }
  .brand-actions { display: flex; gap: 8px; }
  .brand-actions .btn { flex: 1 1 auto; text-align: center; }

  .addbrand-form input { flex-basis: 100%; }
  .addbrand-form .btn { width: 100%; }

  .brand-head { flex-wrap: wrap; gap: 10px; }
  .results-bar { gap: 10px; }
  /* even the "large" view stays phone-sized; compact gets tighter */
  .results.large .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .results.compact .grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }

  /* comfortable tap targets */
  .btn { padding: 9px 14px; }
  .ref-del { width: 26px; height: 26px; line-height: 24px; }

  /* landing (public) */
  .pub-hero { padding: 34px 0 26px; }
  .pub-hero h1 { font-size: 31px; }
  .lede { font-size: 16px; }
  .pub-benefits { grid-template-columns: 1fr; gap: 12px; margin: 32px 0; }
  .pub-cta .btn-lg { flex: 1 1 auto; text-align: center; }
  .pub-waitlist { padding: 30px 18px; }
  .pub-topbar { padding: 12px 16px; }
  .pub-topbar .btn { padding: 8px 12px; font-size: 13px; }  /* keep room for the descriptor */
  .preview-frame { padding: 8px; border-radius: 12px; }
  .pub-why { flex-direction: column; gap: 22px; text-align: center; margin: 44px auto; }
  .why-video { flex-basis: auto; }
  .video-ph { width: 200px; margin: 0 auto; }
}

/* =================================================================== */
/* ===== Landing v3 (light periwinkle, Bento-inspired) — body.lp ===== */
/* =================================================================== */
body.lp {
  --lp-bg: #FFFFFF; --lp-surface: #FFFFFF;          /* bright clean white base */
  --lp-tint: #EFEDFF; --lp-tint-2: #F5F3FF;
  --lp-accent: #6E62F5; --lp-accent-d: #5B4FE8; --lp-accent-ink: #4035B0;
  /* bold secondary palette */
  --lp-blue: #2E7BE0; --lp-blue-tint: #EAF2FF;
  --lp-green: #14A06B; --lp-green-tint: #E3F7EE;
  --lp-yellow: #D98A12; --lp-yellow-tint: #FCF1D6;
  --lp-coral: #F4604F; --lp-coral-tint: #FFEAE5;
  --lp-deep: #4035B0; --lp-indigo: #4035B0;
  /* bright section tints + bold gradients */
  --lp-bright: #F1F1FF; --lp-bright2: #EAF3FF;
  --lp-grad-cool: linear-gradient(145deg, #6E62F5 0%, #4FA3F0 100%);
  --lp-grad-cta:  linear-gradient(135deg, #6E62F5 0%, #4F86F2 100%);
  --lp-grad-dark: linear-gradient(150deg, #211E3D 0%, #322A5E 100%);
  --bold-ink: #1A1733;                              /* chunky border + hard-shadow color */
  --lp-ink: #221F3A; --lp-muted: #5F5B78; --lp-line: #E7E5F2;
  /* Remap the generic vars under body.lp too: the legacy :root sets them to
     DARK-THEME values (#e8eaed / #9aa3b2), so any element using var(--text)/
     var(--muted) on a light landing page (e.g. /login) rendered near-invisible.
     --muted darkened to #5F5B78 (~6:1 on white) for WCAG-AA contrast. */
  --text: #221F3A; --muted: #5F5B78;
  background: var(--lp-bg); color: var(--lp-ink);
  font-family: "Plus Jakarta Sans", -apple-system, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.lp .dot { color: var(--lp-accent); }
.lp .tm { font-size: .5em; font-weight: 600; vertical-align: super; color: var(--lp-muted); margin-left: 1px; letter-spacing: 0; }
.lp-brand-mark { display: block; }
.lp h1, .lp h2, .lp h3 { letter-spacing: -.02em; }
.lp section { scroll-margin-top: 80px; }

.lp-btn { display: inline-block; padding: 14px 22px; border-radius: 12px; font-family: inherit;
  font-weight: 700; font-size: 15px; cursor: pointer; border: none; text-align: center;
  transition: background .15s, filter .15s, transform .04s; }
.lp-btn:active { transform: translateY(1px); }
.lp-btn-primary { background: var(--lp-accent); color: #fff; }
.lp-btn-primary:hover { background: var(--lp-accent-d); }
.lp-btn-light { background: #fff; color: var(--lp-accent-ink); box-shadow: 0 8px 24px -10px rgba(42,39,64,.4); }
.lp-btn-light:hover { filter: brightness(.97); }

/* header */
.lp-topbar { display: flex; align-items: center; justify-content: space-between;
  max-width: 1160px; margin: 0 auto; padding: 18px 24px; }
.lp-brand { display: flex; align-items: center; gap: 12px; }
.lp-brand img { display: block; }
.lp-brand-text { display: flex; flex-direction: column; line-height: 1.08; }
.lp-wm { font-weight: 800; font-size: 21px; letter-spacing: .03em; color: var(--lp-ink); }
.lp-desc { font-size: 11px; color: var(--lp-muted); letter-spacing: .02em; }
.lp-topbar .lp-btn { padding: 10px 18px; font-size: 14px; }
.lp-nav { display: flex; align-items: center; gap: 18px; }
.lp-login-link { color: var(--lp-ink); font-weight: 600; font-size: 14px; white-space: nowrap; }
.lp-login-link:hover { color: var(--lp-accent); }
@media (max-width: 480px) { .lp-nav { gap: 12px; } .lp-login-link { font-size: 13px; } }

/* hero */
.lp-hero { max-width: 1160px; margin: 0 auto; padding: 40px 24px 48px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.lp-eyebrow { text-transform: uppercase; letter-spacing: .13em; font-size: 12.5px;
  font-weight: 700; color: var(--lp-accent); margin: 0 0 16px; }
.lp-hero h1 { font-size: 52px; line-height: 1.04; font-weight: 800; margin: 0 0 20px; }
.lp-hero h1 .hl { color: var(--lp-accent); }
.lp-lede { font-size: 18px; line-height: 1.6; color: var(--lp-muted); max-width: 540px; margin: 0 0 26px; }

.lp-signup { max-width: 540px; }
.lp-signup-row { display: flex; gap: 10px; }
.lp-signup input[type="email"] { flex: 1; min-width: 0; padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid var(--lp-line); background: #fff; font: inherit; font-size: 15px; color: var(--lp-ink); }
.lp-signup input[type="email"]::placeholder { color: #6B6880; }
.lp-signup input[type="email"]:focus { outline: none; border-color: var(--lp-accent);
  box-shadow: 0 0 0 4px rgba(124,115,255,.16); }
.lp-signup .lp-btn { white-space: nowrap; }
.lp-more { margin-top: 12px; }
.lp-more > summary { list-style: none; cursor: pointer; font-size: 13.5px; font-weight: 600;
  color: var(--lp-accent-ink); user-select: none; }
.lp-more > summary::-webkit-details-marker { display: none; }
.lp-more > summary::before { content: "＋ "; color: var(--lp-accent); }
.lp-more[open] > summary::before { content: "－ "; }
.lp-more > summary span { color: var(--lp-muted); font-weight: 400; }
.lp-more-grid { display: grid; gap: 13px; margin-top: 16px; padding: 16px; background: var(--lp-tint-2);
  border: 1px solid var(--lp-line); border-radius: 14px; }
.lp-fld { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--lp-ink); }
.lp-fld input, .lp-fld select { padding: 11px 13px; border-radius: 10px; border: 1.5px solid var(--lp-line);
  background: #fff; font: inherit; font-weight: 400; font-size: 14px; color: var(--lp-ink); }
.lp-fld input:focus, .lp-fld select:focus { outline: none; border-color: var(--lp-accent); }
.lp-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px;
  color: var(--lp-muted); font-weight: 400; line-height: 1.45; }
.lp-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--lp-accent); flex: 0 0 auto; }
.lp-check b { color: var(--lp-ink); }
.lp-trust { margin-top: 16px; font-size: 13px; color: var(--lp-muted); }
.lp-done { max-width: 540px; background: var(--lp-tint); border: 1px solid var(--lp-line);
  border-radius: 16px; padding: 24px; }
.lp-done h2 { margin: 0 0 6px; font-size: 22px; }
.lp-done p { margin: 0; color: var(--lp-muted); font-size: 15px; line-height: 1.55; }

/* hero art — the big mark + floating result chips */
.lp-hero-art { display: flex; justify-content: center; }
.lp-art-stage { position: relative; width: 100%; max-width: 430px; aspect-ratio: 1 / 1;
  border-radius: 30px; background: var(--lp-tint);
  display: flex; align-items: center; justify-content: center; }
.lp-art-mark { width: 210px; height: 210px; filter: drop-shadow(0 18px 34px rgba(78,70,112,.22)); }
.lp-chip { position: absolute; background: #fff; border: 1px solid var(--lp-line); border-radius: 13px;
  padding: 10px 14px; font-size: 13px; font-weight: 600; color: var(--lp-ink); white-space: nowrap;
  box-shadow: 0 14px 34px -14px rgba(78,70,112,.4); }
.lp-chip b { color: var(--lp-accent-ink); }
.lp-chip::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  margin-right: 7px; vertical-align: middle; background: var(--lp-accent); }
.lp-chip-a::before { background: var(--lp-green); }
.lp-chip-b::before { background: var(--lp-coral); }
.lp-chip-c::before { background: var(--lp-blue); }
.lp-chip-a { top: 24px; left: -10px; }
.lp-chip-b { bottom: 70px; right: -16px; }
.lp-chip-c { bottom: 18px; left: 16px; }

/* who-it's-for strip */
.lp-strip { max-width: 1000px; margin: 8px auto 8px; padding: 0 24px; text-align: center;
  font-size: 14.5px; color: var(--lp-muted); line-height: 1.6; }
.lp-strip span { color: var(--lp-ink); font-weight: 600; }

/* roles */
.lp-roles { max-width: 1080px; margin: 64px auto; padding: 0 24px; }
.lp-roles > h2 { font-size: 30px; text-align: center; margin: 0 auto 36px; max-width: 620px; }
.lp-role-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.lp-role { background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 20px;
  padding: 26px 24px; box-shadow: 0 14px 40px -28px rgba(78,70,112,.45); }
.lp-ic { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border-radius: 14px; background: var(--lp-tint); color: var(--lp-accent); margin-bottom: 16px; }
.lp-role-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--lp-accent); margin: 0 0 4px; }
.lp-role h3 { font-size: 20px; margin: 0 0 9px; }
.lp-role p { font-size: 15px; line-height: 1.55; color: var(--lp-muted); margin: 0; }
.lp-role.r-blue   .lp-ic { background: var(--lp-blue-tint);   color: var(--lp-blue); }
.lp-role.r-blue   .lp-role-tag { color: var(--lp-blue); }
.lp-role.r-yellow .lp-ic { background: var(--lp-yellow-tint); color: var(--lp-yellow); }
.lp-role.r-yellow .lp-role-tag { color: var(--lp-yellow); }
.lp-role.r-green  .lp-ic { background: var(--lp-green-tint);  color: var(--lp-green); }
.lp-role.r-green  .lp-role-tag { color: var(--lp-green); }

/* product preview */
.lp-preview { max-width: 880px; margin: 72px auto; padding: 0 24px; text-align: center; }
.lp-preview-frame { background: #11141a; border-radius: 22px; padding: 14px; max-width: 760px; margin: 0 auto;
  box-shadow: 0 40px 80px -40px rgba(78,70,112,.6); }
.lp-preview-frame img { width: 100%; display: block; border-radius: 10px; }
.lp-preview-cap { margin-top: 16px; font-size: 14px; color: var(--lp-muted); }

/* features */
.lp-features { max-width: 880px; margin: 72px auto; padding: 0 24px; }
.lp-features > h2 { font-size: 30px; text-align: center; margin: 0 auto 32px; max-width: 600px; }
.lp-feat-list { list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.lp-feat-list li { position: relative; padding-left: 34px; font-size: 16px; line-height: 1.5;
  color: var(--lp-ink); }
.lp-feat-list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px;
  border-radius: 50%; background-color: var(--lp-green-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231AA06B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; }

/* how it works */
.lp-how { max-width: 720px; margin: 72px auto; padding: 0 24px; text-align: center; }
.lp-how > h2 { font-size: 30px; margin: 0 auto 30px; max-width: 560px; }
.lp-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; text-align: left; }
.lp-steps li { display: flex; gap: 16px; align-items: flex-start; font-size: 16px; line-height: 1.5;
  background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 16px; padding: 18px 20px; }
.lp-step-n { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: var(--lp-accent);
  color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.lp-steps li:nth-child(1) .lp-step-n { background: var(--lp-blue); }
.lp-steps li:nth-child(2) .lp-step-n { background: var(--lp-yellow); }
.lp-steps li:nth-child(3) .lp-step-n { background: var(--lp-green); }
.lp-steps b { font-weight: 700; }

/* why */
.lp-why { max-width: 900px; margin: 80px auto; padding: 0 24px; display: flex; gap: 40px; align-items: center; }
.lp-why-photo { flex: 0 0 250px; text-align: center; }
.lp-photo-frame { width: 250px; aspect-ratio: 4 / 5; border-radius: 22px; background: var(--lp-tint);
  border: 1.5px dashed var(--lp-line); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; color: var(--lp-accent-ink); }
.lp-photo-note { font-size: 13px; color: var(--lp-muted); line-height: 1.4; }
.lp-photo-note b { color: var(--lp-accent-ink); font-weight: 600; }
.lp-photo-cap { display: block; margin-top: 12px; font-size: 13px; color: var(--lp-muted); }
.lp-photo-cap a { color: var(--lp-muted); text-decoration: underline dotted;
  text-decoration-color: color-mix(in srgb, var(--lp-muted) 55%, transparent);
  text-underline-offset: 3px; transition: color .15s ease; }
.lp-photo-cap a:hover { color: var(--lp-accent); text-decoration-color: var(--lp-accent); }
.lp-why-copy h2 { font-size: 28px; margin: 0 0 14px; }
.lp-why-copy p { font-size: 17px; line-height: 1.65; color: var(--lp-muted); margin: 0; }

/* final CTA */
.lp-cta { max-width: 760px; margin: 72px auto 24px; padding: 52px 28px; text-align: center;
  background: var(--lp-grad-cta); border-radius: 28px; box-shadow: 0 30px 70px -30px rgba(60,45,180,.5); }
.lp-cta h2 { font-size: 30px; margin: 0 0 12px; color: #fff; }
.lp-cta p { font-size: 16px; line-height: 1.55; color: #E0DEFB; margin: 0 auto 24px; max-width: 460px; }
.lp-cta p .tm { color: #B7B1F0; }
.lp-cta b { color: #fff; }

/* footer */
.lp-footer { text-align: center; padding: 48px 24px 56px; border-top: 1px solid var(--lp-line); margin-top: 40px; }
.lp-foot-brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 18px;
  letter-spacing: .03em; color: var(--lp-ink); }
.lp-foot-tag { font-size: 14px; color: var(--lp-muted); margin: 12px 0 6px; }
.lp-foot-legal { font-size: 12.5px; color: var(--lp-muted); margin: 0 auto; max-width: 620px; line-height: 1.5; }
.lp-foot-meta { font-size: 12.5px; color: var(--lp-muted); margin: 8px 0 0; }
.lp-consent a, .lp-foot-meta a, .lp-legal-back, .lp-legal-body a {
  color: var(--lp-accent); text-decoration: underline; text-underline-offset: 2px; }
.lp-consent a:hover, .lp-foot-meta a:hover, .lp-legal-back:hover, .lp-legal-body a:hover { color: var(--lp-accent-d); }

/* consent + trust under the signup */
.lp-consent { margin-top: 14px; font-size: 12px; line-height: 1.5; color: var(--lp-muted); max-width: 540px; }
.lp-trust { margin-top: 8px; font-size: 13px; color: var(--lp-muted); }

/* founding perks + fine print in the CTA */
.lp-perks { list-style: none; margin: 0 auto 24px; padding: 0; display: flex; flex-direction: column;
  gap: 9px; text-align: left; width: fit-content; }
.lp-perks li { position: relative; padding-left: 28px; font-size: 15px; color: #EDEBFA; line-height: 1.4; }
.lp-perks li::before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px;
  border-radius: 50%; background-color: rgba(255,255,255,.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; }
.lp-fineprint { margin: 16px auto 0; font-size: 12px; color: #BBB6EE; max-width: 440px; line-height: 1.5; }

/* legal / privacy page */
.lp-legal { max-width: 720px; margin: 0 auto; padding: 36px 24px 64px; }
.lp-legal-back { display: inline-block; font-size: 13px; margin-bottom: 18px; }
.lp-legal h1 { font-size: 34px; margin: 0 0 6px; }
.lp-legal-sub { font-size: 13px; color: var(--lp-muted); margin: 0 0 28px; }
.lp-legal-body { font-size: 15.5px; line-height: 1.65; color: var(--lp-ink); }
.lp-legal-body h2 { font-size: 16px; margin: 28px 0 8px; color: var(--lp-ink); }
.lp-legal-body p { margin: 0 0 14px; color: #4a4763; }
.lp-legal-body ul { margin: 0 0 14px; padding-left: 22px; color: #4a4763; }
.lp-legal-body li { margin: 6px 0; }
.lp-legal-body strong { color: var(--lp-ink); font-weight: 600; }

@media (max-width: 860px) {
  .lp-hero { grid-template-columns: 1fr; gap: 36px; padding: 28px 22px 36px; }
  .lp-hero-art { order: -1; }
  .lp-art-stage { max-width: 320px; }
  .lp-hero h1 { font-size: 38px; }
  .lp-lede { font-size: 16px; }
  .lp-why { flex-direction: column; gap: 24px; text-align: center; }
  .lp-feat-list { grid-template-columns: 1fr; }
  .lp-roles > h2, .lp-features > h2, .lp-how > h2, .lp-cta h2 { font-size: 25px; }
  .lp-chip-a { top: 8px; left: 0; } .lp-chip-b { bottom: 40px; right: 0; } .lp-chip-c { bottom: 6px; left: 8px; }
}
@media (max-width: 460px) {
  .lp-signup-row { flex-direction: column; }
  .lp-signup .lp-btn { width: 100%; }
  .lp-desc { display: none; }
  .lp-hero h1 { font-size: 32px; }
  .lp-chip { font-size: 11.5px; padding: 8px 11px; }
}

/* ===== batch 4: hero CTA, recognition grid, two paths, modal, bands ===== */
body.lp { overflow-x: hidden; }

/* hero email + button */
.lp-hero-cta { display: flex; gap: 10px; max-width: 520px; }
.lp-hero-cta input { flex: 1; min-width: 0; padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid var(--lp-line); background: #fff; font: inherit; font-size: 15px; color: var(--lp-ink); }
.lp-hero-cta input::placeholder { color: #6B6880; }
.lp-hero-cta input:focus { outline: none; border-color: var(--lp-accent); box-shadow: 0 0 0 4px rgba(124,115,255,.16); }
.lp-hero-cta .lp-btn { white-space: nowrap; }
.lp-trust b { color: var(--lp-ink); }

/* recognition grid (fun: same bean, different looks) */
.lp-recog { max-width: 1040px; text-align: center; padding-left: 24px; padding-right: 24px; }
.lp-recog > h2 { font-size: 30px; margin: 0 auto 10px; max-width: 660px; }
.lp-recog-sub { font-size: 16px; color: var(--lp-muted); max-width: 560px; margin: 0 auto 34px; line-height: 1.55; }
.lp-recog-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cb-tile { display: flex; flex-direction: column; align-items: center; gap: 9px; }
.cb-tile svg { width: 100%; max-width: 132px; height: auto; filter: drop-shadow(0 12px 26px rgba(78,70,112,.14)); }
.cb-label { font-size: 12.5px; font-weight: 500; color: var(--lp-muted); }

/* founding vs beta — two paths */
.lp-founding { max-width: 980px; margin: 76px auto 0; padding: 0 24px; text-align: center; }
.lp-founding > h2 { font-size: 30px; margin: 0 auto 8px; }
.lp-founding > h2 .hl { color: var(--lp-accent); }
.lp-founding-sub { font-size: 16px; color: var(--lp-muted); margin: 0 auto 28px; max-width: 540px; line-height: 1.55; }
.lp-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; text-align: left; }
.lp-path { background: var(--lp-surface); border: 1px solid var(--lp-line); border-radius: 18px; padding: 24px 22px; }
.lp-path-pick { border: 2px solid var(--lp-accent); box-shadow: 0 18px 44px -24px rgba(124,115,255,.55); }
.lp-path-tag { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin: 0 0 8px; }
.lp-path-pick .lp-path-tag { color: var(--lp-accent); }
.lp-path-beta .lp-path-tag { color: var(--lp-muted); }
.lp-path-lead { font-size: 15px; font-weight: 500; color: var(--lp-ink); margin: 0 0 14px; line-height: 1.4; }
.lp-path-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.lp-path-list li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--lp-muted); line-height: 1.4; }
.lp-path-list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px;
  border-radius: 50%; background-color: var(--lp-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237C73FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; }

/* waitlist modal */
body.lp-modal-open { overflow: hidden; }
.lp-modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 20px; }
.lp-modal[hidden] { display: none; }
.lp-modal-backdrop { position: absolute; inset: 0; background: rgba(34,30,54,.55); }
.lp-modal-card { position: relative; z-index: 1; width: 100%; max-width: 470px; max-height: 90vh; overflow: auto;
  background: var(--lp-surface); border-radius: 22px; padding: 28px 26px;
  box-shadow: 0 30px 80px -18px rgba(34,30,54,.55); }
.lp-modal-x { position: absolute; top: 14px; right: 16px; width: 32px; height: 32px; border: none;
  background: transparent; font-size: 24px; line-height: 1; color: var(--lp-muted); cursor: pointer; border-radius: 8px; }
.lp-modal-x:hover { background: var(--lp-tint); color: var(--lp-ink); }
.lp-modal-card h2 { font-size: 22px; margin: 0 0 6px; }
.lp-modal-sub { font-size: 14px; color: var(--lp-muted); margin: 0 0 18px; line-height: 1.5; }
.lp-modal .lp-signup { display: flex; flex-direction: column; gap: 14px; max-width: none; }
.lp-modal-group { font-size: 13px; font-weight: 600; color: var(--lp-ink); margin: 6px 0 0; }
.lp-modal-group span { font-weight: 400; color: var(--lp-muted); }
.lp-modal .lp-more-grid { background: transparent; border: none; padding: 0; margin-top: 12px; }
.lp-modal .lp-consent { margin-top: 6px; }

/* sections: bright clean tints + bold gradient statement bands, full-bleed — keep LAST */
.lp-band-bright, .lp-band-bright2, .lp-band-cool, .lp-band-dark {
  position: relative; margin: 0 auto; padding-top: 72px; padding-bottom: 72px; }
.lp-band-bright::before, .lp-band-bright2::before, .lp-band-cool::before, .lp-band-dark::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; margin-left: -50vw; width: 100vw; }
.lp-band-bright::before  { background: var(--lp-bright); }
.lp-band-bright2::before { background: var(--lp-bright2); }
.lp-band-cool::before    { background: var(--lp-grad-cool); }
.lp-band-dark::before    { background: var(--lp-grad-dark); }
.lp-band-cool, .lp-band-cool h2, .lp-band-dark, .lp-band-dark h2 { color: #fff; }
.lp-preview h2 { font-size: 30px; margin: 0 0 26px; }
.lp-band-cool .lp-preview-cap { color: #E6ECFF; }
.lp-band-cool .lp-preview-frame { border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 44px 90px -36px rgba(40,30,120,.55); }

@media (max-width: 860px) {
  .lp-recog-grid { grid-template-columns: repeat(3, 1fr); }
  .lp-paths { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lp-hero-cta { flex-direction: column; }
  .lp-hero-cta .lp-btn { width: 100%; }
  .lp-recog-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .lp-recog > h2, .lp-founding > h2 { font-size: 25px; }
}

/* ===== batch 5: hero results card, step icons, founder photo ===== */
.lp-rc { background: #fff; border: 1px solid var(--lp-line); border-radius: 24px; padding: 22px 22px 20px;
  box-shadow: 0 36px 80px -34px rgba(78,70,112,.5); max-width: 412px; margin: 0 auto; }
.lp-rc-top { margin-bottom: 16px; }
.lp-rc-eyebrow { display: block; font-size: 12px; font-weight: 600; color: var(--lp-muted); margin-bottom: 2px; }
.lp-rc-count { font-size: 30px; font-weight: 800; color: var(--lp-ink); margin-right: 8px; }
.lp-rc-brands { font-size: 14px; color: var(--lp-muted); }
.lp-rc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lp-rc-ad { position: relative; }
.lp-rc-ad svg { width: 100%; display: block; }
.lp-rc-tag { position: absolute; left: 7px; bottom: 7px; font-size: 10.5px; font-weight: 600;
  background: rgba(255,255,255,.92); color: var(--lp-ink); padding: 2px 7px; border-radius: 7px; }
.lp-rc-new { background: var(--lp-accent); color: #fff; }
.lp-rc-warn { background: var(--lp-coral); color: #fff; }

/* step icons (replaces the numbered circle) */
.lp-step-ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center; }
.lp-step-blue { background: var(--lp-blue-tint); color: var(--lp-blue); }
.lp-step-amber { background: var(--lp-yellow-tint); color: var(--lp-yellow); }
.lp-step-green { background: var(--lp-green-tint); color: var(--lp-green); }
.lp-step-k { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--lp-muted); margin-bottom: 3px; }

/* founder photo (shows once webapp/static/brand/founder.jpg exists) */
.lp-photo-frame { position: relative; overflow: hidden; }
.lp-photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% 20%; }

/* bolder, colorful role cards */
.lp-role.r-blue   { background: #F4F8FF; border-color: #D3E4FB; }
.lp-role.r-yellow { background: #FFFAEF; border-color: #F3E6C2; }
.lp-role.r-green  { background: #EFFAF4; border-color: #CBEFDE; }
.lp-role { box-shadow: 0 18px 44px -26px rgba(60,45,120,.4); }
/* bigger primary button for the hero */
.lp-btn-lg { padding: 16px 28px; font-size: 16px; }

/* ===== batch 7: BOLD kit (B hero + chunky/sticker through-line) ===== */
/* chunky buttons with hard offset shadow */
.lp-btn-primary { border: 2.5px solid var(--bold-ink); box-shadow: 4px 4px 0 var(--bold-ink); }
.lp-btn-primary:hover { background: var(--lp-accent-d); transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--bold-ink); }
.lp-btn-light { border: 2.5px solid var(--bold-ink); box-shadow: 4px 4px 0 var(--bold-ink); }
.lp-btn-light:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--bold-ink); filter: none; }

/* hero: giant bean + big type + sticker chips */
.lpb-hero { position: relative; overflow: hidden; max-width: 1180px; margin: 0 auto; padding: 34px 24px 58px; }
.lpb-bean { position: absolute; right: -18px; top: 6px; width: clamp(240px, 30vw, 392px);
  transform: rotate(-8deg); filter: drop-shadow(0 30px 50px rgba(60,45,160,.22)); z-index: 0; }
.lpb-stickers { position: absolute; inset: 0 24px; z-index: 3; pointer-events: none; }
.lpb-stick { position: absolute; border: 2.5px solid var(--bold-ink); border-radius: 14px; padding: 9px 14px;
  font-weight: 800; font-size: 15px; color: var(--bold-ink); box-shadow: 5px 5px 0 var(--bold-ink); background: #fff; }
.lpb-stick.s1 { right: 6%; top: 26px; transform: rotate(5deg); background: #F6B53C; }
.lpb-stick.s2 { right: 20%; top: 152px; transform: rotate(-6deg); background: #19B57E; color: #fff; }
.lpb-stick.s3 { right: 2%; top: 236px; transform: rotate(3deg); background: #4FA3F0; color: #fff; }
.lpb-inner { position: relative; z-index: 2; max-width: 700px; }
.lpb-inner h1 { font-size: clamp(42px, 5.6vw, 74px); font-weight: 800; color: var(--lp-ink);
  line-height: .96; letter-spacing: -.035em; margin: 16px 0 22px; }
.lpb-mark { background: linear-gradient(transparent 58%, #C8C2FF 58%); padding: 0 .05em; border-radius: 2px; }
.lpb-sub { font-size: 19px; line-height: 1.55; color: #4a4763; margin: 0 0 28px; max-width: 520px; }
.lpb-hero .lp-trust { margin-top: 18px; }

/* chunky bean tiles in the recognition grid */
.cb-tile svg { border: 2.5px solid var(--bold-ink); border-radius: 20px; box-shadow: 4px 4px 0 var(--bold-ink); }
.cb-label { font-weight: 700; color: var(--lp-ink); }

/* bolder role cards */
.lp-role { border-width: 2px; box-shadow: 7px 7px 0 rgba(34,27,90,.07); }

/* founding on the dark slab */
.lp-band-dark .lp-founding-sub { color: rgba(255,255,255,.84); }
.lp-band-dark .lp-founding > h2 .hl { color: #BDB6FF; }
.lp-band-dark .lp-path { border: none; box-shadow: 0 22px 44px -18px rgba(0,0,0,.55); }
.lp-band-dark .lp-path-pick { border: 3px solid var(--lp-accent); box-shadow: 8px 8px 0 rgba(110,98,245,.55); }

@media (max-width: 820px) {
  .lpb-bean { opacity: .16; right: -30px; }
  .lpb-stickers { display: none; }
  .lpb-inner h1 { font-size: clamp(36px, 9vw, 54px); }
}

/* ===== batch 8: copy-pass refinements ===== */
/* features as a single refined column */
.lp-feat-list.lp-feat-1col { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; gap: 16px; }
.lp-feat-1col li { font-size: 17px; }
/* two stacked checkboxes in the modal */
.lp-checks { display: flex; flex-direction: column; gap: 11px; margin-top: 2px; }
/* beta one-liner near the top of the form */
.lp-modal-note { font-size: 13px; line-height: 1.5; color: var(--lp-muted); margin: 0;
  background: var(--lp-tint-2); border-radius: 10px; padding: 10px 13px; }
/* breathing room under the final CTA button */
.lp-cta .lp-btn { margin-bottom: 10px; }
