/* =============================================================
   citesc-landing.css
   Terminal palette + V1 "bloomberg-pure" landing page styles.
   Extracted from docs/design/homepage.html V1 variant.
   ============================================================= */

/* ─── DESIGN TOKENS ─────────────────────────────────────────── */
/* Default = dark theme. Light overrides under [data-theme="light"]. */
:root {
  --bg:          #0b0d10;
  --bg-2:        #13161b;
  --bg-3:        #1a1e24;
  --ink:         #e8e6e1;
  --ink-2:       #a8a59d;
  --ink-3:       #6b6862;
  --rule:        #26292f;
  --rule-2:      #34383f;
  --accent:      #4ade80;    /* terminal green */
  --accent-dim:  #2f7a4d;
  --hot:         #ff5a4a;
  --amber:       #f5b645;
  --cream:       #f2efe6;
  --wa:          #25D366;    /* WhatsApp brand */

  --mono:  "JetBrains Mono", ui-monospace, Menlo, monospace;
  --serif: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --sans:  "JetBrains Mono", ui-monospace, Menlo, monospace;
}

/* ─── LIGHT THEME (toggle via [data-theme="light"] on <html>) ── */
/* Palette from docs/Citesc.Eu Light/Megamind Light.html — oklch() perceptual
   colors. Cream paper background with faintly-green near-black ink for warmth. */
[data-theme="light"] {
  --bg:          oklch(0.985 0.005 95);   /* cream paper */
  --bg-2:        oklch(0.972 0.006 95);
  --bg-3:        oklch(0.955 0.008 95);   /* card surface */
  --ink:         oklch(0.22 0.015 150);   /* near-black, faintly green */
  --ink-2:       oklch(0.40 0.012 150);
  --ink-3:       oklch(0.58 0.010 150);
  --rule:        oklch(0.88 0.008 95);
  --rule-2:      oklch(0.82 0.010 95);
  --accent:      oklch(0.52 0.16 145);    /* saturated green */
  --accent-dim:  oklch(0.93 0.06 145);    /* light green tint */
  --hot:         oklch(0.55 0.18 28);
  --amber:       oklch(0.68 0.16 75);
  --cream:       oklch(0.22 0.015 150);   /* re-target to dark ink so cream-text refs invert */
  /* fonts + whatsapp unchanged */
}

/* Theme-toggle button — compact icon-only square in sysbar / admin nav */
.theme-toggle {
  background: transparent;
  color: var(--ink-2);
  border: 1px solid var(--rule);
  padding: 0;
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: color 160ms, border-color 160ms;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle .glyph { font-size: 14px; line-height: 1; }

/* ─── BASE RESETS ────────────────────────────────────────────── */
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: #000; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ─── SYSBAR (sticky 34px ticker bar) ───────────────────────── */
.sysbar {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 16px;
  height: 34px;
  padding: 0 20px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}
.sysbar .now { color: var(--accent); }
.sysbar-right { display: inline-flex; align-items: center; gap: 10px; }
.sysbar .dot {
  display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--accent);
  margin-right: 6px; box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.8s infinite; vertical-align: 1px;
}

