/* ── TOKENS ── */
:root {
  --bg: #faf7f0;
  --fg: #1e1b18;
  --accent: #c0532c;
  --accent-hover: #a3421f;
  --muted: #6f6256;
  --card-bg: #fff;
  --border: #e6dfd4;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 2px 12px rgba(30, 27, 24, 0.06);
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}

/* ── RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }

/* ── TOASTS ── */
.app-toast-container {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: min(24rem, calc(100vw - 2rem));
  pointer-events: none;
}

.app-toast {
  pointer-events: auto;
  border: 1px solid rgba(30, 27, 24, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(30, 27, 24, 0.16);
  color: var(--fg);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  padding: 0.85rem 0.95rem;
  opacity: 0;
  transform: translateY(10px);
  animation: appToastIn 0.18s ease forwards;
}

.app-toast--success {
  border-left: 4px solid #2f9f6f;
}

.app-toast--error {
  border-left: 4px solid #d35f3d;
}

.app-toast--leaving {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.page--dark .app-toast {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(13, 14, 21, 0.96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
  color: #f8fafc;
}

@keyframes appToastIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 1rem;
  padding: 0.65em 1.6em;
}
.btn:hover { text-decoration: none; }

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(192, 83, 44, 0.3);
}

.btn--ghost {
  background: #fff;
  color: var(--fg);
  border-color: var(--border);
}
.btn--ghost:hover {
  border-color: var(--muted);
  background: rgba(0,0,0,0.03);
}

.btn--sm { font-size: 0.85rem; padding: 0.45em 1.2em; }
.btn--lg { font-size: 1.15rem; padding: 0.8em 2.2em; }

.hijack-banner {
  position: sticky;
  top: 0;
  z-index: 140;
  background: #9f1f1f;
  color: #fff7f5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.hijack-banner__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.hijack-banner__button {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hijack-banner__button:hover {
  background: rgba(255, 255, 255, 0.18);
}

body.body--hijacked .topnav {
  top: 3.25rem;
}

/* ── NAV ── */
.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(250, 247, 240, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.topnav__logo {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--fg);
}
.topnav__logo:hover { text-decoration: none; }

.topnav__logo-img {
  height: 1.8rem;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 14px rgba(255, 255, 255, 0.5));
}

.topnav__organization {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex: 0 1 15rem;
}

.topnav__organization-select {
  width: 100%;
  max-width: 15rem;
  min-width: 8rem;
  height: 2.25rem;
  padding: 0 2rem 0 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--fg);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
}

.topnav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
.topnav__links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.topnav__links a:hover { color: var(--fg); text-decoration: none; }

.topnav__profile {
  position: relative;
}

.topnav__profile-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--fg);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.topnav__profile-button:hover {
  border-color: var(--muted);
  background: rgba(0,0,0,0.03);
  transform: translateY(-1px);
}

.topnav__profile-icon {
  width: 1.1rem;
  height: 1.1rem;
}

.topnav__profile-menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  min-width: 10rem;
  padding: 0.45rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card-bg);
  box-shadow: var(--shadow);
}

.topnav__profile-link {
  display: block;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  color: var(--fg);
  font-size: 0.9rem;
}

.topnav__profile-link:hover {
  background: rgba(0,0,0,0.04);
}

.topnav__burger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--fg);
}

@media (max-width: 768px) {
  .hijack-banner__content {
    flex-direction: column;
    align-items: stretch;
    padding: 0.85rem 1rem;
  }
  .topnav__links { display: none; }
  .topnav__organization {
    flex-basis: 38vw;
  }
  .topnav__organization-select {
    min-width: 0;
    max-width: 100%;
    font-size: 0.78rem;
  }
  .topnav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    gap: 1rem;
  }
  .topnav__profile {
    width: 100%;
  }
  .topnav__profile-button {
    width: 100%;
    justify-content: flex-start;
    padding: 0 1rem;
    border-radius: 999px;
  }
  .topnav__profile-menu {
    position: static;
    margin-top: 0.75rem;
    width: 100%;
    box-shadow: none;
  }
  .topnav__burger { display: block; }
  body.body--hijacked .topnav {
    top: 4.9rem;
  }
}

/* ── NAV DARK (landing page) ── */
.topnav--dark {
  background: #08090d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topnav--dark .topnav__logo {
  color: #f0f0ff;
}

.topnav--dark .topnav__organization-select {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: #f0f0ff;
}

