:root {
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --bg-soft: #f4f4f5;
  --ink: #111827;
  --ink-strong: #0f172a;
  --muted: #4b5563;
  --subtle: #6b7280;
  --line: #e5e7eb;
  --accent: #4f46e5;
  --accent-2: #7c3aed;
  --accent-soft: #eef2ff;
  --accent-wash: rgba(79, 70, 229, 0.06);
  --green: #059669;
  --green-soft: #ecfdf5;
  --amber: #d97706;
  --red: #dc2626;
  --red-soft: #fef2f2;
  --radius: 16px;
  --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 14px 36px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 22px 60px rgba(15, 23, 42, 0.11);
}

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

[hidden] {
  display: none !important;
}

.command-center-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(79, 70, 229, 0.16), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  color: var(--ink);
  font-family: "Satoshi", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.command-shell {
  width: min(100% - 32px, 1440px);
  margin: 0 auto;
  padding: 24px 0 60px;
}

.command-topbar,
.command-hero,
.command-list-panel,
.command-workspace {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}

.command-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  margin-bottom: 18px;
}

.command-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.command-nav a,
.command-nav button,
.command-panel-head button,
.command-filter-row input,
.command-filter-row select,
.command-cycle-card select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: #26334d;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.command-nav a,
.command-nav button,
.command-panel-head button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  text-decoration: none;
  cursor: pointer;
}

.command-nav button,
.command-panel-head button {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  border: 0;
}

.command-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 22px;
  padding: 34px;
  margin-bottom: 18px;
}

.command-hero h1 {
  max-width: 840px;
  margin: 0 0 14px;
  color: #111827;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.command-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--subtle);
  font-size: 18px;
}

.command-scoreboard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.command-scoreboard div,
.command-summary-grid article {
  padding: 18px;
  border: 1px solid #dce6f6;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.command-scoreboard strong,
.command-summary-grid strong {
  display: block;
  color: #111827;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.command-scoreboard span,
.command-summary-grid span {
  display: block;
  margin-top: 7px;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.command-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.command-list-panel {
  position: sticky;
  top: 18px;
  padding: 18px;
}

.command-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.command-panel-head h2,
.command-workspace-head h2 {
  margin: 0;
  color: #111827;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.command-filter-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.command-filter-row input,
.command-filter-row select,
.command-cycle-card select {
  width: 100%;
  padding: 0 13px;
}

.command-account-list {
  display: grid;
  gap: 10px;
}

.command-account {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.command-account.active {
  border-color: rgba(79, 70, 229, 0.38);
  background: #eef2ff;
}

.command-account strong,
.command-account small {
  display: block;
}

.command-account strong {
  color: #111827;
  font-size: 16px;
}

.command-account small,
.command-muted {
  color: var(--subtle);
}

.command-account b {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff;
  font-size: 13px;
}

.command-workspace {
  min-height: 640px;
  padding: 22px;
}

.command-empty {
  display: grid;
  min-height: 560px;
  place-items: center;
  text-align: center;
}

.command-empty p {
  max-width: 420px;
  color: var(--subtle);
}

.command-workspace-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.command-workspace-head p {
  margin: 6px 0 0;
  color: var(--subtle);
}

.command-account-meta {
  min-width: 170px;
  padding: 16px;
  border-radius: 18px;
  background: #111827;
  color: #ffffff;
  text-align: center;
}

.command-account-meta strong {
  display: block;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.command-account-meta span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 850;
}

.command-summary-grid,
.command-phase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.command-note {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.command-note strong {
  color: #111827;
}

.command-note textarea {
  width: 100%;
  min-height: 86px;
  resize: vertical;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  color: #26334d;
  font: inherit;
}

.command-phase-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.command-phase-card,
.command-cycle-panel {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
}

.command-phase-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.command-phase-head h3,
.command-cycle-card h3 {
  margin: 0 0 6px;
  color: #111827;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.command-phase-head p {
  margin: 0;
  color: var(--subtle);
  font-size: 14px;
  line-height: 1.45;
}

.command-phase-head span {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef2ff;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.command-task-list {
  display: grid;
  gap: 8px;
}

.command-task {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid #e8edf6;
  border-radius: 14px;
  background: #fbfdff;
}

.command-task input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.command-task span {
  color: #26334d;
  font-size: 14px;
  line-height: 1.35;
}

.command-task b {
  padding: 5px 8px;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.command-cycle-panel {
  margin-top: 18px;
}

.command-cycle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.command-cycle-card {
  padding: 16px;
  border: 1px solid #e8edf6;
  border-radius: 16px;
  background: #fbfdff;
}

.command-cycle-card h3 {
  font-size: 17px;
}

@media (max-width: 980px) {
  .command-hero,
  .command-layout,
  .command-phase-grid,
  .command-cycle-grid {
    grid-template-columns: 1fr;
  }

  .command-list-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .command-shell {
    width: min(100% - 22px, 1440px);
  }

  .command-topbar,
  .command-workspace-head {
    align-items: stretch;
    flex-direction: column;
  }

  .command-hero,
  .command-workspace,
  .command-list-panel {
    padding: 18px;
    border-radius: 18px;
  }

  .command-scoreboard,
  .command-summary-grid {
    grid-template-columns: 1fr;
  }

  .command-task {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .command-task b {
    grid-column: 2;
    width: fit-content;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Satoshi, Inter, Plus Jakarta Sans, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: geometricPrecision;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p { margin-top: 0; }

.announcement {
  display: flex;
  justify-content: center;
  gap: 14px;
  min-height: 42px;
  padding: 10px 18px;
  color: #ffffff;
  background: #0f172a;
  font-size: 14px;
  font-weight: 600;
}

.announcement a {
  color: #c4b5fd;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 max(32px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-strong);
  font-size: 18px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.28);
}

.site-header nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.site-header nav a,
.header-cta,
button {
  transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.site-header nav a:hover { color: var(--accent); }

.header-cta,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #ffffff;
  background: var(--accent);
  font-weight: 700;
}

.header-cta:hover,
button:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 16px 34px rgba(79, 70, 229, 0.22);
}

.hero,
.strip,
.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 64px;
  align-items: start;
  min-height: 596px;
  padding: 26px 0 6px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 -8vw auto;
  height: 72%;
  pointer-events: none;
  background:
    radial-gradient(circle at 54% 8%, rgba(79, 70, 229, 0.075), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #fbfbff 58%, #ffffff 100%);
  z-index: -1;
}

.hero-copy {
  max-width: 760px;
  padding-top: 12px;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-bottom: 24px;
  max-width: 720px;
}

.proof-row span,
.engine-strip span,
.tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid rgba(79, 70, 229, 0.11);
  border-radius: 999px;
  color: #3f3f46;
  background: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 750;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.proof-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

.proof-live {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45);
  animation: proofPulse 1.8s ease-out infinite;
}

.proof-stack::before,
.proof-stack::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  height: 4px;
  border-radius: 999px;
  background: #4f46e5;
}

.proof-stack::before { top: 3px; }
.proof-stack::after {
  bottom: 3px;
  background: #8b5cf6;
}

.proof-check {
  border-radius: 999px;
  background: #ecfdf5;
}

.proof-check::before {
  content: "";
  width: 8px;
  height: 5px;
  border-left: 2px solid #059669;
  border-bottom: 2px solid #059669;
  transform: translateY(-1px) rotate(-45deg);
}

@keyframes proofPulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.42); }
  72% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

h1 {
  max-width: 740px;
  margin-bottom: 22px;
  color: var(--ink-strong);
  font-size: clamp(48px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 760;
}

h1 span {
  display: inline;
  font-weight: 820;
}

.hero h1 .hero-line,
.hero h1 .highlight {
  display: block;
}

.highlight {
  color: var(--accent);
  background: linear-gradient(90deg, var(--accent), #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight.solid {
  color: var(--accent);
  background: none;
  -webkit-text-fill-color: currentColor;
}

h2 {
  max-width: 850px;
  margin-bottom: 16px;
  color: var(--ink-strong);
  font-size: clamp(30px, 3.7vw, 46px);
  line-height: 1.1;
  letter-spacing: 0;
  font-weight: 700;
}

h3 {
  margin-bottom: 9px;
  color: var(--ink-strong);
  font-size: 20px;
  line-height: 1.24;
  font-weight: 700;
}

.lede,
.section-head p,
.body-copy,
.agency p,
.report-head p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
}

.hero-question {
  max-width: 720px;
  margin: 0 0 14px;
  color: #334155;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.42;
  letter-spacing: 0;
  font-weight: 560;
}

.hero-question strong {
  color: var(--ink-strong);
  font-weight: 800;
}

.scan-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 720px;
  margin-top: 32px;
  padding: 8px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04), 0 18px 50px rgba(15, 23, 42, 0.08);
}

.scan-box:focus-within {
  border-color: rgba(79, 70, 229, 0.45);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12), inset 0 1px 2px rgba(15, 23, 42, 0.05), var(--shadow-md);
}

.scan-box input {
  min-width: 0;
  min-height: 56px;
  padding: 0 20px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 17px;
}

.scan-box button {
  min-height: 56px;
  padding: 0 24px;
  border-radius: 13px;
  background: #0f172a;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
}

.secondary-button {
  color: var(--ink-strong);
  background: #ffffff;
  border-color: var(--line);
}

.secondary-button:hover {
  color: var(--accent);
  background: #f8f7ff;
  box-shadow: var(--shadow-sm);
}

.microcopy {
  margin: 16px 0 28px;
  color: var(--subtle);
  font-size: 14px;
  font-weight: 500;
}

.scan-status {
  display: none;
  grid-template-columns: 12px 1fr;
  column-gap: 10px;
  row-gap: 2px;
  max-width: 760px;
  margin: -10px 0 26px;
  padding: 14px 16px;
  border: 1px solid rgba(79, 70, 229, 0.16);
  border-radius: 14px;
  background: #f8f7ff;
  color: var(--ink-strong);
  box-shadow: var(--shadow-sm);
}

.scan-status:not(:empty) {
  display: grid;
}

.scan-status strong {
  font-size: 14px;
  font-weight: 700;
}

.scan-status em {
  grid-column: 2;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

.scan-dot {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(79, 70, 229, 0.12);
}

.scan-dot.ready {
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(5, 150, 105, 0.12);
}

.scan-box button:disabled {
  cursor: wait;
  opacity: 0.86;
}

.engine-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
}

.engine-strip span {
  gap: 8px;
  color: #374151;
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.engine-strip img {
  width: 20px;
  height: 20px;
  border-radius: 6px;
}

.phone-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 540px;
  padding-top: 4px;
}

.phone {
  position: relative;
  width: min(100%, 330px);
  min-height: 598px;
  padding: 20px 14px 16px;
  border: 8px solid #0f172a;
  border-radius: 40px;
  background: #ffffff;
  box-shadow: 0 28px 72px rgba(15, 23, 42, 0.13);
}

.phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 104px;
  height: 34px;
  border-radius: 999px;
  background: #050505;
  transform: translateX(-50%);
}

.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 44px 10px;
  color: #111827;
  font-size: 12px;
  font-weight: 700;
}

.phone-indicators,
.signal-bars {
  display: inline-flex;
  align-items: flex-end;
}

.phone-indicators {
  gap: 6px;
  transform: translateX(18px);
}

.phone-indicators em {
  font-style: normal;
  line-height: 1;
}

.signal-bars {
  gap: 2px;
  height: 11px;
}

.signal-bars b {
  display: block;
  width: 3px;
  border-radius: 2px;
  background: #111827;
}

.signal-bars b:nth-child(1) { height: 4px; }
.signal-bars b:nth-child(2) { height: 6px; }
.signal-bars b:nth-child(3) { height: 8px; }
.signal-bars b:nth-child(4) { height: 11px; }

.battery-icon {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 9px;
  border: 1.8px solid #111827;
  border-radius: 3px;
}

.battery-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 10px;
  height: 3px;
  border-radius: 2px;
  background: #111827;
}

