/* ───────────────────────────────────────────────────────────
   Adsbot Lens — Landing page styles
   Built on the Lens design language (teal + warm charcoal, Inter).
   Tokens come from lens/lens.css.
   ─────────────────────────────────────────────────────────── */

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Typography helpers ── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 9px;
  border-radius: var(--r-pill);
  background: var(--teal-soft);
  border: 1px solid var(--teal-200);
  color: var(--teal-700);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(70,163,170,.18);
}
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; color: var(--fg-strong); }
.h1 { font-size: clamp(38px, 5.2vw, 60px); font-weight: 800; line-height: 1.04; }
.h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; line-height: 1.08; }
.lede { font-size: clamp(16px, 1.6vw, 19px); color: var(--fg-muted); line-height: 1.55; }
.kicker {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--teal-600);
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 600; font-size: 14.5px;
  border-radius: var(--r-md); padding: 12px 20px; cursor: pointer;
  border: 1px solid transparent; transition: all .16s ease; white-space: nowrap;
}
.btn-primary { background: var(--teal-500); color: #fff; box-shadow: var(--shadow-teal); }
.btn-primary:hover { background: var(--teal-600); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(70,163,170,.28); }
.btn-ghost { background: var(--surface); color: var(--fg); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--bg-muted); border-color: var(--fg-faint); }
.btn-light { background: #fff; color: var(--navy-950); }
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-sm { padding: 9px 15px; font-size: 13.5px; }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-logo { height: 34px; width: auto; display: block; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--navy-950); display: grid; place-items: center;
}
.brand-name { font-weight: 700; font-size: 16px; letter-spacing: -0.02em; color: var(--fg-strong); }
.brand-name span { color: var(--teal-600); }
.nav-links { display: flex; align-items: center; gap: 26px; margin-left: 8px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--fg-muted); transition: color .15s; }
.nav-links a:hover { color: var(--fg-strong); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav-signin { font-size: 14px; font-weight: 600; color: var(--fg-muted); }
.nav-signin:hover { color: var(--fg-strong); }

/* ── Nav: active link + mobile hamburger ── */
.nav-links a.active { color: var(--fg-strong); font-weight: 600; }
.nav-burger {
  display: none; align-items: center; justify-content: center;
  width: 38px; height: 38px; padding: 0;
  border: 1px solid var(--border-strong); border-radius: var(--r-md);
  background: var(--surface); color: var(--fg-strong); cursor: pointer;
  transition: background .15s, border-color .15s;
}
.nav-burger:hover { background: var(--bg-muted); border-color: var(--fg-faint); }
@media (max-width: 860px) {
  .nav-burger { display: inline-flex; }
  .nav-signin { display: none; }
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px 0;
    background: rgba(255,255,255,.98);
    backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid var(--hairline);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 32px; font-size: 15px; }
  .nav-links a:hover { background: var(--bg-muted); }
}

/* ── Hero ── */
.hero { padding: 76px 0 0; position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 50% -8%, rgba(70,163,170,.10), transparent 70%),
    linear-gradient(180deg, var(--teal-soft) 0%, var(--bg) 46%);
}
.hero-grid-fade {
  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(70% 55% at 50% 0%, #000 30%, transparent 75%);
          mask-image: radial-gradient(70% 55% at 50% 0%, #000 30%, transparent 75%);
}
.hero-copy { max-width: 760px; margin: 0 auto; text-align: center; }
.hero-copy .h1 { margin: 22px 0 0; }
.hero-copy .h1 em { font-style: normal; color: var(--teal-600); }
.hero-copy .lede { margin: 20px auto 0; max-width: 620px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-top: 30px; }
.hero-trust {
  margin-top: 18px; font-size: 13px; color: var(--fg-subtle); line-height: 1.6;
}
.hero-trust svg { display: inline; vertical-align: -2px; margin-right: 6px; }
.hero-trust b { color: var(--fg); font-weight: 700; }

/* ── Product mock (hero dashboard) ── */
.mock-frame {
  margin: 52px auto 0; max-width: 1000px;
  border-radius: 16px 16px 0 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-bottom: none;
  box-shadow: var(--shadow-lg), 0 40px 80px -40px rgba(28,26,26,.22);
  overflow: hidden;
}
.mock-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 16px; border-bottom: 1px solid var(--hairline);
  background: var(--surface-2);
}
.mock-dots { display: flex; gap: 6px; }
.mock-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.mock-url {
  margin-left: 10px; flex: 1; max-width: 360px;
  font-size: 12px; color: var(--fg-subtle);
  background: var(--bg-muted); border: 1px solid var(--hairline);
  border-radius: var(--r-pill); padding: 5px 12px;
  display: inline-flex; align-items: center; gap: 6px;
}
.mock-body { padding: 22px; background: var(--bg-muted); }

.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.dash-title { display: flex; align-items: center; gap: 12px; }
.dash-avatar {
  width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0;
  background: #fff; border: 1px solid var(--border);
  display: grid; place-items: center; font-weight: 800; font-size: 16px; color: var(--teal-600);
}
.dash-title h4 { margin: 0; font-size: 15px; font-weight: 700; color: var(--fg-strong); }
.dash-title p {
  margin: 2px 0 0; font-size: 12px; color: var(--teal-700);
  display: inline-flex; align-items: center; gap: 5px;
}
.dash-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px;
  border-radius: var(--r-pill); background: var(--success-soft); color: var(--success);
  font-size: 11.5px; font-weight: 600;
}
.dash-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--success); }