.topnav--dark .topnav__links a {
  color: rgba(200, 200, 220, 0.55);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.topnav--dark .topnav__links a:hover {
  color: #f0f0ff;
}

.topnav--dark .topnav__cta {
  color: #fff !important;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.4em 1.15em;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.topnav--dark .topnav__cta:hover {
  background: rgba(99, 102, 241, 0.25);
  border-color: rgba(99, 102, 241, 0.5);
  color: #fff;
}

.topnav--dark .topnav__burger {
  color: rgba(200, 200, 220, 0.7);
}

@media (max-width: 768px) {
  .topnav--dark .topnav__links.open {
    background: rgba(8, 9, 13, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}

/* ── SECTIONS ── */
.section {
  padding: 5rem 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section__sub {
  text-align: center;
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* ── HERO ── */
.hero {
  text-align: center;
  padding: 6rem 2rem 4rem;
}

.hero__inner {
  max-width: 48rem;
  margin: 0 auto;
}

.eyebrow {
  display: inline-block;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  background: rgba(192, 83, 44, 0.08);
  padding: 0.35em 1em;
  border-radius: 999px;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.lede {
  max-width: 36rem;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero__proof {
  font-size: 0.9rem;
  color: var(--muted);
}
.hero__proof strong { color: var(--fg); }

.hero__badges {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.badge {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 0.4em 1em;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--muted);
  white-space: nowrap;
}

/* ── HERO V2 ── */

/* Keyframes */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroPulseGlow {
  0%, 100% {
    box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 0 20px rgba(99, 102, 241, 0.25);
  }
  50% {
    box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 0 32px rgba(99, 102, 241, 0.45);
  }
}

@keyframes glowDrift {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(2%, -1.5%) scale(1.02);
  }
  66% {
    transform: translate(-1.5%, 1%) scale(0.98);
  }
}

@keyframes barGrow {
  from { width: 0; }
}

.hero-v2 {
  position: relative;
  overflow: hidden;
  background: #08090d;
  padding: 7rem 2rem 5rem;
}

.hero-v2__glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(99, 102, 241, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(56, 189, 248, 0.06) 0%, transparent 60%);
  pointer-events: none;
  animation: glowDrift 12s ease-in-out infinite;
  will-change: transform;
}

/* Staggered fade-in for text elements */
.hero-v2__eyebrow,
.hero-v2__headline,
.hero-v2__sub,
.hero-v2__ctas,
.hero-v2__proof {
  opacity: 0;
  animation: heroFadeUp 0.7s ease forwards;
}

.hero-v2__eyebrow  { animation-delay: 0.1s; }
.hero-v2__headline { animation-delay: 0.2s; }
.hero-v2__sub      { animation-delay: 0.35s; }
.hero-v2__ctas     { animation-delay: 0.5s; }
.hero-v2__proof    { animation-delay: 0.65s; }

/* Dashboard cards: hidden until in-view */
.hero-v2 .dash-card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-v2 .dash-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.hero-v2 .dash-card:nth-child(1) { transition-delay: 0.15s; }
.hero-v2 .dash-card:nth-child(2) { transition-delay: 0.3s; }
.hero-v2 .dash-card:nth-child(3) { transition-delay: 0.45s; }

/* Progress bar animation on reveal */
.hero-v2 .dash-position__fill {
  transition: none;
}

.hero-v2 .dash-card:not(.in-view) .dash-position__fill {
  width: 0 !important;
}

.hero-v2 .dash-card.in-view .dash-position__fill {
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-v2 .dash-card.in-view .dash-position__item:nth-child(1) .dash-position__fill {
  transition-delay: 0.3s;
}

.hero-v2 .dash-card.in-view .dash-position__item:nth-child(2) .dash-position__fill {
  transition-delay: 0.5s;
}

.hero-v2 .dash-card.in-view .dash-position__item:nth-child(3) .dash-position__fill {
  transition-delay: 0.7s;
}

/* CTA pulse glow */
.hero-v2__btn--primary {
  animation: heroPulseGlow 3s ease-in-out infinite;
  animation-delay: 1.5s;
}

.hero-v2__content {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.hero-v2__text {
  color: #f0f0f5;
}

.hero-v2__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(165, 180, 252, 0.9);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 0.4em 1em;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero-v2__headline {
  font-family: var(--font-body);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.hero-v2__sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(200, 200, 220, 0.7);
  max-width: 32rem;
  margin-bottom: 2rem;
}

.hero-v2__ctas {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-v2__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75em 1.6em;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hero-v2__btn--primary {
  background: #6366f1;
  color: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 0 20px rgba(99, 102, 241, 0.25);
}

.hero-v2__btn--primary:hover {
  background: #7c7ff7;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
  text-decoration: none;
}

.hero-v2__btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(220, 220, 240, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-v2__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
}

.hero-v2__proof {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.hero-v2__proof-item {
  font-size: 0.82rem;
  color: rgba(180, 180, 200, 0.6);
  font-weight: 500;
}

.hero-v2__proof-sep {
  color: rgba(180, 180, 200, 0.3);
  font-size: 0.7rem;
}

/* ── DASHBOARD VISUAL ── */
.hero-v2__visual {
  position: relative;
}

.hero-v2__dashboard {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}

.hero-v2 .dash-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  backdrop-filter: blur(8px);
}

.hero-v2 .dash-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.hero-v2 .dash-card__label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(240, 240, 255, 0.95);
}

.hero-v2 .dash-card__badge {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2em 0.6em;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dash-card__badge--live {
  background: rgba(52, 211, 153, 0.12);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.dash-card__period {
  font-size: 0.72rem;
  color: rgba(200, 200, 220, 0.5);
  letter-spacing: 0.02em;
}

/* Position ranking */
.hero-v2 .dash-position__grid {
  display: grid;
  gap: 0.7rem;
}

.dash-position__item {
  display: grid;
  grid-template-columns: 2.2rem 1fr 2.5rem;
  gap: 0.6rem;
  align-items: center;
}

.dash-position__rank {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(240, 240, 255, 0.9);
}

.dash-position__rank span {
  font-size: 0.65rem;
  font-weight: 500;
}

.dash-position__item--you .dash-position__rank {
  color: #a5b4fc;
}

.dash-position__name {
  font-size: 0.82rem;
  color: #f0f0ff;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-position__item--you .dash-position__name {
  color: #c7d2fe;
}

.dash-position__bar {
  grid-column: 2;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  overflow: hidden;
}

.dash-position__fill {
  height: 100%;
  border-radius: 99px;
  background: rgba(165, 180, 252, 0.5);
  transition: width 1s ease;
}

.dash-position__fill--top {
  background: rgba(52, 211, 153, 0.6);
}

.dash-position__fill--mid {
  background: rgba(251, 191, 36, 0.5);
}

.dash-position__score {
  font-size: 0.78rem;
  font-weight: 700;
  text-align: right;
  color: #ededff;
}

.dash-position__item--you .dash-position__score {
  color: #a5b4fc;
}

/* Insight card */
.dash-insight__text {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #e8e8fc;
  margin-bottom: 0.75rem;
}

.dash-insight__text strong {
  color: rgba(240, 240, 255, 0.9);
  font-weight: 600;
}

.dash-insight__tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.dash-tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25em 0.7em;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.dash-tag--gap {
  background: rgba(251, 146, 60, 0.12);
  color: #fdba74;
  border: 1px solid rgba(251, 146, 60, 0.2);
}

.dash-tag--action {
  background: rgba(99, 102, 241, 0.1);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

/* Signals card */
.dash-signals__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.dash-signal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.65rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.dash-signal__label {
  font-size: 0.72rem;
  color: #e0e0f0;
  font-weight: 500;
}

.dash-signal__value {
  font-size: 0.72rem;
  font-weight: 700;
}

.dash-signal__value--ok {
  color: #fbbf24;
}

.dash-signal__value--warn {
  color: rgba(200, 200, 220, 0.6);
}

.dash-signal__value--low {
  color: #fb923c;
}

/* Reduced motion: respect user preference */
@media (prefers-reduced-motion: reduce) {
  .hero-v2__eyebrow,
  .hero-v2__headline,
  .hero-v2__sub,
  .hero-v2__ctas,
  .hero-v2__proof {
    opacity: 1;
    animation: none;
  }

  .hero-v2__glow {
    animation: none;
  }

  .hero-v2__btn--primary {
    animation: none;
  }

  .hero-v2 .dash-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-v2 .dash-card:not(.in-view) .dash-position__fill {
    width: unset !important;
  }

  .hero-v2 .dash-card.in-view .dash-position__fill {
    transition: none;
  }
}

/* ── HERO V2 RESPONSIVE ── */
@media (max-width: 968px) {
  .hero-v2__content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-v2__sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-v2__ctas {
    justify-content: center;
  }

  .hero-v2__proof {
    justify-content: center;
  }

  .hero-v2__visual {
    max-width: 28rem;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero-v2 {
    padding: 5rem 1.25rem 3.5rem;
  }

  .hero-v2__headline {
    font-size: 2rem;
  }

  .hero-v2__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-v2__btn {
    justify-content: center;
  }

  .dash-signals__grid {
    grid-template-columns: 1fr;
  }

  .dash-position__item {
    grid-template-columns: 1.8rem 1fr 2rem;
  }
}

/* ── POSITIONING SECTION ── */
.positioning {
  position: relative;
  overflow: hidden;
  background: #0b0c11;
  padding: 6rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.positioning__glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 50% 50% at 30% 80%, rgba(99, 102, 241, 0.07) 0%, transparent 70%),
    radial-gradient(ellipse 35% 40% at 70% 30%, rgba(52, 211, 153, 0.05) 0%, transparent 60%);
  pointer-events: none;
  animation: glowDrift 14s ease-in-out infinite reverse;
}

.positioning__inner {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
}

.positioning__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.positioning__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(110, 231, 183, 0.9);
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.18);
  padding: 0.4em 1em;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.positioning__title {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1rem;
}

.positioning__sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(200, 200, 220, 0.65);
  max-width: 38rem;
  margin: 0 auto;
}

/* Showcase grid */
.positioning__showcase {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

/* Panels */
.pos-panel {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
}

.pos-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.pos-panel__label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(240, 240, 255, 0.92);
}

.pos-panel__context {
  font-size: 0.72rem;
  color: rgba(180, 180, 200, 0.5);
  font-weight: 500;
}

.pos-panel__desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(200, 200, 220, 0.6);
  margin-bottom: 1.25rem;
}

/* ── Cluster chips ── */
.pos-cluster {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.pos-cluster__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pos-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.4em 0.85em;
  border-radius: 8px;
  color: #e8e8fc;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pos-chip:hover {
  transform: translateY(-1px);
}

.pos-chip__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pos-chip__count {
  font-size: 0.68rem;
  color: rgba(180, 180, 200, 0.5);
  margin-left: 0.15rem;
}

/* Saturated — red */
.pos-chip--saturated {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.18);
}
.pos-chip--saturated .pos-chip__dot {
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.4);
}

/* Moderate */
.pos-chip--moderate {
  background: rgba(251, 191, 36, 0.07);
  border-color: rgba(251, 191, 36, 0.18);
}
.pos-chip--moderate .pos-chip__dot {
  background: #fbbf24;
  box-shadow: 0 0 6px rgba(251, 191, 36, 0.4);
}

/* Opportunity — blue */
.pos-chip--opportunity {
  background: rgba(56, 189, 248, 0.07);
  border-color: rgba(56, 189, 248, 0.18);
}
.pos-chip--opportunity .pos-chip__dot {
  background: #38bdf8;
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.4);
}

/* Unique strength — green */
.pos-chip--unique {
  background: rgba(52, 211, 153, 0.08);
  border-color: rgba(52, 211, 153, 0.2);
}
.pos-chip--unique .pos-chip__dot {
  background: #34d399;
  box-shadow: 0 0 6px rgba(52, 211, 153, 0.4);
}

/* Legend */
.pos-legend {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.pos-legend__item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  color: rgba(180, 180, 200, 0.6);
  font-weight: 500;
}

.pos-legend__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.pos-legend__dot--saturated { background: #ef4444; }
.pos-legend__dot--moderate  { background: #fbbf24; }
.pos-legend__dot--opportunity { background: #38bdf8; }
.pos-legend__dot--unique    { background: #34d399; }

/* ── Sidebar panels ── */
.pos-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pos-sidebar .pos-panel {
  flex: 1;
}

/* Differentiator list */
.pos-diff__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pos-diff__item {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.pos-diff__icon {
  font-size: 0.65rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.pos-diff__item--strong .pos-diff__icon {
  color: #34d399;
}

.pos-diff__item--gap .pos-diff__icon {
  color: #38bdf8;
}

.pos-diff__theme {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #f0f0ff;
  margin-bottom: 0.15rem;
}

.pos-diff__meta {
  display: block;
  font-size: 0.72rem;
  color: rgba(200, 200, 220, 0.55);
  line-height: 1.5;
}

/* Action / recommendation card */
.pos-action__card {
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

.pos-action__text {
  font-size: 0.85rem;
  line-height: 1.65;
  color: #e0e0f0;
  margin-bottom: 0.85rem;
}

.pos-action__text strong {
  color: #fff;
  font-weight: 600;
}

.pos-action__impact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(99, 102, 241, 0.12);
}

.pos-action__impact-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(165, 180, 252, 0.7);
}

.pos-action__impact-value {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6ee7b7;
}

/* ── Scroll animations ── */
[data-anim="fade-up"] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-anim="fade-up"].anim-visible {
  opacity: 1;
  transform: translateY(0);
}

.pos-panel--landscape[data-anim="fade-up"] { transition-delay: 0s; }
.pos-sidebar .pos-panel:nth-child(1)[data-anim="fade-up"] { transition-delay: 0.15s; }
.pos-sidebar .pos-panel:nth-child(2)[data-anim="fade-up"] { transition-delay: 0.3s; }

/* Chip stagger on reveal */
.pos-chip {
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.anim-visible .pos-chip {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.pos-cluster__row:nth-child(1) .pos-chip:nth-child(1) { transition-delay: 0.1s; }
.pos-cluster__row:nth-child(1) .pos-chip:nth-child(2) { transition-delay: 0.18s; }
.pos-cluster__row:nth-child(1) .pos-chip:nth-child(3) { transition-delay: 0.26s; }
.pos-cluster__row:nth-child(2) .pos-chip:nth-child(1) { transition-delay: 0.34s; }
.pos-cluster__row:nth-child(2) .pos-chip:nth-child(2) { transition-delay: 0.42s; }
.pos-cluster__row:nth-child(2) .pos-chip:nth-child(3) { transition-delay: 0.50s; }
.pos-cluster__row:nth-child(3) .pos-chip:nth-child(1) { transition-delay: 0.58s; }
.pos-cluster__row:nth-child(3) .pos-chip:nth-child(2) { transition-delay: 0.66s; }
.pos-cluster__row:nth-child(3) .pos-chip:nth-child(3) { transition-delay: 0.74s; }

/* ── Positioning responsive ── */
@media (max-width: 968px) {
  .positioning__showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .positioning {
    padding: 4rem 1.25rem;
  }

  .positioning__title {
    font-size: 1.75rem;
  }

  .pos-cluster__row {
    flex-direction: column;
  }

  .pos-legend {
    gap: 0.8rem;
  }

  .pos-action__impact {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  [data-anim="fade-up"] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .pos-chip {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .positioning__glow {
    animation: none;
  }
}

/* ── INSIGHTS SECTION ── */
.insights {
  position: relative;
  overflow: hidden;
  background: #090a0f;
  padding: 6rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.insights__glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 45% 50% at 60% 70%, rgba(99, 102, 241, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 35% 35% at 20% 40%, rgba(251, 191, 36, 0.04) 0%, transparent 60%);
  pointer-events: none;
  animation: glowDrift 16s ease-in-out infinite;
}

.insights__inner {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
}

.insights__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.insights__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(165, 180, 252, 0.9);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.18);
  padding: 0.4em 1em;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.insights__title {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1rem;
}

.insights__sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(200, 200, 220, 0.65);
  max-width: 38rem;
  margin: 0 auto;
}

/* Layout: feed + sidebar */
.insights__layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

/* ── Feed column ── */
.insights__feed {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.insights__feed-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.25rem;
}

.insights__feed-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(240, 240, 255, 0.9);
}

.insights__feed-date {
  font-size: 0.72rem;
  color: rgba(180, 180, 200, 0.5);
  font-weight: 500;
}

/* ── Insight cards ── */
.insight-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.2rem 1.3rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.insight-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.insight-card--subtle {
  border-style: dashed;
  border-color: rgba(52, 211, 153, 0.15);
}

.insight-card__priority {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2em 0.65em;
  border-radius: 5px;
  margin-bottom: 0.5rem;
}

.insight-card__priority--high {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.insight-card__priority--medium {
  background: rgba(56, 189, 248, 0.1);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.insight-card__priority--info {
  background: rgba(251, 191, 36, 0.08);
  color: #fcd34d;
  border: 1px solid rgba(251, 191, 36, 0.18);
}

.insight-card__priority--positive {
  background: rgba(52, 211, 153, 0.1);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.insight-card__category {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(200, 200, 220, 0.45);
  margin-bottom: 0.55rem;
}

.insight-card__text {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #e0e0f0;
  margin-bottom: 0.85rem;
}

.insight-card__text strong {
  color: #fff;
  font-weight: 600;
}

.insight-card__action {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.insight-card__action-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(165, 180, 252, 0.6);
  flex-shrink: 0;
}

.insight-card__action-text {
  font-size: 0.78rem;
  color: rgba(220, 220, 240, 0.7);
  line-height: 1.5;
}

.insight-card__action-text--positive {
  color: #6ee7b7;
}

/* ── Sidebar ── */
.insights__sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.insights__sidebar .insights__ctx-card {
  flex: 1;
}

.insights__ctx-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
}

.insights__ctx-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(240, 240, 255, 0.9);
  margin-bottom: 0.85rem;
}

/* Stats row */
.insights__ctx-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
}

.insights__ctx-stat {
  text-align: center;
  padding: 0.6rem 0.4rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.insights__ctx-stat-value {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.15rem;
}

.insights__ctx-stat-label {
  font-size: 0.65rem;
  color: rgba(180, 180, 200, 0.6);
  font-weight: 500;
}

/* Market pulse */
.insights__pulse-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.insights__pulse-item {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(220, 220, 240, 0.75);
}

.insights__pulse-item strong {
  color: #f0f0ff;
  font-weight: 600;
}

.insights__pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.35rem;
}

.insights__pulse-dot--up {
  background: #34d399;
  box-shadow: 0 0 6px rgba(52, 211, 153, 0.4);
}

.insights__pulse-dot--down {
  background: #fb923c;
  box-shadow: 0 0 6px rgba(251, 146, 60, 0.4);
}

.insights__pulse-dot--stable {
  background: rgba(200, 200, 220, 0.35);
}

/* CTA card */
.insights__ctx-card--cta {
  background: rgba(99, 102, 241, 0.05);
  border-color: rgba(99, 102, 241, 0.15);
}

.insights__ctx-cta-text {
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(200, 200, 220, 0.65);
  margin-bottom: 1rem;
}

.insights__ctx-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.6em 1.3em;
  border-radius: 9px;
  background: #6366f1;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 0 14px rgba(99, 102, 241, 0.2);
}

.insights__ctx-cta-btn:hover {
  background: #7c7ff7;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.35);
  text-decoration: none;
}

/* ── Insight card scroll animations ── */
.insights__feed .insight-card[data-anim="fade-up"] { transition-delay: 0s; }
.insights__feed .insight-card:nth-child(3)[data-anim="fade-up"] { transition-delay: 0.1s; }
.insights__feed .insight-card:nth-child(4)[data-anim="fade-up"] { transition-delay: 0.2s; }
.insights__feed .insight-card:nth-child(5)[data-anim="fade-up"] { transition-delay: 0.3s; }

.insights__sidebar .insights__ctx-card:nth-child(1)[data-anim="fade-up"] { transition-delay: 0.05s; }
.insights__sidebar .insights__ctx-card:nth-child(2)[data-anim="fade-up"] { transition-delay: 0.15s; }
.insights__sidebar .insights__ctx-card:nth-child(3)[data-anim="fade-up"] { transition-delay: 0.25s; }

/* ── Insights responsive ── */
@media (max-width: 968px) {
  .insights__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .insights {
    padding: 4rem 1.25rem;
  }

  .insights__title {
    font-size: 1.75rem;
  }

  .insights__ctx-stats {
    grid-template-columns: 1fr;
  }

  .insight-card__action {
    flex-direction: column;
    gap: 0.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .insights__glow {
    animation: none;
  }
}

/* ── MARKET SIGNALS SECTION ── */
.signals-section {
  position: relative;
  overflow: hidden;
  background: #0c0d14;
  padding: 6rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.signals-section__glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 50% 45% at 40% 20%, rgba(52, 211, 153, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 70% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 65%);
  pointer-events: none;
  animation: glowDrift 18s ease-in-out infinite reverse;
}

.signals-section__inner {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
}

.signals-section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.signals-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(200, 200, 220, 0.7);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.4em 1em;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.signals-section__title {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1rem;
}

.signals-section__sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(200, 200, 220, 0.65);
  max-width: 38rem;
  margin: 0 auto;
}

/* ── Signal grid ── */
.signals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ── Signal source cards ── */
.signal-source {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 1.5rem 1.6rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.signal-source:hover {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.045);
}

.signal-source--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.signal-source--wide .signal-source__icon {
  grid-column: 1;
  grid-row: 1;
}

.signal-source--wide .signal-source__content {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  padding-top: 2rem;
}

.signal-source--wide .signal-source__visual {
  grid-column: 2;
  grid-row: 1 / 3;
}

.signal-source__icon {
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  color: rgba(200, 200, 220, 0.7);
  margin-bottom: 1rem;
}

.signal-source__title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 650;
  color: #f0f0ff;
  margin-bottom: 0.5rem;
}

.signal-source__desc {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(200, 200, 220, 0.6);
}

.signal-source__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  margin-top: auto;
  padding-top: 1rem;
  color: #a5b4fc;
  font-size: 0.78rem;
  font-weight: 650;
  text-decoration: none;
}

.signal-source__link::after {
  content: "→";
  margin-left: 0.35rem;
  transition: transform 0.18s ease;
}

.signal-source__link:hover {
  color: #c4b5fd;
  text-decoration: none;
}

.signal-source__link:hover::after {
  transform: translateX(2px);
}

/* ── Mini overlap visual ── */
.signal-mini--overlap {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.signal-mini__row {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.6rem;
  align-items: center;
}

.signal-mini__label {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(200, 200, 220, 0.6);
  text-align: right;
}

.signal-mini__row--you .signal-mini__label {
  color: #a5b4fc;
}

.signal-mini__segments {
  display: flex;
  gap: 2px;
  height: 6px;
  border-radius: 99px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.signal-mini__seg {
  display: block;
  height: 100%;
  border-radius: 99px;
}

.signal-mini__seg--shared {
  background: rgba(239, 68, 68, 0.45);
}

.signal-mini__seg--unique {
  background: rgba(52, 211, 153, 0.55);
}

.signal-mini__legend {
  display: flex;
  gap: 1rem;
  margin-top: 0.4rem;
  padding-left: 7.1rem;
}

.signal-mini__legend span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  color: rgba(180, 180, 200, 0.5);
}

.signal-mini__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.signal-mini__dot--shared { background: rgba(239, 68, 68, 0.6); }
.signal-mini__dot--unique { background: rgba(52, 211, 153, 0.7); }

/* ── Review themes ── */
.signal-source__themes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.signal-theme {
  font-size: 0.74rem;
  font-weight: 500;
  padding: 0.35em 0.75em;
  border-radius: 7px;
}

.signal-theme--positive {
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.18);
  color: #6ee7b7;
}

.signal-theme--negative {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.18);
  color: #fca5a5;
}

.signal-theme--neutral {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(200, 200, 220, 0.6);
}

/* ── Website messaging pills ── */
.signal-source__pills {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.signal-pill {
  display: inline-flex;
  flex-direction: column;
  padding: 0.35em 0.75em;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
}

.signal-pill__text {
  font-weight: 600;
}

.signal-pill__sub {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

.signal-pill--overlap {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.18);
  color: #fca5a5;
}

.signal-pill--unique {
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.18);
  color: #6ee7b7;
}

.signal-pill--underused {
  background: rgba(96, 165, 250, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.18);
  color: #93c5fd;
}

/* ── Competitor comparison ── */
.signal-source__comparison {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
}

.signal-comp {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.signal-comp__name {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(240, 240, 255, 0.9);
}

.signal-comp__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.signal-comp__tag {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2em 0.6em;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.signal-comp__tag--strong {
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.18);
  color: #6ee7b7;
}

.signal-comp__tag--weak {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.18);
  color: #fca5a5;
}

.signal-comp__tag--opportunity {
  background: rgba(96, 165, 250, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.18);
  color: #93c5fd;
}

.signal-comp__tag--average {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.18);
  color: #fcd34d;
}

/* ── Profile meter ── */
.signal-source__meter {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}

.signal-meter {
  display: grid;
  grid-template-columns: 8rem 1fr 2.2rem;
  gap: 0.5rem;
  align-items: center;
}

.signal-meter__label {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(200, 200, 220, 0.55);
  text-align: right;
}

.signal-meter__track {
  height: 5px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  overflow: hidden;
}

.signal-meter__fill {
  height: 100%;
  border-radius: 99px;
  background: rgba(165, 180, 252, 0.55);
  transition: width 1s ease;
}

.signal-meter__fill--comp {
  background: rgba(52, 211, 153, 0.55);
}

.signal-meter__value {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(220, 220, 240, 0.75);
}

/* ── Timeline visual ── */
.signal-mini--timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 1rem;
}

.signal-mini--timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.3rem;
  bottom: 0.3rem;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.signal-tl__item {
  position: relative;
  padding: 0.55rem 0 0.55rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.signal-tl__item::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 0.85rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(200, 200, 220, 0.25);
  border: 1.5px solid rgba(200, 200, 220, 0.15);
}

.signal-tl__item--latest::before {
  background: #6366f1;
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

.signal-tl__week {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(180, 180, 200, 0.45);
}

.signal-tl__item--latest .signal-tl__week {
  color: rgba(165, 180, 252, 0.8);
}

.signal-tl__event {
  font-size: 0.8rem;
  color: rgba(220, 220, 240, 0.75);
  line-height: 1.5;
}

.signal-tl__item--latest .signal-tl__event {
  color: #f0f0ff;
}

/* ── Signal card scroll stagger ── */
.signals-grid .signal-source:nth-child(1)[data-anim="fade-up"] { transition-delay: 0s; }
.signals-grid .signal-source:nth-child(2)[data-anim="fade-up"] { transition-delay: 0.1s; }
.signals-grid .signal-source:nth-child(3)[data-anim="fade-up"] { transition-delay: 0.2s; }
.signals-grid .signal-source:nth-child(4)[data-anim="fade-up"] { transition-delay: 0.25s; }
.signals-grid .signal-source:nth-child(5)[data-anim="fade-up"] { transition-delay: 0.3s; }
.signals-grid .signal-source:nth-child(6)[data-anim="fade-up"] { transition-delay: 0.35s; }

/* ── Signals responsive ── */
@media (max-width: 968px) {
  .signals-grid {
    grid-template-columns: 1fr;
  }

  .signal-source--wide {
    grid-template-columns: 1fr;
  }

  .signal-source--wide .signal-source__content {
    padding-top: 0;
    grid-row: auto;
  }

  .signal-source--wide .signal-source__visual {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 480px) {
  .signals-section {
    padding: 4rem 1.25rem;
  }

  .signals-section__title {
    font-size: 1.75rem;
  }

  .signal-mini__row {
    grid-template-columns: 4.5rem 1fr;
  }

  .signal-mini__legend {
    padding-left: 5.1rem;
  }

  .signal-meter {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .signal-meter__label {
    text-align: left;
  }

  .signal-meter__track {
    grid-column: 1;
  }

  .signal-meter__value {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .signals-section__glow {
    animation: none;
  }
}

/* ── VERTICALS SECTION ── */
.verticals {
  position: relative;
  overflow: hidden;
  background: #0d0e15;
  padding: 6rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.verticals__glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 45% 45% at 50% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
  pointer-events: none;
  animation: glowDrift 20s ease-in-out infinite;
}

.verticals__inner {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
}

.verticals__header {
  text-align: center;
  margin-bottom: 3rem;
}

.verticals__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(251, 191, 36, 0.85);
  background: rgba(251, 191, 36, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.15);
  padding: 0.4em 1em;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.verticals__title {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 1rem;
}

.verticals__sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(200, 200, 220, 0.65);
  max-width: 36rem;
  margin: 0 auto;
}

/* ── Tab row ── */
.verticals__grid {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.vert-tab {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55em 1.1em;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(200, 200, 220, 0.6);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.vert-tab:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #f0f0ff;
}

.vert-tab--active {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.1);
  color: #c7d2fe;
}

.vert-tab__icon {
  font-size: 1rem;
  line-height: 1;
}

.vert-tab__name {
  line-height: 1;
}

/* ── Vertical panels ── */
.vert-panels {
  position: relative;
}

.vert-panel {
  display: none;
  grid-template-columns: 1.4fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.vert-panel--active {
  display: grid;
  animation: vertFadeIn 0.35s ease;
}

@keyframes vertFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vert-panel__insight {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.6rem 1.75rem;
  display: flex;
  flex-direction: column;
}

.vert-panel__category {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(200, 200, 220, 0.45);
  margin-bottom: 0.75rem;
}

.vert-panel__title {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.vert-panel__desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(210, 210, 230, 0.7);
  margin-bottom: 1.25rem;
}

.vert-panel__desc strong {
  color: #fff;
  font-weight: 600;
}

/* Signal rows */
.vert-panel__signals {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

.vert-signal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #e0e0f0;
  padding: 0.5rem 0.7rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.vert-signal__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.vert-signal--saturated .vert-signal__dot {
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.4);
}

.vert-signal--opportunity .vert-signal__dot {
  background: #38bdf8;
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.4);
}

.vert-signal--unique .vert-signal__dot {
  background: #34d399;
  box-shadow: 0 0 6px rgba(52, 211, 153, 0.4);
}

.vert-signal__freq {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(180, 180, 200, 0.5);
  flex-shrink: 0;
}

/* Review / quote panel */
.vert-panel__review {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 1.6rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vert-panel__review-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(200, 200, 220, 0.45);
  margin-bottom: 1rem;
}

.vert-quote {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(230, 230, 250, 0.85);
  font-style: italic;
  border-left: 2px solid rgba(99, 102, 241, 0.35);
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.vert-panel__review-source {
  font-size: 0.75rem;
  color: rgba(180, 180, 200, 0.5);
  font-weight: 500;
}

/* ── Verticals responsive ── */
@media (max-width: 968px) {
  .vert-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .verticals {
    padding: 4rem 1.25rem;
  }

  .verticals__title {
    font-size: 1.75rem;
  }

  .verticals__grid {
    gap: 0.4rem;
  }

  .vert-tab {
    font-size: 0.75rem;
    padding: 0.45em 0.85em;
  }

  .vert-panel__title {
    font-size: 1.1rem;
  }

  .vert-quote {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .verticals__glow {
    animation: none;
  }

  .vert-panel--active {
    animation: none;
  }
}

/* ── LOOKUP (DARK THEME — INDEX PAGE) ── */
.lookup-dark-wrap {
  background: #0a0b10;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 4rem 2rem 5rem;
}

.lookup-dark-wrap .lookup-section {
  padding: 0;
  max-width: 72rem;
  margin: 0 auto;
}

.lookup-dark-wrap .lookup-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: none;
  padding: 2.25rem 2.5rem;
}

.lookup-dark-wrap .eyebrow {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: rgba(165, 180, 252, 0.9);
}

.lookup-dark-wrap .lookup-card__title {
  font-family: var(--font-body);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lookup-dark-wrap .lookup-card__lede {
  color: rgba(200, 200, 220, 0.6);
}

.lookup-dark-wrap .lookup-field span {
  color: rgba(220, 220, 240, 0.8);
}

.lookup-dark-wrap .lookup-field input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f0f0ff;
  border-radius: 10px;
}

.lookup-dark-wrap .lookup-field input::placeholder {
  color: rgba(180, 180, 200, 0.35);
}

.lookup-dark-wrap .lookup-field input:focus {
  outline: 2px solid rgba(99, 102, 241, 0.25);
  border-color: rgba(99, 102, 241, 0.5);
}

.lookup-dark-wrap .btn--primary {
  background: #6366f1;
  color: #fff;
  border-color: #6366f1;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 0 16px rgba(99, 102, 241, 0.2);
}

.lookup-dark-wrap .btn--primary:hover {
  background: #7c7ff7;
  border-color: #7c7ff7;
  box-shadow: 0 4px 18px rgba(99, 102, 241, 0.35);
}

.lookup-dark-wrap .lookup-status {
  color: rgba(200, 200, 220, 0.6);
}

.lookup-dark-wrap .lookup-status--error {
  color: #fca5a5;
}

.lookup-dark-wrap .lookup-google-cta {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.025);
  color: rgba(200, 200, 220, 0.6);
}

.lookup-dark-wrap .lookup-google-cta a {
  color: #a5b4fc;
}

.lookup-dark-wrap .lookup-matches,
.lookup-dark-wrap .lookup-result {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.lookup-dark-wrap .lookup-matches__header h3,
.lookup-dark-wrap .lookup-result__header h3 {
  font-family: var(--font-body);
  color: #f0f0ff;
}

.lookup-dark-wrap .lookup-matches__header p,
.lookup-dark-wrap .lookup-result__address,
.lookup-dark-wrap .lookup-result__label {
  color: rgba(200, 200, 220, 0.55);
}

.lookup-dark-wrap .lookup-match {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 12px;
}

.lookup-dark-wrap .lookup-match:hover {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.lookup-dark-wrap .lookup-match__title {
  color: #f0f0ff;
}

.lookup-dark-wrap .lookup-match__address,
.lookup-dark-wrap .lookup-match__meta {
  color: rgba(200, 200, 220, 0.55);
}

.lookup-dark-wrap .lookup-claim {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.1);
  color: #a5b4fc;
}

.lookup-dark-wrap .lookup-claim:hover {
  background: rgba(99, 102, 241, 0.18);
}

.lookup-dark-wrap .lookup-claim--claimed {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(180, 180, 200, 0.5);
}

.lookup-dark-wrap .lookup-help-link {
  color: rgba(200, 200, 220, 0.5);
}

.lookup-dark-wrap .lookup-help-link a {
  color: #a5b4fc;
}

.lookup-dark-wrap .lookup-result__meta div {
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 10px;
}

.lookup-dark-wrap .lookup-result__meta dt {
  color: rgba(200, 200, 220, 0.5);
}

.lookup-dark-wrap .lookup-result__meta dd {
  color: #e8e8fc;
}

.lookup-dark-wrap .lookup-result__meta a {
  color: #a5b4fc;
}

.lookup-dark-wrap .claim-panel {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
}

.lookup-dark-wrap .claim-panel__title {
  font-family: var(--font-body);
  color: #f0f0ff;
}

.lookup-dark-wrap .claim-panel__copy {
  color: rgba(200, 200, 220, 0.6);
}

.lookup-dark-wrap .claim-form__field span {
  color: rgba(220, 220, 240, 0.8);
}

.lookup-dark-wrap .claim-form__field input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f0f0ff;
  border-radius: 10px;
}

.lookup-dark-wrap .claim-form__field input:focus {
  outline: 2px solid rgba(99, 102, 241, 0.25);
  border-color: rgba(99, 102, 241, 0.5);
}

@media (max-width: 480px) {
  .lookup-dark-wrap {
    padding: 3rem 1.25rem 4rem;
  }

  .lookup-dark-wrap .lookup-card {
    padding: 1.5rem 1.25rem;
  }
}

/* ── LOOKUP ── */
.lookup-section {
  padding-top: 1rem;
}

.lookup-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 241, 0.96));
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 2rem;
}

.lookup-card__copy {
  max-width: 42rem;
  margin-bottom: 1.5rem;
}

.lookup-card__copy--scan {
  margin-bottom: 1.25rem;
}

.lookup-card__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.05;
  margin-bottom: 0.75rem;
}

.lookup-card__lede {
  color: var(--muted);
  font-size: 1.02rem;
}

.lookup-form {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(120px, 0.9fr) auto;
  gap: 1rem;
  align-items: end;
}

.lookup-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.lookup-field span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.lookup-field input {
  width: 100%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--fg);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  font: inherit;
}

.lookup-field input:focus {
  outline: 2px solid rgba(192, 83, 44, 0.18);
  border-color: var(--accent);
}

.lookup-form .btn {
  justify-self: start;
}

.lookup-status {
  margin-top: 1rem;
  color: var(--muted);
}

.lookup-status--error {
  color: #9d2f16;
}

.lookup-google-cta {
  margin-top: 1rem;
  border: 1px dashed var(--border);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  color: var(--muted);
}

.lookup-google-cta a {
  font-weight: 600;
}

.lookup-matches,
.lookup-result {
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.25rem;
}

.lookup-matches__header h3,
.lookup-result__header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}

