/* ───────────────────────────────────────────────────────────
   Adsbot Lens — Persona feature page
   Built on lens/lens.css + landing/landing.css component language.
   ─────────────────────────────────────────────────────────── */

/* ── Badges (match app "Popular" pill) ── */
.pg-hero-kicker {
  margin: 16px 0 0;
  font-style: italic;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--teal-600);
}
.badge-new {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: #04202a; background: var(--teal-300); border-radius: var(--r-pill); padding: 5px 12px;
}
.badge-best {
  font-size: 9.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  color: #04202a; background: var(--teal-300); border-radius: 6px; padding: 3px 8px;
}
.badge-delta {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11.5px; font-weight: 700; color: var(--teal-700);
  background: var(--teal-soft); border: 1px solid var(--teal-200);
  border-radius: var(--r-pill); padding: 3px 9px; white-space: nowrap;
}
.badge-delta.muted { color: var(--fg-subtle); background: var(--bg-subtle); border-color: var(--border); }

/* ── Hero ── */
.pg-hero { padding: 84px 0 72px; position: relative; overflow: hidden; }
.pg-hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(54% 44% at 50% -8%, rgba(70,163,170,.10), transparent 70%),
    linear-gradient(180deg, var(--teal-soft) 0%, var(--bg) 52%);
}
.pg-hero-grid {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image:
    linear-gradient(var(--hairline) 1px, transparent 1px),
    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(62% 50% at 50% 0%, #000 28%, transparent 74%);
          mask-image: radial-gradient(62% 50% at 50% 0%, #000 28%, transparent 74%);
}
.pg-hero-copy { max-width: 780px; margin: 0 auto; text-align: center; }
.pg-hero-copy .h1 { margin: 22px 0 0; }
.pg-hero-copy .lede { margin: 20px auto 0; max-width: 640px; }
.pg-hero-cta { margin-top: 30px; }
.pg-hero-cta .btn { padding: 14px 24px; font-size: 15px; }

/* ── Concept explainer — split ── */
.concept { display: grid; grid-template-columns: 0.92fr 1.18fr; gap: 56px; align-items: center; }
@media (max-width: 940px){ .concept { grid-template-columns: 1fr; gap: 40px; } }
.concept-copy .kicker { margin-bottom: 14px; display: block; }
.concept-copy h2 { margin: 0 0 20px; }
.concept-copy p { font-size: 16px; color: var(--fg-muted); line-height: 1.62; margin: 0 0 16px; }
.concept-copy p:last-child { margin-bottom: 0; }
.concept-copy p b { color: var(--fg-strong); font-weight: 600; }

/* ── Product UI panel (shared) ── */
.ui-panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg), 0 44px 80px -50px rgba(28,26,26,.26); overflow: hidden;
}
.ui-panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--hairline); background: var(--surface-2);
}
.ui-panel-title { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 700; color: var(--fg-strong); }
.ui-panel-title svg { color: var(--teal-600); }
.ui-panel-body { padding: 22px; }

/* persona performance widget */
.pp-baseline {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px 18px; border: 1px dashed var(--border-strong); border-radius: var(--r-md);
  background: var(--bg-muted); margin-bottom: 18px;
}
.pp-baseline .bl-l { display: flex; flex-direction: column; gap: 3px; }
.pp-baseline .bl-lab { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-faint); }
.pp-baseline .bl-sub { font-size: 12.5px; color: var(--fg-subtle); }
.pp-baseline .bl-num { font-size: 30px; font-weight: 800; color: var(--fg-subtle); letter-spacing: -0.025em; font-variant-numeric: tabular-nums; }
.pp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 560px){ .pp-cards { grid-template-columns: 1fr; } }
.pp-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 18px 16px;
}
.pp-card.best { border-color: var(--teal-300); background: var(--teal-soft); box-shadow: var(--shadow-sm); }
.pp-card .pp-badge-row { min-height: 18px; margin-bottom: 8px; }
.pp-num { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--fg-strong); }
.pp-card.best .pp-num { color: var(--teal-700); }
.pp-label { font-size: 12.5px; font-weight: 600; color: var(--fg-muted); margin: 9px 0 12px; line-height: 1.3; }
.pp-card.best .pp-label { color: var(--teal-800); }

