/* Autopilot by Tjekvik — shared site styles */
:root {
  --navy: #091e42;
  --navy-2: #252858;
  --slate: #5e6c84;
  --slate-light: #8993a4;
  --light-gray: #ebecf0;
  --faint: #f4f5f7;
  --blue: #0065ff;
  --blue-bright: #2684ff;
  --blue-ice: #deebff;
  --green: #36b37e;
  --green-light: #57d9a3;
  --orange: #ffe380;
  --red: #de350b;
  --white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  color: var(--navy);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.mono { font-family: 'JetBrains Mono', monospace; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* NAV */
nav.site-nav {
  position: sticky; top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(1.8) blur(12px);
  border-bottom: 1px solid var(--light-gray);
  z-index: 100;
}
nav.site-nav .container {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 32px; height: 32px;
  background: var(--navy); color: var(--white);
  border-radius: 8px;
  display: grid; place-items: center;
  font-weight: 900; font-size: 18px;
}
.brand-name { font-weight: 700; color: var(--navy); font-size: 16px; }
.brand-name span { font-weight: 400; color: var(--slate); }

nav.site-nav ul { display: flex; gap: 28px; list-style: none; }
nav.site-nav ul a {
  color: var(--slate); text-decoration: none;
  font-weight: 500; font-size: 14px;
  transition: color 0.15s;
}
nav.site-nav ul a:hover { color: var(--navy); }
nav.site-nav ul a.active { color: var(--navy); font-weight: 700; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700; font-size: 14px;
  text-decoration: none;
  transition: transform 0.1s, background 0.15s;
  cursor: pointer; border: none;
  font-family: 'Inter', sans-serif;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-bright); transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--blue-ice); }

/* PAGE HEADER (non-home) */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0b2758 50%, var(--navy-2) 100%);
  color: var(--white);
  padding: 90px 0 100px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: var(--blue); opacity: 0.25;
  border-radius: 50%; filter: blur(100px);
}
.page-hero .container { position: relative; z-index: 1; text-align: center; }
.page-hero .eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 7px 14px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--green-light); margin-bottom: 20px;
}
.page-hero h1 {
  font-size: 56px; font-weight: 900;
  line-height: 1.05; letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.page-hero p.lede {
  font-size: 20px; color: rgba(255,255,255,0.75);
  max-width: 620px; margin: 0 auto; font-weight: 300;
}

/* SECTIONS */
section { padding: 100px 0; }
section.alt { background: var(--faint); }
section.light { background: var(--white); }
section.dark { background: var(--navy); color: var(--white); }

.section-header { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-header.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 700;
  color: var(--blue);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.dark .eyebrow { color: var(--green-light); }
h2 {
  font-weight: 900; font-size: 44px;
  line-height: 1.1; letter-spacing: -0.02em;
  color: var(--navy); margin-bottom: 16px;
}
.dark h2 { color: var(--white); }
h3 { font-weight: 800; font-size: 22px; color: var(--navy); letter-spacing: -0.01em; }
.section-header p {
  font-size: 18px; color: var(--slate); font-weight: 400;
}
.dark .section-header p { color: rgba(255,255,255,0.7); }

/* CARDS */
.card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 20px;
  padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(9,30,66,0.08);
}

/* SCREENSHOT FRAMES */
.screenshot-frame {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(9,30,66,0.15);
  border: 1px solid var(--light-gray);
}
.screenshot-frame img { display: block; width: 100%; height: auto; }
.screenshot-frame.dark {
  background: var(--navy);
  padding: 4px; border: none;
}

/* FOOTER */
footer.site-footer {
  background: var(--navy); color: rgba(255,255,255,0.7);
  padding: 56px 0;
}
footer.site-footer .container {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; align-items: start;
}
footer.site-footer .footer-brand .brand-mark { background: var(--white); color: var(--navy); }
footer.site-footer .footer-brand .brand-name { color: var(--white); }
footer.site-footer .footer-brand .brand-name span { color: rgba(255,255,255,0.6); }
footer.site-footer .footer-brand p {
  margin-top: 14px;
  font-size: 13px; max-width: 340px; line-height: 1.6;
}
footer.site-footer .footer-col h4 {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--green-light);
  margin-bottom: 16px;
}
footer.site-footer .footer-col ul { list-style: none; }
footer.site-footer .footer-col li { margin-bottom: 10px; }
footer.site-footer .footer-col a {
  color: rgba(255,255,255,0.75); text-decoration: none;
  font-size: 14px; transition: color 0.15s;
}
footer.site-footer .footer-col a:hover { color: var(--white); }
footer.site-footer .footer-bottom {
  max-width: 1180px; margin: 48px auto 0; padding: 24px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: rgba(255,255,255,0.5);
}