.lookup-result__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.lookup-result__headline {
  min-width: 0;
}

.lookup-matches__header p,
.lookup-result__address,
.lookup-result__label {
  color: var(--muted);
}

.lookup-result__label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.35rem;
}

.lookup-match-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.lookup-match {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  background: #fff;
}

.lookup-match--claimed,
.lookup-result--claimed {
  opacity: 0.72;
}

.lookup-match__actions,
.lookup-result__claim {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
  flex-shrink: 0;
}

.lookup-claim {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: rgba(192, 83, 44, 0.08);
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.lookup-claim:hover {
  text-decoration: none;
  background: rgba(192, 83, 44, 0.14);
}

.lookup-claim--claimed {
  border-color: var(--border);
  background: rgba(0, 0, 0, 0.04);
  color: var(--muted);
  cursor: not-allowed;
}

.lookup-match__title {
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.lookup-match__address,
.lookup-match__meta {
  color: var(--muted);
  font-size: 0.94rem;
}

.lookup-match__meta {
  margin-top: 0.3rem;
}

.lookup-result__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.lookup-result__meta div {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  background: #fff;
}

.lookup-result__meta dt {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.lookup-result__meta dd {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.lookup-result__meta a {
  overflow-wrap: anywhere;
}

.lookup-help-link {
  margin-top: 1rem;
  font-size: 0.94rem;
}

.claim-panel {
  margin-top: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  padding: 1rem;
}

.claim-panel__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.claim-panel__copy {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.9rem;
}

.claim-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: end;
}

.claim-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.claim-form__field span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.claim-form__field input {
  width: 100%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--fg);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  font: inherit;
}

.claim-form__field input:focus {
  outline: 2px solid rgba(192, 83, 44, 0.18);
  border-color: var(--accent);
}

/* ── SCAN PAGE ── */
.scan-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at top, rgba(192, 83, 44, 0.08), transparent 55%),
    linear-gradient(180deg, #fffaf4 0%, #faf7f0 100%);
}

.scan-page--dark {
  min-height: 100vh;
}

.scan-page--dark .scan-shell {
  max-width: 62rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.scan-page--dark .scan-hero {
  max-width: 40rem;
  margin: 2.5rem auto 1.5rem;
  text-align: center;
}

.scan-page--dark .scan-hero__title {
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1rem;
}

.scan-page--dark .scan-hero__lede {
  color: rgba(200, 200, 220, 0.6);
  font-size: 1.05rem;
  line-height: 1.7;
}

.scan-hero__eyebrow {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: rgba(165, 180, 252, 0.9);
}

.lookup-dark-wrap--inline {
  padding: 0;
  border-top: none;
}

.topnav--scan {
  background: rgba(255, 250, 244, 0.84);
}

.scan-shell {
  max-width: 62rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.scan-hero {
  max-width: 40rem;
  margin: 2.5rem auto 1.5rem;
  text-align: center;
}

.scan-hero__title {
  margin-bottom: 1rem;
}

.scan-hero__lede {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.lookup-section--scan {
  padding: 1rem 0 0;
  max-width: none;
}

.lookup-card--scan {
  padding: 1.6rem;
}

/* ── STEPS ── */
.steps__panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.step-panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step-panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.step-panel__img {
  background: var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 1.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-panel__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.step-panel__img img[src=""] {
  display: none;
}

.step-panel h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.step-panel__intro {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  text-align: left;
}

.step-panel__bullets {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-panel__bullets li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.step-panel__bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ── TESTIMONIALS ── */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.testimonial p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.testimonial footer {
  color: var(--muted);
  font-size: 0.9rem;
}

.testimonial cite {
  font-style: normal;
  font-weight: 600;
  color: var(--fg);
}

/* ── PRICING ── */
.pricing {
  text-align: center;
}

.pricing__card {
  max-width: 28rem;
  margin: 0 auto;
  background: var(--card-bg);
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: 0 8px 30px rgba(192, 83, 44, 0.1);
}

.pricing__eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.pricing__price {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1.5rem;
}

.pricing__dollar {
  font-size: 1.8rem;
  vertical-align: super;
  margin-right: 0.1em;
}

.pricing__mo {
  font-size: 1.2rem;
  color: var(--muted);
  font-weight: 400;
}

.pricing__value {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: -0.5rem auto 1.5rem;
  max-width: 22rem;
}

.pricing__perks {
  text-align: left;
  margin-bottom: 2rem;
}

.pricing__perks li {
  padding: 0.5em 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.pricing__perks li::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 700;
}

.pricing__perk-pill {
  display: inline-block;
  margin-left: 0.45rem;
  padding: 0.12rem 0.5rem;
  border: 1px solid rgba(192, 83, 44, 0.24);
  border-radius: 999px;
  background: rgba(192, 83, 44, 0.08);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
  vertical-align: middle;
  white-space: nowrap;
}

.pricing__note {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ── CTA BANNER ── */
.cta-banner {
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(192, 83, 44, 0.06), transparent 70%);
  padding: 5rem 2rem;
}

.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  text-align: center;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.site-footer__tagline {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.site-footer__links {
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
}

.site-footer__copy {
  color: var(--muted);
  font-size: 0.8rem;
}

/* ── PRICING V2 (DARK) ── */
.pricing-v2 {
  position: relative;
  overflow: hidden;
  background: #0a0b10;
  padding: 6rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
}

.pricing-v2__glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 40% 50% at 50% 40%, rgba(99, 102, 241, 0.07) 0%, transparent 70%);
  pointer-events: none;
  animation: glowDrift 16s ease-in-out infinite reverse;
}

.pricing-v2__inner {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
}

.pricing-v2__header {
  margin-bottom: 3rem;
}

.pricing-v2__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(200, 200, 220, 0.7);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.4em 1em;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.pricing-v2__title {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.pricing-v2__sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(200, 200, 220, 0.6);
}

.pricing-v2__card {
  max-width: 28rem;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  padding: 2.75rem 2.5rem;
  box-shadow: 0 8px 40px rgba(99, 102, 241, 0.08);
}

.pricing-v2__plans {
  display: grid;
  gap: 1.2rem;
  justify-items: center;
}

.pricing-v2__plans .registration-upgrade-panel {
  width: 100%;
}

.pricing-v2__plans .registration-plan {
  color: #e2e8f0;
  text-align: left;
}

.pricing-v2__plans .pricing__perks li {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: rgba(226, 232, 240, 0.86);
}

.pricing-v2__plans .pricing__perks li::before {
  color: #a5b4fc;
}

.pricing-v2__plans .registration-plan-grid {
  width: 100%;
}

.pricing-v2__plans .dashboard-pro-actions {
  justify-content: center;
}

.pricing-v2__plans .dashboard-pro-note {
  margin: 0;
  color: rgba(226, 232, 240, 0.72);
  text-align: center;
}

.pricing-v2__card-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a5b4fc;
  margin-bottom: 0.5rem;
}

.pricing-v2__price {
  font-family: var(--font-body);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.pricing-v2__dollar {
  font-size: 1.8rem;
  vertical-align: super;
  margin-right: 0.1em;
  color: rgba(200, 200, 220, 0.6);
}

.pricing-v2__mo {
  font-size: 1.2rem;
  color: rgba(200, 200, 220, 0.5);
  font-weight: 400;
}

.pricing-v2__value {
  color: rgba(200, 200, 220, 0.6);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: -0.25rem auto 1.5rem;
  max-width: 22rem;
}

.pricing-v2__perks {
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-v2__perks li {
  padding: 0.55em 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
  color: #e0e0f0;
}

.pricing-v2__perks li::before {
  content: "✓ ";
  color: #6ee7b7;
  font-weight: 700;
}

.pricing-v2__perk-pill {
  display: inline-block;
  margin-left: 0.45rem;
  padding: 0.12rem 0.5rem;
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.1);
  color: #a5b4fc;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
  vertical-align: middle;
  white-space: nowrap;
}

.pricing-v2__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 34rem;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8em 2em;
  border-radius: 10px;
  background: #6366f1;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 0 20px rgba(99, 102, 241, 0.25);
}

.pricing-v2__cta:hover {
  background: #7c7ff7;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
  text-decoration: none;
}

.pricing-v2__note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: rgba(180, 180, 200, 0.45);
}

@media (max-width: 480px) {
  .pricing-v2 {
    padding: 4rem 1.25rem;
  }

  .pricing-v2__card {
    padding: 2rem 1.5rem;
  }

  .pricing-v2__price {
    font-size: 3.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-v2__glow {
    animation: none;
  }
}

/* ── FOOTER V2 (DARK) ── */
.site-footer-v2 {
  background: #08090d;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 2rem;
  text-align: center;
}

.site-footer-v2__inner {
  max-width: 72rem;
  margin: 0 auto;
}

.site-footer-v2__brand {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 700;
  color: #f0f0ff;
  margin-bottom: 0.25rem;
}

.site-footer-v2__tagline {
  color: rgba(200, 200, 220, 0.5);
  font-size: 0.92rem;
  margin-bottom: 0.75rem;
}

.site-footer-v2__links {
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
}

.site-footer-v2__links a {
  color: rgba(200, 200, 220, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer-v2__links a:hover {
  color: #a5b4fc;
}

.site-footer-v2__copy {
  color: rgba(180, 180, 200, 0.35);
  font-size: 0.78rem;
}

.doc-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.doc-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  box-shadow: var(--shadow);
  padding: 2.5rem 2rem;
}

.doc-body > * + * {
  margin-top: 1rem;
}

.doc-body h1,
.doc-body h2,
.doc-body h3,
.doc-body h4,
.doc-body h5,
.doc-body h6 {
  font-family: var(--font-display);
  line-height: 1.1;
}

.doc-body h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.doc-body h2 {
  font-size: 1.45rem;
  margin-top: 2rem;
}

.doc-body h3 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
}

.doc-body p,
.doc-body li {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.feature-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 55% 35% at 50% 0%, rgba(99, 102, 241, 0.12) 0%, transparent 65%),
    #08090d;
}

.feature-page__main {
  max-width: 72rem;
  margin: 0 auto;
  padding: 5.5rem 2rem 6rem;
}

.feature-hero {
  max-width: 46rem;
}

.feature-hero--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.8fr);
  gap: 3rem;
  align-items: center;
}

.feature-hero__copy {
  max-width: 48rem;
}

.feature-hero__eyebrow,
.feature-stub__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(200, 200, 220, 0.7);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.4em 1em;
  border-radius: 6px;
  margin-bottom: 1.35rem;
}

.feature-hero__title {
  font-family: var(--font-body);
  font-size: clamp(2.5rem, 7vw, 4.6rem);
  font-weight: 750;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.25rem;
}

.feature-hero__lede {
  max-width: 40rem;
  color: rgba(220, 220, 240, 0.7);
  font-size: 1.08rem;
  line-height: 1.75;
}

.feature-hero__cta {
  display: inline-flex;
  margin-top: 2rem;
  color: #fff;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.85rem 1.15rem;
  font-weight: 700;
  text-decoration: none;
}

.feature-hero__cta:hover {
  text-decoration: none;
  filter: brightness(1.08);
}