@keyframes pulse  { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* Sysbar stats — 3 live metrics inline */
.sysbar-stats {
  display: flex; align-items: center; gap: 16px;
  overflow: hidden;
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-3);
}
.sysbar-stat {
  display: inline-flex; align-items: baseline; gap: 6px;
  white-space: nowrap;
}
.sysbar-stat .k {
  color: var(--ink-3); font-size: 9px;
  letter-spacing: .15em; text-transform: uppercase;
}
.sysbar-stat .v {
  color: var(--ink); font-weight: 500; font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.sysbar-stat .u {
  color: var(--ink-3); font-size: 9px;
}
.sysbar-stat .live-dot {
  color: var(--accent);
  font-size: 8px;
  animation: pulse 1.8s infinite;
  margin-left: 2px;
}
.sysbar-stats .sep {
  color: var(--rule-2); font-size: 11px;
}

@media (max-width: 700px) {
  .sysbar-stats { gap: 8px; font-size: 10px; }
  .sysbar-stat .k { display: none; }
}

/* ─── TOPNAV ─────────────────────────────────────────────────── */
/* Named .topnav (not .nav) to avoid collision with Bootstrap's .nav */
.topnav {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 40px;
  padding: 20px 40px;
  border-bottom: 1px solid var(--rule);
}
.topnav .brand {
  display: flex; align-items: baseline; gap: 10px;
  color: var(--ink); text-decoration: none;
  transition: color 160ms;
}
.topnav .brand:hover, .topnav .brand:focus { color: var(--ink); text-decoration: none; }
.topnav .brand .mark {
  font-family: var(--mono); font-weight: 700;
  font-size: 15px; letter-spacing: -0.02em;
  color: var(--ink);
}
.topnav .brand:hover .mark { color: var(--accent); }
.topnav .brand .mark::before { content: "▮ "; color: var(--accent); }
.topnav .brand .sub {
  font-family: var(--mono); font-size: 10px; color: var(--ink-3);
  letter-spacing: 0.16em; text-transform: uppercase;
}
.topnav .links {
  display: flex; gap: 28px;
  font-family: var(--mono); font-size: 12px; color: var(--ink-2);
}
.topnav .links a:hover { color: var(--accent); }
.topnav .cta {
  font-family: var(--mono); font-size: 12px;
  padding: 8px 14px; border: 1px solid var(--accent); color: var(--accent);
}
.topnav .cta:hover { background: var(--accent); color: #000; }

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border-bottom: 1px solid var(--rule);
}
.hero-left {
  padding: 64px 56px;
  border-right: 1px solid var(--rule);
  display: flex; flex-direction: column; justify-content: flex-start;
  position: relative;
}
.hero-kicker {
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em;
  color: var(--ink-3); text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.hero-kicker .blip {
  width: 6px; height: 6px; background: var(--accent);
  border-radius: 50%; box-shadow: 0 0 10px var(--accent);
  animation: pulse 1.8s infinite;
}
.hero h1 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: clamp(44px, 5.6vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin: 40px 0 24px;
  color: var(--ink);
}
.hero h1 em {
  font-style: normal;
  font-family: var(--serif);
  font-weight: 400;
  color: var(--accent);
}
.hero h1 .caret {
  display: inline-block; width: 0.5em; height: 0.85em;
  background: var(--accent); vertical-align: -0.08em; margin-left: 4px;
  animation: blink 1s steps(2) infinite;
}
.hero p.lede {
  font-family: var(--sans);
  font-size: 17px; line-height: 1.55; max-width: 52ch;
  color: var(--ink-2); margin: 0 0 40px;
}
.hero .ctas { display: flex; gap: 12px; }

.btn-primary {
  font-family: var(--mono); font-size: 13px; letter-spacing: .04em;
  padding: 14px 22px; background: var(--accent); color: #000;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-primary:hover { background: #6ef09a; color: #000; }
.btn-ghost {
  font-family: var(--mono); font-size: 13px; letter-spacing: .04em;
  padding: 14px 22px; border: 1px solid var(--rule-2); color: var(--ink);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Live feed panel */
.hero-right {
  display: flex; flex-direction: column;
  min-height: 0; overflow: hidden;
  background:
    linear-gradient(0deg, var(--bg) 0%, transparent 40px),
    repeating-linear-gradient(0deg, transparent 0, transparent 31px, rgba(255,255,255,.02) 31px, rgba(255,255,255,.02) 32px);
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  letter-spacing: .1em; text-transform: uppercase;
}
.panel-head .live { color: var(--accent); display: flex; align-items: center; gap: 8px; }
.panel-head .live::before {
  content: ""; width: 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
  animation: pulse 1.4s infinite;
}
.feed-list { flex: 1 1 0; overflow-y: auto; position: relative; min-height: 0; }
.feed-scroll { display: flex; flex-direction: column; }
.feed-row {
  display: grid; grid-template-columns: 68px 90px 1fr 90px;
  align-items: center; gap: 0;
  padding: 12px 24px;
  border-bottom: 1px dashed var(--rule);
  font-family: var(--mono); font-size: 12px;
  animation: feedIn .4s ease-out;
}
.feed-row.hot { background: linear-gradient(90deg, rgba(255,90,74,.08), transparent 40%); }
.feed-row.empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--ink-3);
    font-style: italic;
}
.feed-row .time  { color: var(--ink-3); }
.feed-row .src   { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 12px; }
.feed-row .title { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--sans); font-size: 13px; }
.feed-row .tag   { color: var(--ink-3); font-size: 10px; text-align: right; letter-spacing: .08em; }
.feed-row.hot .tag          { color: var(--hot); }
.feed-row.hot .title::after { content: " ●"; color: var(--hot); }

@keyframes blink  { 50% { opacity: 0; } }
@keyframes feedIn {
  0%   { opacity: 0; transform: translateY(8px); background: rgba(74,222,128,.12); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ─── STATS BAND ─────────────────────────────────────────────── */
.stats {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-bottom: 1px solid var(--rule);
}
.stat {
  padding: 40px 28px;
  border-right: 1px solid var(--rule);
  position: relative;
}
.stat:last-child { border-right: 0; }
.stat .num   { font-family: var(--mono); font-weight: 500; font-size: 38px; letter-spacing: -0.02em; color: var(--ink); }
.stat .label { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-top: 10px; }
.stat .spark { position: absolute; right: 16px; top: 16px; font-family: var(--mono); font-size: 10px; color: var(--accent); }

/* Count-up target class */
.stat .num .cu { }

/* ─── HEATSTRIP ──────────────────────────────────────────────── */
.heatstrip {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-top: 1px solid var(--rule);
  background: var(--bg-2);
}
.heatstrip .label {
  padding: 28px;
  border-right: 1px solid var(--rule);
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  letter-spacing: .14em; text-transform: uppercase;
}
.heatstrip .label b {
  display: block; color: var(--ink); font-family: var(--serif);
  font-weight: 400; font-size: 22px; text-transform: none;
  letter-spacing: 0; margin-top: 6px;
}
.heats { display: grid; grid-template-columns: repeat(8, 1fr); }
.heat {
  padding: 18px 16px;
  border-right: 1px solid var(--rule);
  font-family: var(--mono);
  position: relative;
  display: flex; flex-direction: column; gap: 8px;
}
.heat:last-child { border-right: 0; }
.heat .t { font-size: 10px; color: var(--ink-3); letter-spacing: .08em; }
.heat .c { font-size: 20px; color: var(--ink); }
.heat .d { font-size: 10px; color: var(--accent); }
.heat .d.neg { color: var(--hot); }
.heat::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  height: 3px; background: var(--accent);
  width: var(--w, 20%);
  transition: width 800ms ease-out;
}

/* ─── SECTION ────────────────────────────────────────────────── */
.section {
  padding: 100px 40px;
  border-bottom: 1px solid var(--rule);
}
.section-head {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 64px;
  padding-bottom: 24px;
  border-bottom: 1px dashed var(--rule);
}
.section-head .eyebrow {
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  letter-spacing: .14em; text-transform: uppercase;
}
.section-head h2 {
  font-family: var(--mono); font-weight: 500;
  font-size: 44px; line-height: 1.05; letter-spacing: -0.02em;
  margin: 0; color: var(--ink);
}
.section-head h2 em { font-family: var(--serif); font-style: normal; color: var(--accent); font-weight: 400; }
.section-head p {
  font-size: 18px; line-height: 1.55; color: var(--ink-2);
  max-width: 60ch; margin: 0;
}

/* ─── CAPABILITIES ───────────────────────────────────────────── */
.capabilities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--rule); }
.cap {
  padding: 36px 32px;
  border-right: 1px solid var(--rule);
  position: relative; min-height: 300px;
  display: flex; flex-direction: column; gap: 20px;
}
.cap:last-child { border-right: 0; }
.cap .idx { font-family: var(--mono); font-size: 10px; color: var(--accent); letter-spacing: .12em; }
.cap h3   { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.05; margin: 0; color: var(--ink); }
.cap p    { font-family: var(--sans); font-size: 15px; line-height: 1.55; color: var(--ink-2); margin: 0; }
.cap .diag {
  margin-top: auto;
  border-top: 1px dashed var(--rule);
  padding-top: 16px;
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  display: grid; gap: 4px;
}
.cap .diag span b { color: var(--accent); font-weight: 500; }