/* NAV DROPDOWN */
nav.site-nav ul li.has-dropdown {
  position: relative;
}
nav.site-nav ul li.has-dropdown > a::after {
  content: ' ▾';
  font-size: 10px;
  opacity: 0.6;
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(9,30,66,0.12);
  padding: 10px;
  min-width: 300px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  transform: translateX(-50%) translateY(-6px);
  z-index: 200;
  padding-top: 20px;
}
nav.site-nav ul li.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
/* Invisible hover bridge — fills the gap between the link and the dropdown */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
}
/* Arrow */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 13px;
  left: 50%;
  width: 12px; height: 12px;
  background: var(--white);
  border-left: 1px solid var(--light-gray);
  border-top: 1px solid var(--light-gray);
  transform: translateX(-50%) rotate(45deg);
}
.dd-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.12s;
  color: var(--navy);
}
.dd-item:hover {
  background: var(--faint);
  color: var(--navy);
}
.dd-icon {
  font-size: 22px;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--faint);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.dd-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}
.dd-desc {
  font-size: 12px;
  color: var(--slate);
  font-weight: 400;
}

@media (max-width: 900px) {
  .page-hero h1 { font-size: 38px; }
  .page-hero p.lede { font-size: 17px; }
  section { padding: 64px 0; }
  h2 { font-size: 32px; }
  nav.site-nav ul { display: none; }
  footer.site-footer .container { grid-template-columns: 1fr 1fr; }
}

/* ===== OS DIAGRAM — the four layers ===== */
.os-stack {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 640px; margin: 0 auto;
}
.os-layer {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 22px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(4px);
}
.os-layer .os-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  width: 78px; flex-shrink: 0;
}
.os-layer .os-name { font-size: 16px; font-weight: 700; color: #fff; }
.os-layer .os-meta {
  margin-left: auto; font-size: 12px;
  color: rgba(255,255,255,0.55);
  font-family: 'JetBrains Mono', monospace;
}
.os-layer.layer-dealer { background: linear-gradient(180deg, rgba(101,84,192,0.18), rgba(101,84,192,0.08)); border-color: rgba(101,84,192,0.30); }
.os-layer.layer-automation { background: linear-gradient(180deg, rgba(255,139,0,0.18), rgba(255,139,0,0.06)); border-color: rgba(255,139,0,0.28); }
.os-layer.layer-channel { background: linear-gradient(180deg, rgba(54,179,126,0.18), rgba(54,179,126,0.06)); border-color: rgba(54,179,126,0.30); }
.os-layer.layer-data { background: linear-gradient(180deg, rgba(0,101,255,0.20), rgba(0,101,255,0.06)); border-color: rgba(0,101,255,0.30); }
.os-light .os-layer { background: var(--white); border: 1px solid var(--light-gray); }
.os-light .os-layer .os-tag { color: var(--slate); }
.os-light .os-layer .os-name { color: var(--navy); }
.os-light .os-layer .os-meta { color: var(--slate); }

/* ===== TRUST STRIP ===== */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  justify-content: center; align-items: center;
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.trust-strip .ts-item { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip .ts-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-light); }

/* ===== MODULE GRID (8 things Otto does) ===== */
.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mod {
  border: 1px solid var(--light-gray);
  border-radius: 16px;
  padding: 24px;
  background: var(--white);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.mod:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(9,30,66,0.07);
  border-color: var(--blue-ice);
}
.mod .mod-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--slate); font-weight: 600;
  letter-spacing: 0.06em;
}
.mod h3 {
  font-size: 18px; font-weight: 800; color: var(--navy);
  margin: 8px 0 8px;
}
.mod p { font-size: 13px; color: var(--slate); line-height: 1.55; }
.mod .mod-tag {
  display: inline-block; margin-top: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; padding: 3px 8px; border-radius: 4px;
  background: var(--faint); color: var(--slate);
  letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600;
}
@media (max-width: 1000px) { .module-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .module-grid { grid-template-columns: 1fr; } }