.feature-stub {
  max-width: 46rem;
  margin-top: 4rem;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

.feature-stub h2 {
  color: #f0f0ff;
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.feature-stub p {
  color: rgba(200, 200, 220, 0.62);
  line-height: 1.7;
  font-size: 0.95rem;
}

.review-hero-card,
.review-feature-card,
.review-feature-band {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.review-hero-card {
  padding: 1.35rem;
}

.review-hero-card__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  color: rgba(240, 240, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 700;
}

.review-hero-card__header span:last-child {
  color: rgba(200, 200, 220, 0.45);
  font-weight: 600;
}

.review-theme-row {
  display: grid;
  grid-template-columns: 7.5rem 1fr 2rem;
  gap: 0.6rem;
  align-items: center;
  margin-top: 0.8rem;
}

.review-theme-row__label {
  color: rgba(200, 200, 220, 0.62);
  font-size: 0.74rem;
  font-weight: 650;
  text-align: right;
}

.review-theme-row__track {
  height: 7px;
  border-radius: 99px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.review-theme-row__track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(52, 211, 153, 0.65), rgba(165, 180, 252, 0.75));
}

.review-theme-row__value {
  color: rgba(220, 220, 240, 0.78);
  font-size: 0.72rem;
  font-weight: 750;
}

.review-hero-card__pills,
.review-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.review-hero-card__pills {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.review-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 0.35em 0.75em;
  font-size: 0.75rem;
  font-weight: 700;
}

.review-pill--positive {
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.18);
  color: #6ee7b7;
}

.review-pill--opportunity {
  background: rgba(96, 165, 250, 0.08);
  border: 1px solid rgba(96, 165, 250, 0.18);
  color: #93c5fd;
}

.review-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 4.5rem;
}

.review-feature-card {
  padding: 1.5rem 1.6rem;
}

.review-feature-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.75fr);
  gap: 2rem;
  align-items: center;
}

.review-feature-card__eyebrow {
  color: rgba(200, 200, 220, 0.55);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.review-feature-card h2,
.review-feature-band h2 {
  color: #f0f0ff;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  line-height: 1.18;
  margin-bottom: 0.75rem;
}

.review-feature-card p,
.review-feature-band p {
  color: rgba(200, 200, 220, 0.62);
  line-height: 1.7;
  font-size: 0.92rem;
}

.review-quote-stack {
  display: grid;
  gap: 0.65rem;
}

.review-quote-stack p {
  padding: 0.75rem 0.85rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(240, 240, 255, 0.78);
  font-size: 0.82rem;
  line-height: 1.5;
}

.review-pill-list {
  margin-top: 1.1rem;
}

.review-positioning-map {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.1rem;
}

.review-positioning-map span {
  position: relative;
  display: block;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  color: rgba(240, 240, 255, 0.78);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.78rem;
  font-weight: 700;
}

.review-positioning-map span + span::before {
  content: "";
  position: absolute;
  top: -0.5rem;
  left: 1.15rem;
  width: 1px;
  height: 0.5rem;
  background: rgba(165, 180, 252, 0.35);
}

.review-feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2rem;
  margin-top: 1rem;
  padding: 1.6rem;
}

.review-steps {
  display: grid;
  gap: 0.7rem;
}

.review-steps div {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.8rem;
  align-items: start;
}

.review-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  color: #c4b5fd;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.28);
  font-size: 0.78rem;
  font-weight: 800;
}

.review-feature-grid [data-anim="fade-up"]:nth-child(1) { transition-delay: 0s; }
.review-feature-grid [data-anim="fade-up"]:nth-child(2) { transition-delay: 0.12s; }
.review-feature-grid [data-anim="fade-up"]:nth-child(3) { transition-delay: 0.22s; }

.competitor-hero-card {
  display: grid;
  gap: 0.8rem;
}

.competitor-overlap-row {
  display: grid;
  grid-template-columns: 7.75rem 1fr 2.4rem;
  gap: 0.6rem;
  align-items: center;
}

.competitor-overlap-row__name {
  color: rgba(200, 200, 220, 0.62);
  font-size: 0.72rem;
  font-weight: 650;
  text-align: right;
}

.competitor-overlap-row__track {
  display: flex;
  height: 8px;
  gap: 2px;
  border-radius: 99px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.competitor-overlap-row__track span {
  display: block;
  height: 100%;
}

.competitor-overlap-row__shared {
  background: rgba(239, 68, 68, 0.5);
}

.competitor-overlap-row__unique {
  background: rgba(52, 211, 153, 0.58);
}

.competitor-overlap-row__value {
  color: rgba(220, 220, 240, 0.78);
  font-size: 0.7rem;
  font-weight: 750;
}

.competitor-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.3rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.competitor-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(180, 180, 200, 0.5);
  font-size: 0.65rem;
  font-weight: 650;
}

.competitor-legend__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.competitor-legend__dot--shared {
  background: rgba(239, 68, 68, 0.7);
}

.competitor-legend__dot--unique {
  background: rgba(52, 211, 153, 0.75);
}

.competitor-theme-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.competitor-score-list,
.competitor-dashboard-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.competitor-score-list div,
.competitor-dashboard-list span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.62rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.competitor-score-list span,
.competitor-dashboard-list span {
  color: rgba(200, 200, 220, 0.62);
  font-size: 0.78rem;
  font-weight: 650;
}

.competitor-score-list strong,
.competitor-dashboard-list strong {
  color: #a5b4fc;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.branding-hero-card {
  display: grid;
  gap: 0.65rem;
}

