/* Reputation Radar — "Editorial Authority"
   Ad-agency / PR house style: warm ivory paper, near-black ink, a bold oxblood
   accent, and a high-contrast serif headline. Confident, corporate, editorial.
*/

:root {
  --bg:          #F4F1EA;  /* warm bone / paper */
  --bg-2:        #EFEAE0;
  --surface:     #FFFFFF;  /* cards */
  --surface-2:   #F1ECE2;  /* sand fills / inputs */
  --ink:         #16171B;  /* near-black, primary text */
  --ink-soft:    #4F525A;  /* secondary text */
  --ink-dim:     #8B8E97;  /* captions, muted */
  --accent:      #A11B2E;  /* oxblood — the bold accent */
  --accent-deep: #84121F;  /* hover */
  --accent-soft: rgba(161, 27, 46, .08);
  --on-accent:   #FFFFFF;  /* text on the oxblood */
  --pop:         #9A7833;  /* brass — secondary warm accent */
  --pop-deep:    #836427;
  --pop-soft:    rgba(154, 120, 51, .12);
  --line:        #E3DDD0;  /* warm borders */
  --line-soft:   #EDE8DD;
  --ok:          #2E7D52;
  --warn:        #9A7833;
  --err:         #A11B2E;
  --shadow:      0 1px 2px rgba(20,18,12,.04), 0 10px 28px rgba(20,18,12,.06);
  --shadow-lg:   0 6px 18px rgba(20,18,12,.07), 0 30px 60px rgba(20,18,12,.10);
  --glow:        0 1px 2px rgba(20,18,12,.05), 0 18px 44px rgba(161,27,46,.10);
  --radius:      12px;
  --radius-sm:   7px;
  --container:   1180px;
  --font-sans:   'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display:'Fraunces', 'Georgia', 'Times New Roman', serif;
  --font-mono:   'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(161,27,46,.3);
  transition: color .15s ease, border-color .15s ease;
}
a:hover { color: var(--accent-deep); border-bottom-color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0 0 .55em;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 600; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
h3 { font-size: 1.3rem; font-weight: 600; }

p { margin: 0 0 1em; }
code, kbd, .mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--surface-2);
  padding: .12em .4em;
  border-radius: 4px;
  font-size: .9em;
  color: var(--accent);
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.4rem; }

.muted { color: var(--ink-soft); }
.dim { color: var(--ink-dim); }
.small { font-size: .9rem; }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}
.eyebrow::before {
  content: ''; width: 26px; height: 2px; background: var(--accent);
}
.eyebrow-amber { color: var(--pop); }
.eyebrow-amber::before { background: var(--pop); }
.eyebrow-ghost { color: var(--ink-dim); }
.eyebrow-ghost::before { background: var(--line); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff;
  padding: .5rem .75rem; z-index: 1000; border: none;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 241, 234, .85);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1.4rem; }
.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  color: var(--ink); font-weight: 600; border: none;
  font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -.01em;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 7px;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
}

.primary-nav { display: flex; align-items: center; gap: 1.5rem; }
.primary-nav a {
  color: var(--ink-soft); font-weight: 500; border: none; font-size: .95rem;
}
.primary-nav a:hover, .primary-nav a.active { color: var(--ink); }

.nav-cta {
  background: var(--accent); color: var(--on-accent) !important;
  padding: .55rem 1.3rem; border-radius: 7px;
  font-weight: 600 !important; font-size: .9rem !important; border: none !important;
}
.nav-cta:hover { background: var(--accent-deep); color: var(--on-accent) !important; }

.nav-toggle { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; width: 40px; height: 40px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute; top: 100%; right: 0; left: 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem 1.4rem 1rem; max-height: 0; overflow: hidden;
    transition: max-height .25s ease; box-shadow: var(--shadow);
  }
  .primary-nav.open { max-height: 560px; }
  .primary-nav a { padding: .85rem 0; border-bottom: 1px solid var(--line-soft); }
  .primary-nav a:last-child { border-bottom: 0; }
  .nav-cta { margin-top: .5rem; text-align: center; }
}