.battery-icon::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 2px;
  width: 2px;
  height: 4px;
  border-radius: 0 2px 2px 0;
  background: #111827;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 4px 10px 12px;
}

.chat-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111827;
}

.chat-title strong {
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
}

.menu-lines {
  position: relative;
  width: 28px;
  height: 18px;
}

.menu-lines::before,
.menu-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: #111827;
}

.menu-lines::before { top: 2px; }
.menu-lines::after { bottom: 2px; }

.chevron {
  color: #8a8a8a;
  font-size: 26px;
  line-height: 1;
}

.chat-bubble-icon {
  position: relative;
  width: 34px;
  height: 34px;
}

.chat-bubble-icon::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 3px dashed #111827;
  border-radius: 999px;
}

.chat-bubble-icon::after {
  content: "";
  position: absolute;
  left: 8px;
  bottom: 4px;
  width: 8px;
  height: 8px;
  border-left: 3px dashed #111827;
  border-bottom: 3px dashed #111827;
  border-radius: 0 0 0 8px;
  background: #ffffff;
  transform: rotate(-22deg);
}

.chat-body {
  display: grid;
  gap: 14px;
  padding: 8px 2px 0;
}

.message {
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.user-message {
  justify-self: center;
  color: #111827;
  background: #f3f4f6;
}

.assistant-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
  justify-items: center;
  text-align: center;
}

.assistant-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #111827;
  background: #ffffff;
  font-size: 12px;
}

.assistant-message {
  min-width: 0;
  color: #111827;
  font-size: 12.5px;
  line-height: 1.48;
  text-align: center;
}

.assistant-message p {
  margin: 0 auto 6px;
  max-width: 280px;
}

.assistant-message ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.assistant-message li {
  padding: 0 6px;
}

.assistant-message li::marker {
  font-weight: 800;
}

.assistant-message strong {
  display: block;
  margin-bottom: 3px;
  color: #111827;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 4px;
}

.assistant-message span {
  display: block;
  color: var(--muted);
}

.assistant-message span b {
  color: #111827;
  font-weight: 850;
}

.assistant-message li:first-child {
  margin: -2px 8px 0;
  padding: 11px 12px;
  border: 1px solid #facc15;
  border-radius: 16px;
  background: #fef9c3;
}

.answer {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  margin-top: 11px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.answer span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  color: #ffffff;
  background: #111827;
  font-size: 13px;
  font-weight: 900;
}

.answer strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink-strong);
}

.answer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.answer.target {
  border-color: rgba(79, 70, 229, 0.36);
  box-shadow: 0 16px 34px rgba(79, 70, 229, 0.16);
}

.answer.winner {
  border-color: rgba(79, 70, 229, 0.42);
  background: linear-gradient(180deg, #ffffff, #f5f3ff);
}

.answer.winner span {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.floating-score {
  position: absolute;
  right: -10px;
  bottom: -8px;
  width: 128px;
  padding: 12px 13px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a, #312e81);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22);
}

.floating-score small {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
}

.floating-score strong {
  display: block;
  margin-top: 5px;
  font-size: 32px;
  line-height: 1;
}

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--line);
  box-shadow: var(--shadow-sm);
}

.strip div {
  padding: 24px;
  background: #ffffff;
}

.strip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-strong);
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
}

.strip span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.section { padding: 54px 0 0; }

.hero + .section {
  padding-top: 4px;
}

.section:nth-of-type(even) {
  width: 100%;
  max-width: none;
  padding: 62px max(20px, calc((100vw - 1180px) / 2)) 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-alt) 100%);
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head {
  max-width: 860px;
  margin-bottom: 24px;
}

.section > .section-head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section > .section-head h2 {
  margin-left: auto;
  margin-right: auto;
}

.steps,
.score-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.steps article,
.score,
.panel,
.locked-row article,
.source-chip,
.fix-card,
.agency-card,
.pricing-grid article,
.question-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.steps article {
  position: relative;
  min-height: 218px;
  padding: 26px;
  overflow: hidden;
}

.steps article > span {
  position: absolute;
  right: 22px;
  top: 8px;
  color: rgba(79, 70, 229, 0.10);
  font-size: 70px;
  line-height: 1;
  font-weight: 700;
}

.steps h3 {
  position: relative;
  max-width: 260px;
  margin-top: 52px;
}

.steps p,
.score p,
.panel p,
.locked-row p,
.source-chip small,
.fix-card p,
.agency-card p,
.pricing-grid p,
.question-card p {
  color: var(--muted);
  line-height: 1.58;
}

.success-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.success-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

.success-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1.32;
  object-fit: cover;
}

.success-card > div {
  display: grid;
  grid-template-rows: auto minmax(126px, 1fr) auto auto;
  gap: 12px;
  padding: 20px;
}

.success-label {
  display: inline-flex;
  width: fit-content;
  min-height: 30px;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  color: #3730a3;
  background: #eef2ff;
  font-size: 12px;
  font-weight: 800;
}

.success-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.success-card p {
  margin: 0;
  color: var(--ink-strong);
  font-weight: 800;
  line-height: 1.4;
}