.branding-message-line,
.branding-consistency-stack span,
.branding-compare-mini div {
  display: grid;
  gap: 0.25rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.branding-message-line span,
.branding-consistency-stack span,
.branding-compare-mini span {
  color: rgba(200, 200, 220, 0.52);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.branding-message-line strong,
.branding-consistency-stack strong,
.branding-compare-mini strong {
  color: rgba(240, 240, 255, 0.84);
  font-size: 0.82rem;
  line-height: 1.35;
}

.branding-pill-board {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.branding-consistency-stack,
.branding-compare-mini {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.branding-consistency-stack span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.branding-consistency-stack strong {
  color: #a5b4fc;
  white-space: nowrap;
}

.branding-compare-mini div:nth-child(1) strong {
  color: #fca5a5;
}

.branding-compare-mini div:nth-child(2) strong {
  color: #6ee7b7;
}

.branding-compare-mini div:nth-child(3) strong {
  color: #93c5fd;
}

.visibility-hero-card {
  display: grid;
  justify-items: center;
  gap: 1rem;
}

.visibility-score-ring {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 9rem;
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, #11131f 58%, transparent 59%),
    conic-gradient(#8b5cf6 0 72%, rgba(255, 255, 255, 0.08) 72% 100%);
  box-shadow: 0 0 42px rgba(139, 92, 246, 0.18);
}

.visibility-score-ring span {
  color: #fff;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.visibility-score-ring small {
  margin-top: 0.2rem;
  color: rgba(200, 200, 220, 0.52);
  font-size: 0.72rem;
  font-weight: 700;
}

.visibility-score-breakdown {
  width: 100%;
  display: grid;
  gap: 0.55rem;
}

.visibility-score-breakdown div,
.visibility-rank-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.62rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.visibility-score-breakdown span,
.visibility-rank-list strong {
  color: rgba(200, 200, 220, 0.66);
  font-size: 0.78rem;
  font-weight: 700;
}

.visibility-score-breakdown strong,
.visibility-rank-list em {
  color: #a5b4fc;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 850;
}

.visibility-signal-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.visibility-breakdown-bars {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.visibility-breakdown-bars div {
  display: grid;
  grid-template-columns: 4.6rem 1fr 2rem;
  gap: 0.55rem;
  align-items: center;
}

.visibility-breakdown-bars span {
  color: rgba(200, 200, 220, 0.58);
  font-size: 0.74rem;
  font-weight: 700;
  text-align: right;
}

.visibility-breakdown-bars strong {
  display: block;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.6), rgba(52, 211, 153, 0.58));
}

.visibility-breakdown-bars em {
  color: rgba(220, 220, 240, 0.76);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
}

.visibility-rank-list {
  display: grid;
  gap: 0.55rem;
  margin-top: 1.1rem;
}

.visibility-rank-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(220, 220, 240, 0.66);
  font-size: 0.72rem;
  font-weight: 800;
}

.visibility-rank-list strong {
  flex: 1;
}

.visibility-rank-list__you {
  border-color: rgba(99, 102, 241, 0.28) !important;
  background: rgba(99, 102, 241, 0.1) !important;
}

.visibility-rank-list__you strong {
  color: #f0f0ff;
}

.visibility-compare-table {
  display: grid;
  gap: 0.5rem;
}

.visibility-compare-table div {
  display: grid;
  grid-template-columns: minmax(8rem, 1.4fr) repeat(3, minmax(3.2rem, 0.5fr));
  gap: 0.5rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.visibility-compare-table div:first-child {
  background: transparent;
  border-color: transparent;
  padding-top: 0;
  padding-bottom: 0;
}

.visibility-compare-table span,
.visibility-compare-table strong {
  color: rgba(200, 200, 220, 0.64);
  font-size: 0.76rem;
  font-weight: 750;
}

.visibility-compare-table div:first-child span {
  color: rgba(180, 180, 200, 0.45);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.visibility-compare-table strong {
  color: rgba(240, 240, 255, 0.86);
}

@media (max-width: 640px) {
  .feature-page__main {
    padding: 4rem 1.25rem 5rem;
  }
}

@media (max-width: 900px) {
  .feature-hero--split,
  .review-feature-card--wide,
  .review-feature-band {
    grid-template-columns: 1fr;
  }

  .review-feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .review-theme-row {
    grid-template-columns: 5.8rem 1fr 1.8rem;
  }

  .competitor-overlap-row {
    grid-template-columns: 5.8rem 1fr 2.2rem;
  }

  .review-theme-row__label,
  .competitor-overlap-row__name {
    font-size: 0.68rem;
  }
}

.doc-body ul {
  list-style: disc;
  padding-left: 1.25rem;
}

.doc-body hr {
  border: 0;
  border-top: 1px solid var(--border);
}

/* ── SMOOTH SCROLL ── */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

/* ── LOGIN PAGE ── */
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: #08090d;
  background-image:
    radial-gradient(ellipse 50% 40% at 50% 30%, rgba(99, 102, 241, 0.08), transparent 70%);
}

.login-card {
  width: 100%;
  max-width: 26rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.login-card__logo {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 700;
  color: #f0f0ff;
  display: block;
  margin-bottom: 1.5rem;
}
.login-card__logo:hover { text-decoration: none; }

.login-card__title {
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.login-card__sub {
  color: rgba(200, 200, 220, 0.55);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.login-form {
  text-align: left;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: rgba(220, 220, 240, 0.8);
}

.form-group input {
  width: 100%;
  padding: 0.7em 0.9em;
  font-size: 1rem;
  font-family: var(--font-body);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #f0f0ff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-group input::placeholder {
  color: rgba(180, 180, 200, 0.35);
}

.login-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  border-radius: 10px;
  padding: 0.65em 1em;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.login-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #86efac;
  border-radius: 10px;
  padding: 0.65em 1em;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.login-form__submit {
  width: 100%;
  text-align: center;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75em 1.6em;
  margin-top: 0.25rem;
  background: #6366f1;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 0 20px rgba(99, 102, 241, 0.2);
}

.login-form__submit:hover {
  background: #7c7ff7;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
}

.login-form__submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.login-link {
  appearance: none;
  background: none;
  border: none;
  color: #a5b4fc;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  margin-top: 1rem;
}

.login-link:hover {
  text-decoration: underline;
  color: #c7d2fe;
}

.forgot-password-form {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.forgot-password-form .login-form__submit {
  background: transparent;
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  box-shadow: none;
}

.forgot-password-form .login-form__submit:hover {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.5);
}
}

.billing-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.billing-hero {
  margin: 1.5rem 0 2rem;
}

.billing-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 0.98;
  margin-bottom: 0.75rem;
}

.billing-subtitle {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.billing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  box-shadow: var(--shadow);
  padding: 1.6rem;
}

.billing-card__summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.billing-card__summary h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.billing-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
}

.billing-price span {
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.42em;
  font-weight: 600;
  margin-left: 0.25rem;
}

.profile-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.profile-hero {
  margin: 1.5rem 0 2rem;
}

.profile-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 0.98;
  margin-bottom: 0.75rem;
}

.profile-subtitle {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.profile-card {
  border: 1px solid rgba(192, 83, 44, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 240, 0.94));
  box-shadow: 0 12px 40px rgba(38, 26, 17, 0.08);
  padding: 1.5rem;
}

.page--dark .profile-card {
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.profile-card--wide {
  grid-column: 1 / -1;
}

.profile-card__header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.profile-card__header h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
}

.profile-meta {
  display: grid;
  gap: 0.8rem;
}

.profile-meta div {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  padding: 0.85rem 0.95rem;
}

.profile-meta dt {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.profile-meta dd {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.profile-form {
  display: grid;
  gap: 0.95rem;
}

.organization-billing__danger {
  border-color: #d35f3d;
  color: #8f3116;
}

.organization-billing__danger:hover {
  background: rgba(211, 95, 61, 0.08);
  border-color: #b74422;
}

.billing-perks {
  display: grid;
  gap: 0.6rem;
  margin: 1rem 0 1.25rem;
}

.billing-perks li {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  padding: 0.8rem 0.95rem;
}

@media (max-width: 768px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .organization-billing {
    flex-direction: column;
  }
}

/* ── Profile dark overrides ── */
.page--dark .profile-title {
  font-family: var(--font-body);
}

.page--dark .profile-card__header h2 {
  font-family: var(--font-body);
  color: #f0f0ff;
}

.page--dark .profile-meta div {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.page--dark .organization-billing__danger {
  border-color: rgba(248, 113, 113, 0.3);
  color: #fca5a5;
}

.page--dark .organization-billing__danger:hover {
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.5);
}

.page--dark .billing-perks li {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.page--dark .claim-form__field span {
  color: rgba(220, 220, 240, 0.8);
}

.page--dark .claim-form__field input {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #f0f0ff;
}

.page--dark .claim-form__field input:focus {
  border-color: rgba(99, 102, 241, 0.5);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.page--dark .dashboard-pill--pending {
  background: rgba(99, 102, 241, 0.1);
  color: #a5b4fc;
}

.page--dark .lookup-status {
  background: rgba(74, 222, 128, 0.1);
  border-color: rgba(74, 222, 128, 0.25);
  color: #86efac;
}

.billing-perks li::before {
  content: "✓ ";
  color: var(--accent);
  font-weight: 700;
}

.billing-loader {
  color: var(--muted);
  margin-top: 0.6rem;
  text-align: center;
}

.billing-activating-spinner {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 3px solid rgba(192, 83, 44, 0.18);
  border-top-color: var(--accent);
  margin: 0 auto 1rem;
  animation: dashboard-spin 0.9s linear infinite;
}

.billing-form {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.billing-payment-element {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  padding: 1rem;
}

.dashboard-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.dashboard-hero {
  margin: 1.5rem 0 2rem;
}

.organization-dashboard-hero__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.organization-dashboard-hero__heading > div {
  min-width: 0;
}

.organization-dashboard-hero .dashboard-pill {
  flex: 0 0 auto;
  margin-top: 0.25rem;
}

.organization-dashboard-hero__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.organization-management-tabs {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1.25rem;
  padding: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.organization-management-tab {
  min-height: 2.2rem;
  padding: 0.45rem 0.85rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(226, 232, 240, 0.7);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 800;
}

.organization-management-tab:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.055);
}

.organization-management-tab--active {
  color: #f8fafc;
  background: rgba(99, 102, 241, 0.22);
}

.organization-management-panel {
  display: grid;
  gap: 1rem;
}

.organization-management-panel[hidden] {
  display: none;
}

[data-organization-management-panel][hidden] {
  display: none;
}

.organization-management-table-wrap {
  overflow-x: auto;
}

.organization-management-table {
  min-width: 760px;
}

.organization-management-form {
  padding: 1rem;
}

.organization-billing {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.organization-billing__summary {
  max-width: 36rem;
}

.organization-billing__muted {
  color: rgba(226, 232, 240, 0.68);
}

.organization-billing__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.organization-billing__limits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.organization-billing__limits div {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  padding: 0.9rem 1rem;
}

.organization-billing__limits dt {
  color: rgba(226, 232, 240, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.organization-billing__limits dd {
  margin-top: 0.25rem;
  color: #f8fafc;
  font-weight: 800;
}

.organization-billing__tier-header {
  display: grid;
  gap: 0.2rem;
  margin-top: 1.35rem;
}

.organization-billing__tier-header h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 1.15rem;
}

.organization-billing-tier-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.organization-billing-tier {
  display: grid;
  align-content: start;
  gap: 0.9rem;
  min-height: 100%;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.organization-billing-tier--current {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(99, 102, 241, 0.12);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.organization-billing-tier--unavailable {
  border-color: rgba(148, 163, 184, 0.12);
  background: rgba(148, 163, 184, 0.04);
  filter: grayscale(0.75);
  opacity: 0.54;
}

.organization-billing-tier__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.organization-billing-tier__eyebrow {
  margin: 0 0 0.25rem;
  color: #a5b4fc;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.organization-billing-tier h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 1.2rem;
}

.organization-billing-tier__price {
  margin: 0.25rem 0 0;
  color: rgba(226, 232, 240, 0.76);
  font-weight: 800;
}

.organization-billing-tier__badge {
  flex: 0 0 auto;
  border: 1px solid rgba(165, 180, 252, 0.38);
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.18);
  color: #c7d2fe;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 0.25rem 0.55rem;
  white-space: nowrap;
}

.organization-billing-tier__badge--muted {
  border-color: rgba(148, 163, 184, 0.25);
  background: rgba(148, 163, 184, 0.12);
  color: rgba(226, 232, 240, 0.72);
}

.organization-billing-tier__perks {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}

.organization-billing-tier__perks li {
  position: relative;
  padding-left: 1.05rem;
  color: rgba(226, 232, 240, 0.84);
  font-size: 0.9rem;
  line-height: 1.4;
}

.organization-billing-tier__perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #a5b4fc;
  font-weight: 900;
}

.organization-billing-tier__action {
  justify-self: start;
  display: inline-block;
}

.organization-billing-tier .btn:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
  box-shadow: none;
}

.organization-billing-plan-modal__dialog,
.organization-remove-business-modal__dialog {
  width: min(34rem, 100%);
}

.organization-billing-plan-modal__body,
.organization-remove-business-modal__body {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.organization-billing-plan-modal__actions,
.organization-remove-business-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .organization-billing-tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .organization-billing__limits,
  .organization-billing-tier-grid {
    grid-template-columns: 1fr;
  }
}

.dashboard-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  margin-bottom: 0.75rem;
}

.dashboard-subtitle {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.dashboard-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  padding: 1.4rem;
  box-shadow: 0 12px 40px rgba(38, 26, 17, 0.08);
}

.dashboard-card--wide {
  grid-column: 1 / -1;
}

.dashboard-card__header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.dashboard-card__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.73rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.dashboard-card h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1;
}

.dashboard-business-address,
.dashboard-copy {
  color: var(--muted);
  margin-bottom: 1rem;
}

.dashboard-copy--compact {
  margin-bottom: 0;
}

.dashboard-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.dashboard-meta dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.dashboard-meta dd {
  font-size: 0.96rem;
  word-break: break-word;
}

.dashboard-meta dd a {
  color: var(--accent);
}

.dashboard-scan-header-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.dashboard-scan-date {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.dashboard-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  padding: 0.5rem 0.85rem;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.dashboard-pill--pending {
  background: #fff2d8;
  color: #8a5c00;
}

.dashboard-pill--verified {
  background: #edf8ef;
  color: #22633a;
}

.dashboard-pill--running {
  background: #eef3ff;
  color: #274b8f;
}

.dashboard-pill--failed {
  background: #ffe7e2;
  color: #9a3827;
}

.dashboard-pill--outdated {
  background: #f6efe5;
  color: #7a4c17;
}

.dashboard-pill__spinner {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  margin-right: 0.45rem;
  animation: dashboard-spin 0.8s linear infinite;
}

@keyframes dashboard-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.dashboard-scan-summary {
  display: grid;
  gap: 1rem;
}

.dashboard-score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.dashboard-score-summary {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  padding: 1rem 1.15rem;
}

.dashboard-score-summary--ring {
  min-height: 100%;
}

.dashboard-score-ring-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.dashboard-score-ring {
  width: 112px;
  height: 112px;
}

.dashboard-score-ring__value {
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.dashboard-score-ring-detail {
  min-width: 0;
}

.dashboard-score-ring-detail .dash-ring-detail__note {
  margin: 0;
}

.dashboard-score-summary--locked {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 249, 244, 0.98), rgba(255, 255, 255, 0.92));
}

.dashboard-card--locked {
  position: relative;
}

.dashboard-feature-ribbon {
  position: absolute;
  top: 0.95rem;
  right: -0.45rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.85rem 0.38rem 0.75rem;
  background: linear-gradient(180deg, #c0532c, #a54421);
  color: #fff9f5;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px 0 0 999px;
  box-shadow: 0 10px 22px rgba(160, 68, 33, 0.18);
}

.dashboard-feature-ribbon::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 0;
  border-style: solid;
  border-width: 0.32rem 0.32rem 0 0;
  border-color: #6f2f17 transparent transparent transparent;
}

.dashboard-score-summary__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.dashboard-score-label {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.dashboard-score-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.dashboard-score-value--blurred {
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
}

.dashboard-score-value__subtle {
  color: var(--muted);
  font-size: 0.45em;
  font-family: var(--font-body);
  font-weight: 600;
  margin-left: 0.3rem;
}

.dashboard-ranking-neighbors {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}

.dashboard-ranking-neighbors[hidden] {
  display: none;
}

.dashboard-ranking-neighbor {
  display: grid;
  gap: 0.3rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.dashboard-ranking-neighbor__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

.dashboard-ranking-neighbor__label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-ranking-neighbor__score {
  flex-shrink: 0;
  color: var(--accent);
  background: rgba(192, 83, 44, 0.08);
  border: 1px solid rgba(192, 83, 44, 0.18);
  border-radius: 6px;
  padding: 0.18rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.dashboard-ranking-neighbor__content {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.dashboard-ranking-neighbor__name {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

a.dashboard-ranking-neighbor__name:hover {
  color: var(--accent);
}

.dashboard-ranking-neighbor__address {
  color: var(--muted);
  font-size: 0.84rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-ranking-neighbor__overlap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.28rem 0.6rem;
  align-items: center;
}

.dashboard-ranking-neighbor__overlap-label,
.dashboard-ranking-neighbor__overlap-value {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.dashboard-ranking-neighbor__overlap-value {
  text-align: right;
}

.dashboard-ranking-neighbor__overlap-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: stretch;
  gap: 0;
  height: 4px;
  border-radius: 99px;
  background: transparent;
  overflow: hidden;
}

.dashboard-ranking-neighbor__overlap-bar--split {
  gap: 2px;
}

.dashboard-ranking-neighbor__overlap-fill {
  display: block;
  flex-basis: 0;
  min-width: 0;
  height: 100%;
  border-radius: 99px;
  background: #dc2626;
  transition: flex-grow 1s ease;
}

.dashboard-ranking-neighbor__overlap-fill--unique {
  background: #16a34a;
}

.dashboard-breakdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.dashboard-breakdown-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  padding: 1.2rem 1.25rem;
}

.dashboard-breakdown-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dashboard-breakdown-card__header .dash-breakdown__head {
  margin-bottom: 0;
}

.dash-breakdown__compare--locked {
  display: inline-block;
  filter: blur(4px);
  user-select: none;
  pointer-events: none;
}

.dashboard-breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.85rem;
}

.dashboard-breakdown dt,
.dashboard-breakdown dd {
  margin: 0;
}

.dashboard-breakdown dt {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.dashboard-breakdown dd {
  font-weight: 700;
}

.dashboard-upgrade-panel {
  display: grid;
  gap: 1.1rem;
  color: #f8fafc;
}

.dashboard-upgrade-panel__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.dashboard-upgrade-panel__header h2 {
  margin: 0;
  color: #f8fafc;
}

.registration-upgrade-tabs {
  display: inline-flex;
  width: fit-content;
  justify-self: center;
  padding: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.registration-upgrade-tab {
  appearance: none;
  min-height: 2.35rem;
  padding: 0.45rem 0.85rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: rgba(226, 232, 240, 0.7);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  transition: background 0.25s ease, color 0.25s ease;
}

.registration-upgrade-tab--active {
  background: rgba(99, 102, 241, 0.18);
  color: #f8fafc;
}

.registration-upgrade-panel {
  display: grid;
  gap: 1rem;
  animation: pricingPanelIn 0.3s ease both;
}

@keyframes pricingPanelIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.registration-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  justify-content: center;
}

.registration-plan-grid--single {
  grid-template-columns: minmax(0, 34rem);
  justify-items: stretch;
}

.registration-plan {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 100%;
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.registration-upgrade-panel > .registration-plan,
.registration-plan--featured {
  max-width: 34rem;
  width: 100%;
  justify-self: center;
  border-color: rgba(99, 102, 241, 0.32);
  background: rgba(99, 102, 241, 0.08);
}

.registration-plan__head {
  display: grid;
  gap: 0.25rem;
}

.registration-plan__eyebrow {
  margin: 0;
  color: #a5b4fc;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.registration-plan h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 1.35rem;
}

.registration-plan__price {
  margin: 0;
  color: rgba(226, 232, 240, 0.72);
  font-weight: 800;
}

.dashboard-pro-perks {
  margin: 0;
}

.dashboard-upgrade-panel .pricing__perks li {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  color: rgba(226, 232, 240, 0.84);
}

.dashboard-upgrade-panel .pricing__perks li::before {
  color: #a5b4fc;
}

.dashboard-pro-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.1rem;
  flex-wrap: wrap;
}

.dashboard-pro-note {
  color: rgba(226, 232, 240, 0.7);
  font-size: 0.92rem;
}

@media (max-width: 920px) {
  .registration-plan-grid {
    grid-template-columns: 1fr;
  }

  .registration-plan--featured {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .registration-upgrade-tabs {
    width: 100%;
  }

  .registration-upgrade-tab {
    flex: 1;
  }
}

.dashboard-tasks-preview {
  margin-top: 1.15rem;
}

.dashboard-tasks-preview__blur {
  filter: blur(5px);
  user-select: none;
  pointer-events: none;
}

.dashboard-tasks-preview .dash-suggestions__item {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 240, 0.88));
}

/* ── Registration dashboard dark overrides ── */
.page--dark .dashboard-card {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.page--dark .dashboard-card h2 {
  font-family: var(--font-body);
  color: #f0f0ff;
}

.page--dark .dashboard-title {
  font-family: var(--font-body);
}

.page--dark .dashboard-score-summary {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.08);
}

.page--dark .dashboard-score-summary--locked {
  background: rgba(255, 255, 255, 0.02);
}

.page--dark .dashboard-score-value {
  font-family: var(--font-body);
}

.page--dark .dashboard-breakdown-card {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.08);
}

.page--dark .dashboard-meta dt {
  color: rgba(200, 200, 220, 0.5);
}

.page--dark .dashboard-meta dd a {
  color: #a5b4fc;
}

.page--dark .dashboard-pill--pending {
  background: rgba(250, 204, 21, 0.12);
  color: #facc15;
}

.page--dark .dashboard-pill--verified {
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
}

.page--dark .dashboard-pill--running {
  background: rgba(99, 102, 241, 0.12);
  color: #a5b4fc;
}

.page--dark .dashboard-pill--failed {
  background: rgba(248, 113, 113, 0.1);
  color: #fca5a5;
}

.page--dark .dashboard-pill--outdated {
  background: rgba(250, 204, 21, 0.08);
  color: #fde68a;
}

.page--dark .dashboard-feature-ribbon {
  background: linear-gradient(180deg, #6366f1, #4f46e5);
  color: #fff;
  box-shadow: 0 10px 22px rgba(99, 102, 241, 0.2);
}

.page--dark .dashboard-feature-ribbon::after {
  border-color: #312e81 transparent transparent transparent;
}

.page--dark .dashboard-ranking-neighbor {
  border-top-color: rgba(255, 255, 255, 0.06);
}

.page--dark .dashboard-ranking-neighbor__score {
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.25);
}

.page--dark .dashboard-ranking-neighbor__overlap-bar {
  background: transparent;
}

.page--dark .dashboard-ranking-neighbor__overlap-fill {
  background: #ef4444;
}

.page--dark .dashboard-ranking-neighbor__overlap-fill--unique {
  background: #4ade80;
}

.page--dark .dashboard-card--pro {
  background: rgba(99, 102, 241, 0.04);
  border-color: rgba(99, 102, 241, 0.2);
}

.page--dark .dashboard-tasks-preview .dash-suggestions__item {
  background: rgba(255, 255, 255, 0.025);
}

.page--dark .pricing__perk-pill {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.25);
  color: #a5b4fc;
}

.organization-business-list {
  display: grid;
  gap: 0.85rem;
}

.organization-business-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.organization-business-card--add {
  width: 100%;
  appearance: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  border-style: dashed;
}

.organization-business-card--add:hover {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.06);
}

.organization-business-card--limited {
  border-color: rgba(248, 113, 113, 0.22);
}

.organization-business-card--locked {
  border-color: rgba(251, 191, 36, 0.22);
}

.organization-business-card__add-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.14);
  color: #a5b4fc;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}

.organization-business-card__name {
  color: #f8fafc;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.organization-business-card__meta {
  color: rgba(226, 232, 240, 0.62);
  font-size: 0.9rem;
}

.organization-business-card__stats {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-top: 0.6rem;
}

.organization-business-card__pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  padding: 0.22rem 0.42rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(248, 250, 252, 0.82);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

.organization-business-card__pill--good {
  background: rgba(74, 222, 128, 0.12);
  color: #bbf7d0;
}

.organization-business-card__pill--avg {
  background: rgba(250, 204, 21, 0.12);
  color: #fef08a;
}

.organization-business-card__pill--poor {
  background: rgba(248, 113, 113, 0.12);
  color: #fecaca;
}

.organization-business-card__pill--empty {
  background: rgba(255, 255, 255, 0.04);
  color: rgba(200, 200, 220, 0.62);
}

.organization-business-card__pill--warning {
  background: rgba(251, 191, 36, 0.12);
  color: #fde68a;
}

.organization-business-card__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.organization-business-card__remove {
  color: #fecaca;
}

.organization-business-card__remove:hover {
  border-color: rgba(248, 113, 113, 0.28);
  background: rgba(248, 113, 113, 0.08);
}

.organization-business-card__disabled-action {
  pointer-events: none;
  cursor: default;
  color: rgba(226, 232, 240, 0.58);
}

.dashboard-subscription-required {
  width: min(720px, 100%);
  margin: 5rem auto;
  padding: 2rem;
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: #f8fafc;
}

.dashboard-subscription-required__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  line-height: 1.05;
}

.dashboard-subscription-required__copy {
  max-width: 54ch;
  margin: 0;
  color: rgba(226, 232, 240, 0.72);
  line-height: 1.65;
}

.dashboard-subscription-required__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.organization-business-modal__dialog {
  width: min(680px, 100%);
}

.organization-business-modal__capacity {
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
  margin-top: 0.55rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(99, 102, 241, 0.24);
  border-radius: 6px;
  background: rgba(99, 102, 241, 0.08);
  color: #c7d2fe;
  font-size: 0.78rem;
  font-weight: 800;
}

.organization-business-modal__body {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.organization-business-modal__form {
  display: grid;
  gap: 0.9rem;
}

.organization-business-modal__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 8rem;
  gap: 0.75rem;
}

.organization-business-modal__field {
  display: grid;
  gap: 0.45rem;
  color: rgba(240, 240, 255, 0.86);
  font-size: 0.86rem;
  font-weight: 700;
}

.organization-business-modal__field input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #f8fafc;
  font: inherit;
  padding: 0.7rem 0.8rem;
}

.organization-business-modal__field input::placeholder {
  color: rgba(226, 232, 240, 0.42);
}

.organization-business-modal__matches {
  display: grid;
  gap: 0.65rem;
}

.organization-business-modal__match {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.organization-business-modal__match--confirm {
  border-color: rgba(99, 102, 241, 0.28);
  background: rgba(99, 102, 241, 0.06);
}

.page--dark .lookup-status--success {
  background: rgba(74, 222, 128, 0.1);
  color: #86efac;
  border-color: rgba(74, 222, 128, 0.22);
}

.login-card__footer {
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: rgba(200, 200, 220, 0.45);
}

.login-card__footer a {
  color: #a5b4fc;
  text-decoration: none;
}

.login-card__footer a:hover {
  text-decoration: underline;
  color: #c7d2fe;
}

@media (max-width: 768px) {
  .lookup-form {
    grid-template-columns: 1fr;
  }

  .lookup-form .btn {
    width: 100%;
    justify-self: stretch;
  }

  .lookup-match {
    flex-direction: column;
  }

  .lookup-match__actions,
  .lookup-result__claim {
    width: 100%;
    align-items: stretch;
  }

  .lookup-result__header {
    flex-direction: column;
  }

  .claim-form {
    grid-template-columns: 1fr;
  }

  .billing-card__summary {
    flex-direction: column;
  }

  .dashboard-grid,
  .dashboard-meta,
  .dashboard-score-grid,
  .dashboard-breakdown,
  .dashboard-breakdown-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-card__header,
  .dashboard-breakdown-card__header,
  .dashboard-scan-header-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .organization-dashboard-hero__heading {
    flex-direction: column;
  }

  .organization-dashboard-hero__actions {
    justify-content: flex-start;
  }

  .organization-business-card {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .organization-business-modal__grid,
  .organization-business-modal__match {
    grid-template-columns: 1fr;
  }

  .organization-business-card .btn {
    text-align: center;
  }

  .organization-business-card__actions {
    justify-content: stretch;
  }

  .organization-business-card__actions .btn {
    flex: 1 1 10rem;
  }

  .dashboard-score-ring-wrap {
    align-items: flex-start;
  }
}

/* ═══════════════════════════════════════
   PRO DASHBOARD
   ═══════════════════════════════════════ */

.dash {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}

.dash-print-header {
  display: none;
}

.dash-export-button {
  white-space: nowrap;
}

/* ── Business header ── */
.dash-biz {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(30, 27, 24, 0.05);
}

.dash-biz__info {
  padding-right: 7rem;
}

.dash-biz__type {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.dash-biz__name {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.dash-biz__address {
  color: var(--muted);
  margin-bottom: 1rem;
}

.dash-biz-actions {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  z-index: 30;
}

.dash-biz-actions__summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.16rem;
  width: 2.25rem;
  min-height: 2.25rem;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--fg);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
  list-style: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.dash-biz-actions__dot {
  width: 0.24rem;
  height: 0.24rem;
  border-radius: 999px;
  background: currentColor;
}

.dash-biz-actions__summary::-webkit-details-marker {
  display: none;
}

.dash-biz-actions__summary:hover,
.dash-biz-actions[open] .dash-biz-actions__summary {
  border-color: rgba(99, 102, 241, 0.38);
  background: rgba(99, 102, 241, 0.08);
  transform: translateY(-1px);
}

.dash-biz-actions__menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 11.5rem;
  padding: 0.55rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  box-shadow: 0 16px 36px rgba(30, 27, 24, 0.16);
}

.dash-biz-actions__menu .btn {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

.dash-biz__pills {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.dash-biz-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.45rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(112, 112, 112, 0.16);
  border-radius: 8px;
  background: transparent;
  color: var(--fg);
  line-height: 1.1;
}

.dash-biz-pill__label {
  color: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
  white-space: nowrap;
}

.dash-biz-pill__label-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  white-space: nowrap;
}

.dash-biz-pill__value {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
}

.dash-biz-pill__trend {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  padding: 0 0.35rem;
  color: inherit;
  background: rgba(255, 255, 255, 0.32);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.dash-biz-pill--good .dash-biz-pill__trend {
  background: rgba(34, 99, 58, 0.16);
}

.dash-biz-pill--avg .dash-biz-pill__trend {
  background: rgba(176, 134, 11, 0.16);
}

.dash-biz-pill--poor .dash-biz-pill__trend {
  background: rgba(192, 83, 44, 0.16);
}

.dash-biz-pill__number {
  color: inherit;
}

.dash-biz-pill__sub {
  color: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.72;
}

.dash-biz-pill--good {
  color: #22633a;
}

.dash-biz-pill--avg {
  color: #8a6908;
}

.dash-biz-pill--poor {
  color: #b04d2b;
}

.dash-biz-pill--empty {
  color: var(--muted);
}

.dash-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  margin-left: 0.35rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  cursor: help;
  vertical-align: middle;
}

.dash-help-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dash-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.55rem);
  transform: translateX(-50%) translateY(0.2rem);
  min-width: 13rem;
  max-width: 16rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0.7rem;
  background: #1f2328;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: normal;
  white-space: normal;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.14s ease, transform 0.14s ease;
  z-index: 20;
}

.dash-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border-width: 0.35rem;
  border-style: solid;
  border-color: #1f2328 transparent transparent transparent;
}

.dash-help-wrap:hover .dash-tooltip,
.dash-help-wrap:focus-within .dash-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Generic card ── */
.dash-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 2px 12px rgba(30, 27, 24, 0.05);
  display: flex;
  flex-direction: column;
}

.dash-card__eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.dash-card__head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.dash-card__head-row .dash-card__eyebrow {
  margin-bottom: 0.75rem;
}

.dash-card__improve-link {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 0.15em;
  white-space: nowrap;
  transition: color 120ms ease, text-decoration-color 120ms ease;
}

.dash-card__improve-link:hover {
  color: var(--fg);
  text-decoration-color: var(--fg);
}

.dash-card--wide {
  grid-column: 1 / -1;
}

/* ── Section titles ── */
.dash-section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.dash-section-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* ── Top row: Score + Ranking ── */
.dash-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

/* Score ring (large) */
.dash-ring-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.dash-ring {
  position: relative;
  width: 130px;
  height: 130px;
  flex-shrink: 0;
}

.dash-ring__svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.dash-ring__track {
  fill: none;
  stroke: var(--border);
  stroke-width: 8;
}

.dash-ring__fill {
  fill: none;
  stroke: var(--accent);
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1),
              stroke 0.3s ease;
}