/* ===== AUDIENCE / USE CASE CARDS ===== */
.aud-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.aud {
  padding: 28px;
  border: 1px solid var(--light-gray);
  border-radius: 18px;
  background: var(--white);
}
.aud .aud-eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--blue); font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.aud h3 { margin: 6px 0 12px; font-size: 22px; }
.aud p { color: var(--slate); font-size: 14px; line-height: 1.6; }
.aud .aud-day { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--light-gray); font-size: 13px; color: var(--slate); }
.aud .aud-day b { color: var(--navy); font-weight: 700; }
@media (max-width: 800px) { .aud-grid { grid-template-columns: 1fr; } }

/* ===== PRICING TABLE ===== */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price {
  padding: 32px 28px;
  border: 1px solid var(--light-gray);
  border-radius: 20px;
  background: var(--white);
  display: flex; flex-direction: column;
}
.price.featured { border: 2px solid var(--blue); box-shadow: 0 16px 40px rgba(0,101,255,0.10); }
.price h3 { font-size: 18px; font-weight: 800; }
.price .price-amount {
  font-size: 38px; font-weight: 900; letter-spacing: -0.02em;
  margin: 12px 0 4px;
}
.price .price-amount small { font-size: 14px; color: var(--slate); font-weight: 500; }
.price ul { list-style: none; margin: 18px 0 24px; padding: 0; }
.price li { font-size: 13px; color: var(--navy); padding: 6px 0; display: flex; gap: 8px; align-items: flex-start; }
.price li::before { content: '✓'; color: var(--green); font-weight: 800; }
.price .btn { margin-top: auto; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }

/* ===== TESTIMONIAL PLACEHOLDERS ===== */
.tt-placeholder {
  padding: 24px;
  border: 1px dashed var(--light-gray);
  border-radius: 14px;
  font-size: 13px; color: var(--slate);
  background: var(--faint);
  font-style: italic;
}
.tt-placeholder b { color: var(--navy); font-style: normal; }

/* ===== KV LIST (key:value, like an audit log) ===== */
.kv {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; line-height: 1.9;
  color: rgba(255,255,255,0.7);
}
.kv b { color: var(--green-light); font-weight: 600; }
.kv-light { color: var(--slate); }
.kv-light b { color: var(--blue); }

/* =====================================================
   AI VIBE — dark sections, glowing nodes, flow stages
   (autodialog / autoflows aesthetic)
   ===================================================== */
:root {
  --ai-bg: #0a0e1a;
  --ai-bg-2: #0d1322;
  --ai-grid: rgba(120, 160, 255, 0.06);
  --ai-blue: #3b82f6;
  --ai-blue-bright: #60a5fa;
  --ai-cyan: #22d3ee;
  --ai-glow: rgba(59,130,246,0.45);
  --ai-line: rgba(120,160,255,0.18);
  --ai-text-dim: rgba(255,255,255,0.55);
}