.success-card strong {
  display: grid;
  gap: 4px;
  margin-top: 2px;
  padding: 16px;
  border: 1px solid rgba(79, 70, 229, 0.13);
  border-radius: 18px;
  background: #f8f7ff;
  color: var(--ink-strong);
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.success-card strong.metric-shift {
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 8px 12px;
  font-size: 25px;
  letter-spacing: -0.015em;
}

.metric-shift small {
  grid-column: 1 / -1;
  margin-top: 2px;
}

.metric-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: #047857;
  background: linear-gradient(135deg, #dcfce7, #ecfdf5);
  box-shadow: inset 0 0 0 1px rgba(5, 150, 105, 0.18), 0 8px 18px rgba(5, 150, 105, 0.10);
}

.metric-icon svg {
  width: 24px;
  height: 24px;
  overflow: visible;
}

.metric-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-card p span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.success-card small {
  color: #4338ca;
  font-size: 12px;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
}

.story-note {
  max-width: 860px;
  margin: 14px auto 0;
  color: var(--subtle);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.compare-section { padding-bottom: 10px; }

.comparison {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.compare-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1.15fr;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
}

.compare-row:last-child { border-bottom: 0; }

.compare-row > * {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  color: var(--muted);
  font-size: 15px;
}

.compare-row small {
  display: none;
}

.compare-row > :first-child {
  color: var(--ink-strong);
  font-weight: 700;
}

.compare-row > strong {
  color: #312e81;
  background: var(--accent-wash);
  font-weight: 700;
}

.compare-head > * {
  justify-content: center;
  color: var(--ink-strong);
  background: #f8fafc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare-head > strong { background: rgba(79, 70, 229, 0.10); }

.insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.insight-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.insight-visual {
  display: grid;
  gap: 12px;
  min-height: 240px;
  padding: 24px;
  background:
    radial-gradient(circle at 88% 12%, rgba(236, 72, 153, 0.13), transparent 28%),
    linear-gradient(135deg, #f8f7ff 0%, #ffffff 100%);
}

.competitor-card .insight-visual {
  background:
    radial-gradient(circle at 12% 18%, rgba(16, 185, 129, 0.14), transparent 30%),
    linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.insight-label {
  width: fit-content;
  align-self: start;
  padding: 7px 10px;
  border-radius: 999px;
  color: #3730a3;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(79, 70, 229, 0.13);
  font-size: 12px;
  font-weight: 850;
}

.insight-visual strong {
  color: var(--ink-strong);
  font-size: 68px;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.insight-visual small {
  margin-top: -6px;
  color: #4f46e5;
  font-size: 13px;
  font-weight: 800;
}

.insight-visual p {
  width: fit-content;
  margin: 8px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(79, 70, 229, 0.12);
  border-radius: 16px;
  color: var(--ink-strong);
  background: #ffffff;
  font-size: 15px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.insight-visual > b {
  color: #312e81;
  font-size: 15px;
  line-height: 1.35;
}

.rank-list {
  display: grid;
  gap: 10px;
  align-content: center;
}

.rank-list span {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink-strong);
  font-size: 14px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.rank-list b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--ink-strong);
  font-size: 13px;
}

.rank-list em {
  color: #059669;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.insight-copy {
  display: grid;
  gap: 15px;
  padding: 28px;
}

.insight-copy h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.insight-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.insight-copy ul {
  display: grid;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.insight-copy li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-strong);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.42;
}

.insight-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.11);
}

.story-flow {
  display: grid;
  gap: 20px;
}

.visibility-snapshot {
  width: min(100%, 620px);
  margin: 28px auto 0;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
  text-align: left;
}

.visibility-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 128px;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 10px 16px;
  border-top: 1px solid rgba(229, 231, 235, 0.8);
  color: var(--muted);
  font-size: 14px;
}

.visibility-row:first-child {
  border-top: 0;
}

.visibility-head {
  min-height: 44px;
  color: var(--ink-strong);
  background: #f8fafc;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.visibility-row strong {
  overflow: hidden;
  color: var(--ink-strong);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visibility-row b {
  display: inline-flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  color: var(--ink-strong);
  font-weight: 850;
  white-space: nowrap;
}

.visibility-row em {
  padding: 4px 7px;
  border: 1px solid rgba(5, 150, 105, 0.18);
  border-radius: 999px;
  color: #059669;
  background: #ecfdf5;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.story-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.story-panel:nth-child(even) {
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
}

.story-panel img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.story-copy {
  display: grid;
  align-content: center;
  gap: 17px;
  padding: 34px;
}

.story-copy h3 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(28px, 3.1vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.015em;
}

.story-copy p {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.prompt-card,
.answer-stack,
.fix-list {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.story-copy .example-kicker {
  margin: 4px 0 -2px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 850;
}

.prompt-card {
  width: min(100%, 520px);
  padding: 18px;
  border: 1px solid rgba(79, 70, 229, 0.14);
  border-radius: 18px;
  background: #f8f7ff;
}

.prompt-card small {
  color: #4f46e5;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.prompt-card strong {
  color: var(--ink-strong);
  font-size: 20px;
  line-height: 1.25;
}

.answer-stack span,
.fix-list span {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 16px;
  background: #ffffff;
  color: var(--ink-strong);
  font-size: 15px;
  font-weight: 850;
  box-shadow: var(--shadow-sm);
}

.answer-stack b {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-right: 8px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--ink-strong);
  font-size: 12px;
}

.answer-stack em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 650;
}

.story-panel-dark {
  background:
    radial-gradient(circle at 8% 8%, rgba(79, 70, 229, 0.12), transparent 28%),
    #f8fafc;
}

.story-panel-dark .success-label {
  color: #065f46;
  background: #d1fae5;
}

.fix-list span {
  position: relative;
  padding-left: 42px;
}

.fix-list span::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #10b981;
  box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.12);
}

.audience-section {
  padding-bottom: 12px;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.audience-card {
  position: relative;
  min-height: 410px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
  text-align: center;
  overflow: hidden;
}

.audience-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.audience-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 24px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #3730a3;
  background: var(--accent-soft);
  font-size: 13px;
  font-weight: 800;
}

.audience-card h3 {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 14px;
  font-size: clamp(25px, 2.5vw, 34px);
  line-height: 1.12;
}

.audience-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.audience-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.audience-card li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
}

.audience-card li::before {
  content: "";
  position: static;
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: inset 0 0 0 5px #ffffff;
}

.audience-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  color: #ffffff;
  background: var(--accent);
  font-weight: 800;
}

.final-cta {
  display: grid;
  justify-items: center;
  text-align: center;
}

.final-cta h2,
.final-cta p {
  margin-left: auto;
  margin-right: auto;
}

.final-cta p {
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(360px, 1.4fr);
  gap: 42px;
  width: min(1180px, calc(100% - 40px));
  margin: 76px auto 0;
  padding: 36px 0 34px;
  border-top: 1px solid var(--line);
}

.footer-brand p {
  max-width: 320px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.footer-columns div {
  display: grid;
  align-content: start;
  gap: 11px;
}

.footer-columns strong {
  color: var(--ink-strong);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-columns a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.site-footer a:hover {
  color: var(--accent);
}

.intelligence-page {
  background:
    radial-gradient(circle at 50% -10%, rgba(79, 70, 229, 0.12), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f9fafb 62%, #ffffff 100%);
}

.intelligence-hero,
.intelligence-grid,
.intelligence-results-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.intelligence-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 40px;
  align-items: end;
  padding: 92px 0 34px;
}

.intelligence-hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
}

.intel-summary-card,
.intel-panel,
.intel-results article {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-md);
}

.intel-summary-card {
  padding: 24px;
}

.intel-summary-card span,
.result-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #3730a3;
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 800;
}

.intel-summary-card strong {
  display: block;
  margin: 16px 0 8px;
  color: var(--ink-strong);
  font-size: 26px;
  line-height: 1.08;
}

.intel-summary-card p,
.intel-panel p,
.question-card p {
  color: var(--muted);
  line-height: 1.55;
}

.intelligence-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.intel-panel,
.intel-results article {
  padding: 24px;
}

.panel-head h2 {
  margin-bottom: 10px;
  font-size: 30px;
}

.panel-head p {
  margin-bottom: 22px;
}

.intel-label {
  display: block;
  margin: 16px 0 8px;
  color: var(--ink-strong);
  font-size: 13px;
  font-weight: 800;
}

.intel-input,
.intel-textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #ffffff;
  outline: 0;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.intel-input {
  min-height: 48px;
  padding: 0 14px;
}

.intel-textarea {
  min-height: 230px;
  padding: 14px;
  resize: vertical;
  line-height: 1.55;
}

.intel-input:focus,
.intel-textarea:focus {
  border-color: rgba(79, 70, 229, 0.5);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.intel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.intel-flow {
  display: grid;
  gap: 12px;
}

.intel-flow div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 6px 12px;
  padding: 16px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: 14px;
  background: #ffffff;
}

.intel-flow span {
  grid-row: span 2;
  color: rgba(79, 70, 229, 0.36);
  font-size: 24px;
  font-weight: 900;
}