.dash-ring__fill--good { stroke: #22633a; }
.dash-ring__fill--avg  { stroke: #b8860b; }
.dash-ring__fill--poor { stroke: #c0532c; }

.dash-ring__val {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
}

.dash-ring-detail {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.dash-ring-detail__verdict {
  font-weight: 700;
  font-size: 1.05rem;
}

.dash-ring-detail__verdict--good { color: #22633a; }
.dash-ring-detail__verdict--avg  { color: #b8860b; }
.dash-ring-detail__verdict--poor { color: #c0532c; }

.dash-ring-detail__note {
  color: var(--muted);
  font-size: 0.88rem;
}

.dash-running-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #274b8f;
  background: #eef3ff;
  border-radius: 6px;
  padding: 0.45rem 0.8rem;
  font-size: 0.84rem;
  font-weight: 600;
  width: fit-content;
}

.dash-running-indicator[hidden] {
  display: none !important;
}

.dash-running-indicator__spinner {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: dashboard-spin 0.8s linear infinite;
}

.dash-ring-detail__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1rem;
  margin-top: 0.5rem;
}

.dash-ring-detail__meta dt,
.dash-ring-detail__meta dd {
  margin: 0;
}

.dash-ring-detail__meta dt {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.18rem;
}

.dash-ring-detail__meta dd {
  font-size: 0.95rem;
  font-weight: 600;
}

.dash-ring-detail__submeta {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  margin-top: 0.18rem;
}

/* Competitor ranking */
.dash-card--rank {
  display: flex;
  flex-direction: column;
}

.dash-rank {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.dash-rank__position {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}

.dash-rank__position sup {
  font-size: 0.4em;
}

.dash-rank__of {
  color: var(--muted);
  font-size: 0.95rem;
}

.dash-rank-list {
  display: grid;
  gap: 0.7rem;
  max-height: 21rem;
  overflow-y: auto;
  padding-right: 0.35rem;
  scroll-behavior: smooth;
}

.dash-rank-list__item {
  display: grid;
  grid-template-columns: 2.2rem 1fr 2.5rem;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.9rem;
}

.dash-rank-list__item:last-child {
  border-bottom: none;
}

.dash-rank-list__pos {
  font-size: 0.85rem;
  font-weight: 700;
}

.dash-rank-list__name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.82rem;
  font-weight: 500;
}

.dash-rank-list__bar {
  grid-column: 2;
  height: 4px;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 99px;
  overflow: hidden;
}

.dash-rank-list__bar-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--accent);
  opacity: 0.5;
  transition: width 1s ease;
}

.dash-rank-list__bar-fill--top {
  background: #22633a;
  opacity: 0.6;
}

.dash-rank-list__bar-fill--mid {
  background: #b8860b;
  opacity: 0.5;
}

.dash-rank-list__overlap {
  grid-column: 2 / 4;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.28rem 0.6rem;
  align-items: center;
  margin-top: -0.25rem;
}

.dash-rank-list__overlap-label,
.dash-rank-list__overlap-value {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.dash-rank-list__overlap-value {
  text-align: right;
}

.dash-rank-list__overlap-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: stretch;
  gap: 0;
  height: 4px;
  border-radius: 99px;
  background: transparent;
  overflow: hidden;
}

.dash-rank-list__overlap-bar--split {
  gap: 2px;
}

.dash-rank-list__overlap-fill {
  flex-basis: 0;
  min-width: 0;
  height: 100%;
  border-radius: 99px;
  background: #dc2626;
  transition: flex-grow 1s ease;
}

.dash-rank-list__overlap-fill--unique {
  background: #16a34a;
}

.dash-rank-list__score {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  text-align: right;
}

.dash-rank-list__item--you {
  background: rgba(192, 83, 44, 0.06);
  border-radius: 8px;
  padding: 0.4rem 0.5rem;
  font-weight: 600;
}

.dash-rank-list__item--you .dash-rank-list__pos {
  color: var(--accent);
}

.dash-rank-list__item--you .dash-rank-list__bar-fill {
  background: var(--accent);
  opacity: 0.5;
}

.dash-rank-list__item--clickable {
  grid-template-columns: 2.2rem minmax(0, 1fr) 2.5rem;
  cursor: pointer;
  border-radius: 8px;
  padding: 0.4rem 0.5rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.dash-rank-list__item--clickable:hover,
.dash-rank-list__item--clickable:focus-visible {
  background: rgba(30, 27, 24, 0.05);
  outline: none;
}

.dash-rank-list__item--selected {
  background: rgba(39, 75, 143, 0.08);
  border-radius: 8px;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-weight: 600;
}

.dash-rank-list__details-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05rem;
  height: 1.05rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.dash-rank-list__item--clickable:hover .dash-rank-list__details-icon,
.dash-rank-list__item--clickable:focus-visible .dash-rank-list__details-icon {
  border-color: rgba(192, 83, 44, 0.38);
  color: var(--accent);
}

.dash-customer-voice {
  margin-bottom: 2.5rem;
}

.dash-customer-voice__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.dash-customer-voice__title {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
}

.dash-customer-voice__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.dash-customer-voice__group {
  min-width: 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.dash-customer-voice__group--positive {
  border-left: 3px solid #16a34a;
}

.dash-customer-voice__group--negative {
  border-left: 3px solid #dc2626;
}

.dash-customer-voice__group-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
  line-height: 1.25;
}

.dash-customer-voice__pills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.dash-customer-voice__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 100%;
}

.dash-customer-voice__item--open {
  flex: 1 1 100%;
}

.dash-customer-voice__pill {
  appearance: none;
  display: inline-flex;
  align-items: center;
  min-height: 1.95rem;
  max-width: 100%;
  padding: 0.32rem 0.72rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--fg);
  font-family: inherit;
  font-size: 0.84rem;
  line-height: 1.3;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.dash-customer-voice__pill--positive {
  border-color: rgba(22, 163, 74, 0.24);
  background: rgba(22, 163, 74, 0.08);
}

.dash-customer-voice__pill--negative {
  border-color: rgba(220, 38, 38, 0.22);
  background: rgba(220, 38, 38, 0.07);
}

.dash-customer-voice__pill--empty {
  border-style: dashed;
  color: var(--muted);
  background: transparent;
  cursor: default;
}

.dash-customer-voice__detail {
  width: 100%;
  margin-top: 0.55rem;
  padding: 0.7rem 0.8rem;
  border-left: 2px solid var(--border);
  border-radius: 0 6px 6px 0;
  background: var(--card-bg);
}

.dash-customer-voice__item--positive .dash-customer-voice__detail {
  border-left-color: rgba(22, 163, 74, 0.42);
}

.dash-customer-voice__item--negative .dash-customer-voice__detail {
  border-left-color: rgba(220, 38, 38, 0.36);
}

.dash-customer-voice__summary {
  margin: 0;
  color: var(--fg);
  font-size: 0.84rem;
  line-height: 1.45;
}

.dash-customer-voice__quotes {
  list-style: none;
  padding: 0;
  margin: 0.45rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dash-customer-voice__quote {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

.dash-modal {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.dash-modal[hidden] {
  display: none;
}

.dash-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 27, 24, 0.38);
}

.dash-modal__dialog {
  position: relative;
  width: min(960px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  box-shadow: 0 18px 48px rgba(30, 27, 24, 0.2);
}

.dash-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.25rem 0;
}

.dash-modal__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.15;
  margin: 0 0 0.25rem;
}

.dash-modal__subtitle {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.dash-modal__status {
  margin: 1rem 1.25rem;
}

.dash-modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.25rem;
}

/* ── Breakdown grid ── */
.dash-breakdown {
  margin-bottom: 2.5rem;
}

.dash-breakdown__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.dash-breakdown__head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.dash-breakdown__icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
}

.dash-breakdown__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.15rem;
}

.dash-breakdown__sub {
  color: var(--muted);
  font-size: 0.82rem;
}

.dash-breakdown__score-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Mini ring */
.dash-mini-ring {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.dash-mini-ring__svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.dash-mini-ring__val {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
}

/* Detail list */
.dash-breakdown__details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.88rem;
}

.dash-breakdown__compare {
  color: var(--muted);
  font-size: 0.86em;
}

.dash-niche {
  margin-bottom: 2.5rem;
}

.dash-niche__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.dash-niche__status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.dash-niche__signal {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
}

.dash-niche__signal--strong {
  background: rgba(34, 99, 58, 0.12);
  border-color: rgba(34, 99, 58, 0.24);
  color: #22633a;
}

.dash-niche__signal--medium {
  background: rgba(176, 134, 11, 0.12);
  border-color: rgba(176, 134, 11, 0.24);
  color: #8a6908;
}

.dash-niche__signal--weak {
  background: rgba(192, 83, 44, 0.12);
  border-color: rgba(192, 83, 44, 0.24);
  color: #b04d2b;
}

.dash-niche__signal--very-weak {
  background: rgba(127, 47, 27, 0.12);
  border-color: rgba(127, 47, 27, 0.24);
  color: #7f2f1b;
}

.dash-niche__signal--empty {
  background: rgba(112, 112, 112, 0.08);
  border-color: rgba(112, 112, 112, 0.16);
  color: var(--muted);
}

.dash-niche__primary {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  line-height: 1.3;
  color: var(--fg);
}

.dash-niche-print-legend {
  display: none;
}

/* ── Niche tabs ── */
.dash-niche__tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}

.dash-niche__tab {
  appearance: none;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.5rem 1rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: color 120ms ease, border-color 120ms ease;
}

.dash-niche__tab:hover {
  color: var(--fg);
}

.dash-niche__tab--active {
  color: var(--fg);
  border-bottom-color: var(--fg);
}

.dash-niche__tab:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: -2px;
}

.dash-niche__panel-title {
  display: none;
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
}

/* ── Comparison view ── */
.dash-niche-comparison__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.dash-niche-comparison__item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--fg);
}

.dash-niche-comparison__item--empty {
  border-style: dashed;
  color: var(--muted);
  font-size: 0.82rem;
}

.dash-niche-comparison__label {
  list-style: none;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 0 0.1rem;
}

.dash-niche-comparison__label:first-child {
  padding-top: 0;
}

.dash-niche-comparison__text {
  flex: 1 1 auto;
}

.dash-niche-comparison__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}

.dash-niche-comparison__badge--overlap {
  background: rgba(192, 83, 44, 0.12);
  color: #b04d2b;
}

.dash-niche-comparison__badge--unique {
  background: rgba(34, 99, 58, 0.12);
  color: #22633a;
}

.dash-niche-comparison__badge--underused {
  background: rgba(31, 95, 174, 0.12);
  color: #1f5fae;
}

.dash-niche-comparison__sub {
  width: 100%;
  font-size: 0.76rem;
  line-height: 1.3;
  color: var(--muted);
}

.dash-niche-comparison__competitor-link {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 0.15em;
  cursor: pointer;
  transition: color 120ms ease, text-decoration-color 120ms ease;
}

.dash-niche-comparison__competitor-link:hover {
  color: var(--fg);
  text-decoration-color: var(--fg);
}

.dash-niche__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.dash-niche__group {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: var(--bg);
}

.dash-niche__group-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
}

.dash-niche__group-icon {
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
}

.dash-niche__group-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.dash-niche__pills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.dash-niche__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--fg);
}

.dash-niche__pill--interactive {
  cursor: help;
  outline-offset: 3px;
}

.dash-niche__pill--interactive:focus-visible {
  outline: 2px solid var(--fg);
}

.dash-niche__pill--empty {
  border-style: dashed;
  color: var(--muted);
  font-size: 0.82rem;
}

.dash-niche__pip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  flex: 0 0 auto;
  box-shadow: 0 0 0 2px var(--card-bg);
  cursor: help;
  outline-offset: 3px;
}

.dash-niche__pip:focus-visible {
  outline: 2px solid var(--fg);
}

.dash-niche__pip--overlap {
  background: #c0532c;
}

.dash-niche__pip--unique {
  background: #22633a;
}

.dash-niche__pip--underused {
  background: #1f5fae;
}

.dash-niche__pip-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.55rem);
  z-index: 20;
  width: max-content;
  max-width: min(16rem, 80vw);
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  background: var(--fg);
  color: var(--card-bg);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  box-shadow: 0 8px 18px rgba(30, 27, 24, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(0.2rem);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
  visibility: hidden;
}

.dash-niche__pip-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--fg);
  transform: translate(-50%, -50%) rotate(45deg);
}

.dash-niche__pip:hover .dash-niche__pip-tooltip,
.dash-niche__pip:focus .dash-niche__pip-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  visibility: visible;
}

.dash-niche__pill-tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.55rem);
  z-index: 22;
  width: max-content;
  max-width: min(18rem, calc(100vw - 2rem));
  padding: 0.4rem 0.55rem;
  border-radius: 6px;
  background: var(--fg);
  color: var(--card-bg);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
  box-shadow: 0 8px 18px rgba(30, 27, 24, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(0.2rem);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
  visibility: hidden;
}

.dash-niche__pill-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--fg);
  transform: translate(-50%, -50%) rotate(45deg);
}

.dash-niche__pill--tooltip-open > .dash-niche__pill-tooltip,
.dash-niche__pill--interactive:focus-visible > .dash-niche__pill-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  visibility: visible;
}

@media (hover: none), (pointer: coarse) {
  .dash-niche__pill--interactive {
    cursor: pointer;
    min-height: 2.1rem;
  }

  .dash-niche__pip:hover .dash-niche__pip-tooltip,
  .dash-niche__pip:focus .dash-niche__pip-tooltip {
    opacity: 0;
    transform: translateX(-50%) translateY(0.2rem);
    visibility: hidden;
  }
}

.dash-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.35rem;
  vertical-align: middle;
}