/* ── Flash ── */
.flash-stack { margin-top: 1rem; }
.flash {
  padding: .8rem 1rem; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--line);
  margin-bottom: .5rem; color: var(--ink); box-shadow: var(--shadow);
}
.flash-success { border-left: 3px solid var(--ok); }
.flash-error   { border-left: 3px solid var(--err); }
.flash-warning { border-left: 3px solid var(--warn); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: 8px;
  font-weight: 600; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .15s, color .15s, border-color .15s, transform .08s, box-shadow .2s;
  font-family: var(--font-sans);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); border: none; }
.btn-primary:hover { background: var(--accent-deep); box-shadow: 0 8px 22px rgba(161,27,46,.25); }
.btn-ink { background: var(--ink); color: #fff; border: none; }
.btn-ink:hover { background: #2c2e35; }
.btn-amber { background: var(--pop); color: #fff; border: none; }
.btn-amber:hover { background: var(--pop-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn.full { display: flex; width: 100%; }
.btn-sm { padding: .55rem 1rem; font-size: .88rem; border-radius: 6px; }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; border-radius: 9px; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

/* ── Hero ── */
.hero { padding: clamp(3.5rem, 8vw, 7rem) 0 clamp(2.5rem, 5vw, 4.5rem); }
.hero-grid { display: grid; gap: clamp(2rem, 4vw, 4rem); grid-template-columns: 1.15fr 1fr; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hi { color: var(--accent); font-style: italic; }
.hi-amber { color: var(--pop); font-style: italic; }
.lede { font-size: clamp(1.08rem, 1.3vw, 1.25rem); color: var(--ink-soft); max-width: 40em; }
.trust-row { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.9rem; }
.trust-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--surface); border: 1px solid var(--line);
  padding: .4rem .9rem; border-radius: 999px; font-size: .82rem; color: var(--ink-soft); font-weight: 500;
}
.trust-pill::before { content: '✓'; color: var(--accent); font-weight: 700; }

/* Radar (decorative, kept subtle if used) */
.radar { display: none; }

/* Hero "recent clippings" card */
.hero-card {
  background: var(--surface); border-radius: var(--radius); padding: 1.7rem;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.hero-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); }
.card-h {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-sans); font-size: .7rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-dim); margin-bottom: 1rem;
}
.live-dot { display: inline-flex; align-items: center; gap: .4rem; color: var(--accent); }
.live-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.feed-row { display: flex; align-items: flex-start; gap: .7rem; padding: .75rem 0; border-bottom: 1px solid var(--line-soft); font-size: .92rem; }
.feed-row:last-child { border-bottom: 0; }
.feed-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; margin-top: .4rem; }
.feed-dot.pos { background: var(--ok); }
.feed-dot.neu { background: var(--ink-dim); }
.feed-dot.neg { background: var(--accent); }
.feed-row .src { font-family: var(--font-sans); font-size: .68rem; color: var(--ink-dim); letter-spacing: .07em; text-transform: uppercase; font-weight: 600; }
.feed-row .txt { color: var(--ink); }

.score-row { display: flex; align-items: center; justify-content: space-between; padding: .7rem 0; border-bottom: 1px solid var(--line-soft); font-size: .94rem; }
.score-row:last-child { border-bottom: 0; }
.score-bar { height: 7px; width: 120px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.score-bar span { display: block; height: 100%; background: var(--accent); }

/* ── Sections ── */
.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-screen { background: var(--ink); color: #EDE8DD; }
.section-screen h1, .section-screen h2, .section-screen h3 { color: #fff; }
.section-screen .muted { color: #B6B2A8; }
.section-screen .strip-num { color: #fff; }
.section-screen .eyebrow { color: var(--pop); }
.section-screen .eyebrow::before { background: var(--pop); }
.section-head { margin-bottom: 2.6rem; max-width: 46em; }
.section-head.center { margin-inline: auto; }

/* ── Service / feature cards ── */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 920px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } }
.service-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.7rem;
  transition: transform .2s, border-color .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: var(--shadow-lg); }
.service-ico {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent); font-size: 1.35rem; margin-bottom: 1.1rem;
}
.service-card h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.service-card .tagline { color: var(--accent); font-weight: 600; font-size: .94rem; margin-bottom: .6rem; }
.service-card .desc { color: var(--ink-soft); font-size: .94rem; flex-grow: 1; margin-bottom: 1.1rem; }
.service-card .card-link { border: none; font-weight: 600; font-size: .92rem; color: var(--accent); }
.service-card .card-link::after { content: ' →'; }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: .5rem; }
.step .num {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin-bottom: 1rem;
}
.step h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.step p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ── Source coverage list ── */
.source-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
@media (max-width: 820px) { .source-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .source-grid { grid-template-columns: 1fr; } }
.source-item {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .85rem 1.1rem;
}
.source-item .name { font-weight: 500; }
.source-tag { font-family: var(--font-sans); font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .55rem; border-radius: 999px; }
.source-tag.live { color: var(--on-accent); background: var(--accent); }
.source-tag.soon { color: var(--ink-dim); background: var(--surface-2); border: 1px solid var(--line); }