.intel-flow strong,
.question-card strong {
  color: var(--ink-strong);
}

.intel-flow p,
.question-card p {
  margin: 0;
}

.intelligence-results-section {
  padding-top: 58px;
}

.intel-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.result-head h3 {
  margin: 0;
}

.question-output {
  display: grid;
  gap: 10px;
}

.question-card {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}

.question-card > span {
  color: rgba(79, 70, 229, 0.55);
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
}

.question-card strong {
  display: block;
  margin-bottom: 6px;
  line-height: 1.35;
}

.question-card p {
  font-size: 14px;
}

.competitor-check-card {
  background: #fbfbff;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid rgba(229, 231, 235, 0.72);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: var(--subtle);
  font-size: 14px;
  font-weight: 600;
}

.legal-page {
  background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.legal-shell {
  width: min(940px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0 0;
}

.legal-hero {
  margin-bottom: 28px;
  text-align: center;
}

.legal-hero h1 {
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(42px, 5.2vw, 64px);
}

.legal-card {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.legal-card h2 {
  margin: 34px 0 10px;
  font-size: 24px;
  line-height: 1.18;
}

.legal-card h2:first-of-type {
  margin-top: 20px;
}

.legal-card p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.legal-card a {
  color: var(--accent);
  font-weight: 800;
}

.seo-page {
  background:
    radial-gradient(circle at 50% -8%, rgba(79, 70, 229, 0.12), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f9fafb 48%, #ffffff 100%);
}

.seo-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.seo-hero {
  display: grid;
  justify-items: center;
  padding: 96px 0 52px;
  text-align: center;
}

.seo-hero h1,
.seo-hero .lede {
  margin-left: auto;
  margin-right: auto;
}

.seo-hero .lede {
  max-width: 780px;
  margin-bottom: 26px;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 18px 0;
}

.seo-grid article,
.seo-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.seo-grid article {
  min-height: 260px;
  padding: 26px;
}

.seo-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 54px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), #ec4899);
  font-weight: 800;
}

.seo-grid h2 {
  margin-bottom: 12px;
  font-size: 26px;
}

.seo-grid p,
.seo-panel p {
  color: var(--muted);
  line-height: 1.62;
}

.seo-panel {
  margin: 18px 0 0;
  padding: 38px;
  text-align: center;
}

.seo-panel h2,
.seo-panel p {
  margin-left: auto;
  margin-right: auto;
}

.seo-panel p {
  max-width: 780px;
}

.client-page {
  background:
    radial-gradient(circle at top right, rgba(236, 72, 153, 0.10), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.client-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 0;
}

.client-login {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 54px;
  align-items: center;
  min-height: 720px;
}

.client-login .brand {
  position: absolute;
  top: 34px;
}

.client-login-copy h1,
.client-hero h1 {
  max-width: 780px;
  font-size: clamp(42px, 5.2vw, 70px);
}

.client-app {
  display: grid;
  gap: 18px;
}

.client-hero,
.client-panel,
.client-progress-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.client-hero {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: end;
  padding: 34px;
}

.client-hero p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.6;
}

.client-progress-card {
  padding: 24px;
  background: linear-gradient(135deg, #111827, #312e81);
  color: #ffffff;
}

.client-progress-card span,
.client-progress-card p {
  color: rgba(255, 255, 255, 0.72);
}

.client-progress-card span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.client-progress-card strong {
  display: block;
  margin: 14px 0 8px;
  font-size: 34px;
  line-height: 1;
}

.client-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
}

.client-panel {
  padding: 28px;
}

.client-timeline {
  display: grid;
  gap: 10px;
}

.client-timeline-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f9fafb;
}

.client-timeline-item b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--muted);
  background: #e5e7eb;
}

.client-timeline-item.complete b {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), #ec4899);
}

.client-timeline-item strong,
.client-timeline-item span {
  display: block;
}

.client-timeline-item strong {
  color: var(--ink-strong);
}

.client-timeline-item span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.agency-lane {
  color: #ffffff;
  background: linear-gradient(135deg, #111827, #312e81);
  border-color: rgba(255, 255, 255, 0.14);
}

.agency-lane .audience-label {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.agency-lane h3,
.agency-lane li {
  color: #ffffff;
}

.agency-lane p {
  color: rgba(255, 255, 255, 0.74);
}

.agency-lane .audience-cta {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
}

.report-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: var(--shadow-lg);
}

.report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.score-grid { grid-template-columns: repeat(4, 1fr); }
.score { padding: 22px; }

.score span,
.panel-title span,
.locked-row span,
.fix-card span {
  color: var(--subtle);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.score strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 38px;
  line-height: 1;
  font-weight: 700;
}

.score.good strong { color: var(--green); }
.score.warn strong { color: var(--amber); }
.score.bad strong { color: var(--red); }

.report-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  margin-top: 18px;
}

.panel { padding: 24px; }

.panel-title {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.bars,
.rank-list,
.source-grid,
.fix-grid,
.question-list {
  display: grid;
  gap: 12px;
}

.bar-item { display: grid; gap: 8px; }

.bar-label {
  display: flex;
  justify-content: space-between;
  color: var(--ink-strong);
  font-weight: 800;
}

.bar-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef2ff;
}

.bar-fill {
  display: block;
  width: var(--w);
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.rank-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f9fafb;
}

.rank-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  color: #ffffff;
  background: #111827;
  font-weight: 700;
}

.rank-item h4,
.rank-item p,
.question-card h3,
.question-card p,
.fix-card h3,
.fix-card p {
  margin: 0;
}

.locked-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.locked-row article {
  position: relative;
  min-height: 168px;
  padding: 22px;
  overflow: hidden;
}

.locked-row.locked article::after {
  content: "Unlock";
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.locked-row.locked p {
  filter: blur(4px);
  user-select: none;
}

.locked-row strong {
  display: block;
  margin: 10px 0;
  color: var(--ink-strong);
  font-size: 19px;
}

.split,
.agency {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: center;
}

.source-grid { grid-template-columns: repeat(2, 1fr); }
.source-chip { padding: 18px; }

.source-chip strong {
  display: block;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
  color: var(--ink-strong);
}

.source-chip small { font-weight: 700; }

.fix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.fix-card {
  min-height: 230px;
  padding: 24px;
}

.fix-card span { color: var(--amber); }

.fix-card strong {
  display: inline-flex;
  margin-top: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #312e81;
  background: var(--accent-soft);
  font-size: 13px;
  font-weight: 700;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.tabs button {
  color: var(--muted);
  background: #ffffff;
  border-color: var(--line);
  box-shadow: none;
}

.tabs button.active {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

.question-card {
  display: grid;
  grid-template-columns: 106px 1fr 140px;
  gap: 16px;
  align-items: center;
  padding: 16px;
}

.question-state {
  display: grid;
  place-items: center;
  min-height: 34px;
  border-radius: 999px;
  color: var(--red);
  background: var(--red-soft);
  font-size: 12px;
  font-weight: 700;
}

.question-state.yes {
  color: var(--green);
  background: var(--green-soft);
}

.question-meta {
  color: var(--subtle);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
}

.agency { padding-bottom: 20px; }

.agency-card {
  padding: 34px;
  color: #ffffff;
  background: linear-gradient(135deg, #111827, #312e81);
  box-shadow: var(--shadow-lg);
}

.agency-card h3 { color: #ffffff; }
.agency-card p { color: rgba(255, 255, 255, 0.76); }

.agency-card strong {
  display: block;
  margin: 12px 0;
  color: #ffffff;
  font-size: 32px;
  line-height: 1.08;
}

.receipt-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-lg);
}

.receipt {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfdff;
}

.receipt div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.receipt div:last-child { border-bottom: 0; }

.receipt span {
  color: var(--muted);
  font-weight: 700;
}

.receipt strong {
  color: var(--ink-strong);
  text-align: right;
}

.receipt .total { background: var(--accent-soft); }
.receipt .total strong { color: #312e81; }

.pricing { padding-bottom: 96px; }
.pricing-grid article { padding: 28px; }

.pricing-grid strong {
  display: block;
  margin: 16px 0 10px;
  color: var(--ink-strong);
  font-size: 42px;
  line-height: 1;
}

.pricing-grid .featured {
  color: #ffffff;
  background: linear-gradient(135deg, #111827, #312e81);
  box-shadow: var(--shadow-lg);
}

.pricing-grid .featured h3,
.pricing-grid .featured strong {
  color: #ffffff;
}

.pricing-grid .featured p {
  color: rgba(255, 255, 255, 0.76);
}

.report-page {
  background:
    radial-gradient(circle at top left, rgba(79, 70, 229, 0.10), transparent 34%),
    #f8fafc;
}

.report-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 96px;
}

.report-hero {
  margin: 0 auto 18px;
}

.report-hero-card {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 5vw, 58px);
  border-radius: 28px;
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 20%, rgba(124, 58, 237, 0.42), transparent 24%),
    linear-gradient(135deg, #050505, #111827 58%, #1e1b4b);
  box-shadow: var(--shadow-lg);
}

.report-hero-card::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.report-hero-card .eyebrow,
.report-hero-card h1,
.report-hero-card .lede {
  position: relative;
  color: #ffffff;
}

.report-hero-card h1 {
  max-width: 860px;
  margin-bottom: 20px;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
}

.report-hero-card .lede {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.74);
}

.report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.report-hero-card .audience-cta {
  color: #111827;
  background: #ffffff;
}

.report-hero-card .secondary-cta {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.18);
}

.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink-strong);
  background: #ffffff;
  font-weight: 700;
}