.dash-dot--good { background: #22633a; }
.dash-dot--avg  { background: #b8860b; }
.dash-dot--poor { background: #c0532c; }

/* ── History ── */
.dash-history {
  margin-bottom: 2rem;
}

.dash-history__chart {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  height: 140px;
  padding: 0 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.dash-history__chart--compact {
  margin-top: auto;
  margin-bottom: 0;
  flex: 1;
  min-height: 80px;
  gap: 1rem;
  height: auto;
}

.dash-history__empty {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.dash-chart-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  height: 100%;
  justify-content: flex-end;
}

.dash-chart-bar {
  width: 100%;
  max-width: 48px;
  border-radius: 6px 6px 0 0;
  transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.dash-chart-bar--good { background: #22633a; }
.dash-chart-bar--avg  { background: #daa520; }
.dash-chart-bar--poor { background: #c0532c; }

.dash-chart-label {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
  padding-bottom: 0.35rem;
}

.dash-chart-score {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
}

/* History table */
.dash-history__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.dash-history__table th {
  text-align: left;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 0.75rem;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}

.dash-history__table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.dash-history__row--current {
  background: rgba(192, 83, 44, 0.04);
}

.dash-history__row--current td:first-child {
  border-left: 3px solid var(--accent);
}

/* Suggestions */
.dash-suggestions {
  margin-bottom: 2.5rem;
}

.dash-suggestions__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dash-suggestions__note {
  color: var(--muted);
  font-size: 0.92rem;
}

.dash-suggestions__list {
  display: grid;
  gap: 0.9rem;
}

.dash-suggestions__item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  position: relative;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.95rem 1rem;
}

.dash-suggestions__item--completed {
  opacity: 0.75;
}

.dash-suggestions__item--placeholder {
  color: var(--muted);
}

.dash-suggestions__toggle {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.2rem;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.dash-suggestions__toggle:disabled {
  cursor: wait;
}

.dash-suggestions__body {
  min-width: 0;
  flex: 1;
}

.dash-suggestions__summary {
  list-style: none;
  cursor: pointer;
}

.dash-suggestions__summary::-webkit-details-marker {
  display: none;
}

.dash-suggestions__summary::marker {
  content: "";
}

.dash-suggestions__text {
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
}

.dash-suggestions__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: absolute;
  right: 1rem;
  top: 3.45rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.dash-suggestions__hint-arrow {
  display: inline-block;
  transition: transform 0.18s ease;
}

.dash-suggestions__body[open] .dash-suggestions__hint-arrow {
  transform: rotate(180deg);
}

.dash-suggestions__justification {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0;
}

.dash-suggestions__meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.dash-suggestions__pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  background: #f6efe5;
  color: #7a4c17;
  font-size: 0.76rem;
  font-weight: 600;
}

.dash-suggestions__detail {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
}

.dash-suggestions__detail-label {
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.18rem;
}

.dash-suggestions__detail-text {
  font-size: 0.92rem;
  margin-bottom: 0.7rem;
}

/* ── Dashboard sidenav ── */
.dash-sidenav {
  position: fixed;
  left: max(0px, calc((100vw - 1120px) / 2 - 160px));
  top: 50%;
  transform: translateY(-50%);
  width: 130px;
  z-index: 50;
}

.dash-sidenav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.dash-sidenav__link {
  display: block;
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.dash-sidenav__link:hover {
  color: var(--fg);
  background: rgba(0, 0, 0, 0.03);
}

.dash-sidenav__link--active {
  color: var(--accent);
  border-left-color: var(--accent);
  font-weight: 600;
}

/* Hide on viewports too narrow for the sidebar gutter */
@media (max-width: 1440px) {
  .dash-sidenav {
    display: none;
  }
}

/* Mobile: horizontal bar fixed to bottom */
@media (max-width: 768px) {
  .dash-sidenav {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    top: auto;
    transform: none;
    width: 100%;
    background: var(--card-bg);
    border-top: 1px solid var(--border);
    border-bottom: none;
    box-shadow: 0 -2px 8px rgba(30, 27, 24, 0.06);
    z-index: 100;
    padding: 0.4rem 0;
    padding-bottom: calc(0.4rem + env(safe-area-inset-bottom));
    margin-bottom: 0;
  }

  .dash {
    padding-bottom: calc(4rem + env(safe-area-inset-bottom));
  }

  .dash-sidenav__list {
    flex-direction: row;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 0.75rem;
  }

  .dash-sidenav__list::-webkit-scrollbar {
    display: none;
  }

  .dash-sidenav__link {
    white-space: nowrap;
    border-left: none;
    border-top: 2px solid transparent;
    border-bottom: none;
    border-radius: 0;
    padding: 0.35rem 0.65rem;
    font-size: 0.78rem;
  }

  .dash-sidenav__link--active {
    border-left-color: transparent;
    border-top-color: var(--accent);
  }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .dash-top-row,
  .dash-breakdown__grid,
  .dash-modal__grid,
  .dash-customer-voice__grid {
    grid-template-columns: 1fr;
  }

  .dash-modal {
    align-items: stretch;
    padding: 0.75rem;
  }

  .dash-modal__dialog {
    max-height: calc(100vh - 1.5rem);
  }

  .dash-modal__header {
    flex-direction: column;
  }

  .dash-niche__head {
    flex-direction: column;
  }

  .dash-customer-voice__head {
    flex-direction: column;
  }

  .dash-niche__status {
    justify-content: flex-start;
  }

  .dash-niche__grid {
    grid-template-columns: 1fr;
  }

  .dash-biz__info {
    padding-right: 0;
  }

  .dash-biz-actions {
    position: static;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
  }

  .dash-biz-actions__menu {
    right: 0;
  }

  .dash-ring-wrap {
    flex-direction: column;
    text-align: center;
  }

  .dash-breakdown__score-row {
    flex-direction: column;
    text-align: center;
  }

  .dash-breakdown__details {
    align-items: center;
  }

  .dash-biz__pills {
    gap: 1.25rem;
  }

  .dash-biz-pill {
    flex: 1 1 12rem;
    justify-content: space-between;
  }

  .dash-history__table {
    font-size: 0.78rem;
  }

  .dash-history__table th,
  .dash-history__table td {
    padding: 0.45rem 0.4rem;
  }

  .dash-history .dash-card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .dash-history__table {
    min-width: 580px;
  }

  .dash-suggestions__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ═══════════════════════════════════════
   DARK THEME PAGE WRAPPER
   ═══════════════════════════════════════ */
.page--dark {
  --bg: #08090d;
  --fg: #f0f0ff;
  --accent: #6366f1;
  --accent-hover: #7c7ff7;
  --muted: rgba(200, 200, 220, 0.55);
  --card-bg: rgba(255, 255, 255, 0.035);
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  --font-display: var(--font-body);

  min-height: 100vh;
  background: #08090d;
  color: #f0f0ff;
}

.not-found-page {
  display: flex;
  flex-direction: column;
}

.not-found-shell {
  width: 100%;
  max-width: 1120px;
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 5rem 1.25rem 6rem;
  display: grid;
  align-items: center;
}

.not-found-hero {
  max-width: 48rem;
}

.not-found-page .eyebrow {
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.28);
}

.not-found-title {
  max-width: 42rem;
  font-family: var(--font-display);
  font-size: 4.75rem;
  line-height: 1;
  letter-spacing: 0;
  margin-bottom: 1.2rem;
}

.not-found-copy {
  max-width: 38rem;
  color: rgba(200, 200, 220, 0.68);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

@media (max-width: 640px) {
  .not-found-shell {
    min-height: calc(100vh - 64px);
    padding-top: 3.5rem;
  }

  .not-found-title {
    font-size: 3.15rem;
  }

  .not-found-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* ── Ring colors (dark) ── */
.page--dark .dash-ring__fill--good { stroke: #4ade80; }
.page--dark .dash-ring__fill--avg  { stroke: #facc15; }
.page--dark .dash-ring__fill--poor { stroke: #f87171; }

.page--dark .dash-ring-detail__verdict--good { color: #4ade80; }
.page--dark .dash-ring-detail__verdict--avg  { color: #facc15; }
.page--dark .dash-ring-detail__verdict--poor { color: #f87171; }

/* ── Dots (dark) ── */
.page--dark .dash-dot--good { background: #4ade80; }
.page--dark .dash-dot--avg  { background: #facc15; }
.page--dark .dash-dot--poor { background: #f87171; }

/* ── Chart bars (dark) ── */
.page--dark .dash-chart-bar--good { background: #4ade80; }
.page--dark .dash-chart-bar--avg  { background: #facc15; }
.page--dark .dash-chart-bar--poor { background: #f87171; }

/* ── Running indicator (dark) ── */
.page--dark .dash-running-indicator {
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.12);
}

/* ── Business signal pills (dark) ── */
.page--dark .dash-biz-pill--good {
  color: #bbf7d0;
}

.page--dark .dash-biz-pill--avg {
  color: #fef08a;
}

.page--dark .dash-biz-pill--poor {
  color: #fecaca;
}

.page--dark .dash-biz-pill--empty {
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(200, 200, 220, 0.62);
}

.page--dark .dash-biz-pill--good .dash-biz-pill__trend {
  background: rgba(74, 222, 128, 0.2);
}

.page--dark .dash-biz-pill--avg .dash-biz-pill__trend {
  background: rgba(250, 204, 21, 0.2);
}

.page--dark .dash-biz-pill--poor .dash-biz-pill__trend {
  background: rgba(248, 113, 113, 0.2);
}

/* ── Rank list you-row (dark) ── */
.page--dark .dash-rank-list__item--you {
  background: rgba(99, 102, 241, 0.1);
}

.page--dark .dash-rank-list__item--you .dash-rank-list__pos {
  color: #a5b4fc;
}

.page--dark .dash-rank-list__item--you .dash-rank-list__name {
  color: #c7d2fe;
}

.page--dark .dash-rank-list__item--you .dash-rank-list__bar-fill {
  background: rgba(165, 180, 252, 0.5);
}

.page--dark .dash-rank-list__item--you .dash-rank-list__score {
  color: #a5b4fc;
}

.page--dark .dash-rank-list__bar {
  background: rgba(255, 255, 255, 0.06);
}

.page--dark .dash-rank-list__bar-fill--top {
  background: rgba(52, 211, 153, 0.6);
}

.page--dark .dash-rank-list__bar-fill--mid {
  background: rgba(251, 191, 36, 0.5);
}

.page--dark .dash-rank-list__overlap-bar {
  background: transparent;
}

.page--dark .dash-rank-list__overlap-fill {
  background: #ef4444;
}

.page--dark .dash-rank-list__overlap-fill--unique {
  background: #4ade80;
}

.page--dark .dash-rank-list__item--clickable:hover,
.page--dark .dash-rank-list__item--clickable:focus-visible {
  background: rgba(255, 255, 255, 0.04);
}

.page--dark .dash-rank-list__item--selected {
  background: rgba(99, 102, 241, 0.12);
}

.page--dark .dash-rank-list__details-icon {
  border-color: rgba(255, 255, 255, 0.12);
  color: rgba(200, 200, 220, 0.5);
}

.page--dark .dash-rank-list__item--clickable:hover .dash-rank-list__details-icon,
.page--dark .dash-rank-list__item--clickable:focus-visible .dash-rank-list__details-icon {
  border-color: rgba(99, 102, 241, 0.4);
  color: #a5b4fc;
}

/* ── Suggestions (dark) ── */
.page--dark .dash-suggestions__item {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.08);
}

.page--dark .dash-suggestions__pill {
  background: rgba(99, 102, 241, 0.1);
  color: #a5b4fc;
}

.page--dark .dash-suggestions__hint {
  color: #a5b4fc;
}

/* ── History row highlight (dark) ── */
.page--dark .dash-history__row--current {
  background: rgba(99, 102, 241, 0.06);
}

.page--dark .dash-history__row--current td:first-child {
  border-left-color: #6366f1;
}

.page--dark .dash-customer-voice__group {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.08);
}

.page--dark .dash-customer-voice__group--positive {
  border-left-color: #4ade80;
}

.page--dark .dash-customer-voice__group--negative {
  border-left-color: #f87171;
}

.page--dark .dash-customer-voice__pill {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: #e0e0f0;
}

.page--dark .dash-customer-voice__pill--positive {
  border-color: rgba(74, 222, 128, 0.24);
  background: rgba(74, 222, 128, 0.1);
}

.page--dark .dash-customer-voice__pill--negative {
  border-color: rgba(248, 113, 113, 0.24);
  background: rgba(248, 113, 113, 0.08);
}

.page--dark .dash-customer-voice__pill--empty {
  color: rgba(200, 200, 220, 0.5);
  background: transparent;
}

.page--dark .dash-customer-voice__detail {
  background: rgba(255, 255, 255, 0.04);
  border-left-color: rgba(255, 255, 255, 0.14);
}

.page--dark
  .dash-customer-voice__item--positive
  .dash-customer-voice__detail {
  border-left-color: rgba(74, 222, 128, 0.42);
}

.page--dark
  .dash-customer-voice__item--negative
  .dash-customer-voice__detail {
  border-left-color: rgba(248, 113, 113, 0.38);
}

.page--dark .dash-customer-voice__quote {
  color: rgba(200, 200, 220, 0.66);
}

/* ── Niche signal pills (dark) ── */
.page--dark .dash-niche__signal--strong {
  background: rgba(74, 222, 128, 0.12);
  border-color: rgba(74, 222, 128, 0.24);
  color: #4ade80;
}

.page--dark .dash-niche__signal--medium {
  background: rgba(250, 204, 21, 0.12);
  border-color: rgba(250, 204, 21, 0.24);
  color: #facc15;
}

.page--dark .dash-niche__signal--weak {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.24);
  color: #f87171;
}

.page--dark .dash-niche__signal--very-weak {
  background: rgba(248, 113, 113, 0.08);
  border-color: rgba(248, 113, 113, 0.18);
  color: #fca5a5;
}

.page--dark .dash-niche__signal--empty {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: rgba(200, 200, 220, 0.5);
}

/* ── Niche groups & pills (dark) ── */
.page--dark .dash-niche__group {
  background: rgba(255, 255, 255, 0.025);
}

.page--dark .dash-niche__pill {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: #e0e0f0;
}

/* ── Niche pip colors (dark) ── */
.page--dark .dash-niche__pip--overlap { background: #f87171; }
.page--dark .dash-niche__pip--unique  { background: #4ade80; }
.page--dark .dash-niche__pip--underused { background: #60a5fa; }

/* ── Tooltips (dark) ── */
.page--dark .dash-tooltip {
  background: #1e1f2e;
  color: #e0e0f0;
}

.page--dark .dash-tooltip::after {
  border-color: #1e1f2e transparent transparent transparent;
}

.page--dark .dash-niche__pip-tooltip,
.page--dark .dash-niche__pill-tooltip {
  background: #1e1f2e;
  color: #e0e0f0;
}

.page--dark .dash-niche__pip-tooltip::after,
.page--dark .dash-niche__pill-tooltip::after {
  background: #1e1f2e;
}

/* ── Modal (dark) ── */
.page--dark .dash-modal__backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.page--dark .dash-modal__dialog {
  background: #0d0e15;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5);
}

.page--dark .dash-modal__dialog .dash-card {
  border-color: rgba(255, 255, 255, 0.06);
}

/* ── Buttons inside dark page ── */
.page--dark .btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #e0e0f0;
  border-color: rgba(255, 255, 255, 0.1);
}

.page--dark .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.page--dark .btn--primary {
  background: #6366f1;
  border-color: #6366f1;
}

.page--dark .btn--primary:hover {
  background: #7c7ff7;
  border-color: #7c7ff7;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

/* ── Profile menu (dark) ── */
.page--dark .topnav__profile-button {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #e0e0f0;
}

.page--dark .topnav__profile-button:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.page--dark .topnav__profile-menu {
  background: #12131a;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.page--dark .topnav__profile-link {
  color: rgba(200, 200, 220, 0.7);
}

.page--dark .topnav__profile-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #f0f0ff;
}

/* ── Sidenav (dark) ── */
.page--dark .dash-sidenav__link:hover {
  color: #f0f0ff;
  background: rgba(255, 255, 255, 0.04);
}

.page--dark .dash-sidenav__link--active {
  color: #a5b4fc;
  border-left-color: #6366f1;
}

@media (max-width: 768px) {
  .page--dark .dash-sidenav {
    background: rgba(8, 9, 13, 0.95);
    border-top-color: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.3);
  }

  .page--dark .dash-sidenav__link--active {
    border-left-color: transparent;
    border-top-color: #6366f1;
  }

  .page--dark .topnav__links.open {
    background: rgba(8, 9, 13, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.06);
  }
}

/* ── Error status (dark) ── */
.page--dark .lookup-status--error {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.25);
  color: #fca5a5;
}

@media print {
  @page {
    size: letter;
    margin: 0.45in;
  }

  body.body--dashboard-print,
  body.body--dashboard-print .page--dark {
    --bg: #ffffff;
    --fg: #151515;
    --accent: #3f46c5;
    --muted: #5f6368;
    --card-bg: #ffffff;
    --border: #d9dce3;
    background: #ffffff !important;
    color: #151515 !important;
  }

  body.body--dashboard-print * {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  body.body--dashboard-print .topnav,
  body.body--dashboard-print .hijack-banner,
  body.body--dashboard-print .dash-sidenav,
  body.body--dashboard-print #pro-dashboard-error,
  body.body--dashboard-print .dash-modal,
  body.body--dashboard-print .dash-export-button,
  body.body--dashboard-print .dash-help,
  body.body--dashboard-print .dash-tooltip,
  body.body--dashboard-print .dash-niche__pip-tooltip,
  body.body--dashboard-print .dash-niche__pill-tooltip,
  body.body--dashboard-print .dash-card--score .dash-history__chart,
  body.body--dashboard-print .dash-card--score #dash-history-empty,
  body.body--dashboard-print .dash-history {
    display: none !important;
  }

  body.body--dashboard-print .dash {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  body.body--dashboard-print .dash > * {
    display: none !important;
  }

  body.body--dashboard-print .dash > .dash-print-header,
  body.body--dashboard-print .dash > .dash-biz,
  body.body--dashboard-print .dash > #section-customer-voice,
  body.body--dashboard-print .dash > #section-niche,
  body.body--dashboard-print .dash > #section-breakdown,
  body.body--dashboard-print .dash > #section-fixes {
    display: block !important;
  }

  body.body--dashboard-print .dash > #section-score {
    display: grid !important;
  }

  body.body--dashboard-print .dash-card__improve-link {
    display: none;
  }

  body.body--dashboard-print .dash-print-header {
    margin-bottom: 0.22in;
    padding-bottom: 0.14in;
    border-bottom: 1px solid #d9dce3;
  }

  body.body--dashboard-print .dash-print-header__eyebrow,
  body.body--dashboard-print .dash-card__eyebrow,
  body.body--dashboard-print .dash-biz__type,
  body.body--dashboard-print .dash-biz-pill__label,
  body.body--dashboard-print .dash-ring-detail__meta dt {
    color: #5f6368 !important;
    letter-spacing: 0.08em;
  }

  body.body--dashboard-print .dash-print-header__title {
    margin: 0;
    color: #151515;
    font-family: var(--font-body);
    font-size: 18pt;
    line-height: 1.15;
  }

  body.body--dashboard-print .dash-print-header__meta {
    margin-top: 0.05in;
    color: #5f6368;
    font-size: 9pt;
  }

  body.body--dashboard-print .dash-biz,
  body.body--dashboard-print .dash-card {
    break-inside: avoid;
    page-break-inside: avoid;
    border: 1px solid #d9dce3 !important;
    border-radius: 8px;
    background: #ffffff !important;
    box-shadow: none !important;
    color: #151515 !important;
  }

  body.body--dashboard-print .dash-biz {
    margin-bottom: 0.18in;
    padding: 0.18in 0.2in;
  }

  body.body--dashboard-print .dash-biz__name {
    color: #151515;
    font-family: var(--font-body);
    font-size: 20pt;
  }

  body.body--dashboard-print .dash-biz__address,
  body.body--dashboard-print .dash-section-sub,
  body.body--dashboard-print .dash-breakdown__sub,
  body.body--dashboard-print .dash-ring-detail__note,
  body.body--dashboard-print .dash-rank__of,
  body.body--dashboard-print .dash-breakdown__compare,
  body.body--dashboard-print .dash-history__empty {
    color: #5f6368 !important;
  }

  body.body--dashboard-print .dash-biz__pills {
    gap: 0.12in;
  }

  body.body--dashboard-print .dash-biz-pill {
    border-color: #d9dce3 !important;
    background: #ffffff !important;
    color: #151515 !important;
  }

  body.body--dashboard-print .dash-biz__info {
    padding-right: 0;
  }

  body.body--dashboard-print .dash-biz-actions {
    position: static;
    margin: 0 0 0.12in;
  }

  body.body--dashboard-print .dash-biz-actions__summary {
    display: none;
  }

  body.body--dashboard-print .dash-biz-actions__menu {
    position: static;
    display: flex;
    flex-direction: row;
    gap: 0.16in;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent !important;
    box-shadow: none;
  }

  body.body--dashboard-print .dash-biz__links {
    display: flex;
    gap: 0.16in;
    margin-bottom: 0.12in;
  }

  body.body--dashboard-print .dash-biz__links .btn {
    padding: 0;
    border: 0;
    background: transparent !important;
    color: #3f46c5 !important;
    font-size: 9pt;
  }

  body.body--dashboard-print .dash-top-row,
  body.body--dashboard-print .dash-breakdown__grid,
  body.body--dashboard-print .dash-niche__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.16in;
    margin-bottom: 0.22in;
  }

  body.body--dashboard-print .dash-niche__tabs {
    display: none;
  }

  body.body--dashboard-print #dash-niche-content {
    display: flex;
    flex-direction: column;
  }

  body.body--dashboard-print .dash-niche__tab-panel[hidden] {
    display: block !important;
  }

  body.body--dashboard-print #dash-niche-panel-themes {
    order: -1;
  }

  body.body--dashboard-print .dash-niche__panel-title {
    display: block !important;
  }

  body.body--dashboard-print .dash-card {
    padding: 0.18in 0.2in;
  }

  body.body--dashboard-print .dash-ring-wrap,
  body.body--dashboard-print .dash-breakdown__score-row {
    flex-direction: row !important;
    align-items: center;
    text-align: left;
  }

  body.body--dashboard-print .dash-ring {
    width: 1.05in;
    height: 1.05in;
  }

  body.body--dashboard-print .dash-ring__val {
    color: #151515;
    font-size: 20pt;
  }

  body.body--dashboard-print .dash-ring__track {
    stroke: #d9dce3;
  }

  body.body--dashboard-print .dash-mini-ring {
    width: 0.7in;
    height: 0.7in;
  }

  body.body--dashboard-print .dash-mini-ring__val {
    color: #151515;
    font-size: 13pt;
  }

  body.body--dashboard-print .dash-rank {
    margin-bottom: 0.12in;
  }

  body.body--dashboard-print .dash-rank__position {
    color: #3f46c5 !important;
    font-size: 28pt;
  }

  body.body--dashboard-print .dash-rank-list {
    max-height: none;
    overflow: visible;
    padding-right: 0;
    scroll-behavior: auto;
  }

  body.body--dashboard-print .dash-rank-list__item,
  body.body--dashboard-print .dash-rank-list__item--clickable {
    break-inside: avoid;
    cursor: default;
    padding: 0;
  }

  body.body--dashboard-print .dash-rank-list__item--you,
  body.body--dashboard-print .page--dark .dash-rank-list__item--you {
    background: #eef0ff !important;
    padding: 0.06in 0.08in;
  }

  body.body--dashboard-print .dash-rank-list__name,
  body.body--dashboard-print .dash-rank-list__score,
  body.body--dashboard-print .dash-niche__primary,
  body.body--dashboard-print .dash-breakdown__title,
  body.body--dashboard-print .dash-section-title {
    color: #151515 !important;
  }

  body.body--dashboard-print .dash-niche,
  body.body--dashboard-print .dash-breakdown,
  body.body--dashboard-print .dash-suggestions {
    margin-bottom: 0.22in;
  }

  body.body--dashboard-print .dash-niche__head {
    flex-direction: row !important;
  }

  body.body--dashboard-print .dash-niche-print-legend {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.08in 0.16in;
    margin: -0.05in 0 0.14in;
    padding: 0.08in 0.1in;
    border: 1px solid #e4e7ee;
    border-radius: 6px;
    background: #f7f8fb;
    color: #5f6368;
    font-size: 8.5pt;
  }

  body.body--dashboard-print .dash-niche-print-legend__label {
    color: #151515;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  body.body--dashboard-print .dash-niche-print-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 0.05in;
    white-space: nowrap;
  }

  body.body--dashboard-print .dash-niche-print-legend__dot {
    width: 0.08in;
    height: 0.08in;
    border-radius: 999px;
    flex: 0 0 auto;
  }

  body.body--dashboard-print .dash-niche-print-legend__dot--overlap {
    background: #f87171;
  }

  body.body--dashboard-print .dash-niche-print-legend__dot--unique {
    background: #4ade80;
  }

  body.body--dashboard-print .dash-niche-print-legend__dot--underused {
    background: #60a5fa;
  }

  body.body--dashboard-print .dash-niche__group,
  body.body--dashboard-print .page--dark .dash-niche__group {
    break-inside: avoid;
    background: #f7f8fb !important;
    border: 1px solid #e4e7ee;
  }

  body.body--dashboard-print .dash-niche__pill,
  body.body--dashboard-print .page--dark .dash-niche__pill {
    background: #ffffff !important;
    border-color: #d9dce3 !important;
    color: #151515 !important;
  }

  body.body--dashboard-print .dash-breakdown__details {
    align-items: flex-start;
    font-size: 9pt;
  }

  body.body--dashboard-print .dash-suggestions__head {
    display: block;
    margin-bottom: 0.12in;
  }

  body.body--dashboard-print .dash-suggestions__note {
    color: #5f6368 !important;
    font-size: 9pt;
  }

  body.body--dashboard-print .dash-suggestions__list {
    gap: 0.1in;
  }

  body.body--dashboard-print .dash-suggestions__item {
    break-inside: avoid;
    page-break-inside: avoid;
    border: 1px solid #d9dce3 !important;
    border-radius: 8px;
    background: #ffffff !important;
    padding: 0.12in;
    opacity: 1;
  }

  body.body--dashboard-print .dash-suggestions__toggle {
    width: 0.13in;
    height: 0.13in;
    margin-top: 0.03in;
  }

  body.body--dashboard-print .dash-suggestions__summary {
    cursor: default;
  }

  body.body--dashboard-print .dash-suggestions__hint {
    display: none !important;
  }

  body.body--dashboard-print .dash-suggestions__text {
    color: #151515;
    font-size: 10pt;
    margin-bottom: 0.06in;
  }

  body.body--dashboard-print .dash-suggestions__meta {
    gap: 0.05in;
  }

  body.body--dashboard-print .dash-suggestions__pill {
    border: 1px solid #d9dce3;
    background: #eef0ff !important;
    color: #3f46c5 !important;
    padding: 0.03in 0.07in;
    font-size: 8pt;
  }

  body.body--dashboard-print .dash-suggestions__detail {
    display: block;
    margin-top: 0.08in;
    padding-top: 0.08in;
    border-top-color: #d9dce3;
  }

  body.body--dashboard-print .dash-suggestions__detail-label {
    color: #5f6368 !important;
    font-size: 7.5pt;
    letter-spacing: 0.06em;
  }

  body.body--dashboard-print .dash-suggestions__detail-text,
  body.body--dashboard-print .dash-suggestions__justification {
    color: #151515 !important;
    font-size: 9pt;
    line-height: 1.45;
  }

  body.body--dashboard-print .dash-suggestions__justification {
    color: #5f6368 !important;
  }

  body.body--dashboard-print .dash-running-indicator {
    background: #eef0ff !important;
    color: #3f46c5 !important;
  }

  body.body--dashboard-print .dash-running-indicator__spinner {
    display: none;
  }
}

/* ── ADMIN ── */
.adm {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  font-size: 0.9rem;
}

.adm-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}

.adm-header__title {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.adm-header__meta {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 0.15rem;
}

.adm-header__env {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.2em 0.6em;
}

.adm-header__meta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}

.adm-header__copy-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}

.adm-header__copy {
  border: 1px solid #e5ddd1;
  border-radius: 6px;
  padding: 0.3rem 0.55rem;
  background: #fffdfa;
  color: var(--muted);
  font-size: 0.78rem;
  cursor: copy;
}

.adm-header__copy:hover {
  color: var(--fg);
  border-color: #d7cebf;
  background: #fff;
}

.adm-header__copy-label {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Alert */
.adm-alert {
  padding: 0.6rem 0.9rem;
  border-radius: 4px;
  font-size: 0.84rem;
  margin-bottom: 1.25rem;
}

.adm-alert--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Stats row */
.adm-stats {
  display: flex;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.adm-stat {
  flex: 1;
  background: var(--card-bg);
  padding: 0.9rem 1rem;
  text-align: center;
}

.adm-stat__value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.adm-stat__label {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.2rem;
}

/* Sections */
.adm-sections {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.adm-section {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card-bg);
  overflow: hidden;
}

.adm-section__title {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 0.7rem 1rem;
  background: #f8f5ef;
  border-bottom: 1px solid var(--border);
}

.adm-section__subtitle {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 0.6rem 1rem 0;
  margin-top: 0.5rem;
}

.adm-section__body {
  padding: 0;
}

.adm-section__body--padded {
  padding: 1rem;
}

/* Tables */
.adm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.adm-table thead {
  background: #faf8f4;
}

.adm-table th {
  text-align: left;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--border);
}

.adm-table td {
  padding: 0.55rem 1rem;
  border-bottom: 1px solid #f0ebe3;
  vertical-align: middle;
}

.adm-table tbody tr:last-child td {
  border-bottom: none;
}

.adm-table__mono {
  font-family: "SF Mono", "Menlo", "Consolas", monospace;
  font-size: 0.82rem;
}

.adm-table__empty {
  text-align: center;
  color: var(--muted);
  padding: 1.5rem 1rem;
  font-style: italic;
}

/* Badges */
.adm-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15em 0.55em;
  border-radius: 3px;
}

.adm-badge--ok {
  background: #dcfce7;
  color: #166534;
}

.adm-badge--warn {
  background: #fef9c3;
  color: #854d0e;
}

.adm-badge--error {
  background: #fee2e2;
  color: #991b1b;
}

.adm-badge--on {
  background: #dcfce7;
  color: #166534;
}

.adm-badge--off {
  background: #f3f4f6;
  color: #6b7280;
}

/* Buttons */
.adm-btn {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4em 1em;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--card-bg);
  color: var(--fg);
  cursor: pointer;
  transition: background 0.15s;
}

.adm-btn:hover:not(:disabled) {
  background: #f5f0e8;
}

.adm-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.adm-btn--xs {
  font-size: 0.72rem;
  padding: 0.25em 0.65em;
}

.adm-btn--danger {
  border-color: #f0c4bc;
  color: #8b2d1a;
  background: #fef2f0;
}

.adm-btn--danger:hover:not(:disabled) {
  background: #fde6e1;
}

/* Actions row */
.adm-actions {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
}

.adm-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-top: 1px solid var(--border);
}

.adm-toolbar__group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.adm-toolbar__group--meta {
  justify-content: flex-end;
}

.adm-toolbar__group--search {
  flex: 1;
  min-width: 280px;
}

.adm-toolbar__group--search .adm-input {
  min-width: 280px;
}

.adm-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  color: var(--fg);
}

.adm-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem 0;
}

.adm-pagination-summary,
.adm-pagination__label {
  color: var(--muted);
  font-size: 0.84rem;
}

.adm-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem 1rem;
}

.adm-form {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.adm-form__section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
}

.adm-form__section--split {
  margin-top: 0;
  border-top: 1px solid var(--border);
}

.adm-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}

.adm-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.adm-form__field span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.adm-textarea {
  width: 100%;
  min-height: 12rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: #fff;
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.adm-table__subtle {
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.adm-form__checks {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.84rem;
}

.adm-form__checks label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.adm-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 600;
}

.adm-status-indicator__dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: currentColor;
}

.adm-status-indicator--active {
  color: #22633a;
}

.adm-status-indicator--inactive {
  color: #a23a28;
}

.adm-status-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  margin: 0 1rem;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: #eef3ff;
  color: #274b8f;
  font-size: 0.84rem;
  font-weight: 600;
}

.adm-status-inline[hidden] {
  display: none !important;
}

.adm-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.adm-modal[hidden] {
  display: none;
}

.adm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 27, 24, 0.32);
}

.adm-modal__dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  box-shadow: 0 18px 48px rgba(30, 27, 24, 0.18);
}

.adm-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 0;
}

/* Search row */
.adm-search-row {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.adm-input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.84rem;
  padding: 0.4em 0.75em;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--card-bg);
  color: var(--fg);
}

.adm-input:disabled {
  opacity: 0.5;
}

.adm-input::placeholder {
  color: var(--muted);
}

/* User search autocomplete */
.adm-user-search {
  position: relative;
  width: 100%;
}

.adm-user-search .adm-input {
  width: 100%;
}

.adm-user-search__results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 210;
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0.25rem 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card-bg);
  box-shadow: 0 8px 24px rgba(30, 27, 24, 0.18);
  max-height: 14rem;
  overflow-y: auto;
}