/* ── 3 question cards ── */
.q-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
@media (max-width: 820px){ .q-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.q-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px 26px; box-shadow: var(--shadow-xs);
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.q-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--teal-200); }
.q-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--teal-soft); display: grid; place-items: center; color: var(--teal-600); margin-bottom: 18px; }
.q-card h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; color: var(--fg-strong); margin: 0 0 9px; line-height: 1.2; }
.q-card p { font-size: 14.5px; color: var(--fg-muted); line-height: 1.55; margin: 0; }

/* ── Persona × platform matrix ── */
.matrix-wrap { max-width: 880px; margin: 44px auto 0; }
.matrix { width: 100%; border-collapse: separate; border-spacing: 6px; }
.matrix th {
  font-size: 12px; font-weight: 700; color: var(--fg-subtle); text-align: center; padding: 4px 6px 10px;
}
.matrix th.rowhead { text-align: left; width: 28%; }
.matrix th .mh { display: inline-flex; align-items: center; gap: 7px; justify-content: center; }
.matrix th .mh .model-ic { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 800; }
.matrix td.rowhead {
  font-size: 13.5px; font-weight: 600; color: var(--fg-strong); text-align: left; padding-right: 12px; white-space: nowrap;
}
.matrix td.rowhead small { display: block; font-size: 11px; font-weight: 500; color: var(--fg-faint); }
.matrix .cell {
  text-align: center; border-radius: var(--r-sm); padding: 14px 6px;
  font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.matrix tr.baseline td.rowhead { color: var(--fg-subtle); font-weight: 600; }
.matrix .cell.base { background: transparent; color: var(--fg-faint); font-weight: 700; border: 1px dashed var(--border); }
/* teal intensity buckets */
.cell.i1 { background: var(--teal-50);  color: var(--teal-700); }
.cell.i2 { background: var(--teal-100); color: var(--teal-800); }
.cell.i3 { background: var(--teal-300); color: #06262b; }
.cell.i4 { background: var(--teal-400); color: #fff; }
.cell.i5 { background: var(--teal-500); color: #fff; }
.cell.i6 { background: var(--teal-700); color: #fff; }
.matrix-legend { display: flex; align-items: center; justify-content: flex-end; gap: 11px; margin-top: 16px; font-size: 11.5px; color: var(--fg-subtle); }
.legend-strip { width: 140px; height: 9px; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--teal-50), var(--teal-300), var(--teal-600)); }

/* ── Supporting stats — 2 panels ── */
.stat2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
@media (max-width: 820px){ .stat2 { grid-template-columns: 1fr; } }
.stat2-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-xs); }
.stat2-card h3 { font-size: 15px; font-weight: 700; color: var(--fg-strong); margin: 0 0 4px; }
.stat2-note { font-size: 12.5px; color: var(--fg-subtle); margin: 0 0 22px; line-height: 1.45; }

/* horizontal bar chart */
.hbar { margin-bottom: 18px; }
.hbar:last-child { margin-bottom: 0; }
.hbar-top { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 7px; }
.hbar-name { font-size: 13px; font-weight: 600; color: var(--fg); }
.hbar-val { font-size: 13px; font-weight: 800; color: var(--fg-strong); font-variant-numeric: tabular-nums; }
.hbar-track { height: 12px; border-radius: var(--r-pill); background: var(--bg-subtle); overflow: hidden; }
.hbar-fill { height: 100%; border-radius: var(--r-pill); background: var(--teal-500); }
.hbar-fill.weak { background: var(--warn); }

/* best platform list */
.bp-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid var(--hairline); }
.bp-row:first-of-type { border-top: none; }
.bp-persona { font-size: 13.5px; font-weight: 700; color: var(--fg-strong); }
.bp-tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.bp-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; border-radius: var(--r-pill); padding: 4px 10px; }
.bp-tag.up { color: var(--teal-700); background: var(--teal-soft); border: 1px solid var(--teal-200); }
.bp-tag.down { color: var(--warn); background: var(--warn-soft); border: 1px solid #f5d9a3; }

/* ── How personas work — inline 3-step ── */
.flow3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 820px){ .flow3 { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } }
.flow3-step { display: flex; flex-direction: column; }
.flow3-n {
  width: 34px; height: 34px; border-radius: 10px; background: var(--teal-500); color: #fff;
  display: grid; place-items: center; font-size: 14px; font-weight: 800; margin-bottom: 16px; box-shadow: var(--shadow-teal);
}
.flow3-step h3 { font-size: 16px; font-weight: 700; color: var(--fg-strong); margin: 0 0 8px; }
.flow3-step p { font-size: 14px; color: var(--fg-muted); line-height: 1.55; margin: 0; }