.visibility-board {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  margin-bottom: 18px;
}

.evidence-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--line);
  box-shadow: var(--shadow-sm);
}

.conversion-snapshot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 18px 0;
}

.snapshot-card {
  min-height: 152px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.snapshot-card span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  color: #3730a3;
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 850;
}

.snapshot-card strong {
  display: block;
  margin: 18px 0 8px;
  color: var(--ink-strong);
  font-size: 34px;
  line-height: 1;
}

.snapshot-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.snapshot-card.warning span {
  color: #9f1239;
  background: #ffe4e6;
}

.snapshot-card.locked {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(238, 242, 255, 0.88)),
    #ffffff;
}

.snapshot-card.locked::after {
  content: "Locked";
  position: absolute;
  right: 16px;
  top: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: #111827;
  font-size: 11px;
  font-weight: 850;
}

.evidence-strip article {
  min-height: 172px;
  padding: 22px;
  background: #ffffff;
}

.evidence-strip span {
  color: var(--subtle);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.evidence-strip strong {
  display: block;
  margin: 14px 0 10px;
  color: var(--ink-strong);
  font-size: 42px;
  line-height: 1;
}

.evidence-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.evidence-strip .locked-evidence {
  color: #ffffff;
  background: linear-gradient(135deg, #111827, #312e81);
}

.evidence-strip .locked-evidence span,
.evidence-strip .locked-evidence strong {
  color: #ffffff;
}

.evidence-strip .locked-evidence p {
  color: rgba(255, 255, 255, 0.72);
}

.visibility-score-card,
.trajectory-card,
.locked-module,
.report-panel,
.unlock-panel,
.engine-panel,
.opportunity-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.visibility-score-card {
  padding: 32px;
}

.visibility-score-card > strong {
  display: block;
  margin: 12px 0 4px;
  color: #ff2d55;
  font-size: clamp(78px, 10vw, 138px);
  line-height: 0.9;
  letter-spacing: 0;
  font-weight: 800;
}

.visibility-score-card > span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  color: #be123c;
  background: #ffe4e6;
  font-size: 13px;
  font-weight: 800;
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
}

.mini-metrics div {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 16px;
  background: #ffffff;
}

.mini-metrics b {
  color: var(--ink-strong);
  font-size: 28px;
  line-height: 1;
}

.mini-metrics span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.trajectory-card {
  display: grid;
  gap: 22px;
  padding: 32px;
}

.trajectory-card h2 {
  margin-bottom: 10px;
  font-size: clamp(27px, 3.2vw, 42px);
}

.trajectory-card p {
  margin: 0;
  max-width: 660px;
  color: var(--muted);
  line-height: 1.58;
}

.trajectory-chart {
  padding: 18px 18px 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #faf5ff);
}

.trajectory-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.trajectory-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--subtle);
  font-size: 13px;
  font-weight: 800;
}

.trajectory-labels strong {
  color: #059669;
  font-size: 28px;
  line-height: 1;
}

.visibility-score-card .panel-kicker,
.trajectory-card .panel-kicker,
.panel-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-panel p,
.locked-module p,
.unlock-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.report-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
  margin-bottom: 18px;
}

.signal-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.signal-board-top {
  margin-bottom: 18px;
}

.engine-panel,
.opportunity-panel {
  position: relative;
  overflow: hidden;
  padding: 28px;
}

.engine-panel h2,
.opportunity-panel h2 {
  margin-top: 10px;
  font-size: clamp(25px, 2.7vw, 36px);
}

.engine-matrix {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.engine-row {
  display: grid;
  grid-template-columns: 170px 1fr 58px;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f9fafb;
}

.engine-row strong,
.engine-row span {
  display: block;
}

.engine-row strong {
  color: var(--ink-strong);
  line-height: 1.2;
}

.engine-row span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.engine-row i {
  display: block;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef2ff;
}

.engine-row i::before {
  content: "";
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #ec4899);
}

.engine-row b {
  color: var(--ink-strong);
  font-size: 18px;
  line-height: 1;
  text-align: right;
}

.funnel-preview {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.funnel-preview div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
}

.funnel-preview span {
  color: var(--muted);
  font-weight: 700;
}

.funnel-preview strong {
  color: var(--ink-strong);
  font-size: 24px;
  line-height: 1;
}

.funnel-preview .funnel-alert {
  border-color: #fecdd3;
  background: #fff1f2;
}

.funnel-preview .funnel-alert strong {
  color: #be123c;
}

.funnel-preview .funnel-blur {
  filter: blur(2.4px);
  opacity: 0.48;
  user-select: none;
}

.lock-ribbon {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 44px);
  padding: 11px 16px;
  border-radius: 999px;
  color: #ffffff;
  background: #111827;
  box-shadow: var(--shadow-md);
  font-size: 13px;
  font-weight: 800;
}

.report-panel,
.unlock-panel {
  padding: 28px;
}

.report-panel {
  position: relative;
  overflow: hidden;
}

.report-panel h2,
.unlock-panel h2 {
  margin-top: 10px;
  font-size: clamp(26px, 3vw, 38px);
}

.report-list,
.competitor-bars,
.fix-preview-grid,
.gate-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.report-list-item {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f9fafb;
}

.report-list-item small {
  color: var(--accent);
  font-weight: 800;
}

.report-list-item strong {
  color: var(--ink-strong);
  line-height: 1.35;
}

.report-list-item span {
  color: var(--muted);
}

.locked-preview-card .report-list-item:nth-child(n+2) {
  filter: blur(3px);
  opacity: 0.48;
  user-select: none;
}

.locked-preview-card::after {
  content: "Unlock all buyer questions";
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  padding: 12px 16px;
  border-radius: 999px;
  color: #ffffff;
  background: #111827;
  box-shadow: var(--shadow-md);
  font-size: 13px;
  font-weight: 800;
}

.competitor-bar {
  display: grid;
  gap: 8px;
}

.competitor-bar div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink-strong);
}

.competitor-bar span {
  color: var(--muted);
  font-weight: 700;
}

.competitor-bar i {
  display: block;
  width: 100%;
  height: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef2ff;
}

.competitor-bar i::before {
  content: "";
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #ec4899);
}

.competitor-bar.is-you strong {
  color: var(--accent);
}

.competitor-bar.is-you i::before {
  background: linear-gradient(90deg, #f59e0b, #facc15);
}

.locked-report-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.locked-module {
  position: relative;
  min-height: 314px;
  padding: 24px;
  overflow: hidden;
}

.locked-module h3 {
  margin-top: 10px;
  font-size: 25px;
}

.locked-module a,
.locked-fix a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 18px;
  padding: 0 14px;
  border-radius: 999px;
  color: #ffffff;
  background: #111827;
  font-size: 13px;
  font-weight: 800;
}

.blur-preview,
.source-preview,
.check-preview {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f9fafb;
}

.blur-preview {
  display: grid;
  gap: 8px;
  filter: blur(2px);
  user-select: none;
}

.blur-preview span,
.blur-preview em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.blur-preview strong {
  color: var(--ink-strong);
}