/* ─── AUDIENCE ───────────────────────────────────────────────── */
/* Default 4-col; Razor may override to 5-col via inline style */
.audience {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--rule);
}
.aud {
  padding: 36px 28px;
  border-right: 1px solid var(--rule);
  min-height: 360px;
  display: flex; flex-direction: column;
}
.aud:last-child { border-right: 0; }
.aud .num { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: .12em; }
.aud h3   { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 12px 0 20px; color: var(--ink); }
.aud ul   { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.aud li {
  font-size: 14px; line-height: 1.45; color: var(--ink-2);
  padding-left: 18px; position: relative;
}
.aud li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-family: var(--mono); }

/* ─── FEED BOUNDARY ──────────────────────────────────────────── */
/* Separator band between live feed and static content blocks */
.feed-boundary {
  background: var(--bg-2);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  padding: 20px 40px;
  text-align: center;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
.foot {
  padding: 48px 40px 32px;
  border-top: 1px solid var(--rule);
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 40px;
  font-family: var(--mono); font-size: 11px; color: var(--ink-3);
  letter-spacing: .06em;
}
.foot .big {
  font-family: var(--sans); font-weight: 500; font-size: 40px;
  line-height: 1.05; color: var(--ink); letter-spacing: -0.02em;
}
.foot a:hover { color: var(--accent); }
.foot .links  { display: flex; gap: 20px; }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-left { border-right: 0; border-bottom: 1px solid var(--rule); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats .stat:nth-child(-n+3) { border-bottom: 1px solid var(--rule); }
  .stats .stat:nth-child(3n) { border-right: 0; }
  .audience { grid-template-columns: 1fr 1fr !important; }
  .capabilities { grid-template-columns: 1fr; }
  .cap { border-right: 0; border-bottom: 1px solid var(--rule); }
}

@media (max-width: 600px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats .stat:nth-child(2n) { border-right: 0; }
  .heats { grid-template-columns: repeat(4, 1fr); }
  .audience { grid-template-columns: 1fr !important; }
  .topnav .links { display: none; }
}

/* ─── REDUCED MOTION ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .sysbar .dot, .panel-head .live::before { animation: none; }
  .hero h1 .caret { animation: none; opacity: 1; }
  .heats .heat::after { transition: none !important; }
}

/* Live SignalR flash on sysbar stats */
.sysbar-stat .v {
    transition: color 500ms, text-shadow 500ms;
}
.sysbar-stat .v.flash {
    color: var(--accent);
    text-shadow: 0 0 12px var(--accent);
    transition: color 100ms, text-shadow 100ms;
}

.sysbar .dot.paused {
    background: var(--amber);
    box-shadow: 0 0 8px var(--amber);
    animation: none;
}

/* ============================================================= */
/*  MEGAMIND AI SYNTHESIS — lives inside hero-left, under CTAs   */
/* ============================================================= */
.megamind-block {
  margin-top: 40px;
  padding: 20px 20px;
  border: 1px solid var(--rule);
  background: var(--bg-2);
}
.megamind-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px; margin-bottom: 20px;
  border-bottom: 1px dashed var(--rule);
  font-family: var(--mono); font-size: 11px;
  color: var(--ink-3); letter-spacing: .12em; text-transform: uppercase;
  flex-wrap: wrap; gap: 12px;
}
.megamind-head .tag { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.megamind-head .tag b { color: var(--accent); text-transform: none; letter-spacing: 0; font-weight: 500; }
.megamind-head .live {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.8s infinite;
}
.megamind-head .meta { color: var(--ink-3); font-size: 10px; }

.megamind-summary {
  font-family: var(--sans); font-size: 15px; line-height: 1.55;
  color: var(--ink-2); margin: 0 0 20px;
}

.megamind-meters {
  display: grid; grid-template-columns: 1fr auto; gap: 24px;
  align-items: start;
  margin-bottom: 16px;
  font-family: var(--mono);
}
.megamind-meters .meter { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.megamind-meters .meter:last-child { align-items: flex-end; }
.megamind-meters .meter > .label {
  font-size: 10px; color: var(--ink-3);
  letter-spacing: .1em; text-transform: uppercase;
}
.megamind-meters .bar {
  height: 4px; background: var(--bg-3); position: relative;
}
.megamind-meters .fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--accent); transition: width 600ms ease-out;
}
.megamind-meters .fill.neg { background: var(--hot); }
.megamind-meters .fill.pos { background: var(--accent); }
.megamind-meters .fill.neu { background: var(--amber); }
.megamind-meters .value { font-size: 12px; color: var(--ink-2); }
.megamind-meters .dots { display: flex; gap: 4px; }
.megamind-meters .dot {
  width: 10px; height: 10px;
  border: 1px solid var(--rule-2);
}
.megamind-meters .dot.on {
  background: var(--accent); border-color: var(--accent);
  box-shadow: 0 0 4px rgba(74,222,128,.4);
}