/* ── Stat strip ── */
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
@media (max-width: 720px) { .strip-grid { grid-template-columns: 1fr; gap: 1.5rem; } }
.strip-num { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 600; line-height: 1; color: var(--accent); }
.strip .label { color: var(--ink-soft); margin-top: .5rem; font-size: .92rem; }

/* ── CTA band ── */
.cta-band { background: var(--ink); border-radius: var(--radius); padding: clamp(2.2rem, 4vw, 3.5rem); text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #C7C3B9; max-width: 38em; margin-inline: auto; }

/* ── Forms ── */
.form-stack { display: grid; gap: 1.1rem; max-width: 38em; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.85rem; box-shadow: var(--shadow); }
.form-stack .row { display: grid; gap: .35rem; }
.form-stack label { font-weight: 600; font-size: .9rem; color: var(--ink); }
.form-stack input, .form-stack textarea, .form-stack select {
  width: 100%; font: inherit; color: var(--ink); padding: .78rem .95rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s; font-family: var(--font-sans);
}
.form-stack input::placeholder, .form-stack textarea::placeholder { color: var(--ink-dim); }
.form-stack input:focus, .form-stack textarea:focus, .form-stack select:focus {
  outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-stack .err, .errorlist { color: var(--err); font-size: .88rem; margin: .2rem 0 0; padding: 0; list-style: none; }
.form-stack .help, .helptext { color: var(--ink-dim); font-size: .85rem; margin: 0; }

.inline-form { display: flex; gap: .5rem; flex-wrap: wrap; max-width: 30em; }
.inline-form input {
  flex: 1 1 14em; font: inherit; color: var(--ink); padding: .7rem .9rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.inline-form input::placeholder { color: var(--ink-dim); }
.inline-form input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* ── Dashboard ── */
.dash-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.req-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.req-table th, .req-table td { text-align: left; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line-soft); }
.req-table th { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); }
.req-table tr:last-child td { border-bottom: 0; }
.req-table a { border: none; font-weight: 600; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; }
.badge-queued { background: var(--surface-2); color: var(--ink-soft); }
.badge-active { background: var(--accent-soft); color: var(--accent); }
.badge-ready { background: rgba(46,125,82,.14); color: var(--ok); }
.badge-alert { background: var(--pop-soft); color: var(--pop-deep); }
.empty { text-align: center; padding: 3rem 1.5rem; background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }

/* ── Subscription banner ── */
.sub-banner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 1rem 1.4rem; margin-bottom: 2rem; }
.sub-banner.warn { border-left-color: var(--pop); }
.sub-banner .small { color: var(--ink-dim); }

/* ── Review-request landing (customer-facing) ── */
.review-page { min-height: 100vh; display: grid; place-items: center; }
.review-shell { width: 100%; max-width: 460px; padding: 2rem 1.25rem; text-align: center; }
.review-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.5rem 1.75rem; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.review-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); }
.review-stars { color: var(--pop); font-size: 2rem; letter-spacing: .2rem; margin-bottom: 1rem; }
.review-business { font-family: var(--font-sans); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 .75rem; }
.review-headline { font-size: clamp(1.6rem, 4vw, 2.1rem); margin-bottom: .6rem; }
.review-message { color: var(--ink-soft); margin-bottom: 1.5rem; }
.review-cta { margin-top: .5rem; }
.review-secondary { display: inline-block; margin-top: 1.25rem; border: none; color: var(--ink-dim); font-size: .9rem; border-bottom: 1px solid var(--line); }
.review-secondary:hover { color: var(--ink-soft); }
.review-thanks { color: var(--ink-dim); font-size: .85rem; margin: 1.5rem 0 0; }
.review-poweredby { margin-top: 1.5rem; font-size: .8rem; color: var(--ink-dim); }
.review-poweredby a { color: var(--ink-soft); border-bottom-color: var(--line); }