.source-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.source-preview i,
.check-preview span {
  display: block;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(90deg, #e5e7eb, #f8fafc);
}

.check-preview {
  display: grid;
  gap: 10px;
}

.check-preview span {
  height: 16px;
}

.fix-preview-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.fix-preview-grid article {
  min-height: 178px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f9fafb;
}

.free-fix {
  background: #ffffff !important;
  box-shadow: var(--shadow-sm);
}

.locked-fix {
  color: #ffffff;
  background: linear-gradient(135deg, #111827, #312e81) !important;
}

.locked-fix h3 {
  color: #ffffff;
}

.locked-fix p {
  color: rgba(255, 255, 255, 0.72);
}

.locked-fix a {
  color: #111827;
  background: #ffffff;
}

.unlock-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
  margin-top: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #111827, #312e81);
  border-color: rgba(255, 255, 255, 0.12);
}

.unlock-panel h2,
.unlock-panel .eyebrow {
  color: #ffffff;
}

.unlock-panel p {
  color: rgba(255, 255, 255, 0.74);
}

.gate-list {
  grid-template-columns: repeat(2, 1fr);
}

.gate-list span {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
}

.unlocked-report .locked-report-grid,
.unlocked-report .unlock-panel,
.unlocked-report .locked-preview-card,
.unlocked-report .fix-panel,
.unlocked-report .locked-preview-card::after,
.unlocked-report .lock-ribbon {
  display: none;
}

.unlocked-report .locked-preview-card .report-list-item:nth-child(n+2),
.unlocked-report .funnel-preview .funnel-blur {
  filter: none;
  opacity: 1;
}

.unlocked-report .funnel-preview .funnel-blur strong {
  color: var(--accent);
}

.paid-report {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}

.paid-report[hidden] {
  display: none;
}

.locked-paid-report .paid-report {
  margin-top: 18px;
}

.locked-paid-report .paid-panel,
.locked-paid-report .paid-report-head {
  position: relative;
  overflow: hidden;
}

.locked-paid-report .paid-report-head {
  background:
    radial-gradient(circle at top right, rgba(236, 72, 153, 0.10), transparent 32%),
    linear-gradient(180deg, #ffffff, #f8fafc);
}

.locked-paid-report .answer-panel::after,
.locked-paid-report .paid-panel:not(.answer-panel)::after {
  content: "Unlock full report";
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  right: 18px;
  top: 18px;
  z-index: 3;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: #111827;
  box-shadow: var(--shadow-md);
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  text-align: center;
}

.locked-paid-report .locked-report-grid,
.locked-paid-report .fix-panel {
  display: none;
}

.locked-row-preview,
.locked-source-row,
.locked-fix-step,
.locked-roadmap-step {
  position: relative;
  overflow: hidden;
}

.locked-row-preview > *,
.locked-source-row > *,
.locked-fix-step > *,
.locked-roadmap-step > * {
  filter: blur(2.5px);
  opacity: 0.54;
  user-select: none;
}

.locked-row-preview::before,
.locked-source-row::before,
.locked-fix-step::before,
.locked-roadmap-step::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.78));
}

.locked-row-preview::after,
.locked-source-row::after,
.locked-fix-step::after,
.locked-roadmap-step::after {
  content: "Locked";
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  color: #312e81;
  background: #eef2ff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.paid-report-head,
.paid-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.paid-report-head {
  padding: 34px;
  text-align: center;
}

.paid-report-head h2,
.paid-report-head p {
  margin-left: auto;
  margin-right: auto;
}

.paid-report-head p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.6;
}

.paid-report-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.paid-panel {
  padding: 28px;
}

.paid-panel h3 {
  margin-top: 10px;
  font-size: clamp(24px, 2.8vw, 34px);
}

.answer-table,
.source-graph,
.fix-plan,
.ai-fix-system,
.roadmap-preview {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.ai-fix-system {
  grid-template-columns: repeat(3, 1fr);
}

.ai-fix-system div {
  position: relative;
  min-height: 196px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.ai-fix-system span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-fix-system strong {
  display: block;
  margin: 34px 0 8px;
  color: var(--ink-strong);
  font-size: 19px;
}

.ai-fix-system p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.answer-row {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f9fafb;
}

.answer-row small {
  width: max-content;
  padding: 6px 10px;
  border-radius: 999px;
  color: #be123c;
  background: #ffe4e6;
  font-size: 12px;
  font-weight: 800;
}

.answer-row.mentioned small {
  color: #047857;
  background: #d1fae5;
}

.answer-row strong {
  color: var(--ink-strong);
  line-height: 1.35;
}

.answer-row p,
.answer-row span,
.source-row p,
.fix-step p,
.roadmap-preview p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.answer-row span {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(79, 70, 229, 0.18);
  border-radius: 999px;
  color: #312e81;
  background: #eef2ff;
  font-size: 13px;
  font-weight: 700;
}

.source-row {
  display: grid;
  grid-template-columns: 1fr 84px 34px;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f9fafb;
}

.source-row div,
.source-row strong,
.source-row span {
  display: block;
}

.source-row strong {
  overflow-wrap: anywhere;
  color: var(--ink-strong);
}

.source-row span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.source-row i {
  display: block;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef2ff;
}

.source-row i::before {
  content: "";
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #ec4899);
}

.source-row b {
  color: var(--ink-strong);
  text-align: right;
}

.source-row p {
  grid-column: 1 / -1;
  font-size: 14px;
}

.source-row b {
  font-size: 18px;
  line-height: 1;
}

.fix-plan {
  grid-template-columns: repeat(2, 1fr);
}

.fix-step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  min-height: 126px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f9fafb;
}

.fix-step b {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), #ec4899);
}

.fix-step strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-strong);
}

.roadmap-preview {
  grid-template-columns: repeat(3, 1fr);
}

.roadmap-preview div {
  position: relative;
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.roadmap-preview span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.roadmap-preview strong {
  display: block;
  margin: 44px 0 8px;
  color: var(--ink-strong);
  font-size: 20px;
}

.crm-page {
  background:
    radial-gradient(circle at top left, rgba(79, 70, 229, 0.10), transparent 34%),
    #f8fafc;
}

.crm-shell {
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 80px;
}

.crm-login {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 54px;
  align-items: center;
  min-height: 720px;
}

.crm-login .brand {
  position: absolute;
  top: 34px;
}

.crm-login h1 {
  max-width: 760px;
  font-size: clamp(42px, 5.4vw, 72px);
}

.crm-auth-card,
.crm-card,
.crm-hero {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.crm-auth-card {
  display: grid;
  gap: 14px;
  padding: 28px;
}

.crm-auth-card label,
.detail-grid label,
.detail-notes {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.crm-auth-card input,
.lead-form input,
.lead-form select,
.lead-filters input,
.lead-filters select,
.detail-grid input,
.detail-card select,
.detail-notes textarea,
.note-form input,
.log-form input,
.log-form select,
.log-form textarea,
.crm-card input[type="file"] {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 13px;
  color: var(--ink);
  background: #ffffff;
  outline: 0;
}

.detail-notes textarea {
  padding-top: 12px;
  resize: vertical;
}

.crm-auth-card input:focus,
.lead-form input:focus,
.lead-form select:focus,
.lead-filters input:focus,
.lead-filters select:focus,
.detail-grid input:focus,
.detail-card select:focus,
.detail-notes textarea:focus,
.note-form input:focus,
.log-form input:focus,
.log-form select:focus,
.log-form textarea:focus {
  border-color: rgba(79, 70, 229, 0.44);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.10);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink-strong);
  background: #ffffff;
  font-weight: 800;
}

.form-message,
.crm-help {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.crm-app {
  display: grid;
  gap: 18px;
}

.crm-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.crm-user {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.crm-user span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.crm-hero {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.crm-hero p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.6;
}

.crm-accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: 100%;
  padding: 0;
  color: var(--ink-strong);
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.crm-accordion-toggle:hover {
  transform: none;
  box-shadow: none;
}

.crm-accordion-toggle span {
  display: grid;
  gap: 4px;
}

.crm-accordion-toggle small {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.crm-accordion-toggle strong {
  color: var(--ink-strong);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.06;
  letter-spacing: -0.01em;
}

.crm-accordion-toggle b {
  flex: 0 0 auto;
  min-width: 116px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #f9fafb;
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}

.crm-accordion-panel {
  display: grid;
  gap: 16px;
  align-items: start;
}

.crm-accordion.collapsed {
  padding-bottom: 22px;
}

.crm-accordion.collapsed .crm-accordion-panel {
  display: none;
}

.crm-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--line);
}

.crm-stats div {
  min-height: 104px;
  padding: 18px;
  background: #ffffff;
}

.crm-stats strong,
.crm-stats span {
  display: block;
}

.crm-stats strong {
  color: var(--ink-strong);
  font-size: 32px;
  line-height: 1;
}

.crm-stats span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.crm-grid {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 18px;
  align-items: start;
}

.command-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1.15fr 1fr;
  gap: 18px;
}

.command-card {
  min-height: 214px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.crm-sidebar .command-card {
  min-height: auto;
}

.sidebar-accordion-toggle {
  align-items: flex-start;
}

.sidebar-accordion-toggle strong {
  font-size: 18px;
}

.sidebar-accordion-toggle small {
  font-size: 12px;
  line-height: 1.35;
}

.sidebar-accordion-toggle b {
  min-width: 66px;
  padding: 7px 10px;
  font-size: 12px;
}

.quick-actions,
.follow-up-list,
.agent-filters,
.recent-activity,
.team-form {
  display: grid;
  gap: 10px;
}

.quick-actions {
  grid-template-columns: repeat(2, 1fr);
}

.quick-actions a,
.follow-up-list button,
.agent-filters button,
.recent-activity div {
  display: grid;
  align-content: center;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink-strong);
  background: #f9fafb;
  font-weight: 800;
}

.follow-up-list button,
.agent-filters button {
  width: 100%;
  text-align: left;
  box-shadow: none;
}

.follow-up-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.follow-up-list button:hover,
.agent-filters button:hover {
  transform: none;
  box-shadow: none;
}

.follow-up-list span,
.recent-activity span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.follow-up-list span {
  margin-top: 0;
  text-align: right;
  white-space: nowrap;
}

.agent-filters {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 12px;
}

.agent-filters button.active {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

.team-form {
  grid-template-columns: 1fr 1.35fr 0.95fr auto;
}

.crm-sidebar .team-form {
  grid-template-columns: 1fr;
}

.team-form input,
.team-form select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
}

.crm-sidebar,
.crm-main {
  display: grid;
  gap: 18px;
}

.crm-card {
  padding: 22px;
}

.crm-card-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.crm-card-head h2 {
  margin: 0;
  font-size: 26px;
}

.lead-title-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.lead-title-link:hover {
  color: var(--accent);
}

.crm-card-head p {
  margin: 4px 0 0;
  color: var(--muted);
}

.lead-form {
  display: grid;
  gap: 10px;
}

.lead-form-wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lead-form-wide .two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.add-lead-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}