.megamind-trending {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-family: var(--mono);
}
.megamind-trending > .label {
  font-size: 10px; color: var(--ink-3);
  letter-spacing: .1em; text-transform: uppercase;
  margin-right: 4px;
}
.megamind-trending .tag-pill {
  font-size: 11px; padding: 4px 10px;
  border: 1px solid var(--rule-2); color: var(--ink-2);
  background: var(--bg-2);
}
.megamind-trending .tag-pill.empty {
  border: 0; background: transparent; color: var(--ink-3); font-style: italic;
}

@media (max-width: 700px) {
  .megamind-block { padding: 16px; margin-top: 24px; }
  .megamind-meters { grid-template-columns: 1fr; gap: 12px; }
  .megamind-summary { font-size: 14px; }
}

/* ─── HERO FEED FILTER BAR ───────────────────────────────────── */
.hero-right .panel-filters {
  padding: 10px 16px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 8px;
}
.hero-right .panel-search {
  background: var(--bg); border: 1px solid var(--rule-2); color: var(--ink);
  padding: 6px 10px; font-family: var(--mono); font-size: 11px; width: 100%;
  outline: none;
  transition: border-color 150ms;
}
.hero-right .panel-search:focus { border-color: var(--accent); }
.hero-right .panel-search::placeholder { color: var(--ink-3); }

