/* MarTech LA — site-specific styles, layered on colors_and_type.css */

:root {
  --site-cream: #FBF8F1;
  --site-cream-2: #F5F1E8;
  --site-ink: #1A1814;
  --site-ink-2: #3a352e;
  --site-ink-3: #6b6558;
  --site-ink-4: #a8a195;
  --site-rule: #E5DFD0;
  --site-rule-2: #D8D0BD;
  --site-purple: #4c2fc9;
  --site-purple-deep: #2d1b69;
  --site-grad: linear-gradient(135deg, #2d1b69 0%, #4c2fc9 100%);
  --site-grad-soft: linear-gradient(135deg, rgba(76,47,201,0.04) 0%, rgba(76,47,201,0.08) 100%);
  --site-max: 1200px;
  --site-prose: 720px;
}

html, body {
  background: var(--site-cream);
  color: var(--site-ink);
  font-feature-settings: "ss01", "cv11";
  font-family: var(--font-sans);
}

::selection { background: rgba(76,47,201,0.18); color: var(--site-ink); }

/* ------- type overrides for editorial feel ------- */
h1, h2, h3, h4, .display { color: var(--site-ink); font-family: var(--font-sans-display); }

p { color: var(--site-ink-2); }

a {
  color: var(--site-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--site-rule-2);
  font-weight: 500;
  padding-bottom: 1px;
  transition: border-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
a:hover {
  color: var(--site-purple);
  border-bottom-color: var(--site-purple);
  text-decoration: none;
}
a.bare { border: none; padding: 0; }
a.bare:hover { color: var(--site-purple); }

.eyebrow {
  font-family: var(--font-sans-small);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--site-ink-3);
}

.serif-num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.mono {
  font-family: var(--font-mono);
  font-feature-settings: "ss01";
}

/* ------- layout helpers ------- */
.shell { max-width: var(--site-max); margin: 0 auto; padding: 0 32px; }
.prose { max-width: var(--site-prose); }
.prose-wide { max-width: 880px; }

section { position: relative; }

.section-pad { padding: 120px 0; }
.section-pad-tight { padding: 80px 0; }

.rule { border: none; border-top: 1px solid var(--site-rule); margin: 0; }

/* ------- buttons ------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 180ms var(--ease-out);
  text-decoration: none;
}
.btn-primary {
  background: var(--site-ink);
  color: #FBF8F1;
}
.btn-primary:hover {
  background: var(--site-purple);
  color: #fff;
  border-bottom: 1px solid transparent;
}
.btn-ghost {
  background: transparent;
  color: var(--site-ink);
  border: 1px solid var(--site-rule-2);
}
.btn-ghost:hover {
  background: rgba(76,47,201,0.06);
  border-color: var(--site-purple);
  color: var(--site-purple);
}
.btn-arrow { font-size: 13px; opacity: 0.7; transition: transform 180ms var(--ease-out), opacity 180ms; }
.btn:hover .btn-arrow { transform: translateX(3px); opacity: 1; }

/* ------- nav ------- */
.nav-root {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 22px 32px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(251, 248, 241, 0);
  transition: background 240ms var(--ease-out), backdrop-filter 240ms, border-color 240ms;
  border-bottom: 1px solid transparent;
}
.nav-root.is-scrolled {
  background: rgba(251, 248, 241, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--site-rule);
}
.nav-mark {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-sans-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--site-ink);
  border: none; padding: 0;
}
.nav-mark img { height: 22px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-family: var(--font-sans-small);
  font-size: 13px; font-weight: 500;
  color: var(--site-ink-2);
  border: none; padding: 0;
}
.nav-links a:hover { color: var(--site-purple); border: none; }
.nav-cta,
a.nav-cta {
  font-family: var(--font-sans-small);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 14px 10px;
  background: var(--site-ink);
  color: #FBF8F1;
  border-radius: 7px;
  border: 1px solid var(--site-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  transition: background 180ms var(--ease-out), border-color 180ms, color 180ms, transform 180ms;
}
a.nav-cta:hover {
  background: var(--site-purple);
  border-color: var(--site-purple);
  color: #fff;
  text-decoration: none;
}
@media (max-width: 720px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ------- hero ------- */
.hero {
  padding-top: 200px;
  padding-bottom: 140px;
  position: relative;
}
.hero-eyebrow-row {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 56px;
}
.hero-eyebrow-row .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--site-purple);
  box-shadow: 0 0 0 0 rgba(76,47,201,0.4);
  animation: pulse-dot 2.4s var(--ease-out) infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(76,47,201,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(76,47,201,0); }
  100% { box-shadow: 0 0 0 0 rgba(76,47,201,0); }
}

.hero h1 {
  font-family: var(--font-sans-display);
  font-size: clamp(46px, 6.4vw, 88px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 36px;
  color: var(--site-ink);
  text-wrap: balance;
}
.hero h1 .accent { color: var(--site-purple); font-style: italic; font-weight: 600; }
.hero-sub {
  font-size: 21px;
  line-height: 1.45;
  color: var(--site-ink-2);
  max-width: 640px;
  margin: 0 0 44px;
  font-weight: 400;
  text-wrap: pretty;
}
.hero-actions { display: flex; align-items: center; gap: 20px; margin-bottom: 80px; }
.hero-actions .btn { font-size: 15px; padding: 14px 22px; }

/* ------- iPhone Messages hero demo ------- */
.imsg-wrap {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}
.imsg {
  width: 380px;
  max-width: 100%;
  background: #fff;
  border-radius: 44px;
  border: 1px solid var(--site-rule);
  box-shadow:
    0 24px 60px -20px rgba(45,27,105,0.28),
    0 8px 20px -8px rgba(26,24,20,0.18),
    inset 0 0 0 6px #f5f1e8;
  overflow: hidden;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.imsg-statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 28px 8px;
  font-size: 14px; font-weight: 600;
  color: #1d1d1f;
}
.imsg-statusbar .icons { display: inline-flex; gap: 5px; align-items: center; }
.imsg-statusbar .icons i { display: inline-block; width: 16px; height: 10px; background: #1d1d1f; border-radius: 2px; opacity: 0.85; }
.imsg-statusbar .icons i.bars { -webkit-mask: linear-gradient(180deg, #000 0 100%); border-radius: 0; clip-path: polygon(0 70%, 22% 70%, 22% 100%, 0 100%, 0 70%, 28% 50%, 50% 50%, 50% 100%, 28% 100%, 28% 50%, 56% 30%, 78% 30%, 78% 100%, 56% 100%, 56% 30%, 84% 0%, 100% 0%, 100% 100%, 84% 100%, 84% 0%); }

.imsg-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px; background: #1d1d1f; border-radius: 999px;
  z-index: 2;
}

.imsg-header {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 10px 12px 12px;
  border-bottom: 0.5px solid #e5e5ea;
  background: rgba(247, 247, 247, 0.92);
  backdrop-filter: blur(8px);
}
.imsg-header .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--site-grad);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
  position: relative;
}
.imsg-header .avatar img { width: 26px; height: 26px; }
.imsg-header .name {
  font-size: 12px; font-weight: 600;
  color: #1d1d1f;
  display: inline-flex; align-items: center; gap: 5px;
}
.imsg-header .name .verify {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--site-purple);
  display: inline-block;
}
.imsg-header .sub {
  font-size: 10px; color: #8e8e93;
  display: inline-flex; align-items: center; gap: 5px;
}
.imsg-header .sub .live {
  width: 6px; height: 6px; border-radius: 50%;
  background: #34c759;
  animation: pulse-dot 1.6s ease-in-out infinite;
}