/* Dark grid background section */
.dark-section {
  background: var(--ai-bg);
  background-image:
    linear-gradient(var(--ai-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--ai-grid) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.dark-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(59,130,246,0.18), transparent 60%),
              radial-gradient(ellipse 60% 40% at 80% 100%, rgba(34,211,238,0.10), transparent 60%);
  pointer-events: none;
}
.dark-section > .container { position: relative; z-index: 1; }
.dark-section h2 { color: #fff; }
.dark-section .eyebrow {
  color: var(--ai-blue-bright);
  letter-spacing: 0.16em;
}
.dark-section .section-header p { color: var(--ai-text-dim); }

/* Big tracked-out caps header for AI sections */
.ai-headline {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 52px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.05;
}
.ai-headline .accent {
  background: linear-gradient(90deg, var(--ai-blue-bright), var(--ai-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 800px) { .ai-headline { font-size: 34px; } }

/* AI assistant pill (matches the "mobo" badge) */
.ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(59,130,246,0.12);
  border: 1px solid rgba(59,130,246,0.45);
  box-shadow: 0 0 30px rgba(59,130,246,0.25), inset 0 0 20px rgba(59,130,246,0.10);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
}
.ai-pill .star {
  color: var(--ai-cyan);
  font-size: 14px;
  filter: drop-shadow(0 0 6px var(--ai-cyan));
}
.ai-pill b { color: #fff; font-weight: 800; }
.ai-pill .sep { color: rgba(255,255,255,0.35); }

/* Glowing circular icon ring */
.glow-ring {
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 50%, rgba(59,130,246,0.35) 0%, rgba(59,130,246,0.08) 60%, transparent 80%);
  border: 1.5px solid rgba(120,160,255,0.45);
  box-shadow:
    0 0 40px rgba(59,130,246,0.45),
    inset 0 0 20px rgba(59,130,246,0.18);
  position: relative;
  color: var(--ai-blue-bright);
  font-size: 26px;
  flex-shrink: 0;
}
.glow-ring::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(120,160,255,0.18);
}
.glow-ring.sm { width: 56px; height: 56px; font-size: 20px; }

/* Flow row — autodialog-style 5 stages on a horizontal line */
.flow-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  align-items: start;
  padding: 24px 0 8px;
}
.flow-row::before {
  content: '';
  position: absolute;
  top: 60px; left: 8%; right: 8%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--ai-blue) 12%,
    var(--ai-cyan) 50%,
    var(--ai-blue) 88%,
    transparent 100%);
  filter: drop-shadow(0 0 6px var(--ai-glow));
  z-index: 0;
}
.flow-row::after {
  content: '';
  position: absolute;
  top: 58px; left: 8%; right: 8%;
  height: 6px;
  background: linear-gradient(90deg, transparent, rgba(96,165,250,0.7), transparent);
  background-size: 30% 100%;
  background-repeat: no-repeat;
  filter: blur(4px);
  animation: flow-pulse 4s linear infinite;
  z-index: 0;
}
@keyframes flow-pulse {
  0%   { background-position: -30% 0; }
  100% { background-position: 130% 0; }
}
.flow-stage {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 8px;
}
.flow-stage .glow-ring { margin: 0 auto 18px; }
.flow-stage .stage-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--ai-blue-bright);
  letter-spacing: 0.16em;
  margin-bottom: 4px;
}
.flow-stage .stage-label {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 6px;
}
.flow-stage .stage-cap {
  font-size: 12.5px;
  color: var(--ai-text-dim);
  line-height: 1.5;
  max-width: 180px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .flow-row { grid-template-columns: 1fr; gap: 28px; }
  .flow-row::before, .flow-row::after { display: none; }
}

/* =====================================================
   PRODUCT-SHOT — stylised mock that reads as a screenshot
   ===================================================== */