.hero-right .panel-controls {
  display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap;
}
.hero-right .panel-country-tabs,
.hero-right .panel-type-pills {
  display: flex; gap: 4px; flex-wrap: wrap;
}
.hero-right .country-tab,
.hero-right .type-pill {
  background: var(--bg); border: 1px solid var(--rule-2); color: var(--ink-2);
  padding: 3px 10px; font-family: var(--mono); font-size: 10px;
  letter-spacing: .08em; cursor: pointer;
  transition: border-color 120ms, color 120ms, background 120ms;
}
.hero-right .country-tab:hover,
.hero-right .type-pill:hover { border-color: var(--accent); color: var(--accent); }
.hero-right .country-tab.active,
.hero-right .type-pill.active {
  background: var(--accent); color: #000; border-color: var(--accent);
}

/* ─────────────────────────────────────────────────────── */
/* V2 ADDITIONS — Homepage Agent Pitch (2026-04-24)         */
/* ─────────────────────────────────────────────────────── */

/* 3 Piloni (hero) */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.pillar {
  background: var(--bg-2);
  border: 1px solid var(--rule);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pillar .num {
  font-size: 10px;
  color: var(--accent);
  letter-spacing: .15em;
  font-weight: 500;
}
.pillar b {
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}
.pillar p {
  margin: 0;
  font-size: 11px;
  color: var(--ink-2);
  line-height: 1.5;
}

/* Prompt pills (hero) */
.prompts-label {
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}
.prompt-pill {
  background: var(--bg-2);
  border: 1px solid var(--rule-2);
  padding: 5px 9px;
  font-size: 11px;
  color: var(--ink-2);
}

/* Chat panel (hero-right) — WhatsApp */
.hero-chats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background:
    repeating-linear-gradient(0deg, transparent 0, transparent 31px, rgba(255,255,255,.02) 31px, rgba(255,255,255,.02) 32px);
  height: 100%;
}
.chat {
  background: var(--bg-2);
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.chat.whatsapp { border-top: 2px solid var(--wa); }

.chat-header {
  background: var(--bg-2);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--rule);
}
.chat-header .avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
  color: #000;
}
.chat-header .info { flex: 1; }
.chat-header .info b {
  display: block;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
}
.chat-header .info .status {
  font-size: 9px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 5px;
}
.chat-header .info .status::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.5s infinite;
}
.chat-header .plat-badge {
  padding: 3px 7px;
  font-size: 9px;
  letter-spacing: .08em;
  border: 1px solid var(--rule-2);
  display: flex; align-items: center; gap: 4px;
}
.chat-header .plat-badge.wa { color: var(--wa); border-color: var(--wa); }
.chat-header .plat-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.chat-header .plat-dot.wa { background: var(--wa); }