.imsg-thread {
  padding: 12px 14px 16px;
  display: flex; flex-direction: column; gap: 4px;
  height: 460px;
  overflow: hidden;
  background: #fff;
  position: relative;
  scroll-behavior: smooth;
}
.imsg-thread::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 24px;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.imsg-daystamp {
  text-align: center;
  font-size: 10.5px;
  color: #8e8e93;
  margin: 8px 0 4px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.imsg-daystamp strong { color: #1d1d1f; font-weight: 600; }

.imsg-bubble-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 86%;
  margin-bottom: 2px;
  animation: imsg-pop 320ms var(--ease-out);
}
.imsg-bubble-wrap.me { align-self: flex-end; align-items: flex-end; }
.imsg-bubble-wrap.them + .imsg-bubble-wrap.them { margin-top: -2px; }
.imsg-bubble-wrap.me + .imsg-bubble-wrap.me { margin-top: -2px; }

@keyframes imsg-pop {
  0% { opacity: 0; transform: translateY(8px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.imsg-tag {
  font-size: 10px;
  font-weight: 600;
  color: #8e8e93;
  margin: 4px 6px 2px;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.imsg-bubble {
  font-size: 14.5px;
  line-height: 1.32;
  padding: 8px 12px 9px;
  border-radius: 18px;
  word-wrap: break-word;
  position: relative;
}
.imsg-bubble.them {
  background: #e9e9eb;
  color: #1d1d1f;
  border-bottom-left-radius: 5px;
}
.imsg-bubble.me {
  background: var(--site-grad);
  color: #fff;
  border-bottom-right-radius: 5px;
}

.imsg-bubble .num { font-weight: 600; font-variant-numeric: tabular-nums; }
.imsg-bubble.them .num { color: #1d1d1f; }
.imsg-bubble.me .num { color: #fff; }
.imsg-bubble .pos { color: #248a3d; font-weight: 600; font-variant-numeric: tabular-nums; }
.imsg-bubble.me .pos { color: #b9f6ca; }
.imsg-bubble .neg { color: #c93400; font-weight: 600; font-variant-numeric: tabular-nums; }
.imsg-bubble.me .neg { color: #ffb4a8; }
.imsg-bubble .muted { color: #8e8e93; }
.imsg-bubble.me .muted { color: rgba(255,255,255,0.7); }

.imsg-typing {
  background: #e9e9eb;
  border-radius: 18px;
  border-bottom-left-radius: 5px;
  padding: 10px 14px;
  display: inline-flex; gap: 4px; align-items: center;
  align-self: flex-start;
  margin-bottom: 4px;
  animation: imsg-pop 280ms var(--ease-out);
}
.imsg-typing span {
  width: 7px; height: 7px;
  background: #8e8e93;
  border-radius: 50%;
  display: inline-block;
  animation: imsg-typing-dot 1.2s ease-in-out infinite;
}
.imsg-typing span:nth-child(2) { animation-delay: 0.18s; }
.imsg-typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes imsg-typing-dot {
  0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-2px); }
}

.imsg-meta-line {
  font-size: 10px;
  color: #8e8e93;
  margin: 2px 6px 4px;
  font-weight: 500;
}

.imsg-footer {
  padding: 10px 16px 22px;
  border-top: 0.5px solid #e5e5ea;
  display: flex; align-items: center; gap: 10px;
  background: #fafafa;
}
.imsg-footer .input {
  flex: 1;
  padding: 8px 14px;
  border: 1px solid #d1d1d6;
  border-radius: 999px;
  font-size: 12px;
  color: #8e8e93;
  background: #fff;
}
.imsg-footer .send {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--site-purple);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.imsg-homebar {
  position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  width: 120px; height: 4px; background: #1d1d1f; border-radius: 999px;
  opacity: 0.85;
}

/* ------- integrations strip ------- */
.integrations {
  padding: 56px 0;
  border-top: 1px solid var(--site-rule);
  border-bottom: 1px solid var(--site-rule);
}
.integrations-label {
  text-align: center;
  margin-bottom: 28px;
}
.integrations-row {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
  max-width: 1000px; margin: 0 auto;
}
.integrations-row .ilogo {
  font-family: var(--font-sans-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.025em;
  color: var(--site-ink-3);
  display: inline-flex; align-items: center; gap: 8px;
  opacity: 0.78;
  transition: opacity 200ms var(--ease-out), color 200ms;
}
.integrations-row .ilogo:hover { opacity: 1; color: var(--site-ink); }
.integrations-row .ilogo .glyph {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ------- section heads ------- */
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 64px; }
.section-head .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--site-ink-3);
  letter-spacing: 0.04em;
}
.section-head h2 {
  font-family: var(--font-sans-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 880px;
  text-wrap: balance;
}
.section-head h2 .accent { color: var(--site-purple); font-style: italic; font-weight: 600; }
.section-head .lede {
  font-size: 19px;
  line-height: 1.5;
  color: var(--site-ink-2);
  max-width: 680px;
  margin: 8px 0 0;
}

/* ------- gap section ------- */
.gap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 24px;
  align-items: start;
}
@media (max-width: 880px) { .gap-grid { grid-template-columns: 1fr; gap: 40px; } }

.gap-col h3 {
  font-family: var(--font-sans-small);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--site-ink-3);
  margin: 0 0 24px;
}
.gap-col-industry h3::before { content: "—"; margin-right: 12px; color: var(--site-ink-4); }
.gap-col-us h3::before { content: "—"; margin-right: 12px; color: var(--site-purple); }

.gap-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 28px; }
.gap-list li {
  display: flex; gap: 16px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--site-ink-2);
}
.gap-list li .marker {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(0,0,0,0.04);
  color: var(--site-ink-4);
  font-family: var(--font-mono);
  font-size: 11px;
  margin-top: 2px;
}
.gap-col-us .gap-list li .marker {
  background: rgba(76,47,201,0.1);
  color: var(--site-purple);
}
.gap-list li strong {
  display: block;
  font-weight: 600;
  color: var(--site-ink);
  margin-bottom: 4px;
  font-size: 16px;
}

.gap-pullquote {
  margin-top: 80px;
  padding: 48px 0;
  border-top: 1px solid var(--site-rule);
  font-family: var(--font-sans-display);
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--site-ink);
  max-width: 920px;
  text-wrap: balance;
}
.gap-pullquote em { color: var(--site-purple); font-style: italic; font-weight: 600; }

/* ------- diagram (Natait) ------- */
.diagram {
  margin-top: 24px;
  position: relative;
  background: #fff;
  border: 1px solid var(--site-rule);
  border-radius: 14px;
  padding: 56px 48px 40px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 24px 48px -28px rgba(45,27,105,0.18);
}
.diagram-inner { position: relative; }
.diagram-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  align-items: stretch;
  position: relative;
}
.dnode {
  position: relative;
  padding: 18px 18px 16px;
  border: 1px solid var(--site-rule);
  border-radius: 10px;
  background: var(--site-cream);
  cursor: pointer;
  transition: border-color 200ms var(--ease-out), background 200ms, transform 160ms;
  margin: 0 6px;
  z-index: 2;
}
.dnode:first-child { margin-left: 0; }
.dnode:last-child { margin-right: 0; }
.dnode:hover { border-color: var(--site-rule-2); background: #fff; }
.dnode.is-active {
  border-color: var(--site-purple);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(76,47,201,0.08);
}
.dnode .dnode-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--site-ink-4);
  margin-bottom: 6px;
}
.dnode .dnode-title {
  font-family: var(--font-sans-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.012em;
  color: var(--site-ink);
  margin-bottom: 6px;
}
.dnode .dnode-meta {
  font-family: var(--font-sans-small);
  font-size: 11.5px;
  color: var(--site-ink-3);
  line-height: 1.35;
}

.diagram-wires {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.dwire { stroke: var(--site-rule-2); stroke-width: 1.4; fill: none; }
.dwire-active { stroke: var(--site-purple); stroke-width: 2; fill: none; stroke-dasharray: 4 4; }
.dwire-pulse { stroke: var(--site-purple); stroke-width: 2; fill: none; }

.diagram-detail {
  margin-top: 32px;
  padding: 22px 24px;
  border-radius: 10px;
  background: var(--site-cream-2);
  border: 1px solid var(--site-rule);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  min-height: 132px;
}
@media (max-width: 720px) { .diagram-detail { grid-template-columns: 1fr; gap: 12px; } }
.diagram-detail .label {
  font-family: var(--font-sans-small);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--site-ink-3);
}
.diagram-detail .name {
  font-family: var(--font-sans-display);
  font-weight: 700; font-size: 18px;
  letter-spacing: -0.012em;
  margin-top: 4px;
}
.diagram-detail .desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--site-ink-2);
  max-width: 640px;
  margin: 0 0 12px;
}
.diagram-detail .stats {
  display: flex; gap: 12px; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--site-ink-3);
}
.diagram-detail .stats span {
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 12px;
  min-width: 80px;
}
.diagram-detail .stats span strong {
  font-weight: 700;
  font-family: var(--font-sans);
  font-size: 15px;
  display: block;
  margin-bottom: 2px;
  letter-spacing: -0.02em;
}

/* Mini KPI bars in diagram detail (scoring node) */
.diagram-kpis {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.diagram-kpi-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--site-ink-3);
}
.diagram-kpi-label { min-width: 140px; flex-shrink: 0; }
.diagram-kpi-track {
  flex: 1;
  height: 4px;
  background: rgba(26,24,20,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.diagram-kpi-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
}
.diagram-kpi-pct {
  min-width: 32px;
  text-align: right;
  font-weight: 600;
  font-size: 11px;
}
@media (max-width: 520px) {
  .diagram-kpi-label { min-width: 110px; font-size: 9px; }
}

.natit-tag {
  position: absolute;
  top: 18px;
  right: 24px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--site-ink-3);
  background: var(--site-cream);
  border: 1px solid var(--site-rule);
  padding: 5px 10px;
  border-radius: 999px;
}
.natit-tag .nd { width: 6px; height: 6px; border-radius: 50%; background: var(--site-purple); animation: pulse-dot 2s ease-in-out infinite; }
.natit-tag strong { color: var(--site-purple); font-weight: 600; }

@media (max-width: 880px) {
  .diagram-row { grid-template-columns: repeat(3, 1fr); row-gap: 12px; }
  .diagram { padding: 40px 24px 24px; }
  .natit-tag { position: static; margin-bottom: 18px; }
}
@media (max-width: 560px) {
  .diagram-row { grid-template-columns: repeat(2, 1fr); row-gap: 10px; }
  .diagram { padding: 28px 16px 20px; }
  .dnode { padding: 14px 12px 12px; }
  .dnode .dnode-title { font-size: 14px; }
}