.add-lead-footer .form-message {
  flex: 1;
  text-align: center;
}

.add-lead-footer button {
  min-width: 160px;
}

.two-col,
.lead-filters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.leads-panel .lead-filters {
  margin-bottom: 14px;
}

.lead-table {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
}

.prospect-list {
  display: grid;
  gap: 10px;
}

.prospect-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) 150px 150px auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f9fafb;
  color: var(--muted);
}

.prospect-row strong,
.prospect-row small {
  display: block;
}

.prospect-row strong {
  color: var(--ink-strong);
}

.prospect-row small {
  margin-top: 4px;
  color: var(--subtle);
}

.prospect-row p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.prospect-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  white-space: nowrap;
}

.small-action {
  min-height: 34px;
  padding: 0 14px;
  font-size: 12px;
  border-radius: 999px;
}

.danger-action {
  border-color: rgba(220, 38, 38, 0.24);
  color: #b91c1c;
  background: #fff7f7;
}

.leads-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.leads-footer button {
  min-width: 160px;
}

.lead-row {
  display: grid;
  grid-template-columns: 1.25fr 140px 140px 150px 150px;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 68px;
  padding: 14px 16px;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  background: #ffffff;
  text-align: left;
  box-shadow: none;
}

.lead-row:not(.lead-row-head):hover {
  transform: none;
  background: #f9fafb;
  box-shadow: none;
}

.lead-row-head {
  min-height: 46px;
  color: var(--subtle);
  background: #f8fafc;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead-row strong,
.lead-row small {
  display: block;
}

.lead-row strong {
  color: var(--ink-strong);
}

.lead-row small {
  margin-top: 4px;
  color: var(--subtle);
}

.stage-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  color: #475569;
  background: #f1f5f9;
  font-size: 12px;
  font-weight: 850;
}

.stage-pill.contacted {
  color: #1d4ed8;
  background: #dbeafe;
}

.stage-pill.audit-sent {
  color: #6d28d9;
  background: #ede9fe;
}

.stage-pill.follow-up {
  color: #92400e;
  background: #fef3c7;
}

.stage-pill.closed-won {
  color: #047857;
  background: #d1fae5;
}

.stage-pill.closed-lost {
  color: #be123c;
  background: #ffe4e6;
}

.heat-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  color: #52525b;
  background: #f4f4f5;
  font-size: 12px;
  font-weight: 800;
}

.heat-pill.good {
  color: #0f766e;
  background: #ccfbf1;
}

.heat-pill.better {
  color: #6d28d9;
  background: #ede9fe;
}

.heat-pill.best {
  color: #be123c;
  background: #ffe4e6;
}

.heat-pill.hot {
  color: #be123c;
  background: #ffe4e6;
}

.heat-pill.warm {
  color: #92400e;
  background: #fef3c7;
}

.heat-pill.cold {
  color: #52525b;
  background: #f4f4f5;
}

.engagement-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 12px 0;
}

.engagement-summary div {
  min-height: 78px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
}

.engagement-summary strong,
.engagement-summary span {
  display: block;
}

.engagement-summary strong {
  color: var(--ink-strong);
  font-size: 17px;
}

.engagement-summary span {
  margin-top: 6px;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.tracking-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin: 12px 0;
}

.tracking-tools .form-message {
  flex-basis: 100%;
}

.tracking-tools textarea {
  width: 100%;
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 13px;
  color: var(--ink);
  background: #ffffff;
  outline: 0;
  resize: vertical;
}

.access-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.access-checklist label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: #ffffff;
  font-size: 14px;
  font-weight: 750;
}

.access-checklist input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.access-detail-grid {
  margin-top: 12px;
}

.detail-accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 8px 0;
  color: var(--ink-strong);
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.detail-accordion-toggle:hover {
  transform: none;
  box-shadow: none;
}

.detail-accordion-toggle > span {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.detail-accordion-toggle strong {
  color: var(--ink-strong);
  font-size: 20px;
  line-height: 1.2;
}

.accordion-title-row {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.approval-status-pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}

.approval-status-pill {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  color: #92400e;
  background: #fef3c7;
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.approval-status-pill.approved {
  color: #047857;
  background: #d1fae5;
}

.approval-status-pill.rejected {
  color: #be123c;
  background: #ffe4e6;
}

.detail-accordion-toggle small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.detail-accordion-toggle b {
  flex: 0 0 auto;
  min-width: 68px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #ffffff;
  font-size: 13px;
  font-weight: 850;
  text-align: center;
}

.detail-accordion-panel {
  margin-top: 16px;
}

.accordion-box.collapsed .detail-accordion-panel,
.client-access-box.collapsed .detail-accordion-panel {
  display: none;
}

.empty-state {
  padding: 18px;
  color: var(--muted);
  background: #ffffff;
}

.detail-card {
  border-color: rgba(79, 70, 229, 0.18);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.detail-notes {
  margin-top: 12px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.detail-selects {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 10px;
  justify-content: end;
  max-width: 430px;
  margin: -6px 0 18px auto;
}

.detail-stage-select {
  width: 132px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
  justify-self: end;
}

.detail-status-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

.detail-report-button,
.detail-close-button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
}

.detail-close-button {
  color: #475569;
  background: #f8fafc;
}

.lead-detail-page .crm-shell {
  max-width: 1120px;
}

.lead-edit-card {
  margin-top: 20px;
}

.lead-edit-card h1 {
  margin: 0;
  color: var(--ink-strong);
  font-size: 34px;
  line-height: 1.05;
}

.lead-edit-actions {
  align-items: center;
}

.activity-box {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.lead-log-panel {
  margin-top: 18px;
  padding: 20px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.lead-log-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}

.lead-log-header strong {
  color: var(--ink-strong);
  font-size: 16px;
}

.lead-log-header p {
  margin: 4px 0 0;
  color: var(--subtle);
  font-size: 13px;
}

.note-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin: 12px 0;
}

.log-form {
  display: grid;
  grid-template-columns: 120px minmax(150px, 1fr) minmax(150px, 1fr) minmax(150px, 1fr) auto;
  gap: 10px;
  align-items: start;
  margin: 12px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f9fafb;
}

.log-form + .log-form {
  margin-top: 10px;
}

.log-form strong {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--ink-strong);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.log-form textarea {
  grid-column: 2 / 5;
  min-height: 72px;
  padding-top: 12px;
  resize: vertical;
}

.log-form button {
  min-height: 44px;
  align-self: end;
}

.email-client-form {
  grid-template-columns: 120px minmax(180px, 1fr) minmax(180px, 1fr) auto;
}

.email-client-form textarea {
  grid-column: 2 / 4;
}

.email-client-form .form-message {
  grid-column: 2 / -1;
  margin: -2px 0 0;
}

.google-mail-connect {
  white-space: nowrap;
}

.change-form {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.change-form textarea {
  width: 100%;
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 13px;
  color: var(--ink);
  background: #ffffff;
  outline: 0;
  resize: vertical;
}

.change-form textarea:focus {
  border-color: rgba(79, 70, 229, 0.44);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.10);
}

.note-list,
.change-list {
  display: grid;
  gap: 10px;
}

.note-list div,
.change-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f9fafb;
}

.change-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
}

.note-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--subtle);
  font-size: 12px;
  font-weight: 800;
}

