/* Lanceroom — main website.
   Design language matches the product: neutral monochrome, dark
   surfaces, hairline edges, no colour accents beyond status dots. */

:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface-2: #161616;
  --line: #232323;
  --line-soft: #1b1b1b;
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --faint: #6b6b6b;
  --tile: #262626;
  --green: #34d399;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-system, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 62px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-tile {
  width: 36px; height: 36px; border-radius: 9px; background: var(--tile);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.brand-tile img { width: 21px; height: 21px; display: block; }
.brand br { display: none; }
.brand-name { font-weight: 650; font-size: 16.5px; letter-spacing: -0.01em; line-height: 1.15; display: block; }
.brand-sub { font-size: 8.5px; letter-spacing: 0.17em; color: var(--faint); font-weight: 600; display: block; margin-top: 2px; line-height: 1.2; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 13.5px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; line-height: 1;
  padding: 10px 18px; border-radius: 9px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text);
  transition: border-color 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { border-color: #3a3a3a; }
.btn-solid { background: var(--text); color: #0a0a0a; border-color: var(--text); }
.btn-solid:hover { background: #e5e5e5; border-color: #e5e5e5; }
.nav .btn { margin-left: 6px; }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 64px; border-bottom: 1px solid var(--line-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 650; letter-spacing: 0.22em; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px;
  background: var(--surface);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.hero h1 {
  font-size: clamp(38px, 5.6vw, 62px); line-height: 1.04; letter-spacing: -0.028em;
  font-weight: 700; max-width: 780px; margin: 26px 0 20px;
}
.hero p.lead { font-size: 17.5px; color: var(--muted); max-width: 620px; }
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-cta .btn { padding: 13px 22px; font-size: 14.5px; border-radius: 10px; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--faint); }

/* Dashboard mock (pure CSS illustration of the live product) */
.mock {
  margin-top: 52px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); overflow: hidden;
  display: grid; grid-template-columns: 208px 1fr; min-height: 340px;
  text-align: left;
}
.mock-side { border-right: 1px solid var(--line-soft); padding: 18px 14px; background: #0d0d0d; }
.mock-brand { display: flex; align-items: center; gap: 9px; padding: 2px 6px 16px; }
.mock-brand .brand-tile { width: 30px; height: 30px; border-radius: 8px; }
.mock-brand .brand-tile img { width: 17px; height: 17px; }
.mock-brand b { font-size: 13.5px; display: block; line-height: 1.15; }
.mock-brand span { font-size: 7.5px; letter-spacing: 0.17em; color: var(--faint); font-weight: 600; }
.mock-brand b + span { display: block; margin-top: 2px; line-height: 1.2; }
.mnav { font-size: 12.5px; color: var(--muted); padding: 7px 9px; border-radius: 7px; display: flex; align-items: center; gap: 8px; }
.mnav.head { color: var(--text); font-weight: 600; }
.mnav.on { background: #1d1d1d; color: var(--text); }
.mnav .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-left: auto; }
.mnav .soon { margin-left: auto; font-size: 8px; letter-spacing: 0.14em; color: var(--faint); border: 1px solid var(--line); padding: 2px 5px; border-radius: 4px; }
.mock-main { padding: 20px 22px; }
.mock-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.stat { border: 1px solid var(--line-soft); border-radius: 10px; padding: 11px 13px; background: var(--surface-2); }
.stat span { font-size: 10.5px; color: var(--faint); display: block; letter-spacing: 0.04em; }
.stat b { font-size: 17px; letter-spacing: -0.01em; }
.stat i { font-style: normal; font-size: 10.5px; color: var(--green); margin-left: 5px; }
.mock-chart {
  margin-top: 12px; border: 1px solid var(--line-soft); border-radius: 10px;
  background: var(--surface-2); height: 172px; display: flex; align-items: flex-end;
  gap: 7px; padding: 18px 16px 14px;
}
.mock-chart div { flex: 1; background: #3d3d3d; border-radius: 3px 3px 0 0; min-height: 8%; }
.mock-chart div.hot { background: #d4d4d4; }
.mock-cap { font-size: 11px; color: var(--faint); margin-top: 10px; }

/* ---------- Sections ---------- */
section { padding: 72px 0; border-bottom: 1px solid var(--line-soft); }
.kicker { font-size: 11px; font-weight: 650; letter-spacing: 0.22em; color: var(--faint); text-transform: uppercase; }
h2 { font-size: clamp(27px, 3.6vw, 38px); letter-spacing: -0.022em; line-height: 1.12; font-weight: 700; margin: 14px 0 12px; max-width: 640px; }
.sub { color: var(--muted); font-size: 16px; max-width: 600px; }

.grid { display: grid; gap: 14px; margin-top: 38px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: 24px 22px;
}
.card h3 { font-size: 16.5px; letter-spacing: -0.01em; display: flex; align-items: center; gap: 9px; }
.card p { color: var(--muted); font-size: 14px; margin-top: 9px; }
.tag {
  font-size: 8.5px; font-weight: 700; letter-spacing: 0.14em;
  padding: 3px 7px; border-radius: 5px; border: 1px solid var(--line); color: var(--faint);
}
.tag.live { color: #0a0a0a; background: var(--green); border-color: var(--green); }
.step-num {
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 650; color: var(--muted); background: var(--surface-2);
}
.quote { font-size: 16.5px; line-height: 1.5; letter-spacing: -0.005em; }
.quote-by { margin-top: 16px; font-size: 13px; color: var(--muted); }
.quote-by b { color: var(--text); display: block; font-size: 13.5px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 84px 0; }
.cta-band h2 { margin-left: auto; margin-right: auto; }
.cta-band .sub { margin: 0 auto; }
.cta-band .hero-cta { justify-content: center; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 760px; padding: 56px 0 72px; }
.prose h1 { font-size: 34px; letter-spacing: -0.02em; margin-bottom: 8px; }
.prose .updated { color: var(--faint); font-size: 13px; margin-bottom: 34px; }
.prose h2 { font-size: 19px; margin: 32px 0 10px; max-width: none; }
.prose h3 { font-size: 15.5px; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--muted); font-size: 14.5px; }
.prose p { margin-bottom: 12px; }
.prose ul { margin: 0 0 12px 20px; }
.prose li { margin-bottom: 5px; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
footer { padding: 34px 0 40px; }
.foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.foot .copy { font-size: 12.5px; color: var(--faint); }
.foot nav { margin-left: auto; display: flex; gap: 22px; font-size: 13px; color: var(--muted); }
.foot nav a:hover { color: var(--text); }

/* ---------- Framework components (sales page) ---------- */

/* Buttons / CTA helpers */
.btn-lg { padding: 13px 22px; font-size: 14.5px; border-radius: 10px; }
.cta-row { margin-top: 34px; display: flex; justify-content: center; }
.row-cta { margin-top: 24px; }
.fud { margin-top: 14px; font-size: 13px; color: var(--faint); }
.body-text { color: var(--muted); font-size: 16.5px; }
.narrow { max-width: 720px; margin: 0 auto; text-align: center; }
.narrow h2 { margin-left: auto; margin-right: auto; }

/* Hero two-column */
.hero-grid {
  display: grid; grid-template-columns: 0.66fr 1.34fr;
  gap: 52px; align-items: center;
}
.hero-grid h1 { margin-top: 24px; }
.hero-grid .mock { margin-top: 0; grid-template-columns: 148px 1fr; }
.hero-grid .mock-stats { grid-template-columns: repeat(2, 1fr); }
.hero-grid .mock-chart { height: 148px; }

/* Proof strip */
.strip {
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  padding: 16px 0; text-align: center;
  font-size: 11.5px; letter-spacing: 0.2em; font-weight: 600; color: var(--muted);
  line-height: 2;
}

/* Proof section */
.stat-num { font-size: 46px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }

/* Benefit rows */
.brow {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
}
.brow + .brow { margin-top: 64px; padding-top: 64px; border-top: 1px solid var(--line-soft); }
.bhead { font-size: clamp(22px, 2.8vw, 30px); letter-spacing: -0.02em; line-height: 1.15; font-weight: 700; margin: 12px 0 12px; }
.btext .body-text { font-size: 15.5px; }

/* CSS visual panels */
.panel {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: 20px 22px 10px;
}
.panel-head {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 10.5px; font-weight: 650; letter-spacing: 0.18em; color: var(--faint);
  padding-bottom: 12px; border-bottom: 1px solid var(--line-soft);
}
.panel-head .live-dot { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.panel-head .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.prow {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px; color: var(--muted);
}
.prow:last-child { border-bottom: none; }
.prow b { color: var(--text); font-size: 15px; letter-spacing: -0.01em; }
.prow i { font-style: normal; font-size: 11.5px; color: var(--green); margin-left: 6px; }
.prow .ok { color: var(--green); font-size: 15px; flex: none; }

/* Big proof */
.bigproof { padding: 36px 34px; }
.big-quote { font-size: clamp(20px, 2.6vw, 27px); line-height: 1.42; letter-spacing: -0.01em; }
.ministats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line-soft);
}
.ministat { font-size: 14.5px; font-weight: 600; display: flex; align-items: center; gap: 9px; }
.ministat::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: none; }

/* Team */
.team-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.mono {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); padding: 44px 24px; text-align: center;
}
.mono-badge {
  width: 118px; height: 118px; border-radius: 26px; background: var(--tile);
  display: flex; align-items: center; justify-content: center;
  font-size: 42px; font-weight: 700; letter-spacing: -0.02em; margin: 0 auto 20px;
}
.mono-name { font-size: 17px; font-weight: 650; }
.mono-role { font-size: 13px; color: var(--muted); margin-top: 3px; }

/* Guarantee */
.center-card { text-align: center; padding: 40px 34px; }
.center-card h2 { margin-left: auto; margin-right: auto; }
.center-card .body-text { max-width: 640px; margin: 0 auto; }

/* FAQ */
.faq-h { margin-left: auto; margin-right: auto; text-align: center; }
.faq { max-width: 760px; margin: 36px auto 0; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq details:first-child { border-top: 1px solid var(--line-soft); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 4px;
  font-size: 15.5px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--faint); font-size: 19px; font-weight: 400; flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); font-size: 14.5px; padding: 0 4px 19px; max-width: 660px; }

/* Department sub-rows (inside module cards) */
.subrows { margin-top: 16px; border-top: 1px solid var(--line-soft); }
.subrow {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 9px 0; border-bottom: 1px solid var(--line-soft);
  font-size: 12.5px; color: var(--muted);
}
.subrow:last-child { border-bottom: none; padding-bottom: 2px; }
.subrow .tag { flex: none; }

/* ---------- Hero animation (pure CSS, scoped to the hero mock) ---------- */
@keyframes barGrow {
  from { transform: scaleY(0.12); }
  to { transform: scaleY(1); }
}
@keyframes barBreathe {
  from { transform: scaleY(1); }
  to { transform: scaleY(0.93); }
}
.hero .mock-chart div {
  transform-origin: bottom center;
  animation: barGrow 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both,
             barBreathe 4.5s ease-in-out infinite alternate;
}
.hero .mock-chart div:nth-child(1)  { animation-delay: 0s, 0.95s; }
.hero .mock-chart div:nth-child(2)  { animation-delay: 0.07s, 1.02s; }
.hero .mock-chart div:nth-child(3)  { animation-delay: 0.14s, 1.09s; }
.hero .mock-chart div:nth-child(4)  { animation-delay: 0.21s, 1.16s; }
.hero .mock-chart div:nth-child(5)  { animation-delay: 0.28s, 1.23s; }
.hero .mock-chart div:nth-child(6)  { animation-delay: 0.35s, 1.30s; }
.hero .mock-chart div:nth-child(7)  { animation-delay: 0.42s, 1.37s; }
.hero .mock-chart div:nth-child(8)  { animation-delay: 0.49s, 1.44s; }
.hero .mock-chart div:nth-child(9)  { animation-delay: 0.56s, 1.51s; }
.hero .mock-chart div:nth-child(10) { animation-delay: 0.63s, 1.58s; }
.hero .mock-chart div:nth-child(11) { animation-delay: 0.70s, 1.65s; }
.hero .mock-chart div:nth-child(12) { animation-delay: 0.77s, 1.72s; }

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.45); opacity: 1; }
  50% { box-shadow: 0 0 0 5px rgba(52, 211, 153, 0); opacity: 0.75; }
}
.hero .mnav .dot { animation: dotPulse 2.4s ease-in-out infinite; }