.chat-body {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg);
}
.msg {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 88%;
}
.msg.from-agent { align-self: flex-start; align-items: flex-start; }
.msg.from-user { align-self: flex-end; align-items: flex-end; }
.msg .meta {
  font-size: 8px;
  color: var(--ink-3);
  padding: 0 4px;
}
.msg .meta b { color: var(--accent); font-weight: 500; }
.bubble {
  padding: 8px 11px;
  font-size: 11px;
  line-height: 1.5;
  border-radius: 10px;
}
.msg.from-agent .bubble {
  background: var(--bg-3);
  color: var(--ink);
  border-bottom-left-radius: 3px;
}
.msg.from-user .bubble.wa {
  background: var(--wa);
  color: #000;
  border-bottom-right-radius: 3px;
}
.msg.from-agent .bubble b { font-weight: 500; color: var(--ink); }
.bubble .alert-red { color: var(--hot); font-weight: 500; }
.bubble .alert-g { color: var(--accent); font-weight: 500; }
.bubble .alert-y { color: var(--amber); font-weight: 500; }
.bubble.draft {
  background: var(--bg-2);
  border: 1px solid var(--accent);
  font-size: 10.5px;
  font-style: italic;
}
.bubble.draft::before {
  content: 'DRAFT';
  display: block;
  font-size: 8px;
  color: var(--accent);
  letter-spacing: .15em;
  margin-bottom: 4px;
  font-style: normal;
}

.chat-input {
  background: var(--bg-2);
  padding: 8px 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  border-top: 1px solid var(--rule);
}
.chat-input-field {
  flex: 1;
  background: var(--bg-2);
  border: 1px solid var(--rule);
  padding: 7px 10px;
  font-size: 10px;
  color: var(--ink-3);
}
.chat-input-send {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
}
.chat.whatsapp .chat-input-send { background: var(--wa); color: #000; }

/* Demo input (hero) */
.demo-input {
  background: var(--bg-2);
  border: 1px solid var(--rule-2);
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 6px;
}
.demo-input .arr { color: var(--accent); }
.demo-input .typed {
  color: var(--ink);
  font-weight: 500;
  font-size: 13px;
}
.demo-input .caret {
  display: inline-block;
  width: 7px; height: 13px;
  background: var(--accent);
  vertical-align: -2px;
  margin-left: 2px;
  animation: blink 1s steps(2) infinite;
}
.demo-hint {
  color: var(--ink-3);
  font-size: 10px;
  margin-bottom: 22px;
  letter-spacing: .05em;
}

/* Proof strip (§2 top band) */
.proofstrip {
  background: var(--bg-2);
  border-bottom: 1px solid var(--rule);
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: .08em;
  color: var(--ink-2);
}
.proofstrip .left {
  display: flex;
  gap: 24px;
  align-items: center;
}
.proofstrip .item {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.proofstrip b {
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
}
.proofstrip .label {
  color: var(--ink-3);
  text-transform: uppercase;
  font-size: 10px;
}
.proofstrip .sep { color: var(--rule-2); }
.proofstrip .right {
  color: var(--ink-3);
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.proofstrip .right::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

/* Country tabs (§2 Megamind) */
.country-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 20px;
}
.country-tabs .tab {
  padding: 10px 20px;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--ink-3);
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.country-tabs .tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Pitch caption (transition public ↔ personal) */
.pitch-caption {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 2px solid var(--accent);
  background: rgba(74, 222, 128, 0.04);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
}
.pitch-caption b {
  color: var(--accent);
  font-weight: 500;
}

/* §3 Cum funcționează */
.steps {
  display: grid;
  grid-template-columns: 1fr 24px 1fr 24px 1fr;
  gap: 0;
  align-items: stretch;
}
.step {
  background: var(--bg-2);
  border: 1px solid var(--rule);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step-num {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: .18em;
  font-weight: 500;
}
.step h3 {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  line-height: 1.15;
}
.step .time {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: .08em;
}
.step ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.step ul li {
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-2);
  padding-left: 14px;
  position: relative;
}
.step ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
}
.step ul li b { color: var(--ink); font-weight: 500; }

.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 20px;
}