.dash-tabs { display: flex; gap: 4px; margin: 4px 0 14px; border-bottom: 1px solid var(--border); }
.dash-tabs span {
  padding: 8px 14px; font-size: 12.5px; font-weight: 500; color: var(--fg-subtle);
  border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.dash-tabs span.active { color: var(--teal-700); font-weight: 700; border-bottom-color: var(--teal-500); }

.dash-grid { display: grid; grid-template-columns: 0.92fr 1.5fr; gap: 14px; }
@media (max-width: 720px){ .dash-grid { grid-template-columns: 1fr; } }
.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 13px; padding: 16px 18px;
}
.ring-panel { display: grid; place-items: center; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.trend-chip {
  display: inline-flex; align-items: center; gap: 5px; flex-shrink: 0;
  font-size: 10.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;
}
.dash-trend-svg { width: 100%; height: 86px; display: block; }
.dash-trend-axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: 10px; font-weight: 600; color: var(--fg-faint); }
.panel-label {
  font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--fg-faint); margin-bottom: 12px;
}
.ring-row { display: flex; align-items: center; gap: 16px; }
.ring-meta .big {
  font-size: 30px; font-weight: 800; color: var(--fg-strong); letter-spacing: -0.02em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.ring-meta .lbl { font-size: 12px; color: var(--fg-subtle); margin-top: 4px; }
.ring-meta .delta {
  display: inline-flex; align-items: center; gap: 3px; margin-top: 8px;
  font-size: 12px; font-weight: 700; color: var(--success);
}

.model-row { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
.model-row:last-child { margin-bottom: 0; }
.model-ic {
  width: 24px; height: 24px; border-radius: 7px; flex-shrink: 0;
  display: grid; place-items: center; color: #fff; font-size: 11px; font-weight: 800;
}
.model-name { font-size: 12.5px; font-weight: 600; color: var(--fg); width: 78px; flex-shrink: 0; }
.bar-track { flex: 1; height: 7px; border-radius: 7px; background: var(--bg-subtle); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 7px; }
.model-val { font-size: 12px; font-weight: 700; color: var(--fg-strong); width: 30px; text-align: right; font-variant-numeric: tabular-nums; }

.dash-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 14px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 13px; padding: 13px 14px; }
.stat .cap-ic {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 9px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--fg-subtle);
}
.stat .num {
  font-size: 23px; font-weight: 800; color: var(--fg-strong); letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums; line-height: 1;
}
.stat .cap { font-size: 11.5px; color: var(--fg-subtle); margin-top: 5px; }
.stat .num em { font-style: normal; font-size: 13px; color: var(--success); font-weight: 700; margin-left: 5px; }

/* per-model breakdown */
.dash-mlabel {
  font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--fg-faint); margin: 18px 0 11px;
}
.dash-models { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 720px){ .dash-models { grid-template-columns: 1fr; } }
.mcard { background: var(--surface); border: 1px solid var(--border); border-radius: 13px; padding: 14px 15px; }
.mcard-top { display: flex; align-items: center; gap: 10px; margin-bottom: 11px; }
.mcard-id { flex: 1; min-width: 0; }
.mcard-id .mn { display: block; font-size: 13px; font-weight: 700; color: var(--fg-strong); }
.mcard-id .mc { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--fg-faint); margin-top: 1px; }
.mcard-id .mc.cited { color: var(--success); }
.mcard .ms { font-size: 22px; font-weight: 800; color: var(--fg-strong); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.mcard .bar-track { width: 100%; margin-bottom: 9px; }
.mcard-meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--fg-subtle); }
.mcard-meta b { color: var(--fg); font-weight: 700; font-variant-numeric: tabular-nums; }

/* ── Section scaffolding ── */
section { position: relative; }
.band { padding: 84px 0; }
.band-tint { background: var(--bg-muted); border-block: 1px solid var(--hairline); }
.sec-head { max-width: 640px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head .h2 { margin: 12px 0 0; }
.sec-head .lede { margin: 16px 0 0; }

/* ── Models strip ── */
.models { padding: 40px 0; border-bottom: 1px solid var(--hairline); }
.models-lab { text-align: center; font-size: 13px; font-weight: 600; color: var(--fg-faint); letter-spacing: .02em; }
.models-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px; margin-top: 22px;
}
.model-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-xs);
}
.model-chip .ic {
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  color: #fff; font-size: 12px; font-weight: 800;
}
.model-chip span { font-size: 15px; font-weight: 600; color: var(--fg); }