/* ── Dashboard: review links ── */
.review-link-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (max-width: 720px) { .review-link-grid { grid-template-columns: 1fr; } }
.review-link-card { display: flex; gap: 1.1rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); }
.review-link-qr { flex: none; width: 96px; height: 96px; border-radius: 10px; background: #fff; padding: 6px; box-sizing: border-box; border: 1px solid var(--line); }
.review-link-qr img, .review-link-qr svg { width: 100%; height: 100%; display: block; }
.review-link-body { min-width: 0; flex: 1; }
.review-link-body h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.review-link-url { display: flex; gap: .4rem; align-items: center; margin: .4rem 0 .6rem; }
.review-link-url input { flex: 1; min-width: 0; font: inherit; font-size: .82rem; color: var(--ink-soft); background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: .4rem .6rem; font-family: ui-monospace, Menlo, monospace; }
.copy-btn { flex: none; cursor: pointer; font: inherit; font-size: .78rem; font-weight: 600; color: var(--on-accent); background: var(--accent); border: none; border-radius: 6px; padding: .42rem .7rem; }
.copy-btn:hover { background: var(--accent-deep); }
.review-link-stats { font-size: .8rem; color: var(--ink-dim); }
.review-link-stats b { color: var(--accent); font-weight: 700; }
.review-link-stats a { border: none; color: var(--ink-soft); }

/* ── Pricing ── */
.price-toggle { display: inline-flex; align-items: center; gap: .25rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: .25rem; margin: 0 auto 2.5rem; }
.price-toggle button { border: 0; background: transparent; font: inherit; font-weight: 600; font-size: .9rem; color: var(--ink-soft); padding: .5rem 1.1rem; border-radius: 999px; cursor: pointer; }
.price-toggle button.active { background: var(--ink); color: #fff; }
.price-toggle .save { color: var(--accent); font-weight: 700; font-size: .8rem; }

.plan-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; max-width: 1000px; margin: 0 auto; align-items: stretch; }
.plan-card { flex: 1 1 280px; max-width: 320px; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.75rem; display: flex; flex-direction: column; }
.plan-card.plan-featured { border: 2px solid var(--accent); box-shadow: var(--shadow-lg); }
.plan-flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--on-accent); font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .28rem .8rem; border-radius: 999px; white-space: nowrap; }
.plan-card h3 { font-size: 1.5rem; margin-bottom: .2rem; }
.plan-tagline { color: var(--ink-soft); font-size: .92rem; margin-bottom: 1.1rem; min-height: 2.6em; }
.plan-price { margin: .25rem 0 .35rem; display: flex; align-items: baseline; gap: .15rem; }
.plan-amount { font-family: var(--font-display); font-size: 2.8rem; font-weight: 600; color: var(--ink); }
.plan-interval { color: var(--ink-dim); font-size: 1rem; }
.plan-sub { font-size: .82rem; color: var(--ink-dim); margin-bottom: 1.3rem; min-height: 1.2em; }
.plan-features { list-style: none; padding: 0; margin: 0 0 1.6rem; flex-grow: 1; }
.plan-features li { padding: .42rem 0 .42rem 1.6rem; position: relative; color: var(--ink-soft); font-size: .92rem; border-bottom: 1px solid var(--line-soft); }
.plan-features li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* Add-ons + comparison + faq */
.addon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; max-width: 900px; margin: 0 auto; }
.addon-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.addon-card .price { font-weight: 700; color: var(--accent); white-space: nowrap; }
.cmp-wrap { overflow-x: auto; max-width: 1000px; margin: 0 auto; }
.cmp { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cmp th, .cmp td { padding: .85rem 1rem; text-align: center; border-bottom: 1px solid var(--line-soft); font-size: .92rem; }
.cmp th:first-child, .cmp td:first-child { text-align: left; color: var(--ink-soft); }
.cmp thead th { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }
.cmp tr:last-child td { border-bottom: 0; }
.cmp .yes { color: var(--accent); font-weight: 700; }
.cmp .no { color: var(--ink-dim); }
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { font-weight: 600; cursor: pointer; font-size: 1.05rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: '+'; color: var(--accent); font-weight: 700; }
.faq details[open] summary::after { content: '–'; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--ink-soft); margin: .8rem 0 0; }