/* §4 Pricing */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.tier {
  background: var(--bg-2);
  border: 1px solid var(--rule);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tier.featured {
  border-color: var(--accent);
  position: relative;
}
.tier-name {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: .18em;
  font-weight: 500;
  text-transform: uppercase;
}
.tier h3 {
  font-weight: 500;
  font-size: 22px;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.tier .who {
  font-size: 11px;
  color: var(--ink-3);
  line-height: 1.5;
  margin-top: -4px;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 10px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.price .num {
  font-size: 36px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.price .unit { font-size: 12px; color: var(--ink-3); }
.price .annual {
  font-size: 10px;
  color: var(--accent);
  margin-left: auto;
}
.tier .features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tier .features li {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-2);
  padding-left: 16px;
  position: relative;
}
.tier .features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
}
.tier .features li b { color: var(--ink); font-weight: 500; }
.tier .cta-btn {
  margin-top: auto;
  padding: 12px 16px;
  font-size: 12px;
  letter-spacing: .04em;
  text-align: center;
  font-weight: 500;
}
.tier .cta-primary { background: var(--accent); color: #000; }
.tier .cta-ghost {
  background: transparent;
  border: 1px solid var(--rule-2);
  color: var(--ink);
}

.tier-common {
  background: var(--bg-2);
  border: 1px solid var(--rule);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  margin-bottom: 24px;
}
.tier-common h4 {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: .18em;
  margin: 0;
  font-weight: 500;
}
.tier-common .common-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-2);
}
.tier-common .common-list span { display: flex; gap: 8px; }
.tier-common .common-list span::before { content: '●'; color: var(--accent); }

.why-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
}
.why-box {
  background: var(--bg-2);
  border-left: 2px solid var(--accent);
  padding: 18px 22px;
}
.why-box h4 {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: .15em;
  margin: 0 0 10px;
}
.why-box p {
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}
.why-box b { color: var(--ink); font-weight: 500; }