/* ------- learning note ------- */
.learning-note {
  margin-top: 40px;
  padding: 28px 32px;
  border-radius: 12px;
  border: 1px solid var(--site-rule);
  background: var(--site-cream);
}
.learning-note p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--site-ink-2);
  margin: 0;
  max-width: 860px;
}

/* ------- artifact triptych ------- */
.artifacts { display: flex; flex-direction: column; gap: 64px; }
.artifact {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 880px) { .artifact { grid-template-columns: 1fr; gap: 24px; } }
.artifact-side .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--site-ink-4);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.artifact-side h3 {
  font-family: var(--font-sans-display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--site-ink);
}
.artifact-side p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--site-ink-2);
}
.artifact-frame {
  background: #fff;
  border: 1px solid var(--site-rule);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 18px 40px -22px rgba(45,27,105,0.18);
}
.artifact-frame-head {
  padding: 12px 18px;
  border-bottom: 1px solid var(--site-rule);
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-sans-small);
  font-size: 12px;
  color: var(--site-ink-3);
}
.artifact-frame-head .left { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.artifact-frame-head .left .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--site-purple); }
.artifact-frame-head .right { display: flex; gap: 12px; font-family: var(--font-mono); color: var(--site-ink-4); font-size: 11px; }

/* segment table */
.seg-table { width: 100%; border-collapse: collapse; }
.seg-table thead th {
  font-family: var(--font-sans-small);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--site-ink-3);
  text-align: left;
  padding: 12px 16px;
  background: var(--site-cream);
  border-bottom: 1px solid var(--site-rule);
}
.seg-table thead th.num { text-align: right; }
.seg-table tbody td {
  padding: 12px 16px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--site-rule);
  color: var(--site-ink-2);
  font-family: var(--font-sans-small);
}
.seg-table tbody tr:last-child td { border-bottom: none; }
.seg-table tbody td.id { font-family: var(--font-mono); font-size: 12px; color: var(--site-ink-3); }
.seg-table tbody td.name { color: var(--site-ink); font-weight: 500; }
.seg-table tbody td.num { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--font-mono); font-size: 12.5px; }
.seg-table tbody td .pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(76,47,201,0.08);
  color: var(--site-purple);
  font-family: var(--font-sans-small);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.02em;
}
.seg-table tbody td .pill.warn { background: #FFF1E6; color: #C2410C; }
.score-cell {
  display: inline-flex; align-items: center; gap: 8px;
  width: 100%;
}
.score-bar {
  flex: 1;
  height: 4px;
  background: var(--site-rule);
  border-radius: 999px;
  overflow: hidden;
  max-width: 90px;
}
.score-bar i { display: block; height: 100%; background: var(--site-purple); border-radius: 999px; }
.score-num { font-family: var(--font-mono); font-size: 12px; color: var(--site-ink-2); min-width: 20px; text-align: right; }

.seg-foot {
  padding: 10px 16px;
  border-top: 1px solid var(--site-rule);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--site-ink-3);
  display: flex; justify-content: space-between;
}
.seg-foot strong { color: var(--site-purple); font-weight: 600; }

/* campaign log */
.camp-log { padding: 18px 22px 22px; font-family: var(--font-mono); font-size: 13px; line-height: 1.95; color: var(--site-ink-2); }
.camp-log .row { display: flex; gap: 14px; }
.camp-log .ts { color: var(--site-ink-4); flex: 0 0 80px; }
.camp-log .level { flex: 0 0 70px; font-size: 11px; padding-top: 4px; }
.camp-log .level.info { color: var(--site-ink-3); }
.camp-log .level.trip { color: #C2410C; }
.camp-log .level.fire { color: #15803d; font-weight: 600; }
.camp-log .msg { color: var(--site-ink); flex: 1; }
.camp-log .msg .k { color: var(--site-purple); font-weight: 600; }
.camp-log .msg .num { color: var(--site-ink); font-weight: 600; }
.camp-log .msg .muted { color: var(--site-ink-3); }
.camp-log .msg .ok { color: #15803d; font-weight: 600; }
.camp-log .row.indent .msg::before { content: "↳"; color: var(--site-ink-4); margin-right: 8px; }

/* attribution chart */
.attr {
  padding: 22px 26px 24px;
}
.attr-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 22px; }
.attr-head .left .label { font-family: var(--font-sans-small); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--site-ink-3); margin-bottom: 4px; }
.attr-head .left .stat { font-family: var(--font-sans-display); font-size: 36px; font-weight: 700; letter-spacing: -0.025em; color: var(--site-ink); font-variant-numeric: tabular-nums; }
.attr-head .left .stat .delta { font-size: 14px; color: #15803d; margin-left: 10px; font-family: var(--font-sans); font-weight: 600; vertical-align: middle; }
.attr-head .right { display: flex; gap: 18px; font-family: var(--font-sans-small); font-size: 12px; color: var(--site-ink-3); }
.attr-head .right span { display: inline-flex; align-items: center; gap: 6px; }
.attr-head .right span i { width: 12px; height: 2px; display: inline-block; }

.attr-chart-wrap { position: relative; height: 200px; margin: 0 -4px; }
.attr-chart { width: 100%; height: 100%; display: block; }
.attr-axis { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; color: var(--site-ink-4); margin-top: 8px; padding: 0 6px; }

.attr-callout {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--site-cream);
  border: 1px solid var(--site-rule);
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-sans-small);
  font-size: 13px;
  color: var(--site-ink-2);
}
.attr-callout strong { color: var(--site-purple); font-weight: 600; }
.attr-callout .arrow { color: var(--site-purple); font-family: var(--font-mono); }

/* ------- engagement ------- */
.engage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  margin-top: 24px;
}
@media (max-width: 880px) { .engage-grid { grid-template-columns: 1fr; gap: 40px; } }
.engage-col h3 {
  font-family: var(--font-sans-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.018em;
  margin: 0 0 12px;
  color: var(--site-ink);
}
.engage-col h3::before {
  content: counter(engage, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--site-ink-4);
  font-weight: 400;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 14px;
}
.engage-grid { counter-reset: engage; }
.engage-col { counter-increment: engage; }
.engage-col p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--site-ink-2);
}