/* ── Auth pages ── */
.auth-shell { min-height: 70vh; display: grid; place-items: center; padding: 3rem 1rem; }
.auth-card { width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.25rem; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.auth-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); }
.auth-card h1 { font-size: 1.9rem; }

/* ── Prose ── */
.prose { max-width: 42em; color: var(--ink-soft); font-size: 1.05rem; }
.prose h2, .prose h3 { margin-top: 1.6em; color: var(--ink); }
.prose :first-child { margin-top: 0; }
.prose strong { color: var(--ink); }

/* ── Footer ── */
.site-footer { background: var(--ink); color: #B6B2A8; padding: 3.5rem 0 1.5rem; margin-top: 4rem; }
.site-footer a { color: #EDE8DD; border-bottom-color: rgba(255,255,255,.16); }
.site-footer a:hover { color: #fff; border-bottom-color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; } }
.footer-brand { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin-bottom: .5rem; color: #fff; }
.footer-h { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--pop); margin-bottom: .8rem; font-weight: 700; }
.footer-nav { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: .4rem; }
.footer-bottom { padding-top: 1.5rem; text-align: center; font-size: .85rem; color: #8B8E97; }

/* ── Configure / checkout ── */
.cfg-block { margin: 1.75rem 0; }
.cfg-label { font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-bottom: .8rem; }
.cfg-block .price-toggle { margin: 0; }
.cfg-addon { display: flex; align-items: center; gap: .9rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem 1.1rem; margin-bottom: .6rem; cursor: pointer; transition: border-color .15s; }
.cfg-addon:hover { border-color: var(--ink); }
.cfg-addon input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.cfg-addon-name { flex: 1; }
.cfg-addon .price { font-weight: 700; color: var(--accent); white-space: nowrap; }
.cfg-summary { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem; margin-top: 1.5rem; }
.cfg-summary .row { display: flex; justify-content: space-between; padding: .4rem 0; font-size: .95rem; color: var(--ink-soft); }
.cfg-summary .row.total { border-top: 1px solid var(--line); margin-top: .4rem; padding-top: .7rem; font-weight: 700; font-size: 1.1rem; color: var(--ink); }

/* ── Dashboard: watched entities ── */
.entity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.entity-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow); transition: transform .18s, border-color .18s, box-shadow .18s; }
.entity-card:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: var(--shadow-lg); }
.entity-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.entity-card-head h3 { font-size: 1.2rem; margin-bottom: .1rem; }
.entity-counts { display: flex; gap: 1rem; font-size: .85rem; color: var(--ink-soft); padding-bottom: 1rem; margin-bottom: .75rem; border-bottom: 1px solid var(--line-soft); }
.entity-counts b { color: var(--ink); }
.entity-counts .c-neg b { color: var(--accent); }
.entity-counts .c-pos b { color: var(--ok); }
.mini-feed .feed-row { padding: .5rem 0; font-size: .85rem; }
.mini-feed .feed-row:last-child { border-bottom: 0; }

/* ── Mention feed (entity detail) ── */
.mention-list { display: flex; flex-direction: column; }
.mention-row { display: flex; align-items: flex-start; gap: .8rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin-bottom: .6rem; }
.mention-row.neg { border-left: 3px solid var(--accent); }
.mention-body { min-width: 0; flex: 1; }
.mention-title { font-weight: 600; color: var(--ink); border: none; }
.mention-title:hover { color: var(--accent); }
.mention-summary { color: var(--ink-soft); font-size: .92rem; margin: .25rem 0 .4rem; }
.mention-meta { display: flex; flex-wrap: wrap; gap: .9rem; font-size: .8rem; color: var(--ink-dim); }
.sev { font-weight: 700; }
.sev-5, .sev-4 { color: var(--accent); }
.sev-3 { color: var(--pop-deep); }
.sev-1, .sev-2 { color: var(--ink-dim); }

/* ── Analytics (tier-gated) ── */
.analytics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin-bottom: 2.5rem; }
.an-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.an-h { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 1rem; }
.an-stat { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--accent); line-height: 1; margin-bottom: .3rem; }
.sent-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--surface-2); margin-bottom: .9rem; }
.sent-bar span { display: block; height: 100%; }
.sent-bar .pos { background: var(--ok); } .sent-bar .neu { background: var(--ink-dim); } .sent-bar .neg { background: var(--accent); }
.sent-legend { display: flex; flex-direction: column; gap: .35rem; font-size: .85rem; color: var(--ink-soft); }
.sent-legend i.d { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: .45rem; }
.sent-legend i.pos { background: var(--ok); } .sent-legend i.neu { background: var(--ink-dim); } .sent-legend i.neg { background: var(--accent); }
.sev-row { display: flex; align-items: center; gap: .6rem; margin-bottom: .5rem; font-size: .84rem; color: var(--ink-soft); }
.sev-lbl { width: 3.2rem; flex: none; }
.sev-bar { flex: 1; height: 7px; background: var(--surface-2); border-radius: 999px; overflow: hidden; }
.sev-bar span { display: block; height: 100%; background: var(--accent); }
.sev-ct { width: 1.5rem; text-align: right; flex: none; color: var(--ink); }
.trend-chart { display: flex; align-items: flex-end; gap: 2%; height: 140px; padding-top: .5rem; }
.tcol { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.tbar { width: 60%; min-height: 3px; background: var(--surface-2); border-radius: 4px 4px 0 0; position: relative; display: flex; align-items: flex-end; overflow: hidden; }
.tbar .tneg { display: block; width: 100%; background: var(--accent); }
.tcol .tlbl { font-size: .68rem; color: var(--ink-dim); margin-top: .5rem; white-space: nowrap; }
.trend-legend { display: flex; gap: 1.25rem; margin-top: 1rem; font-size: .82rem; color: var(--ink-soft); }
.trend-legend i.d { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: .4rem; }
.trend-legend i.neg { background: var(--accent); } .trend-legend i.all { background: var(--surface-2); border: 1px solid var(--line); }
.lock-card { display: flex; align-items: center; gap: 1.25rem; background: var(--surface-2); border: 1px dashed var(--line); border-radius: var(--radius); padding: 1.5rem 1.75rem; margin-bottom: 2.5rem; }
.lock-ico { font-size: 2rem; flex: none; opacity: .8; }

/* ── Utility ── */
.stack > * + * { margin-top: 1rem; }
.hr { border: 0; height: 1px; background: var(--line); margin: 1.5rem 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.tag-list li { background: var(--surface-2); border: 1px solid var(--line); padding: .3rem .75rem; border-radius: 999px; font-size: .85rem; color: var(--ink-soft); }

/* ── Free reputation audit ── */
.check-row .check-label { display: flex; gap: .6rem; align-items: flex-start; font-weight: 500; font-size: .9rem; color: var(--ink-soft); cursor: pointer; }
.check-row input[type="checkbox"] { width: 1.05rem; height: 1.05rem; margin-top: .15rem; accent-color: var(--accent); flex: none; }

/* ── Pricing: response & remediation band ── */
.response-band { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 1.75rem; display: grid; gap: .5rem; }
.response-band h3 { margin: 0; }

/* ── Operator dashboard (superuser tabs) ── */
.dash-tabs { display: flex; gap: .25rem; flex-wrap: wrap; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.dash-tabs a { padding: .55rem 1rem; font-weight: 600; font-size: .92rem; color: var(--ink-soft); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.dash-tabs a:hover { color: var(--ink); }
.dash-tabs a.active { color: var(--accent); border-bottom-color: var(--accent); }
.lead-pill { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .12rem .55rem; border-radius: 999px; margin-left: .4rem; }
.lead-pill.severe { background: var(--accent); color: #fff; }
.lead-pill.handled { background: var(--surface-2); color: var(--ink-dim); border: 1px solid var(--line); }
.lead-pill.positive { background: #2E7D52; color: #fff; }
.lead-pill.neutral { background: var(--ink-dim); color: #fff; }
.lead-pill.negative { background: var(--accent); color: #fff; }
.score-chip { font-weight: 700; font-size: 1.05rem; }
.score-chip.strong, .strip-num.strong { color: #2E7D52; }
.score-chip.fair, .strip-num.fair { color: #9A7833; }
.score-chip.weak, .strip-num.weak { color: var(--accent); }
.lead-table td { vertical-align: top; }