.enterprise-strip {
  margin-top: 28px;
  background: var(--bg-2);
  border: 1px solid var(--rule-2);
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.enterprise-strip .left b {
  color: var(--ink);
  font-weight: 500;
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}
.enterprise-strip .left p {
  font-size: 12px;
  color: var(--ink-2);
  margin: 0;
}
.enterprise-strip .btn {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 10px 16px;
  font-size: 12px;
  letter-spacing: .04em;
  white-space: nowrap;
}

/* §5 Pentru cine */
.personas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.persona {
  background: var(--bg-2);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}
.persona .head {
  padding: 22px 24px 14px;
  border-bottom: 1px solid var(--rule);
}
.persona .num {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: .18em;
  margin-bottom: 12px;
}
.persona h3 {
  font-weight: 500;
  font-size: 22px;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
}
.persona .who {
  font-size: 11px;
  color: var(--ink-2);
  line-height: 1.5;
}
.persona .who b { color: var(--ink); font-weight: 500; }
.persona .body {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.persona .body-label {
  font-size: 10px;
  color: var(--ink-3);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.persona .daily {
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0;
  padding-left: 14px;
  border-left: 1px solid var(--rule);
}
.persona .daily b { color: var(--ink); font-weight: 500; }

.mini-chat {
  background: var(--bg-2);
  border: 1px solid var(--rule);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mini-chat .mc-head {
  font-size: 9px;
  color: var(--ink-3);
  letter-spacing: .1em;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mini-chat .mc-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
}
.mini-chat .mc-dot.wa { background: var(--wa); }
.mm-msg {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 88%;
}
.mm-msg.from-user { align-self: flex-end; align-items: flex-end; }
.mm-msg.from-agent { align-self: flex-start; align-items: flex-start; }
.mm-bubble {
  padding: 7px 10px;
  font-size: 10.5px;
  line-height: 1.45;
  border-radius: 8px;
}
.mm-msg.from-agent .mm-bubble {
  background: var(--bg-3);
  color: var(--ink);
  border-bottom-left-radius: 3px;
}
.mm-msg.from-user .mm-bubble.wa {
  background: var(--wa);
  color: #000;
  border-bottom-right-radius: 3px;
}
.mm-msg.from-agent .mm-bubble b { color: var(--ink); font-weight: 500; }

.persona .tier-link {
  border-top: 1px solid var(--rule);
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.persona .tier-link .tier-name-inline {
  color: var(--ink-2);
  letter-spacing: .06em;
  text-transform: none;
}
.persona .tier-link .tier-name-inline b {
  color: var(--ink);
  font-weight: 500;
}
.persona .tier-link .tier-price {
  color: var(--accent);
  font-weight: 500;
  letter-spacing: .04em;
}

/* §6 FAQ + Big CTA */
.faq-band {
  padding: 40px 36px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--rule);
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.faq-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item .q {
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq-item .a {
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.55;
}
.faq-item .a b { color: var(--accent); font-weight: 500; }

.cta-band {
  padding: 80px 36px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.cta-band .sys-tag {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 10px;
  color: var(--accent);
  letter-spacing: .15em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cta-band .sys-tag::after {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.5s infinite;
}
.cta-big {
  font-weight: 500;
  font-size: 64px;
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 0 0 28px;
}
.cta-big em { font-style: normal; color: var(--accent); }
.cta-big .wa { color: var(--wa); font-style: normal; }
.cta-sub {
  font-size: 16px;
  color: var(--ink-2);
  max-width: 64ch;
  line-height: 1.55;
  margin: 0 0 36px;
}
.cta-sub b { color: var(--ink); font-weight: 500; }
.cta-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.cta-buttons .btn-meta {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: .05em;
  margin-left: 8px;
}
.cta-buttons .btn-meta a { color: var(--accent); }

/* Kicker platforms (hero) */
.hero-kicker .platforms {
  margin-left: auto;
  display: flex;
  gap: 10px;
}
.hero-kicker .platform {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--ink);
}
.hero-kicker .platform .dot-wa {
  width: 8px; height: 8px;
  background: var(--wa);
  border-radius: 50%;
  display: inline-block;
}

/* H1 platform colors */
.hero h1 .wa { color: var(--wa); font-style: normal; }

/* Sysbar platforma scope label */
.sysbar .brand-mark .scope {
  color: var(--ink-3);
  margin-left: 4px;
}

/* §2.5 live feed — constrain relocated _HeroFeedPanel height.
   Must be a definite height (not max-height) so the inner .feed-list
   with `flex: 1 1 0` has bounded space and doesn't collapse to 0. */
#live-feed .hero-right {
  height: 480px;
  border: 1px solid var(--rule);
}

/* V2 Responsive — mobile collapse at <768px */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { border-right: none; border-top: 1px solid var(--rule); }
  .pillars,
  .tiers,
  .personas,
  .faq-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step-arrow { transform: rotate(90deg); padding: 8px 0; }
  .proofstrip { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 20px; }
  .proofstrip .left { flex-wrap: wrap; gap: 12px; }
  .tier-common { grid-template-columns: 1fr; }
  .tier-common .common-list { grid-template-columns: 1fr; }
  .why-row { grid-template-columns: 1fr; }
  .cta-big { font-size: 40px; }
  .enterprise-strip { flex-direction: column; align-items: flex-start; }
  .hero-kicker { flex-wrap: wrap; }
  .hero-kicker .platforms { margin-left: 0; }
  .section-head { grid-template-columns: 1fr; gap: 16px; }
}

/* V2 Chat scenarios — typing indicator + message enter animation */
.bubble.typing {
  display: inline-flex;
  gap: 3px;
  padding: 10px 12px;
  align-items: center;
}
.bubble.typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-3);
  animation: typing-bounce 1.2s infinite ease-in-out;
  display: inline-block;
}
.bubble.typing span:nth-child(2) { animation-delay: 0.15s; }
.bubble.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-3px); opacity: 1; }
}

.msg.msg-enter {
  animation: msg-enter 240ms ease-out;
}
@keyframes msg-enter {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Chat body gets smooth scrolling when JS appends messages */
.chat-body {
  scroll-behavior: smooth;
  overflow-y: auto;
}