@keyframes sweepGlow {
  0% { background-color: rgba(245, 245, 245, 0.09); }
  18% { background-color: transparent; }
  100% { background-color: transparent; }
}
.hero .mnav.sweep { animation: sweepGlow 9s ease-in-out infinite; }
.hero .mnav.sweep.d1 { animation-delay: 1s; }
.hero .mnav.sweep.d2 { animation-delay: 4s; }
.hero .mnav.sweep.d3 { animation-delay: 7s; }

/* Agents-at-work panel (inside the hero mock, under the sample caption) */
.agents-panel {
  margin-top: 12px; border: 1px solid var(--line-soft); border-radius: 10px;
  background: var(--surface-2); padding: 12px 10px 6px;
}
.agents-head {
  font-size: 10px; font-weight: 650; letter-spacing: 0.18em; color: var(--faint);
  padding: 0 6px 8px;
}
.agent-row {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 6px; border-radius: 6px;
  font-size: 12px; color: var(--muted);
}
.agent-row b { color: var(--text); font-weight: 600; }
.agent-row .adot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex: none;
  animation: dotPulse 2.4s ease-in-out infinite;
}
.agent-row.sweep { animation: sweepGlow 9s ease-in-out infinite; }
.agent-row.sweep.a1 { animation-delay: 2.5s; }
.agent-row.sweep.a2 { animation-delay: 5.5s; }
.agent-row.sweep.a3 { animation-delay: 8.5s; }
.agent-row.a2 .adot { animation-delay: 0.8s; }
.agent-row.a3 .adot { animation-delay: 1.6s; }