/* ── Score explainer ── */
.score-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 880px){ .score-layout { grid-template-columns: 1fr; gap: 40px; } }
.score-visual {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  box-shadow: var(--shadow-md); padding: 40px; text-align: center;
  position: relative; overflow: hidden;
}
.score-visual::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 50% 0%, var(--teal-soft), transparent 70%);
}
.score-visual > * { position: relative; }
.score-sub { margin-top: 18px; font-size: 13px; color: var(--fg-subtle); }
.score-sub b { color: var(--fg-strong); }
.score-chips { display: inline-flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; justify-content: center; }
.score-chip {
  font-size: 12px; font-weight: 600; color: var(--teal-700);
  background: var(--teal-soft); border: 1px solid var(--teal-200);
  border-radius: var(--r-pill); padding: 5px 11px;
}

.factors { display: flex; flex-direction: column; gap: 4px; margin-top: 26px; }
.factor {
  display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 14px;
  padding: 15px 4px; border-bottom: 1px solid var(--hairline);
}
.factor:last-child { border-bottom: none; }
.factor-ic {
  width: 38px; height: 38px; border-radius: 10px; background: var(--teal-soft);
  display: grid; place-items: center; color: var(--teal-600);
}
.factor h4 { font-size: 14.5px; font-weight: 700; color: var(--fg-strong); margin: 0; }
.factor p { font-size: 13px; color: var(--fg-subtle); margin: 3px 0 0; line-height: 1.45; }
.factor-w { font-size: 12px; font-weight: 700; color: var(--fg-faint); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ── Feature 3-up ── */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
@media (max-width: 880px){ .feat-grid { grid-template-columns: 1fr; } }
.feat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 26px; box-shadow: var(--shadow-xs); transition: box-shadow .18s, transform .18s, border-color .18s;
}
.feat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--teal-200); }
.feat-ic {
  width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft);
  display: grid; place-items: center; color: var(--teal-600); margin-bottom: 18px;
}
.feat-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.feat-card p { font-size: 14px; color: var(--fg-muted); margin: 0; line-height: 1.55; }

/* mini competitor viz inside a feature card */
.cmp-row { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; font-size: 12px; }
.cmp-row:last-child { margin-bottom: 0; }
.cmp-name { width: 84px; color: var(--fg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmp-name.you { color: var(--teal-700); font-weight: 700; }
.cmp-track { flex: 1; height: 8px; border-radius: 8px; background: var(--bg-subtle); overflow: hidden; }
.cmp-fill { height: 100%; border-radius: 8px; background: var(--border-strong); }
.cmp-fill.you { background: var(--teal-500); }
.cmp-val { width: 30px; text-align: right; font-weight: 700; color: var(--fg); font-variant-numeric: tabular-nums; }

/* prompt list mini */
.prompt-row { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px solid var(--hairline); font-size: 12.5px; }
.prompt-row:last-child { border-bottom: none; }
.prompt-q { flex: 1; color: var(--fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prompt-badge { font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: var(--r-pill); }
.prompt-badge.hit { background: var(--success-soft); color: var(--success); }
.prompt-badge.miss { background: var(--bg-subtle); color: var(--fg-faint); }

/* trend mini chart fills naturally via svg */
.trend-mini { width: 100%; height: 88px; }

/* ── Final CTA ── */
.cta {
  background: var(--navy-950);
  color: #fff; border-radius: var(--r-xl);
  padding: 64px 56px; text-align: center; position: relative; overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 90% at 50% 120%, rgba(70,163,170,.32), transparent 60%);
}
.cta > * { position: relative; }
.cta .h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.66); font-size: 17px; margin: 16px auto 0; max-width: 480px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; margin-top: 30px; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.cta .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.cta-note { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.5); }

/* ── Footer ── */
.footer { padding: 44px 0; border-top: 1px solid var(--hairline); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 13.5px; color: var(--fg-subtle); }
.footer-links a:hover { color: var(--fg); }
.footer-copy { font-size: 13px; color: var(--fg-faint); }

/* ── Reveal animation ── */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
}

/* ───────────────────────────────────────────────────────────
   WordPress menu integration
   wp_nav_menu() outputs <ul class="nav-links"><li><a>…</a></li></ul>,
   so normalise the list and map WP's current-item class to .active.
   ─────────────────────────────────────────────────────────── */
.nav .nav-links { list-style: none; margin: 0 0 0 8px; padding: 0; }
.nav .nav-links li { display: flex; }
.nav .nav-links a { display: flex; align-items: center; }
.nav .nav-links a.active,
.nav .nav-links .current-menu-item > a,
.nav .nav-links .current_page_item > a,
.nav .nav-links .current-menu-ancestor > a { color: var(--fg-strong); font-weight: 600; }
@media (max-width: 860px) {
  .nav .nav-links { margin: 0; }
}

.footer .footer-links { list-style: none; margin: 0; padding: 0; }
.footer .footer-links li { display: inline-flex; }