.log-type {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  line-height: 1;
}

.log-type.call {
  color: #075985;
  background: #e0f2fe;
}

.log-type.email {
  color: #166534;
  background: #dcfce7;
}

.log-type.note {
  color: #4c1d95;
  background: #ede9fe;
}

.note-list p,
.change-item p {
  margin: 6px 0 0;
  color: var(--ink);
}

.change-item strong {
  display: block;
  margin-top: 8px;
  color: var(--ink-strong);
}

.approval-pill {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  color: #92400e;
  background: #fef3c7;
  font-size: 12px;
  font-weight: 800;
  text-transform: capitalize;
}

.approval-pill.approved {
  color: #047857;
  background: #d1fae5;
}

.approval-pill.rejected {
  color: #be123c;
  background: #ffe4e6;
}

.approval-actions {
  display: flex;
  gap: 8px;
}

.roadmap-page {
  background:
    radial-gradient(circle at 50% -10%, rgba(79, 70, 229, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f9fafb 58%, #ffffff 100%);
}

.roadmap-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 86px;
}

.roadmap-hero {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 34px 0 24px;
}

.roadmap-hero h1,
.roadmap-hero p {
  margin-left: auto;
  margin-right: auto;
}

.roadmap-hero .lede {
  max-width: 780px;
}

.roadmap-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 22px 0;
}

.roadmap-overview article,
.roadmap-month,
.roadmap-approval-panel,
.approval-demo,
.lead-score-rules div {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.roadmap-overview article {
  min-height: 188px;
  padding: 22px;
}

.roadmap-overview span,
.roadmap-month span,
.approval-demo span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.roadmap-overview strong {
  display: block;
  margin: 18px 0 8px;
  color: var(--ink-strong);
  font-size: 28px;
}

.roadmap-overview p,
.roadmap-month p,
.roadmap-approval-panel p,
.approval-demo p,
.lead-score-rules p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.client-roadmap {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.roadmap-month {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 20px;
  padding: 24px;
}

.roadmap-month b {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  color: #ffffff;
  background: #111827;
  font-size: 24px;
}

.roadmap-month.active b {
  background: linear-gradient(135deg, var(--accent), #ec4899);
}

.roadmap-month h2 {
  margin: 8px 0 10px;
  font-size: clamp(26px, 3vw, 38px);
}

.roadmap-month div > strong {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  padding: 8px 11px;
  border-radius: 999px;
  color: #3730a3;
  background: var(--accent-soft);
  font-size: 13px;
}

.roadmap-approval-panel {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: center;
  margin-top: 18px;
  padding: 28px;
}

.approval-demo {
  display: grid;
  gap: 10px;
  padding: 20px;
  background: #f9fafb;
}

.approval-demo strong {
  color: var(--ink-strong);
  font-size: 20px;
}

.approval-demo div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lead-score-rules {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.lead-score-rules div {
  padding: 18px;
}

.lead-score-rules strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-strong);
  font-size: 20px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 18px 24px;
  }

  .site-header nav {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero,
  .seo-grid,
  .report-grid,
  .split,
  .agency,
  .audience-grid,
  .insight-grid,
  .story-panel,
  .receipt-card,
  .score-grid,
  .locked-row,
  .steps,
  .success-grid,
  .fix-grid,
  .pricing-grid,
  .strip,
  .evidence-strip,
  .conversion-snapshot,
  .visibility-board,
  .report-layout,
  .signal-board,
  .unlock-panel,
  .locked-report-grid,
  .fix-preview-grid,
  .paid-report-grid,
  .fix-plan,
  .ai-fix-system,
  .roadmap-preview,
  .crm-login,
  .crm-hero,
  .crm-accordion-panel,
  .crm-grid,
  .command-grid,
  .crm-stats,
  .engagement-summary,
  .access-checklist,
  .detail-grid,
  .lead-form-wide,
  .lead-row,
  .team-form,
  .detail-selects,
  .log-form,
  .change-item,
  .intelligence-hero,
  .intelligence-grid,
  .intel-results,
  .roadmap-overview,
  .roadmap-approval-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 24px;
  }

  .phone-card { min-height: auto; }

  .score-grid,
  .strip,
  .crm-stats {
    gap: 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .strip div,
  .crm-stats div {
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
  }

  .crm-login .brand {
    position: static;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }

  .log-form textarea {
    grid-column: 1;
  }

  .footer-columns {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    justify-content: center;
  }

  .intelligence-hero {
    align-items: start;
    padding-top: 58px;
  }
}

@media (max-width: 720px) {
  .announcement {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero,
  .strip,
  .section,
  .intelligence-hero,
  .intelligence-grid,
  .intelligence-results-section {
    width: min(100% - 28px, 1180px);
  }

  .section:nth-of-type(even) {
    padding-left: 14px;
    padding-right: 14px;
  }

  .scan-box,
  .question-card,
  .intel-flow div {
    grid-template-columns: 1fr;
  }

  .intel-panel,
  .intel-results article,
  .intel-summary-card {
    padding: 18px;
  }

  .intel-actions button {
    width: 100%;
  }

  .scan-box { border-radius: 18px; }
  .scan-box button { width: 100%; }

  h1 { font-size: 46px; }

  .hero {
    padding-top: 14px;
  }

  .floating-score {
    position: relative;
    right: auto;
    bottom: auto;
    width: 124px;
    margin: 8px auto 0;
  }

  .story-panel img {
    min-height: 220px;
  }

  .story-copy {
    padding: 24px;
  }

  .success-card > div {
    grid-template-rows: auto;
  }

  .visibility-row {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .visibility-row > :last-child {
    grid-column: 2;
    justify-content: flex-start;
  }

  .locked-paid-report .answer-panel::after,
  .locked-paid-report .paid-panel:not(.answer-panel)::after {
    position: static;
    display: inline-flex;
    width: fit-content;
    margin-bottom: 14px;
  }

  .source-row {
    grid-template-columns: 1fr 48px;
  }

  .source-row i {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .source-row b {
    grid-column: 2;
    grid-row: 1;
  }

  .compare-section {
    padding-bottom: 0;
  }

  .comparison {
    display: grid;
    gap: 14px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .compare-head {
    display: none;
  }

  .compare-row {
    grid-template-columns: 1fr;
    min-height: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
  }

  .compare-row > * {
    display: grid;
    gap: 6px;
    min-height: 0;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    line-height: 1.45;
  }

  .compare-row > :last-child {
    border-bottom: 0;
  }

  .compare-row small {
    display: block;
    color: var(--subtle);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .question-meta { text-align: left; }

  .legal-shell {
    width: min(100% - 28px, 940px);
    padding-top: 48px;
  }

  .legal-card {
    padding: 24px;
  }

  .seo-shell {
    width: min(100% - 28px, 1180px);
  }

  .seo-hero {
    padding-top: 58px;
  }

  .seo-grid article,
  .seo-panel {
    padding: 22px;
  }

  .client-shell {
    width: min(100% - 28px, 1180px);
  }

  .client-login,
  .client-hero,
  .client-grid,
  .roadmap-month {
    grid-template-columns: 1fr;
  }

  .client-login {
    min-height: auto;
    padding-top: 28px;
  }

  .client-login .brand {
    position: static;
  }

  .mini-metrics,
  .engine-row {
    grid-template-columns: 1fr;
  }

  .engine-row b {
    text-align: left;
  }

  .crm-shell {
    width: min(100% - 24px, 1180px);
  }

  .crm-card,
  .detail-card {
    padding: 18px;
    border-radius: 18px;
  }

  .detail-accordion-toggle {
    align-items: flex-start;
    gap: 12px;
  }

  .detail-accordion-toggle strong {
    font-size: 20px;
  }

  .detail-accordion-toggle small {
    font-size: 12px;
    line-height: 1.35;
  }

  .detail-accordion-toggle b {
    min-width: 72px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .add-lead-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .add-lead-footer .form-message {
    text-align: left;
  }

  .add-lead-footer button {
    width: 100%;
    min-width: 0;
  }

  .lead-row-head {
    display: none;
  }

  .lead-row {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 0;
    padding: 16px;
    border-bottom: 1px solid var(--line);
  }

  .lead-row:not(.lead-row-head) {
    border-radius: 0;
  }

  .lead-row > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .lead-row > span:first-child,
  .lead-row > span:last-child {
    display: block;
  }

  .lead-row small {
    text-align: right;
  }

  .lead-row > span:first-child small,
  .lead-row > span:last-child small {
    text-align: left;
  }

  .prospect-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
  }

  .prospect-actions {
    justify-content: stretch;
  }

  .prospect-actions button {
    flex: 1;
  }
}