.adm-user-search__results[hidden] {
  display: none;
}

.adm-user-search__item {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  font-size: 0.84rem;
  transition: background 80ms ease;
}

.adm-user-search__item:hover {
  background: rgba(99, 102, 241, 0.1);
}

.adm-user-search__name {
  font-weight: 600;
  color: var(--fg);
}

.adm-user-search__email {
  color: var(--muted);
  font-size: 0.78rem;
}

.adm-user-search__empty {
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.page--dark .adm-user-search__results {
  background: #1a1b22;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.adm-location-picker {
  display: grid;
  gap: 0.5rem;
  max-height: 22rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.adm-location-picker__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  padding: 0.65rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
}

.adm-location-picker__name {
  display: block;
  font-weight: 650;
  color: var(--fg);
}

.adm-location-picker__meta {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 640px) {
  .adm-stats {
    flex-wrap: wrap;
  }

  .adm-stat {
    flex: 1 1 calc(50% - 1px);
  }

  .adm-table {
    font-size: 0.78rem;
  }

  .adm-table th,
  .adm-table td {
    padding: 0.45rem 0.6rem;
  }

  .adm-search-row {
    flex-direction: column;
  }

  .adm-form__grid {
    grid-template-columns: 1fr;
  }

  .adm-list-head,
  .adm-pagination,
  .adm-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .adm-toolbar__group--search {
    width: 100%;
    min-width: 0;
  }

  .adm-toolbar__group--search .adm-input {
    min-width: 0;
    width: 100%;
  }
}

/* ── Admin dark-mode overrides ── */
.page--dark .adm-section__title {
  background: rgba(255, 255, 255, 0.05);
}

.page--dark .adm-table thead {
  background: rgba(255, 255, 255, 0.04);
}

.page--dark .adm-table td {
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.page--dark .adm-alert--error {
  background: rgba(220, 38, 38, 0.12);
  color: #fca5a5;
  border-color: rgba(220, 38, 38, 0.25);
}

.page--dark .adm-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
}

.page--dark .adm-btn--danger {
  border-color: rgba(220, 38, 38, 0.3);
  color: #fca5a5;
  background: rgba(220, 38, 38, 0.1);
}

.page--dark .adm-btn--danger:hover:not(:disabled) {
  background: rgba(220, 38, 38, 0.18);
}

.page--dark .adm-header__copy {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.page--dark .adm-header__copy:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

.page--dark .adm-textarea {
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  border-color: rgba(255, 255, 255, 0.1);
}

.page--dark .adm-status-inline {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
}

.page--dark .adm-status-indicator--active {
  color: #4ade80;
}

.page--dark .adm-status-indicator--inactive {
  color: #f87171;
}

.page--dark .adm-modal__backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.page--dark .adm-modal__dialog {
  background: #1a1b22;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.page--dark .adm-badge--ok,
.page--dark .adm-badge--on {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.page--dark .adm-badge--warn {
  background: rgba(234, 179, 8, 0.15);
  color: #facc15;
}

.page--dark .adm-badge--error {
  background: rgba(220, 38, 38, 0.15);
  color: #f87171;
}

.page--dark .adm-badge--off {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}