@media (prefers-reduced-motion: reduce) {
  .hero .mock-chart div,
  .hero .mnav .dot,
  .hero .mnav.sweep,
  .hero .agent-row.sweep,
  .hero .agent-row .adot,
  .trend-line { animation: none; stroke-dashoffset: 0; }
}

/* Final recap */
.recap-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 52px; align-items: center; }
.recap-grid h2 { margin-top: 24px; }
.checklist { list-style: none; margin-top: 22px; }
.checklist li {
  display: flex; align-items: center; gap: 11px;
  font-size: 15px; padding: 6px 0;
}
.checklist li::before {
  content: "\2713"; flex: none;
  width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface-2);
  font-size: 11px; color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
}
.mock.mini { margin-top: 0; grid-template-columns: 1fr; }
.mock.mini .mock-stats { grid-template-columns: repeat(2, 1fr); }
.mock.mini .mock-chart { height: 148px; }

/* ---------- Agent cards (home) ---------- */
section#agents { background: #0d0d0d; }
.agent-card {
  display: flex; flex-direction: column;
  border-top: 2px solid #2e2e2e; background: var(--surface-2);
}
.agent-card .row-cta { margin-top: auto; padding-top: 22px; }
.agent-card .row-cta .btn { width: 100%; justify-content: center; padding: 11px 18px; }
.micro { list-style: none; margin-top: 14px; }
.micro li {
  display: flex; align-items: baseline; gap: 9px;
  font-size: 13px; color: var(--muted); padding: 4px 0;
}
.micro li::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--faint); flex: none; position: relative; top: -2px;
}