/* ------- ICP / who this is for ------- */
.icp-list {
  list-style: none; padding: 0; margin: 32px 0 0;
  border-top: 1px solid var(--site-rule);
}
.icp-list li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--site-rule);
}
.icp-list li .idx {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--site-ink-4);
  letter-spacing: 0.05em;
}
.icp-list li .text {
  font-size: 19px;
  line-height: 1.45;
  color: var(--site-ink);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.icp-list li .text em { color: var(--site-purple); font-style: italic; font-weight: 600; }

.icp-foot {
  margin-top: 28px;
  font-size: 15px;
  color: var(--site-ink-3);
  font-style: italic;
}

/* ------- audit CTA section ------- */
.audit-section { padding: 80px 0 120px; }
.audit-card {
  margin-top: 24px;
  border-radius: 16px;
  background: linear-gradient(160deg, #13102a 0%, #0a0816 100%);
  color: #fff;
  padding: 64px 56px 56px;
  position: relative;
  overflow: clip;
  box-shadow: 0 24px 64px -24px rgba(45,27,105,0.5);
}
.audit-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 88% 14%, rgba(255,255,255,0.11), transparent 54%);
  pointer-events: none;
}
.audit-card-inner { position: relative; }
.audit-card .eyebrow { color: rgba(255,255,255,0.6); }
.audit-card h2 {
  font-family: var(--font-sans-display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.028em;
  margin: 12px 0 18px;
  color: #fff;
  max-width: 720px;
  text-wrap: balance;
}
.audit-card .lede {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 580px;
  margin: 0 0 40px;
}

.audit-preview {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 24px 28px;
  backdrop-filter: blur(4px);
}
.audit-preview-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 8px;
  font-family: var(--font-sans-small);
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}
.audit-preview-head .title {
  font-family: var(--font-sans-display);
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  letter-spacing: 0.02em;
}
.audit-row {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 32px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.audit-row:last-child { border-bottom: none; }
.audit-row .label {
  font-size: 15px;
  color: rgba(255,255,255,0.92);
  font-weight: 500;
}
.audit-row .label small {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
  margin-top: 4px;
}
.audit-row .value {
  text-align: right;
  display: flex; align-items: center; justify-content: flex-end; gap: 14px;
}
.audit-row .placeholder {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
}
.audit-row .skel {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}
.audit-row .skel::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  animation: skel-shimmer 2.4s linear infinite;
}
@keyframes skel-shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.audit-value-filled {
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.audit-finding {
  font-family: var(--font-sans-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1;
}
.audit-sub {
  font-family: var(--font-sans-small);
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.audit-actions {
  display: flex; align-items: center; gap: 18px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.audit-actions .btn-audit {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 24px;
  background: #fff;
  color: var(--site-purple-deep);
  border-radius: 10px;
  border: none;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 200ms var(--ease-out), box-shadow 200ms;
}
.audit-actions .btn-audit:hover { transform: translateY(-1px); box-shadow: 0 12px 32px -8px rgba(0,0,0,0.3); }
.audit-actions .meta {
  font-family: var(--font-sans-small);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* ------- desk note ------- */
.desk {
  padding: 100px 0 80px;
  border-top: 1px solid var(--site-rule);
}
.desk-eyebrow { margin-bottom: 24px; }
.desk-body {
  font-size: 19px;
  line-height: 1.65;
  color: var(--site-ink);
  font-weight: 400;
  max-width: 680px;
  font-family: var(--font-sans);
}
.desk-body p { color: var(--site-ink); margin-bottom: 18px; font-size: 19px; line-height: 1.65; }
.desk-body p:last-child { margin-bottom: 0; }
.desk-sig {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--site-rule);
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 12px;
}
.desk-sig .name {
  font-family: var(--font-sans-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.desk-sig .role {
  font-family: var(--font-sans-small);
  font-size: 13px;
  color: var(--site-ink-3);
  margin-left: 12px;
  font-weight: 500;
}
.desk-sig .availability {
  font-family: var(--font-sans-small);
  font-size: 13px;
  color: var(--site-ink-3);
  display: inline-flex; align-items: center; gap: 8px;
}
.desk-sig .availability .ad { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; }

/* ------- footer ------- */
footer.foot {
  padding: 48px 0 56px;
  border-top: 1px solid var(--site-rule);
  font-family: var(--font-sans-small);
}
.foot-row {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.foot-row .left {
  font-size: 13px;
  color: var(--site-ink-3);
}
.foot-row .left strong { color: var(--site-ink); font-weight: 600; }
.foot-row .right {
  display: flex; gap: 24px;
  font-size: 13px;
}
.foot-row .right a { color: var(--site-ink-3); border: none; }
.foot-row .right a:hover { color: var(--site-purple); }

/* ------- audit dashboard v3 ------- */
:root {
  --adash-green:  #4ade80;
  --adash-red:    #f87171;
  --adash-yellow: #fbbf24;
  --adash-purple: #a78bfa;
  --adash-border: rgba(255,255,255,0.10);
  --adash-dim:    rgba(255,255,255,0.44);
  --adash-text:   rgba(255,255,255,0.70);
}

.adash-wrap {
  margin-top: 8px;
  border-radius: 12px;
  overflow: clip;
  border: 1px solid var(--adash-border);
  background: rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
}

/* Header */
.adash-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 16px 20px 14px;
  background: rgba(0,0,0,0.24);
  border-bottom: 1px solid var(--adash-border);
  gap: 16px;
}
.adash-head-title {
  font-size: 13px; font-weight: 700; color: #fff; letter-spacing: 0.01em;
}
.adash-head-meta {
  font-family: var(--font-sans-small); font-size: 11px; color: var(--adash-dim); margin-top: 3px;
}
.adash-connections {
  display: flex; gap: 6px; flex-wrap: wrap; margin-top: 9px;
}
.adash-conn {
  font-family: var(--font-sans-small); font-size: 10px; font-weight: 600;
  letter-spacing: 0.04em; padding: 2px 8px; border-radius: 4px; text-transform: uppercase;
  background: rgba(74,222,128,0.10); color: var(--adash-green);
  border: 1px solid rgba(74,222,128,0.20);
}
.adash-head-right { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex-shrink: 0; }
.adash-sample-badge {
  font-family: var(--font-sans-small); font-size: 10px; font-weight: 700;
  letter-spacing: 0.10em; text-transform: uppercase; padding: 3px 10px; border-radius: 4px;
  background: rgba(167,139,250,0.18); color: var(--adash-purple);
  border: 1px solid rgba(167,139,250,0.25);
}
.adash-refresh {
  font-family: var(--font-mono); font-size: 10px; color: var(--adash-dim);
}

/* KPI strip */
.adash-kpis {
  display: grid; grid-template-columns: repeat(6,1fr);
  border-bottom: 1px solid var(--adash-border);
}
.adash-kpi {
  padding: 18px 16px; border-right: 1px solid var(--adash-border);
  transition: background 180ms;
}
.adash-kpi:last-child { border-right: none; }
.adash-kpi:hover { background: rgba(255,255,255,0.03); }
.adash-kpi-val {
  font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.1; font-variant-numeric: tabular-nums;
}
.adash-kpi-label {
  font-family: var(--font-sans-small); font-size: 10px; color: var(--adash-dim);
  text-transform: uppercase; letter-spacing: 0.06em; margin-top: 5px; line-height: 1.3;
}

/* Scorecard */
.adash-scorecard-label {
  padding: 12px 20px 8px;
  font-family: var(--font-sans-small); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.10em; color: var(--adash-dim);
  border-bottom: 1px solid var(--adash-border);
  background: rgba(0,0,0,0.12);
}
.adash-scorecard {
  display: grid; grid-template-columns: repeat(3,1fr);
  border-bottom: 1px solid var(--adash-border);
}
.adash-score-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-right: 1px solid var(--adash-border);
  border-bottom: 1px solid var(--adash-border);
  transition: background 160ms;
}
.adash-score-card:hover { background: rgba(255,255,255,0.03); }
.adash-score-card:nth-child(3n) { border-right: none; }
.adash-score-card:nth-child(4),.adash-score-card:nth-child(5),.adash-score-card:nth-child(6) { border-bottom: none; }
.adash-grade {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: #fff; flex-shrink: 0;
}
.grade-a { background: #16a34a; }
.grade-b { background: #2563eb; }
.grade-c { background: #ca8a04; }
.grade-d { background: #ea580c; }
.grade-f { background: #dc2626; }
.adash-score-name { font-size: 12px; font-weight: 700; color: #fff; }
.adash-score-detail { font-family: var(--font-sans-small); font-size: 11px; color: var(--adash-dim); margin-top: 3px; line-height: 1.35; }
.adash-score-bench { font-family: var(--font-sans-small); font-size: 10px; color: rgba(255,255,255,0.28); margin-top: 4px; line-height: 1.35; display: none; }
.adash-score-card:hover .adash-score-bench { display: block; }

/* Panels */
.adash-panel {
  padding: 20px;
  border-bottom: 1px solid var(--adash-border);
  background: rgba(0,0,0,0.16);
}
.adash-2col {
  display: grid; grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--adash-border);
}
.adash-2col .adash-panel {
  border-bottom: none; border-right: 1px solid var(--adash-border);
}
.adash-2col .adash-panel:last-child { border-right: none; }
.adash-panel-label {
  font-family: var(--font-sans-small); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--adash-dim);
}
.adash-panel-foot {
  display: flex; align-items: center; gap: 6px; margin-top: 12px;
  font-family: var(--font-sans-small); font-size: 11px; color: var(--adash-dim); flex-wrap: wrap;
}
.adash-leg-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.adash-tag-green {
  font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 4px;
  background: rgba(74,222,128,0.12); color: var(--adash-green);
  border: 1px solid rgba(74,222,128,0.20);
}
.adash-tag-red {
  font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 4px;
  background: rgba(248,113,113,0.12); color: var(--adash-red);
  border: 1px solid rgba(248,113,113,0.20);
}

/* Donut */
.adash-donut-layout {
  display: flex; gap: 22px; align-items: center; margin-top: 16px;
}
.adash-donut-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; pointer-events: none;
}
.adash-donut-big { font-size: 20px; font-weight: 800; color: var(--adash-red); letter-spacing: -0.02em; line-height: 1; }
.adash-donut-sm  { font-size: 10px; color: var(--adash-dim); margin-top: 3px; line-height: 1.3; }
.adash-attr-channels { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.adash-attr-row { display: grid; grid-template-columns: 60px 1fr 36px; align-items: center; gap: 10px; }
.adash-attr-ch  { font-family: var(--font-sans-small); font-size: 11px; color: var(--adash-text); }
.adash-attr-track { height: 6px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.adash-attr-pct { font-family: var(--font-mono); font-size: 11px; font-weight: 600; text-align: right; }

/* Geographic table */
.adash-geo-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.adash-geo-table { margin-top: 14px; display: flex; flex-direction: column; gap: 0; min-width: 540px; }
.adash-geo-head {
  display: grid; grid-template-columns: 130px 1fr 80px 60px 70px 100px;
  padding: 8px 12px; font-family: var(--font-sans-small); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--adash-dim);
  background: rgba(0,0,0,0.18); border-bottom: 1px solid var(--adash-border); border-radius: 6px 6px 0 0;
}
.adash-geo-row {
  display: grid; grid-template-columns: 130px 1fr 80px 60px 70px 100px;
  padding: 10px 12px; border-bottom: 1px solid var(--adash-border);
  font-size: 13px; color: var(--adash-text); align-items: center;
  transition: background 150ms;
}
.adash-geo-row:last-child { border-bottom: none; }
.adash-geo-row:hover { background: rgba(255,255,255,0.03); }
.adash-geo-row.bad  { border-left: 3px solid rgba(248,113,113,0.5); }
.adash-geo-row.good { border-left: 3px solid rgba(74,222,128,0.35); }
.adash-geo-zip { font-size: 11px; font-weight: 600; color: #fff; }
.adash-geo-r { text-align: right; }
.adash-geo-r.good { color: var(--adash-green); font-weight: 600; }
.adash-geo-r.bad  { color: var(--adash-red);   font-weight: 600; }
.adash-geo-badge {
  font-family: var(--font-sans-small); font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 4px; float: right;
}
.adash-geo-badge.good { background: rgba(74,222,128,0.12); color: var(--adash-green); }
.adash-geo-badge.bad  { background: rgba(248,113,113,0.12); color: var(--adash-red);  }

/* Section labels (between panels) */
.adash-section-label {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 20px 9px;
  font-family: var(--font-sans-small); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.10em; color: var(--adash-dim);
  border-bottom: 1px solid var(--adash-border);
  background: rgba(0,0,0,0.12);
}
.adash-sdot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
}
.adash-sdot.green  { background: var(--adash-green); }
.adash-sdot.red    { background: var(--adash-red); }
.adash-sdot.yellow { background: var(--adash-yellow); }

/* Opportunity cards */
.adash-opps {
  display: grid; grid-template-columns: repeat(3,1fr);
  border-bottom: 1px solid var(--adash-border);
}
.adash-opp {
  padding: 20px; border-right: 1px solid var(--adash-border);
  display: flex; flex-direction: column; gap: 10px;
}
.adash-opp:last-child { border-right: none; }
.adash-opp-badge {
  font-family: var(--font-sans-small); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 3px 9px; border-radius: 4px; align-self: flex-start;
}
.adash-opp-badge-green  { background: rgba(74,222,128,0.13); color: var(--adash-green); border: 1px solid rgba(74,222,128,0.22); }
.adash-opp-badge-red    { background: rgba(248,113,113,0.13); color: var(--adash-red);   border: 1px solid rgba(248,113,113,0.22); }
.adash-opp-badge-yellow { background: rgba(251,191,36,0.13);  color: var(--adash-yellow);border: 1px solid rgba(251,191,36,0.22); }
.adash-opp-headline { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.3; }
.adash-opp-detail   { font-size: 12px; color: var(--adash-text); line-height: 1.55; flex: 1; }
.adash-opp-value {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 14px; border-radius: 8px;
}
.adash-opp-value-green  { background: rgba(74,222,128,0.08); border: 1px solid rgba(74,222,128,0.18); }
.adash-opp-value-red    { background: rgba(248,113,113,0.08); border: 1px solid rgba(248,113,113,0.18); }
.adash-opp-value-yellow { background: rgba(251,191,36,0.08);  border: 1px solid rgba(251,191,36,0.18); }
.adash-opp-num {
  font-size: 24px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
.adash-opp-value-green  .adash-opp-num { color: var(--adash-green);  }
.adash-opp-value-red    .adash-opp-num { color: var(--adash-red);    }
.adash-opp-value-yellow .adash-opp-num { color: var(--adash-yellow); }
.adash-opp-val-sub {
  font-family: var(--font-sans-small); font-size: 10px; color: var(--adash-dim);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.adash-opp-action {
  background: rgba(167,139,250,0.07);
  border: 1px solid rgba(167,139,250,0.15);
  border-radius: 8px; padding: 12px 14px;
}
.adash-opp-action-lbl {
  font-family: var(--font-sans-small); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--adash-purple); margin-bottom: 5px;
}
.adash-opp-action-txt { font-size: 12px; color: var(--adash-text); line-height: 1.55; }

/* Findings */
.adash-findings { border-bottom: 1px solid var(--adash-border); }
.adash-findings-head {
  display: grid; grid-template-columns: 40px 1fr 1fr 1fr;
  padding: 10px 20px;
  font-family: var(--font-sans-small); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em; color: var(--adash-dim);
  background: rgba(0,0,0,0.18); border-bottom: 1px solid var(--adash-border);
}
.adash-finding-row {
  display: grid; grid-template-columns: 40px 1fr 1fr 1fr;
  padding: 14px 20px; gap: 14px;
  border-bottom: 1px solid var(--adash-border);
  align-items: start; transition: background 150ms;
}
.adash-finding-row:last-child { border-bottom: none; }
.adash-finding-row:hover { background: rgba(255,255,255,0.03); }
.adash-finding-bad  { border-left: 3px solid rgba(248,113,113,0.55); }
.adash-finding-warn { border-left: 3px solid rgba(251,191,36,0.55); }
.adash-finding-num { font-family: var(--font-mono); font-size: 11px; font-weight: 700; padding-top: 2px; }
.adash-fn-bad  { color: var(--adash-red); }
.adash-fn-warn { color: var(--adash-yellow); }
.adash-finding-problem { font-size: 13px; font-weight: 600; color: #fff; line-height: 1.4; }
.adash-finding-cost    { font-size: 12px; line-height: 1.45; }
.adash-fc-bad  { color: var(--adash-red); }
.adash-fc-warn { color: var(--adash-yellow); }
.adash-finding-action { font-size: 12px; color: var(--adash-text); line-height: 1.5; display: flex; gap: 6px; }
.adash-action-chip {
  flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(167,139,250,0.18); color: var(--adash-purple);
  font-size: 11px; display: flex; align-items: center; justify-content: center;
  font-weight: 700; margin-top: 1px;
}

/* Closing */
.adash-closing {
  padding: 28px 24px; background: rgba(0,0,0,0.22);
}
.adash-closing-lbl {
  font-family: var(--font-sans-small); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.10em; color: var(--adash-purple); margin-bottom: 12px;
}
.adash-closing-body { font-size: 14px; color: var(--adash-text); line-height: 1.65; }
.adash-closing-stats {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 1px;
  background: var(--adash-border); border: 1px solid var(--adash-border);
  border-radius: 10px; overflow: hidden; margin-top: 24px;
}
.adash-cs { padding: 16px 14px; background: rgba(167,139,250,0.06); }
.adash-cs-val {
  font-size: 20px; font-weight: 800; color: var(--adash-purple);
  letter-spacing: -0.02em;
}
.adash-cs-label {
  font-family: var(--font-sans-small); font-size: 11px;
  color: var(--adash-dim); margin-top: 3px; line-height: 1.3;
}

/* Responsive */
@media (max-width: 960px) {
  .adash-kpis       { grid-template-columns: repeat(3,1fr); }
  .adash-scorecard  { grid-template-columns: repeat(2,1fr); }
  .adash-score-card:nth-child(3n) { border-right: 1px solid var(--adash-border); }
  .adash-score-card:nth-child(2n) { border-right: none; }
  .adash-score-card:nth-child(4),.adash-score-card:nth-child(5),.adash-score-card:nth-child(6) { border-bottom: 1px solid var(--adash-border); }
  .adash-score-card:nth-child(5),.adash-score-card:nth-child(6) { border-bottom: none; }
  .adash-opps       { grid-template-columns: 1fr; }
  .adash-opp        { border-right: none; border-bottom: 1px solid var(--adash-border); }
  .adash-opp:last-child { border-bottom: none; }
  .adash-closing-stats { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 720px) {
  .adash-kpis      { grid-template-columns: repeat(2,1fr); }
  .adash-scorecard { grid-template-columns: 1fr; }
  .adash-score-card { border-right: none !important; border-bottom: 1px solid var(--adash-border) !important; }
  .adash-2col      { grid-template-columns: 1fr; }
  .adash-2col .adash-panel { border-right: none; border-bottom: 1px solid var(--adash-border); }
  .adash-findings-head { display: none; }
  .adash-finding-row { grid-template-columns: 30px 1fr; }
  .adash-finding-cost,.adash-finding-action { grid-column: 2; }
  .adash-connections { display: none; }
  /* Geo table at 720px: Area · Division · Jobs · Status (hide Spend + CPL) */
  .adash-geo-head,.adash-geo-row { grid-template-columns: 1fr 90px 44px 88px; }
  .adash-geo-head > span:nth-child(3),.adash-geo-row > span:nth-child(3),
  .adash-geo-head > span:nth-child(5),.adash-geo-row > span:nth-child(5) { display: none; }
  .adash-geo-table { min-width: 0; }
}
@media (max-width: 560px) {
  /* Geo table at 560px: Area + Status only — guaranteed to fit */
  .adash-geo-head,.adash-geo-row { grid-template-columns: 1fr auto; }
  .adash-geo-head > span:nth-child(2),.adash-geo-row > span:nth-child(2),
  .adash-geo-head > span:nth-child(3),.adash-geo-row > span:nth-child(3),
  .adash-geo-head > span:nth-child(4),.adash-geo-row > span:nth-child(4),
  .adash-geo-head > span:nth-child(5),.adash-geo-row > span:nth-child(5) { display: none; }
  .adash-geo-table { min-width: 0; }
}
@media (max-width: 480px) {
  .adash-kpis { grid-template-columns: repeat(2,1fr); }
  .adash-kpi-val { font-size: 18px; }
  .adash-closing-stats { grid-template-columns: 1fr 1fr; }
  .adash-head { flex-wrap: wrap; }
}


/* ------- hero opportunity banner ------- */
.adash-hero-opp {
  display: flex; align-items: center; gap: 22px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(74,222,128,0.10), rgba(74,222,128,0.04));
  border-bottom: 1px solid rgba(74,222,128,0.22);
  flex-wrap: wrap;
}
.adash-hero-opp-val {
  font-size: 52px; font-weight: 900; color: #4ade80;
  letter-spacing: -0.04em; line-height: 1; white-space: nowrap;
  font-variant-numeric: tabular-nums; flex-shrink: 0;
}
.adash-hero-opp-right { flex: 1; min-width: 200px; }
.adash-hero-opp-label {
  font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.90); margin-bottom: 5px;
}
.adash-hero-opp-sub {
  font-family: var(--font-sans-small); font-size: 11px; color: rgba(255,255,255,0.46);
  margin-bottom: 10px; line-height: 1.4;
}
.adash-hero-opp-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.adash-proof-item {
  font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 4px;
}
.adash-proof-item.green { background: rgba(74,222,128,0.12); color: #4ade80; border: 1px solid rgba(74,222,128,0.22); }
.adash-proof-item.yellow { background: rgba(251,191,36,0.12); color: #fbbf24; border: 1px solid rgba(251,191,36,0.22); }
.adash-proof-item.red { background: rgba(248,113,113,0.12); color: #f87171; border: 1px solid rgba(248,113,113,0.22); }
.adash-proof-sep { font-size: 12px; color: rgba(255,255,255,0.28); }

/* grade benchmark text */
.adash-score-bench {
  font-family: var(--font-sans-small); font-size: 10px;
  color: rgba(167,139,250,0.60); margin-top: 4px; line-height: 1.35;
}

/* geo map layout */
.adash-geo-layout { display: flex; gap: 22px; align-items: flex-start; margin-top: 14px; }
.adash-geomap { width: 280px; min-width: 280px; display: block; }
.adash-geo-table-wrap { flex: 1; }

/* opp card spend + build bullets */
.adash-opp-spend {
  font-family: var(--font-sans-small); font-size: 11px;
  color: rgba(255,255,255,0.46); margin-top: 10px; padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.adash-opp-spend strong { color: rgba(255,255,255,0.75); }
.adash-opp-build { margin: 8px 0 0; padding: 0; list-style: none; }
.adash-opp-build li {
  font-size: 11px; color: rgba(255,255,255,0.46); padding: 2px 0 2px 14px;
  position: relative; line-height: 1.4;
}
.adash-opp-build li::before { content: '·'; position: absolute; left: 4px; color: rgba(255,255,255,0.28); }

/* findings benchmark */
.adash-finding-bench {
  font-family: var(--font-sans-small); font-size: 10px;
  color: rgba(167,139,250,0.55); margin-top: 3px; line-height: 1.35;
}

/* audit popup + form */
.adash-popup-overlay {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(6,4,18,0.86); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.adash-popup {
  background: linear-gradient(160deg, #18142e 0%, #0e0b1e 100%);
  border: 1px solid rgba(167,139,250,0.22); border-radius: 16px;
  max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto;
  padding: 36px 40px; position: relative;
  box-shadow: 0 32px 80px -16px rgba(0,0,0,0.9);
}
@media (max-width: 480px) { .adash-popup { padding: 28px 22px; } }
.adash-popup-close {
  position: absolute; top: 16px; right: 18px;
  background: rgba(255,255,255,0.08); border: none;
  color: rgba(255,255,255,0.55); font-size: 18px; line-height: 1;
  width: 32px; height: 32px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 160ms;
}
.adash-popup-close:hover { background: rgba(255,255,255,0.14); color: #fff; }
.adash-popup-title { font-family: var(--font-sans-display); font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -0.02em; margin-bottom: 8px; }
.adash-popup-sub { font-size: 14px; color: rgba(255,255,255,0.52); margin-bottom: 28px; line-height: 1.5; }
.adash-form-group { margin-bottom: 20px; }
.adash-form-label {
  font-family: var(--font-sans-small); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.07em;
  color: rgba(255,255,255,0.55); margin-bottom: 8px; display: block;
}
.adash-form-input {
  width: 100%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px; padding: 11px 14px; color: #fff; font-size: 14px;
  font-family: var(--font-sans); outline: none; transition: border-color 160ms;
  appearance: none;
}
.adash-form-input:focus { border-color: rgba(167,139,250,0.52); }
.adash-form-input::placeholder { color: rgba(255,255,255,0.22); }
.adash-form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .adash-form-2col { grid-template-columns: 1fr; } }
.adash-form-radios { display: flex; flex-wrap: wrap; gap: 8px; }
.adash-form-radio-opt {
  display: flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px; padding: 8px 12px; cursor: pointer;
  font-size: 13px; color: rgba(255,255,255,0.65); transition: all 150ms; user-select: none;
}
.adash-form-radio-opt input { display: none; }
.adash-form-radio-opt.selected {
  background: rgba(167,139,250,0.15); border-color: rgba(167,139,250,0.42); color: #fff;
}
.adash-form-checks { display: flex; flex-direction: column; gap: 6px; }
.adash-form-check-opt {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  border-radius: 8px; cursor: pointer; font-size: 13px; color: rgba(255,255,255,0.65);
  border: 1px solid transparent; transition: all 140ms; user-select: none;
}
.adash-form-check-opt:hover { background: rgba(255,255,255,0.04); }
.adash-form-check-opt.checked { color: #fff; background: rgba(167,139,250,0.10); border-color: rgba(167,139,250,0.28); }
.adash-form-check-mark {
  width: 16px; height: 16px; border-radius: 4px; flex-shrink: 0;
  border: 1.5px solid rgba(255,255,255,0.28);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; color: #fff; transition: all 140ms;
}
.adash-form-check-opt.checked .adash-form-check-mark { background: rgba(167,139,250,0.85); border-color: transparent; }
.adash-form-not-fit {
  background: rgba(248,113,113,0.09); border: 1px solid rgba(248,113,113,0.24);
  border-radius: 8px; padding: 14px 16px; margin-top: 12px;
  font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.55;
}
.adash-form-submit {
  width: 100%; padding: 15px; border: none; border-radius: 10px;
  background: linear-gradient(135deg, #6d28d9, #4c1d95); color: #fff;
  font-size: 15px; font-weight: 700; letter-spacing: 0.02em; font-family: var(--font-sans);
  cursor: pointer; margin-top: 26px; transition: opacity 200ms;
}
.adash-form-submit:hover:not(:disabled) { opacity: 0.86; }
.adash-form-submit:disabled { opacity: 0.38; cursor: default; }
.adash-form-success { text-align: center; padding: 32px 20px; }
.adash-form-success-check {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(74,222,128,0.15); border: 2px solid rgba(74,222,128,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: #4ade80; margin: 0 auto 20px;
}
.adash-form-success-title { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.adash-form-success-sub { font-size: 14px; color: rgba(255,255,255,0.58); line-height: 1.6; }

/* responsive additions */
@media (max-width: 720px) {
  .adash-geo-layout { flex-direction: column; }
  .adash-geomap { width: 100%; min-width: unset; max-width: 340px; }
}
@media (max-width: 480px) {
  .adash-hero-opp-val { font-size: 40px; }
  .adash-hero-opp { gap: 14px; padding: 16px; }
}

/* ------- network visualization (replaces integrations strip) ------- */
.ntw-section {
  padding: 56px 0;
  border-top: 1px solid var(--site-rule);
  border-bottom: 1px solid var(--site-rule);
}
.ntw-label { text-align: center; margin-bottom: 32px; }
.ntw-outer { display: flex; justify-content: center; }
.ntw-svg { width: 100%; max-width: 600px; display: block; overflow: visible; }

/* Entry animation — opacity stagger */
.ntw-svg .ntw-atm,
.ntw-svg .ntw-center-ring,
.ntw-svg .ntw-center-ring2,
.ntw-svg .ntw-center-name,
.ntw-svg .ntw-center-sub,
.ntw-svg .ntw-line-0, .ntw-svg .ntw-line-1, .ntw-svg .ntw-line-2,
.ntw-svg .ntw-line-3, .ntw-svg .ntw-line-4, .ntw-svg .ntw-line-5,
.ntw-svg .ntw-node-0, .ntw-svg .ntw-node-1, .ntw-svg .ntw-node-2,
.ntw-svg .ntw-node-3, .ntw-svg .ntw-node-4, .ntw-svg .ntw-node-5 {
  opacity: 0;
  transition: opacity 0.55s ease;
}
.ntw-svg.is-entered .ntw-atm         { opacity: 1; transition-delay: 0s; }
.ntw-svg.is-entered .ntw-center-ring  { opacity: 1; transition-delay: 0.12s; }
.ntw-svg.is-entered .ntw-center-ring2 { opacity: 1; transition-delay: 0.18s; }
.ntw-svg.is-entered .ntw-center-name  { opacity: 1; transition-delay: 0.24s; }
.ntw-svg.is-entered .ntw-center-sub   { opacity: 1; transition-delay: 0.28s; }
.ntw-svg.is-entered .ntw-line-0 { opacity: 1; transition-delay: 0.34s; }
.ntw-svg.is-entered .ntw-line-1 { opacity: 1; transition-delay: 0.40s; }
.ntw-svg.is-entered .ntw-line-2 { opacity: 1; transition-delay: 0.46s; }
.ntw-svg.is-entered .ntw-line-3 { opacity: 1; transition-delay: 0.52s; }
.ntw-svg.is-entered .ntw-line-4 { opacity: 1; transition-delay: 0.58s; }
.ntw-svg.is-entered .ntw-line-5 { opacity: 1; transition-delay: 0.64s; }
.ntw-svg.is-entered .ntw-node-0 { opacity: 1; transition-delay: 0.36s; }
.ntw-svg.is-entered .ntw-node-1 { opacity: 1; transition-delay: 0.43s; }
.ntw-svg.is-entered .ntw-node-2 { opacity: 1; transition-delay: 0.50s; }
.ntw-svg.is-entered .ntw-node-3 { opacity: 1; transition-delay: 0.57s; }
.ntw-svg.is-entered .ntw-node-4 { opacity: 1; transition-delay: 0.64s; }
.ntw-svg.is-entered .ntw-node-5 { opacity: 1; transition-delay: 0.71s; }

/* Mobile: hide SVG, show grid */
.ntw-mobile-grid { display: none; }
@media (max-width: 720px) {
  .ntw-outer { display: none; }
  .ntw-mobile-grid {
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    padding: 8px 0 4px;
  }
  .ntw-mobile-brain {
    display: flex; align-items: center; gap: 10px;
    background: rgba(76,47,201,0.08); border: 1px solid rgba(76,47,201,0.22);
    border-radius: 999px; padding: 8px 20px;
    font-family: var(--font-sans-display); font-weight: 700; font-size: 15px;
    color: var(--site-purple);
  }
  .ntw-brain-pulse {
    width: 8px; height: 8px; border-radius: 50%; background: var(--site-purple);
    animation: pulse-dot 2s ease-in-out infinite;
  }
  .ntw-mobile-platforms {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%;
  }
  .ntw-mobile-pill {
    display: flex; align-items: center; justify-content: center;
    padding: 10px 8px; border-radius: 8px; border: 1px solid;
    font-family: var(--font-sans-small); font-size: 12px; font-weight: 600;
    text-align: center; line-height: 1.2;
  }
}

/* ------- produce section — additional outputs grid ------- */
.produce-more {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--site-rule);
}
.produce-more-label {
  font-family: var(--font-sans-small); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--site-ink-3);
  margin-bottom: 28px;
}
.produce-more-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 880px) { .produce-more-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 560px) { .produce-more-grid { grid-template-columns: 1fr; } }
.produce-more-card {
  padding: 18px 20px;
  border: 1px solid var(--site-rule);
  border-radius: 10px;
  background: var(--site-cream);
  transition: border-color 180ms, box-shadow 180ms;
}
.produce-more-card:hover {
  border-color: rgba(76,47,201,0.28);
  box-shadow: 0 4px 16px -8px rgba(76,47,201,0.14);
}
.produce-more-num {
  font-family: var(--font-mono); font-size: 10px; color: var(--site-ink-4);
  letter-spacing: 0.06em; margin-bottom: 8px;
}
.produce-more-title {
  font-family: var(--font-sans-display); font-weight: 700; font-size: 15px;
  letter-spacing: -0.01em; color: var(--site-ink); margin-bottom: 6px; line-height: 1.2;
}
.produce-more-desc {
  font-size: 13px; line-height: 1.55; color: var(--site-ink-3); margin: 0;
}

/* ------- geo map tooltip ------- */
.adash-geo-tooltip {
  pointer-events: none;
}

/* ------- weather / market insights panel ------- */
.adash-weather-list { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 8px; }
.adash-weather-item {
  display: flex; gap: 10px; align-items: flex-start;
  font-family: var(--font-sans-small); font-size: 12px; color: var(--adash-text); line-height: 1.5;
}
.adash-weather-icon { flex-shrink: 0; font-size: 13px; margin-top: -1px; }

/* ------- paid spend ROI chips ------- */
.adash-roi-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; align-items: center; }
.adash-roi-chip {
  font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 4px;
  background: rgba(167,139,250,0.12); color: var(--adash-purple);
  border: 1px solid rgba(167,139,250,0.22);
}
.adash-roi-label {
  font-family: var(--font-sans-small); font-size: 11px; color: rgba(255,255,255,0.36);
}

/* ------- reveal-on-scroll ------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ------- responsive ------- */
@media (max-width: 720px) {
  .section-pad { padding: 72px 0; }
  .audit-card { padding: 36px 20px 28px; }
  .audit-row { grid-template-columns: 1fr; gap: 12px; }
  .audit-row .value { justify-content: flex-start; }
  .hero { padding-top: 90px; padding-bottom: 32px; }
  .hero-eyebrow-row { margin-bottom: 20px; gap: 10px; }
  .hero-eyebrow-row .dot { animation: none; width: 7px; height: 7px; }
  .hero h1 { font-size: 34px; line-height: 1.04; margin: 0 0 18px; }
  .hero-sub { font-size: 16px; line-height: 1.5; margin: 0 0 22px; max-width: 100%; }
  .hero-actions { margin-bottom: 32px; gap: 10px; flex-wrap: wrap; }
  .hero-actions .btn { font-size: 14px; padding: 12px 16px; }
  .shell { padding: 0 18px; }
  .icp-list li { grid-template-columns: 50px 1fr; gap: 16px; }
  .icp-list li .text { font-size: 17px; }
  .section-head h2 { font-size: 30px; }
  .section-head .lede { font-size: 16px; }
  .gap-pullquote { font-size: 22px; margin-top: 48px; padding: 32px 0; }
  .engage-col p { font-size: 15px; }
  .adash-geo-layout { flex-direction: column; }
  .adash-geomap { width: 100%; min-width: unset; max-width: 100%; }
  .ntw-section { padding: 40px 0 48px; }
  .ntw-canvas-wrap { padding: 0 4px; }
  .adash-finding-row { grid-template-columns: 28px 1fr; font-size: 12px; }
  .adash-finding-cost,.adash-finding-action { grid-column: 2; }
  .adash-closing-stats { grid-template-columns: 1fr 1fr; }
  .adash-hero-opp-val { font-size: 38px; }
  .adash-hero-opp { gap: 12px; padding: 14px 16px; }
  .imsg-thread { height: 320px; }
}
@media (max-width: 480px) {
  .adash-kpis { grid-template-columns: repeat(2,1fr); }
  .adash-kpi-val { font-size: 17px; }
  .adash-closing-stats { grid-template-columns: 1fr 1fr; }
  .adash-head { flex-wrap: wrap; }
  .adash-scorecard { grid-template-columns: 1fr; }
  .adash-score-card { border-right: none !important; border-bottom: 1px solid var(--adash-border) !important; }
  .hero h1 { font-size: 30px; }
}

/* ------- collapsible dashboard section toggle ------- */
@keyframes toggle-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(167,139,250,0); }
  50%       { box-shadow: 0 0 0 5px rgba(167,139,250,0.18); }
}
@keyframes bounce-arrow {
  0%, 60%, 100% { transform: translateY(0); }
  30%            { transform: translateY(3px); }
}
.adash-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(167,139,250,0.10);
  border: 1px solid rgba(167,139,250,0.30);
  border-radius: 8px;
  color: var(--adash-purple);
  font-family: var(--font-sans-small);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 14px;
  cursor: pointer;
  margin-left: auto;
  flex-shrink: 0;
  transition: background 150ms, border-color 150ms, transform 150ms;
  animation: toggle-glow 2.2s ease-in-out infinite;
  white-space: nowrap;
}
.adash-toggle-btn .t-arrow {
  display: inline-block;
  animation: bounce-arrow 1.4s ease-in-out infinite;
}
.adash-toggle-btn:hover {
  background: rgba(167,139,250,0.20);
  border-color: rgba(167,139,250,0.55);
  transform: translateY(-1px);
  animation: none;
}
/* Stop animation once expanded */
.adash-toggle-btn.is-open {
  animation: none;
  background: rgba(167,139,250,0.06);
  border-color: rgba(167,139,250,0.18);
  color: rgba(167,139,250,0.65);
}
.adash-toggle-btn.is-open .t-arrow { animation: none; }
.adash-section-label { cursor: default; }

/* ------- canvas network visualization ------- */
.ntw-canvas-wrap { position: relative; margin-bottom: 12px; }
.ntw-canvas { display: block; width: 100%; cursor: crosshair; }
.ntw-hov-pill {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  background: rgba(14,10,42,0.93); border: 1px solid; border-radius: 10px;
  padding: 8px 18px; pointer-events: none;
  display: flex; gap: 10px; align-items: center; white-space: nowrap;
  backdrop-filter: blur(4px);
}
.ntw-hov-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ntw-hov-name { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.92); }
.ntw-hov-sub { font-size: 11px; color: rgba(255,255,255,0.45); }
.ntw-pills-row {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--site-rule);
}
.ntw-pill-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; border: 1px solid;
  font-family: var(--font-sans-small); font-size: 12px; font-weight: 600;
  color: var(--site-ink-3); transition: color 150ms;
}

/* ------- upside grid — mobile stack ------- */
.adash-upside-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; }
@media (max-width: 560px) { .adash-upside-grid { grid-template-columns: 1fr; } }

/* ------- geo table row highlight ------- */
.adash-geo-row { cursor: pointer; transition: background 140ms; }
.adash-geo-row.geo-row-active { background: rgba(167,139,250,0.07); }
.adash-geo-row:hover { background: rgba(255,255,255,0.03); }

/* ------- map pulse ring on active city ------- */
@keyframes geo-pulse {
  0%   { opacity: 0.60; transform: scale(1); }
  80%  { opacity: 0; transform: scale(2.2); }
  100% { opacity: 0; transform: scale(2.2); }
}
.geo-pulse-ring {
  animation: geo-pulse 1.8s ease-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}

/* ------- desk section CTA ------- */
.desk-cta { margin-top: 36px; }

/* ------- popup light/cream theme ------- */
.adash-popup-light {
  background: #FAF8F4 !important;
  border: 1px solid rgba(26,24,20,0.10) !important;
  box-shadow: 0 24px 64px -16px rgba(26,24,20,0.18) !important;
}
.adash-popup-close-light {
  background: rgba(26,24,20,0.06) !important;
  color: rgba(26,24,20,0.45) !important;
}
.adash-popup-close-light:hover { background: rgba(26,24,20,0.10) !important; color: var(--site-ink) !important; }
.adash-popup-head-row { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.adash-popup-icon-wrap {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(76,47,201,0.10); border: 1px solid rgba(76,47,201,0.18);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.adash-popup-title-light { color: var(--site-ink) !important; font-size: 22px !important; margin-bottom: 2px !important; }
.adash-popup-sub-light { color: rgba(26,24,20,0.52) !important; margin-bottom: 0 !important; }
.adash-form-label-light { color: rgba(26,24,20,0.52) !important; }
.adash-form-input-light {
  background: #fff !important;
  border: 1px solid rgba(26,24,20,0.14) !important;
  color: var(--site-ink) !important;
}
.adash-form-input-light:focus { border-color: rgba(76,47,201,0.45) !important; }
.adash-form-input-light::placeholder { color: rgba(26,24,20,0.28) !important; }
.adash-form-radio-light {
  background: rgba(26,24,20,0.04) !important;
  border: 1px solid rgba(26,24,20,0.12) !important;
  color: rgba(26,24,20,0.65) !important;
}
.adash-form-radio-light.selected {
  background: rgba(76,47,201,0.10) !important;
  border-color: rgba(76,47,201,0.38) !important;
  color: var(--site-purple) !important;
}
.adash-form-check-light {
  color: rgba(26,24,20,0.65) !important;
}
.adash-form-check-light:hover { background: rgba(26,24,20,0.04) !important; }
.adash-form-check-light.checked { color: var(--site-ink) !important; background: rgba(76,47,201,0.08) !important; border-color: rgba(76,47,201,0.28) !important; }
.adash-form-check-mark-light { border-color: rgba(26,24,20,0.22) !important; color: var(--site-purple) !important; }
.adash-form-check-light.checked .adash-form-check-mark-light { background: var(--site-purple) !important; border-color: transparent !important; color: #fff !important; }
.adash-form-not-fit-light { color: rgba(26,24,20,0.65) !important; background: rgba(248,113,113,0.07) !important; }
.adash-form-fine { text-align: center; margin-top: 12px; font-family: var(--font-sans-small); font-size: 12px; color: rgba(26,24,20,0.38); }
.adash-form-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 24px 0 20px; font-family: var(--font-sans-small); font-size: 11px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(26,24,20,0.30);
}
.adash-form-divider::before, .adash-form-divider::after {
  content: ''; flex: 1; height: 1px; background: rgba(26,24,20,0.10);
}
.adash-field-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 5px; font-size: 11px;
  margin-right: 5px; vertical-align: middle; flex-shrink: 0;
}
.adash-form-source-note {
  font-family: var(--font-sans-small); font-size: 11.5px;
  color: rgba(26,24,20,0.40); margin-bottom: 12px; margin-top: 4px; line-height: 1.4;
}
.adash-source-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.adash-source-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 24px; border: 1px solid rgba(26,24,20,0.14);
  background: rgba(26,24,20,0.04); cursor: pointer;
  font-size: 13px; font-family: var(--font-sans); font-weight: 500;
  color: rgba(26,24,20,0.65); transition: all 150ms; user-select: none;
}
.adash-source-pill:hover { border-color: rgba(76,47,201,0.30); background: rgba(76,47,201,0.05); color: var(--site-ink); }
.adash-source-pill-icon { font-size: 14px; line-height: 1; }
.adash-referral-field { margin-top: 14px; padding: 14px 16px; background: rgba(251,146,60,0.07); border: 1px solid rgba(251,146,60,0.20); border-radius: 10px; }
.adash-form-success-light .adash-form-success-check-light { background: rgba(76,47,201,0.10) !important; border-color: rgba(76,47,201,0.28) !important; color: var(--site-purple) !important; }
.adash-form-success-title-light { color: var(--site-ink) !important; }
.adash-form-success-sub-light { color: rgba(26,24,20,0.55) !important; }
@media (max-width: 520px) {
  .adash-form-2col { grid-template-columns: 1fr !important; }
  .adash-source-pills { gap: 6px; }
  .adash-source-pill { font-size: 12px; padding: 7px 11px; }
  .adash-popup { padding: 24px 18px !important; }
}

/* ------- Typeform-style one-question-at-a-time survey ------- */
.tf-popup {
  display: flex;
  flex-direction: column;
  max-height: 92vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.tf-wrap { display: flex; flex-direction: column; flex: 1; }

.tf-progress-bar {
  height: 3px; background: rgba(76,47,201,0.12); border-radius: 99px;
  margin-bottom: 22px; overflow: hidden;
}
.tf-progress-fill {
  height: 100%; background: var(--site-purple); border-radius: 99px;
  transition: width 360ms cubic-bezier(0.4,0,0.2,1);
}
.tf-step-count {
  font-family: var(--font-sans-small); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.09em; color: rgba(26,24,20,0.38);
  margin-bottom: 22px;
}

@keyframes tf-enter {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.tf-step-body { animation: tf-enter 220ms ease-out; flex: 1; }

.tf-question {
  font-family: var(--font-sans-display); font-size: 26px; font-weight: 800;
  letter-spacing: -0.02em; color: var(--site-ink); line-height: 1.15; margin-bottom: 8px;
}
.tf-sub {
  font-size: 14px; color: rgba(26,24,20,0.48); margin-bottom: 28px; line-height: 1.45;
}
.tf-content { margin-bottom: 24px; }

/* Large underline text input */
.tf-input-large {
  width: 100%; font-size: 18px; font-family: var(--font-sans); color: var(--site-ink);
  background: transparent; border: none; border-bottom: 2px solid rgba(26,24,20,0.18);
  padding: 10px 0 12px; outline: none; transition: border-color 160ms;
  -webkit-appearance: none; appearance: none; box-sizing: border-box;
}
.tf-input-large:focus { border-bottom-color: var(--site-purple); }
.tf-input-large::placeholder { color: rgba(26,24,20,0.28); }

.tf-contact-row { display: flex; flex-direction: column; gap: 22px; }

/* Pill selectors */
.tf-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.tf-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 18px; border-radius: 8px; border: 1.5px solid rgba(26,24,20,0.14);
  background: rgba(26,24,20,0.03); cursor: pointer;
  font-size: 14px; font-family: var(--font-sans); font-weight: 500;
  color: rgba(26,24,20,0.68); transition: all 140ms; user-select: none; text-align: left;
}
.tf-pill:hover { border-color: rgba(76,47,201,0.30); background: rgba(76,47,201,0.05); color: var(--site-ink); }
.tf-pill.selected {
  background: rgba(76,47,201,0.10); border-color: rgba(76,47,201,0.42);
  color: var(--site-purple); font-weight: 600;
}
.tf-pill-icon { font-size: 15px; line-height: 1; }
.tf-pill-check { font-size: 11px; font-weight: 800; color: var(--site-purple); }

.tf-not-fit {
  margin-top: 16px; padding: 14px 16px; border-radius: 8px;
  background: rgba(248,113,113,0.07); border: 1px solid rgba(248,113,113,0.22);
  font-size: 13px; color: rgba(26,24,20,0.65); line-height: 1.55;
}
.tf-referral-field { margin-top: 20px; }

/* Nav bar: back + continue/submit */
.tf-nav {
  display: flex; align-items: center; gap: 12px;
  padding-top: 20px; border-top: 1px solid rgba(26,24,20,0.08); margin-top: 4px;
}
.tf-btn-back {
  background: none; border: none; cursor: pointer;
  font-size: 14px; font-family: var(--font-sans); color: rgba(26,24,20,0.45);
  padding: 10px 14px; border-radius: 8px; transition: color 150ms, background 150ms;
  margin-right: auto;
}
.tf-btn-back:hover { color: var(--site-ink); background: rgba(26,24,20,0.05); }
.tf-btn-next {
  padding: 12px 26px; border: none; border-radius: 8px;
  background: var(--site-purple); color: #fff;
  font-size: 15px; font-weight: 700; font-family: var(--font-sans);
  cursor: pointer; transition: opacity 150ms; white-space: nowrap;
}
.tf-btn-next:hover:not(.disabled):not(:disabled) { opacity: 0.87; }
.tf-btn-next.disabled, .tf-btn-next:disabled { opacity: 0.35; cursor: default; }

@media (max-width: 520px) {
  .tf-question { font-size: 21px; }
  .tf-sub { font-size: 13px; margin-bottom: 22px; }
  .tf-input-large { font-size: 16px; } /* must be 16px+ to prevent iOS auto-zoom */
  .tf-pill { font-size: 13px; padding: 9px 14px; }
  .tf-btn-next { font-size: 14px; padding: 12px 20px; }
}