.product-shot {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow:
    0 30px 80px rgba(9,30,66,0.22),
    0 8px 24px rgba(9,30,66,0.10);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--navy);
}
.product-shot.dark-frame {
  background: #0f1626;
  border-color: rgba(120,160,255,0.20);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.55),
    0 0 60px rgba(59,130,246,0.20);
  color: #e6ecf5;
}
/* Browser chrome */
.ps-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #f1f3f7, #e8ebf1);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.product-shot.dark-frame .ps-chrome {
  background: linear-gradient(180deg, #131c33, #0e1525);
  border-bottom-color: rgba(120,160,255,0.12);
}
.ps-dot { width: 11px; height: 11px; border-radius: 50%; }
.ps-dot.r { background: #ff5f57; }
.ps-dot.y { background: #ffbd2e; }
.ps-dot.g { background: #28c840; }
.ps-url {
  flex: 1; margin: 0 14px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 6px;
  padding: 4px 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--slate);
  text-align: center;
}
.product-shot.dark-frame .ps-url {
  background: rgba(255,255,255,0.04);
  border-color: rgba(120,160,255,0.15);
  color: rgba(255,255,255,0.55);
}
.ps-body { padding: 0; }

/* App shell inside a screenshot */
.ps-app {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 380px;
  background: #fafbfc;
}
.product-shot.dark-frame .ps-app { background: #0a1020; }
.ps-side {
  background: #fff;
  border-right: 1px solid #ebecf0;
  padding: 14px 10px;
}
.product-shot.dark-frame .ps-side {
  background: #0d1424;
  border-right-color: rgba(120,160,255,0.10);
}
.ps-side-brand {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 8px 14px;
  border-bottom: 1px solid #ebecf0;
  margin-bottom: 10px;
}
.product-shot.dark-frame .ps-side-brand { border-bottom-color: rgba(120,160,255,0.10); }
.ps-side-brand .bm {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  font-weight: 900; font-size: 12px;
}
.product-shot.dark-frame .ps-side-brand .bm { background: var(--ai-blue); }
.ps-side-brand .bn { font-size: 12px; font-weight: 700; }
.ps-nav { list-style: none; padding: 0; margin: 0; }
.ps-nav li {
  padding: 6px 10px;
  font-size: 12px;
  color: var(--slate);
  border-radius: 6px;
  margin-bottom: 1px;
  display: flex; align-items: center; gap: 8px;
}
.product-shot.dark-frame .ps-nav li { color: rgba(255,255,255,0.55); }
.ps-nav li.active {
  background: var(--blue-ice);
  color: var(--navy);
  font-weight: 700;
}
.product-shot.dark-frame .ps-nav li.active {
  background: rgba(59,130,246,0.15);
  color: #fff;
}
.ps-nav .ic { width: 14px; text-align: center; opacity: 0.7; }

.ps-main { padding: 18px; min-width: 0; }
.ps-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid #ebecf0;
  margin-bottom: 14px;
}
.product-shot.dark-frame .ps-topbar { border-bottom-color: rgba(120,160,255,0.10); }
.ps-topbar h4 { font-size: 14px; font-weight: 800; color: var(--navy); margin: 0; }
.product-shot.dark-frame .ps-topbar h4 { color: #fff; }
.ps-topbar .pill {
  font-size: 10px; font-weight: 700; padding: 3px 10px;
  background: rgba(54,179,126,0.12); color: var(--green);
  border-radius: 999px; letter-spacing: 0.04em;
}

/* Conversations list + transcript layout */
.ps-convos {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  border: 1px solid #ebecf0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.product-shot.dark-frame .ps-convos {
  background: #0d1424;
  border-color: rgba(120,160,255,0.10);
}
.ps-convo-list { border-right: 1px solid #ebecf0; max-height: 360px; overflow: hidden; }
.product-shot.dark-frame .ps-convo-list { border-right-color: rgba(120,160,255,0.10); }
.ps-convo-item {
  padding: 10px 12px;
  border-bottom: 1px solid #f4f5f7;
  cursor: pointer;
}
.product-shot.dark-frame .ps-convo-item { border-bottom-color: rgba(120,160,255,0.06); }
.ps-convo-item.active { background: var(--blue-ice); }
.product-shot.dark-frame .ps-convo-item.active { background: rgba(59,130,246,0.12); }
.ps-convo-item .nm { font-size: 12px; font-weight: 700; color: var(--navy); display: flex; justify-content: space-between; }
.product-shot.dark-frame .ps-convo-item .nm { color: #fff; }
.ps-convo-item .nm .t { font-weight: 500; color: var(--slate); font-size: 10px; }
.product-shot.dark-frame .ps-convo-item .nm .t { color: rgba(255,255,255,0.4); }
.ps-convo-item .reg { font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--slate); margin-top: 1px; }
.ps-convo-item .pv { font-size: 11px; color: var(--slate); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-shot.dark-frame .ps-convo-item .pv { color: rgba(255,255,255,0.50); }
.ps-convo-item .ch {
  display: inline-block; font-size: 9px; font-weight: 700; padding: 1px 5px;
  border-radius: 3px; margin-right: 4px;
  letter-spacing: 0.04em;
}
.ch-wa { background: rgba(37,211,102,0.15); color: #1c9e54; }
.ch-vc { background: rgba(124,58,237,0.15); color: #6d28d9; }
.ch-wb { background: rgba(0,101,255,0.15); color: var(--blue); }

.ps-thread { padding: 12px; min-height: 360px; max-height: 360px; overflow: hidden; }
.ps-thread-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f4f5f7;
  margin-bottom: 10px;
}
.product-shot.dark-frame .ps-thread-head { border-bottom-color: rgba(120,160,255,0.08); }
.ps-thread-head .av {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green-light));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 12px;
}
.ps-thread-head .nm { font-size: 12px; font-weight: 700; color: var(--navy); }
.product-shot.dark-frame .ps-thread-head .nm { color: #fff; }
.ps-thread-head .sub { font-size: 10px; color: var(--slate); margin-top: 1px; }
.product-shot.dark-frame .ps-thread-head .sub { color: rgba(255,255,255,0.5); }
.ps-thread-head .live {
  margin-left: auto; font-size: 10px; font-weight: 700; color: var(--green);
  display: flex; align-items: center; gap: 4px;
}
.ps-thread-head .live .pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  animation: live-pulse 1.4s infinite;
  box-shadow: 0 0 6px var(--green);
}
@keyframes live-pulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }
.ps-msg {
  padding: 8px 11px; border-radius: 10px;
  font-size: 12px; line-height: 1.45;
  margin-bottom: 6px; max-width: 80%;
}
.ps-msg.them { background: #f4f5f7; color: var(--navy); border-radius: 10px 10px 10px 3px; }
.ps-msg.otto { background: linear-gradient(135deg, var(--blue), var(--blue-bright)); color: #fff; margin-left: auto; border-radius: 10px 10px 3px 10px; }
.product-shot.dark-frame .ps-msg.them { background: rgba(255,255,255,0.06); color: #e6ecf5; }
.ps-msg .ts { display: block; font-size: 9px; opacity: 0.55; margin-top: 2px; }

/* KPI tiles */
.ps-kpi-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-bottom: 14px;
}
.ps-kpi {
  padding: 12px;
  border: 1px solid #ebecf0; border-radius: 10px;
  background: #fff;
}
.product-shot.dark-frame .ps-kpi {
  border-color: rgba(120,160,255,0.10);
  background: rgba(255,255,255,0.03);
}
.ps-kpi .lbl {
  font-size: 9px; font-weight: 700; letter-spacing: 0.10em;
  text-transform: uppercase; color: var(--slate); margin-bottom: 6px;
}
.product-shot.dark-frame .ps-kpi .lbl { color: rgba(255,255,255,0.5); }
.ps-kpi .big {
  font-size: 22px; font-weight: 900; color: var(--navy); line-height: 1;
  letter-spacing: -0.02em;
}
.product-shot.dark-frame .ps-kpi .big { color: #fff; }
.ps-kpi .delta {
  font-size: 10px; font-weight: 700; color: var(--green); margin-top: 4px;
}
.ps-kpi .delta.down { color: #de350b; }
.ps-spark { display: block; margin-top: 6px; width: 100%; height: 28px; }

/* Journey canvas mock */
.ps-canvas {
  background:
    radial-gradient(circle at 1px 1px, rgba(0,0,0,0.10) 1px, transparent 1px);
  background-size: 14px 14px;
  background-color: #f4f6fa;
  border: 1px solid #ebecf0;
  border-radius: 10px;
  padding: 22px 18px;
  position: relative;
  min-height: 360px;
}
.product-shot.dark-frame .ps-canvas {
  background:
    radial-gradient(circle at 1px 1px, rgba(120,160,255,0.18) 1px, transparent 1px);
  background-size: 14px 14px;
  background-color: #0a1020;
  border-color: rgba(120,160,255,0.12);
}
.ps-node {
  background: #fff; border-radius: 10px;
  border: 1px solid #ebecf0;
  border-left: 4px solid var(--blue);
  box-shadow: 0 4px 10px rgba(9,30,66,0.06);
  padding: 9px 11px;
  font-size: 11px;
  width: 200px;
  position: absolute;
}
.product-shot.dark-frame .ps-node {
  background: #0f1830;
  border-color: rgba(120,160,255,0.12);
  color: #fff;
}
.ps-node .h {
  display: flex; align-items: center; gap: 6px;
  font-size: 9px; font-weight: 800; letter-spacing: 0.10em;
  text-transform: uppercase; margin-bottom: 4px;
}
.ps-node .ic {
  width: 18px; height: 18px; border-radius: 5px;
  display: grid; place-items: center; font-size: 10px; font-weight: 800;
  color: #fff;
}
.ps-node .body { font-size: 11.5px; font-weight: 700; color: var(--navy); }
.product-shot.dark-frame .ps-node .body { color: #fff; }
.ps-node .sub { font-size: 10px; color: var(--slate); margin-top: 2px; font-weight: 400; }
.product-shot.dark-frame .ps-node .sub { color: rgba(255,255,255,0.55); }
.ps-node.trigger { border-left-color: #8b5cf6; }
.ps-node.trigger .ic { background: #8b5cf6; }
.ps-node.trigger .h { color: #8b5cf6; }
.ps-node.whatsapp { border-left-color: #25D366; }
.ps-node.whatsapp .ic { background: #25D366; }
.ps-node.whatsapp .h { color: #1c9e54; }
.ps-node.wait { border-left-color: #64748b; border-left-style: dashed; }
.ps-node.wait .ic { background: #64748b; }
.ps-node.wait .h { color: #64748b; }
.ps-node.voice { border-left-color: #7c3aed; }
.ps-node.voice .ic { background: #7c3aed; }
.ps-node.voice .h { color: #7c3aed; }
.ps-node.sms { border-left-color: #ff8b00; }
.ps-node.sms .ic { background: #ff8b00; }
.ps-node.sms .h { color: #ff8b00; }
.ps-node.goal { border-left-color: #36b37e; }
.ps-node.goal .ic { background: #36b37e; }
.ps-node.goal .h { color: #36b37e; }

/* Voice waveform */
.ps-wave {
  display: flex; align-items: center; gap: 2px;
  height: 28px;
}
.ps-wave i {
  display: block; width: 3px; background: var(--blue);
  border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
}
.product-shot.dark-frame .ps-wave i { background: var(--ai-blue-bright); }
@keyframes wave { 0%,100% { height: 20%; } 50% { height: 100%; } }

/* Inline tile/screenshot mocks (smaller cards) */
.shot-mini {
  border-radius: 12px; overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 12px 30px rgba(9,30,66,0.10);
}
.shot-mini .ps-chrome { padding: 7px 10px; }
.shot-mini .ps-dot { width: 8px; height: 8px; }

/* Static (non-live) widget mock */
.ps-widget {
  width: 320px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(9,30,66,0.20);
  border: 1px solid rgba(0,0,0,0.06);
}
.ps-widget .wh {
  background: linear-gradient(135deg, var(--blue), #1d4ed8);
  color: #fff; padding: 14px 16px;
}
.ps-widget .wh .nm { font-size: 13px; font-weight: 800; }
.ps-widget .wh .sub { font-size: 11px; opacity: 0.85; margin-top: 2px; }
.ps-widget .wb { padding: 14px; background: #fafbfc; }
.ps-widget .wb .ps-msg { font-size: 12px; }
.ps-widget .wf {
  padding: 10px 14px; border-top: 1px solid #ebecf0;
  display: flex; align-items: center; gap: 8px;
}
.ps-widget .wf .input {
  flex: 1; background: #f1f3f7;
  border-radius: 999px; padding: 8px 12px;
  font-size: 11px; color: var(--slate);
}
.ps-widget .wf .send {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: 13px; font-weight: 800;
}

/* DMS data-flow row */
.dms-flow {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: #fff; border: 1px solid var(--light-gray);
  border-radius: 14px;
  margin-bottom: 10px;
}
.dms-flow .nm { font-weight: 800; font-size: 14px; color: var(--navy); width: 100px; }
.dms-flow .arrow {
  flex: 1; height: 2px;
  background: linear-gradient(90deg, var(--light-gray), var(--blue));
  position: relative;
}
.dms-flow .arrow::after {
  content: '▶'; position: absolute; right: -2px; top: -7px;
  color: var(--blue); font-size: 12px;
}
.dms-flow .otto-end {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--blue); font-weight: 700;
  padding: 4px 10px; border: 1px solid var(--blue-ice);
  background: var(--blue-ice); border-radius: 6px;
}
.dms-flow .tags { font-size: 11px; color: var(--slate); }

/* Dark-frame journey step overrides (products.html) */
.product-shot.dark-frame.journey-vis .step,
.product-shot.dark-frame .step {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(120,160,255,0.15);
  color: #fff;
}
.product-shot.dark-frame.journey-vis .step .nm,
.product-shot.dark-frame .step .nm { color: #fff; }
.product-shot.dark-frame.journey-vis .step .sub,
.product-shot.dark-frame .step .sub { color: rgba(255,255,255,0.55); }
.product-shot.dark-frame.journey-vis .arrow { color: rgba(120,160,255,0.4); }