/* ---------- Agent detail pages ---------- */
.hero-status { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero-status .tag { font-size: 10px; padding: 5px 9px; }
.feat-group { margin-top: 46px; }
.feat-group:first-child { margin-top: 0; }
.feat-group > h3 {
  font-size: 13px; font-weight: 650; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--faint);
  padding-bottom: 14px; border-bottom: 1px solid var(--line-soft);
}
.feat-group .grid { margin-top: 22px; }

/* ---------- Real-dashboard mirror components ---------- */
.dbx {
  border: 1px solid var(--line); border-radius: 12px;
  background: #0d0d0d; padding: 14px; text-align: left;
}
.dbx + .dbx { margin-top: 14px; }
.dbx-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.dbx-title { font-size: 13.5px; font-weight: 650; letter-spacing: -0.01em; }
.dbx-counts { display: inline-flex; gap: 6px; }
.cnt { font-size: 9.5px; font-weight: 700; letter-spacing: 0.03em; padding: 3px 8px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.cnt.red { color: #f87171; border-color: rgba(248,113,113,0.4); background: rgba(248,113,113,0.08); }
.cnt.amber { color: #fbbf24; border-color: rgba(251,191,36,0.4); background: rgba(251,191,36,0.08); }
.cnt.green { color: var(--green); border-color: rgba(52,211,153,0.4); background: rgba(52,211,153,0.08); }

.rec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rec-card {
  border: 1px solid #1e3d2e; border-radius: 10px;
  background: linear-gradient(180deg, #0c1712, #0a0f0d);
  padding: 12px; display: flex; flex-direction: column; gap: 7px;
}
.tag-work {
  align-self: flex-start; font-size: 8.5px; font-weight: 700; letter-spacing: 0.12em;
  color: var(--green); border: 1px solid rgba(52,211,153,0.45);
  background: rgba(52,211,153,0.08); padding: 3px 7px; border-radius: 5px;
}
.rec-card h4 { font-size: 12.5px; line-height: 1.35; letter-spacing: -0.01em; font-weight: 650; }
.rec-card p { font-size: 11px; color: var(--muted); line-height: 1.45; }
.markread {
  align-self: flex-end; margin-top: auto; font-size: 10.5px; font-weight: 700;
  color: #04150d; background: #10b981; border-radius: 999px; padding: 5px 11px; white-space: nowrap;
}

.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.mpill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; color: var(--muted); border: 1px solid var(--line);
  background: var(--surface-2); padding: 4px 9px; border-radius: 999px; white-space: nowrap;
}
.mpill .cdot { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.mpill.on { color: var(--text); border-color: #3a3a3a; }
.trend-box { border: 1px solid var(--line-soft); border-radius: 10px; background: var(--surface-2); padding: 10px 12px 6px; }
.trend-box svg { display: block; width: 100%; height: auto; }
.trend-legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 9.5px; color: var(--faint); padding: 7px 2px 3px; }
.trend-legend span { display: inline-flex; align-items: center; gap: 5px; }
.trend-legend i { width: 12px; height: 2px; border-radius: 2px; display: inline-block; }
.trend-line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: lineDraw 1.8s ease forwards; }
.trend-line.l2 { animation-delay: 0.25s; }
.trend-line.l3 { animation-delay: 0.5s; }
.trend-line.l4 { animation-delay: 0.75s; }
@keyframes lineDraw { to { stroke-dashoffset: 0; } }

.ads-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.adcard { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); overflow: hidden; text-align: left; }
.thumb { position: relative; height: 88px; background: radial-gradient(120% 140% at 20% 10%, #3d3d3d 0%, #232323 48%, #131313 100%); }
.thumb.t2 { background: radial-gradient(120% 140% at 80% 0%, #454545 0%, #262626 50%, #151515 100%); }
.thumb.t3 { background: radial-gradient(130% 150% at 50% 110%, #3a3a3a 0%, #202020 55%, #121212 100%); }
.vbadge {
  position: absolute; top: 8px; left: 8px; font-size: 8.5px; font-weight: 700; letter-spacing: 0.06em;
  color: #f5f5f5; background: rgba(0,0,0,0.55); padding: 3px 7px; border-radius: 5px;
}
.health {
  position: absolute; top: 8px; right: 8px; font-size: 9px; font-weight: 700; color: #111;
  background: #f5f5f5; padding: 3px 8px; border-radius: 999px;
  display: inline-flex; gap: 5px; align-items: center;
}
.health i { width: 5px; height: 5px; border-radius: 50%; background: #10b981; }
.thumb-name {
  position: absolute; left: 10px; right: 10px; bottom: 8px;
  font-size: 12px; font-weight: 650; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,0.65);
}
.adcard-body { padding: 10px 12px 12px; }
.adcard-body .q { font-size: 11px; color: var(--muted); line-height: 1.45; }
.dt-label { font-size: 8.5px; letter-spacing: 0.16em; color: var(--faint); font-weight: 650; margin-top: 10px; }
.dt-dots { display: flex; flex-wrap: wrap; gap: 8px; font-size: 8.5px; color: var(--faint); margin-top: 4px; }
.dt-dots span { display: inline-flex; align-items: center; gap: 4px; }
.dt-dots .cdot { width: 5px; height: 5px; border-radius: 50%; }
.spark { margin-top: 6px; }
.spark svg { display: block; width: 100%; height: auto; }

.achips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.achip {
  font-size: 10.5px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); padding: 5px 11px; border-radius: 999px;
  display: inline-flex; gap: 6px; align-items: center;
}
.achip .cdot { width: 6px; height: 6px; border-radius: 50%; }
.achip.on { background: #2563eb; border-color: #2563eb; color: #fff; }
.anom-rule { font-size: 10.5px; color: var(--faint); margin: -4px 0 12px; }
.anom-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.anom-card { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); padding: 12px; text-align: left; }
.anom-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.anom-date { font-size: 12px; font-weight: 700; }
.delta {
  font-size: 10px; font-weight: 700; color: #f87171;
  background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.35);
  padding: 3px 8px; border-radius: 999px; white-space: nowrap;
}
.anom-nums { display: flex; gap: 20px; margin-top: 10px; }
.anom-nums span { font-size: 9px; letter-spacing: 0.08em; color: var(--faint); display: block; margin-bottom: 2px; }
.anom-nums b { font-size: 12.5px; letter-spacing: -0.01em; }
.anom-card p { font-size: 11px; color: var(--muted); margin-top: 9px; line-height: 1.5; }
.anom-foot { font-size: 8.5px; letter-spacing: 0.16em; color: var(--faint); margin-top: 10px; font-weight: 650; }

/* ---------- Nested sidebar tree (mock) ---------- */
.msub {
  margin: 2px 0 6px 10px; padding-left: 8px;
  border-left: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 2px;
}
.mnav.sub { font-size: 11.5px; padding: 5px 9px; }

/* ---------- Demo ad card grid (mock + ads page) ---------- */
.demo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.launch { font-size: 9.5px; color: var(--faint); letter-spacing: 0.02em; margin-bottom: 6px; }
.thumb-name {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.health i.amber { background: #f59e0b; }
.health i.red { background: #f87171; }
.mock .rec-card { padding: 10px; }
.mock .rec-card h4 { font-size: 11.5px; }
.mock .rec-card p { font-size: 10.5px; }
.mock .adcard-body .q {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.prow.sub { padding-left: 20px; font-size: 12.5px; }

/* ---------- Values grid (real breakdown cards, Values mode) ---------- */
.vals { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin-top: 10px; }
.val {
  background: var(--surface-2); border: 1px solid var(--line-soft);
  border-radius: 6px; padding: 5px 6px; min-width: 0;
}
.val span {
  font-size: 8px; letter-spacing: 0.03em; color: var(--faint);
  display: block; white-space: nowrap; overflow: hidden; margin-bottom: 1px;
}
.val b { font-size: 11px; letter-spacing: -0.01em; white-space: nowrap; }
.mock .thumb { height: 72px; }
.mock .vals { gap: 4px; }
.mock .val { padding: 4px; }
.mock .val span { font-size: 6.8px; white-space: normal; line-height: 1.15; }
.mock .val b { font-size: 9px; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .anom-grid { grid-template-columns: 1fr; }
  .ads-row { grid-template-columns: repeat(2, 1fr); }
  .demo-grid { grid-template-columns: repeat(2, 1fr); }
  .mock { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .mock-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .recap-grid, .team-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-grid .mock { grid-template-columns: 1fr; }
  .brow { grid-template-columns: 1fr; gap: 30px; }
  .brow .bvisual { order: -1; }
  .ministats { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .rec-grid, .ads-row, .demo-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 48px; }
  section { padding: 52px 0; }
  .bigproof { padding: 28px 22px; }
  .center-card { padding: 32px 22px; }
  .brow + .brow { margin-top: 48px; padding-top: 48px; }
}

/* Ad cards: real creative image + single-line values (Zabi, 2026-10-23) */
.thumb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 52%, rgba(0,0,0,0.55) 100%);
}
.valine { margin-top: 9px; font-size: 9.5px; line-height: 1.55; color: var(--faint); }
.valine b { color: var(--text); font-weight: 600; }
.mock .thumb-name { font-size: 10.5px; }
.mock .launch { font-size: 8.5px; }
.mock .adcard-body .q { font-size: 9.5px; }

/* Mock sidebar brand: keep the sub-line inside the narrow sidebar */
.mock-brand span span { letter-spacing: 0.13em; }

/* Hero video — the real dashboard walkthrough in a browser frame */
.hero-video {
  margin: 0; border: 1px solid #2a2a2a; border-radius: 16px; overflow: hidden;
  background: #0d0d0d; box-shadow: 0 40px 90px rgba(0,0,0,0.6), 0 4px 18px rgba(0,0,0,0.5);
}
.hv-bar {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  background: #141414; border-bottom: 1px solid #232323;
}
.hv-dots { display: inline-flex; gap: 6px; }
.hv-dots i { width: 9px; height: 9px; border-radius: 50%; background: #2e2e2e; display: block; }
.hv-url {
  font-size: 11px; color: var(--muted); background: #1c1c1c; border: 1px solid #262626;
  padding: 3px 12px; border-radius: 999px; letter-spacing: 0.02em;
}
.hero-video video { display: block; width: 100%; height: auto; background: #000; }
.hero-grid > * { min-width: 0; }
.hero-video { width: 100%; }
