/* Harsham — Premium Design System
 *
 * Aesthetic: deep-space fintech meets editorial studio meets polished B2B.
 * Inspired by GenesisfxMarkets (dark premium), Hamol.studio (editorial/orbital),
 * and Legencymedia (polished B2B data presentation).
 *
 * Color system: dark-first, with a fully realised light mode.
 * Pipeline board: single-hue ordinal ramp (validated monotone).
 * Status palette: reserved, always paired with a text label — never color alone.
 */

/* Harsham Sans: Anek (Ek Type), one design across Latin, Telugu and Devanagari, picked by unicode-range. */
@font-face { font-family: 'Harsham Sans'; font-style: normal; font-display: swap; font-weight: 100 800; font-stretch: 75% 125%;
  src: url(/static/fonts/anek-latin.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Harsham Sans'; font-style: normal; font-display: swap; font-weight: 100 800; font-stretch: 75% 125%;
  src: url(/static/fonts/anek-latin-ext.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Harsham Sans'; font-style: normal; font-display: swap; font-weight: 100 800;
  src: url(/static/fonts/anek-telugu.woff2) format('woff2-variations');
  unicode-range: U+0951-0952,U+0C00-0C7F,U+1CDA,U+1CF2,U+200C-200D,U+25CC; }
@font-face { font-family: 'Harsham Sans'; font-style: normal; font-display: swap; font-weight: 100 800;
  src: url(/static/fonts/anek-devanagari.woff2) format('woff2-variations');
  unicode-range: U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF; }

/* ---------------------------------------------------------------- tokens */
/* Harsham "Neel & Genda": indigo ground, peacock-teal actions, marigold highlights.
 * Teal and marigold fills always carry dark ink (--ink-on-fill); white on teal is unreadable. */
:root {
  color-scheme: light;

  /* Surfaces: warm ivory paper */
  --page:           #faf6ee;
  --surface:        #ffffff;
  --surface-sunken: #f3ede2;
  --surface-hover:  #f1eadc;
  --surface-glass:  rgba(255,255,255,0.78);

  /* Ink: indigo */
  --ink:            #1a1236;
  --ink-2:          #4a4370;
  --ink-muted:      #6e6890;
  --ink-on-fill:    #0a0920;

  /* Lines */
  --line:           rgba(26, 18, 54, 0.09);
  --line-strong:    rgba(26, 18, 54, 0.17);
  --ring:           rgba(15, 159, 142, 0.28);

  /* Brand: peacock teal (actions, links, focus) */
  --brand:          #0f9f8e;
  --brand-hover:    #0b8a7c;
  --brand-ink:      #0b7a6d;
  --brand-wash:     #e6f8f5;
  --brand-dim:      rgba(15, 159, 142, 0.10);

  /* Accent: marigold (highlights, emphasis) */
  --accent:         #e08a00;
  --accent-hover:   #c77700;
  --accent-wash:    #fff4dc;
  --accent-dim:     rgba(224, 138, 0, 0.10);

  /* Semantic (reserved for status, always with a label) */
  --good:           #059669;
  --good-text:      #047857;
  --warning:        #d97706;
  --serious:        #ea580c;
  --critical:       #dc2626;

  /* Gradients */
  --g-brand:    linear-gradient(135deg, #2ee6c8, #12b3a1);
  --g-brand-h:  linear-gradient(135deg, #52efd6, #18c2ae);
  --g-hero:     linear-gradient(145deg, #120f38 0%, #1a1548 50%, #2a1446 100%);
  --g-auth:     linear-gradient(155deg, #120f38 0%, #211a5c 45%, #4a1d4f 100%);
  --g-cta:      linear-gradient(140deg, #120f38 0%, #241c62 45%, #5a2148 100%);

  /* Pipeline ramp: single-hue marigold, light to deep */
  --stage-1:    #fde3a7;
  --stage-2:    #fcc85a;
  --stage-3:    #f6a523;
  --stage-4:    #e8820c;
  --stage-5:    #c96a05;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(26,18,54,.07), 0 1px 2px rgba(26,18,54,.05);
  --shadow:     0 4px 12px rgba(26,18,54,.08), 0 1px 3px rgba(26,18,54,.06);
  --shadow-lg:  0 12px 40px rgba(26,18,54,.12), 0 4px 10px rgba(26,18,54,.08);
  --shadow-xl:  0 24px 64px rgba(26,18,54,.16), 0 8px 20px rgba(26,18,54,.10);
  --glow:       0 0 24px rgba(15,159,142,.18);
  --glow-lg:    0 0 48px rgba(15,159,142,.24);

  /* Radii */
  --r-xs:  4px;
  --r-sm:  8px;
  --r:     12px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-2xl: 32px;

  /* Typography */
  --sans: 'Harsham Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', 'Cascadia Code', ui-monospace, SFMono-Regular, Consolas, monospace;

  /* Layout */
  --sidebar: 256px;
  --topbar-h: 60px;
}

/* Dark mode: the landing page's indigo night */
@media (prefers-color-scheme: dark) {
  :root:where(:not([data-theme="light"])) {
    color-scheme: dark;
    --page:           #0a0920;
    --surface:        #13112e;
    --surface-sunken: #0d0b26;
    --surface-hover:  #1b1840;
    --surface-glass:  rgba(19,17,46,0.80);

    --ink:            #fff7ea;
    --ink-2:          #c9c3e6;
    --ink-muted:      #8a84b3;

    --line:           rgba(255,236,210,0.08);
    --line-strong:    rgba(255,236,210,0.15);
    --ring:           rgba(34,211,182,0.35);

    --brand:          #22d3b6;
    --brand-hover:    #5eead4;
    --brand-ink:      #5eead4;
    --brand-wash:     rgba(34,211,182,0.12);
    --brand-dim:      rgba(34,211,182,0.08);

    --accent:         #ffb627;
    --accent-hover:   #ffc94a;
    --accent-wash:    rgba(255,182,39,0.12);
    --accent-dim:     rgba(255,182,39,0.08);

    --good:           #34d399;
    --good-text:      #6ee7b7;
    --warning:        #fbbf24;
    --serious:        #fb923c;
    --critical:       #f87171;

    --g-brand:    linear-gradient(135deg, #3ef0d2, #17b8a6);
    --g-brand-h:  linear-gradient(135deg, #5ff5dc, #22d3b6);

    --stage-1:    #ffe3a6;
    --stage-2:    #ffc94a;
    --stage-3:    #ffa62b;
    --stage-4:    #ff8a3d;
    --stage-5:    #ff6a1a;

    --shadow-sm:  0 1px 3px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.4);
    --shadow:     0 4px 16px rgba(0,0,0,0.5), 0 2px 6px rgba(0,0,0,0.4);
    --shadow-lg:  0 16px 48px rgba(0,0,0,0.6), 0 6px 16px rgba(0,0,0,0.5);
    --shadow-xl:  0 32px 80px rgba(0,0,0,0.7), 0 12px 24px rgba(0,0,0,0.5);
    --glow:       0 0 28px rgba(34,211,182,0.20);
    --glow-lg:    0 0 56px rgba(34,211,182,0.28);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page:           #0a0920;
  --surface:        #13112e;
  --surface-sunken: #0d0b26;
  --surface-hover:  #1b1840;
  --surface-glass:  rgba(19,17,46,0.80);

  --ink:            #fff7ea;
  --ink-2:          #c9c3e6;
  --ink-muted:      #8a84b3;

  --line:           rgba(255,236,210,0.08);
  --line-strong:    rgba(255,236,210,0.15);
  --ring:           rgba(34,211,182,0.35);

  --brand:          #22d3b6;
  --brand-hover:    #5eead4;
  --brand-ink:      #5eead4;
  --brand-wash:     rgba(34,211,182,0.12);
  --brand-dim:      rgba(34,211,182,0.08);

  --accent:         #ffb627;
  --accent-hover:   #ffc94a;
  --accent-wash:    rgba(255,182,39,0.12);
  --accent-dim:     rgba(255,182,39,0.08);

  --good:           #34d399;
  --good-text:      #6ee7b7;
  --warning:        #fbbf24;
  --serious:        #fb923c;
  --critical:       #f87171;

  --g-brand:    linear-gradient(135deg, #3ef0d2, #17b8a6);
  --g-brand-h:  linear-gradient(135deg, #5ff5dc, #22d3b6);

  --stage-1:    #ffe3a6;
  --stage-2:    #ffc94a;
  --stage-3:    #ffa62b;
  --stage-4:    #ff8a3d;
  --stage-5:    #ff6a1a;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.4);
  --shadow:     0 4px 16px rgba(0,0,0,0.5), 0 2px 6px rgba(0,0,0,0.4);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.6), 0 6px 16px rgba(0,0,0,0.5);
  --shadow-xl:  0 32px 80px rgba(0,0,0,0.7), 0 12px 24px rgba(0,0,0,0.5);
  --glow:       0 0 28px rgba(34,211,182,0.20);
  --glow-lg:    0 0 56px rgba(34,211,182,0.28);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* subtle dot grid on page */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(15,159,142,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.2;
}
h1 { font-size: 1.875rem; letter-spacing: -.035em; }
h2 { font-size: 1.2rem; letter-spacing: -.022em; }
h3 { font-size: 1.025rem; }
h4 { font-size: .875rem; }

p { margin: 0 0 .9em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-ink); text-decoration: none; transition: color .15s; }
a:hover { color: var(--brand); text-decoration: none; }

code, pre, .mono { font-family: var(--mono); font-size: .86em; }
pre {
  margin: 0; padding: 14px 16px; overflow: auto;
  background: var(--surface-sunken);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--ink-2);
  white-space: pre-wrap;
  line-height: 1.55;
}

hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}

/* ---------------------------------------------------------------- helpers */
.muted    { color: var(--ink-muted); }
.dim      { color: var(--ink-2); }
.small    { font-size: .825rem; }
.tiny     { font-size: .74rem; }
.strong   { font-weight: 700; }
.nums     { font-variant-numeric: tabular-nums; }
.center   { text-align: center; }
.right    { text-align: right; }
.nowrap   { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hidden   { display: none !important; }

.row       { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row-tight { display: flex; gap: 6px;  align-items: center; flex-wrap: wrap; }
.between   { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.stack     { display: flex; flex-direction: column; gap: 14px; }
.stack-sm  { display: flex; flex-direction: column; gap: 7px; }
.spacer    { flex: 1 1 auto; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 26px; }
.mt-4 { margin-top: 40px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 26px; }

.grid       { display: grid; gap: 16px; }
.grid-2     { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-3     { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-half  { grid-template-columns: 1fr 1fr; }
.grid-main  { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }

/* ---------------------------------------------------------------- app shell */
.shell {
  display: grid;
  grid-template-columns: var(--sidebar) minmax(0, 1fr);
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.sidebar {
  position: sticky; top: 0; align-self: start;
  height: 100vh; overflow-y: auto;
  display: flex; flex-direction: column; gap: 20px;
  padding: 20px 14px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  box-shadow: 2px 0 20px rgba(0,0,0,.04);
}

/* subtle glass shimmer on sidebar top-edge */
.sidebar::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--g-brand);
  opacity: .6;
}

.brand {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 8px; border-radius: var(--r);
  color: var(--ink);
  transition: background .15s;
}
.brand:hover { background: var(--surface-hover); text-decoration: none; color: var(--ink); }

/* Harsham mark: a smile on a spectrum orb; the smile becomes a sound wave when it talks. */
.brand-mark {
  position: relative; isolation: isolate; overflow: hidden; display: block; flex: 0 0 auto;
  width: 34px; height: 34px; border-radius: 50%; background: #ff8a3d;
  box-shadow: 0 6px 18px -6px rgba(255,138,61,.6), inset 0 0 0 1px rgba(255,255,255,.14);
}
.brand-mark::before {
  content: ""; position: absolute; inset: -25%; z-index: -1;
  background: radial-gradient(circle at 30% 28%, #ffd166, transparent 44%),
              radial-gradient(circle at 76% 30%, #ff5e7e, transparent 44%),
              radial-gradient(circle at 70% 82%, #3b2b9a, transparent 46%),
              radial-gradient(circle at 22% 80%, #22d3b6, transparent 40%);
}
.brand-mark::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle at 34% 24%, rgba(255,255,255,.5), transparent 38%);
}
.brand-smile { display: block; width: 100%; height: 100%; }
.brand-smile path { fill: none; stroke: #fff; stroke-width: 3.3; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 0; }
.brand:hover .brand-mark::before { animation: hm-swirl 2.4s linear infinite; }
body.lp-body .brand-mark { animation: hm-pop .8s cubic-bezier(.3,1.5,.5,1) .1s both; }
body.lp-body .brand-mark::before { animation: hm-swirl 14s linear infinite; }
body.lp-body .brand-smile path { animation: hm-draw .9s cubic-bezier(.65,0,.35,1) .45s both; }
@keyframes hm-swirl { to { transform: rotate(360deg); } }
@keyframes hm-pop { from { transform: scale(.4) rotate(-40deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes hm-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.brand-name { font-weight: 700; font-size: 1.025rem; letter-spacing: -.03em; }
.brand-sub  { display: block; font-size: .68rem; font-weight: 500; color: var(--ink-muted); letter-spacing: .01em; }

.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-label {
  padding: 10px 10px 4px;
  font-size: .67rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .09em;
  color: var(--ink-muted);
}
.nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: var(--r-sm);
  color: var(--ink-2); font-weight: 500; font-size: .9rem;
  transition: background .14s, color .14s;
  position: relative;
}
.nav a:hover {
  background: var(--surface-hover);
  color: var(--ink);
  text-decoration: none;
}
.nav a[aria-current="page"] {
  background: var(--brand-wash);
  color: var(--brand-ink);
  font-weight: 600;
  box-shadow: inset 2px 0 0 var(--brand);
}
.nav a .ico  { flex: 0 0 auto; width: 16px; text-align: center; }
.nav a .tail { margin-left: auto; }

.sidebar-foot {
  margin-top: auto;
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.usercard {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: var(--r);
  background: var(--surface-sunken);
  border: 1px solid var(--line);
  transition: border-color .15s;
}
.usercard:hover { border-color: var(--line-strong); }

.avatar {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--g-brand);
  color: var(--ink-on-fill);
  font-size: .75rem; font-weight: 700;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}
.usercard .who { min-width: 0; line-height: 1.3; }
.usercard .who b     { display: block; font-size: .82rem; font-weight: 650; }
.usercard .who span  { display: block; font-size: .7rem; color: var(--ink-muted); }

.main { min-width: 0; display: flex; flex-direction: column; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  height: var(--topbar-h);
  padding: 0 30px;
  background: color-mix(in srgb, var(--page) 80%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.topbar::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0; height: 1px;
  background: var(--line);
}

.content { padding: 28px 30px 80px; max-width: 1400px; width: 100%; position: relative; z-index: 1; }

.menu-btn { display: none; }

/* ---------------------------------------------------------------- crumbs & heads */
.crumbs {
  display: flex; align-items: center; gap: 7px;
  font-size: .81rem; color: var(--ink-muted); flex-wrap: wrap;
}
.crumbs a { color: var(--ink-muted); transition: color .14s; }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { opacity: .4; }

.pagehead {
  display: flex; gap: 18px; align-items: flex-start;
  justify-content: space-between; flex-wrap: wrap;
  margin-bottom: 26px;
}
.pagehead .lede { color: var(--ink-2); font-size: .92rem; margin-top: 5px; max-width: 70ch; }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin: 36px 0 14px; flex-wrap: wrap;
}
.section-head:first-child { margin-top: 0; }
.section-head h2 { display: flex; align-items: center; gap: 8px; }

/* ---------------------------------------------------------------- card */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card-pad-0 { padding: 0; overflow: hidden; }
.card-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 16px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.card-body { padding: 20px 22px; }
.card-foot {
  padding: 12px 22px; border-top: 1px solid var(--line);
  background: var(--surface-sunken); border-radius: 0 0 var(--r-lg) var(--r-lg);
}

a.card { display: block; color: inherit; }
a.card:hover {
  text-decoration: none;
  border-color: var(--line-strong);
  box-shadow: var(--shadow), var(--glow);
  transform: translateY(-2px);
}

/* ---------------------------------------------------------------- stat tiles */
.kpis { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(195px, 1fr)); }

.kpi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 20px 16px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.kpi::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--g-brand);
  opacity: .7;
}
.kpi:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow), var(--glow);
}

.kpi .k-label {
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-muted);
}
.kpi .k-value {
  margin-top: 10px;
  font-size: 2.1rem; font-weight: 800;
  letter-spacing: -.045em; line-height: 1;
  color: var(--ink);
}
.kpi .k-foot { margin-top: 8px; font-size: .78rem; color: var(--ink-2); }
.kpi .k-delta { font-weight: 700; }
.kpi .k-delta.up   { color: var(--good-text); }
.kpi .k-delta.down { color: var(--critical); }

.hero-figure {
  font-size: 3.25rem; font-weight: 800;
  letter-spacing: -.05em; line-height: 1;
}

/* ---------------------------------------------------------------- badges */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: .72rem; font-weight: 700; line-height: 1.6;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: opacity .14s;
}
.badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; flex: 0 0 auto;
}

.badge-good     { color: var(--good-text);  background: color-mix(in srgb, var(--good) 13%, var(--surface));     border-color: color-mix(in srgb, var(--good) 30%, transparent); }
.badge-warning  { color: var(--warning);    background: color-mix(in srgb, var(--warning) 14%, var(--surface));  border-color: color-mix(in srgb, var(--warning) 36%, transparent); }
.badge-serious  { color: var(--serious);    background: color-mix(in srgb, var(--serious) 14%, var(--surface));  border-color: color-mix(in srgb, var(--serious) 36%, transparent); }
.badge-critical { color: var(--critical);   background: color-mix(in srgb, var(--critical) 11%, var(--surface)); border-color: color-mix(in srgb, var(--critical) 30%, transparent); }
.badge-brand    { color: var(--brand-ink);  background: var(--brand-wash);    border-color: color-mix(in srgb, var(--brand) 25%, transparent); }
.badge-accent   { color: var(--accent);     background: var(--accent-wash);   border-color: color-mix(in srgb, var(--accent) 25%, transparent); }
.badge-neutral  { color: var(--ink-2);      background: var(--surface-sunken); border-color: var(--line); }

.count {
  display: inline-grid; place-items: center;
  min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 999px;
  background: var(--brand); color: var(--ink-on-fill);
  font-size: .68rem; font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.count-warn { background: var(--warning); color: #0a0f1e; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 18px;
  border: 1px solid transparent; border-radius: var(--r-sm);
  font: inherit; font-size: .9rem; font-weight: 600; line-height: 1.2;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: all .17s cubic-bezier(.4,0,.2,1);
  position: relative;
}
.btn:hover { text-decoration: none; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }

.btn-primary {
  background: var(--g-brand); color: var(--ink-on-fill);
  box-shadow: var(--shadow-sm), 0 0 0 0 rgba(34,211,182,0);
  border-color: transparent;
}
.btn-primary:hover:not(:disabled) {
  background: var(--g-brand-h);
  box-shadow: var(--shadow), var(--glow);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--surface); color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover:not(:disabled) {
  background: var(--surface-hover);
  border-color: var(--brand);
  color: var(--brand-ink);
}

.btn-quiet { background: transparent; color: var(--ink-2); }
.btn-quiet:hover:not(:disabled) {
  background: var(--surface-hover); color: var(--ink);
}

.btn-danger {
  background: var(--surface); color: var(--critical);
  border-color: color-mix(in srgb, var(--critical) 36%, transparent);
}
.btn-danger:hover:not(:disabled) {
  background: color-mix(in srgb, var(--critical) 10%, var(--surface));
  border-color: color-mix(in srgb, var(--critical) 60%, transparent);
}

.btn-good { background: var(--good); color: #fff; }
.btn-good:hover:not(:disabled) {
  filter: brightness(1.1);
  box-shadow: 0 0 20px rgba(16,185,129,.3);
}

.btn-lg { padding: 12px 24px; font-size: 1rem; border-radius: var(--r); }
.btn-sm { padding: 5px 12px; font-size: .8rem; }
.btn-block { width: 100%; }

.btn-google {
  background: var(--surface); color: var(--ink);
  border-color: var(--line-strong);
  font-weight: 600;
}
.btn-google:hover:not(:disabled) { background: var(--surface-hover); border-color: var(--line-strong); }
.btn-google svg { flex: 0 0 auto; }

/* ---------------------------------------------------------------- forms */
.field { display: block; margin-bottom: 16px; }

/* Agent builder and calling workspace use the same signed-in design system. */
.workspace-flow { display: grid; gap: 20px; max-width: 1100px; }
.workspace-step { padding: clamp(20px, 3vw, 30px); }
.workspace-step-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.workspace-step-head h2 { margin: 0 0 5px; font-size: 1.25rem; }
.workspace-step-head p { margin: 0; line-height: 1.5; }
.workspace-step-num { flex: 0 0 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
  color: var(--brand-ink); background: var(--brand-wash); font-weight: 750; }
.workspace-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.workspace-list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 28px 0 12px; }
.workspace-list-head h3 { margin: 0; font-size: 1rem; }
.workspace-list { display: grid; gap: 12px; }
.workspace-item { border: 1px solid var(--line-strong); border-radius: var(--r); padding: 18px;
  background: var(--surface-sunken); }
.workspace-item-head { display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 12px; }
.workspace-item .label { display: block; margin: 10px 0 6px; font-weight: 600; font-size: .82rem; }
.workspace-item input, .workspace-item textarea { width: 100%; }
.workspace-advanced { border-top: 1px solid var(--line); margin-top: 26px; padding-top: 20px; }
.workspace-advanced summary { cursor: pointer; font-weight: 650; margin-bottom: 18px; }
.workspace-check { display: block; margin-top: 12px; font-size: .9rem; }
.workspace-check input { width: auto; }
.workspace-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.workspace-audio { display: block; width: 100%; margin-top: 14px; }
.workspace-audio[hidden], .workspace-step[hidden] { display: none; }
.workspace-call-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.workspace-call-grid .card { min-width: 0; }
.workspace-call-grid h2 { margin: 0 0 14px; font-size: 1.1rem; }
.workspace-script-quote { margin: 18px 0; padding: 16px 18px; border-left: 3px solid var(--brand);
  background: var(--surface-sunken); color: var(--ink-2); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.workspace-mode { display: flex; gap: 16px; margin-bottom: 22px; }
.workspace-mode a { color: var(--brand-ink); font-weight: 650; }
.workspace-bulk { max-width: 1100px; padding-top: 30px; }
.workspace-bulk .card { margin-top: 16px; }
@media (max-width: 850px) { .workspace-call-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .workspace-two { grid-template-columns: 1fr; gap: 0; }
  .workspace-actions { align-items: stretch; } .workspace-actions .btn { width: 100%; } }
.field > .label,
label.label {
  display: block; margin-bottom: 6px;
  font-size: .82rem; font-weight: 650; color: var(--ink-2);
}
.field .hint { margin-top: 5px; font-size: .78rem; color: var(--ink-muted); }
.req { color: var(--critical); font-weight: 700; }

input:not([type]), input[type="text"], input[type="email"], input[type="password"], input[type="tel"],
input[type="number"], input[type="search"], input[type="url"], textarea, select {
  width: 100%;
  padding: 10px 13px;
  font: inherit; font-size: .92rem; color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  transition: border-color .15s, box-shadow .15s;
  appearance: none;
}
textarea { min-height: 88px; resize: vertical; line-height: 1.55; }
select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237a8ba3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 12px) 50%;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--ring);
}
input::placeholder, textarea::placeholder { color: var(--ink-muted); }
input:disabled, textarea:disabled, select:disabled {
  background: var(--surface-sunken); color: var(--ink-muted); cursor: not-allowed;
}

.checkrow { display: flex; gap: 9px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); }
.checkrow input { width: auto; margin: 3px 0 0; accent-color: var(--brand); }

/* ---------------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; border-radius: var(--r-sm); }
table.data { width: 100%; border-collapse: collapse; font-size: .89rem; }
table.data th {
  text-align: left; padding: 10px 15px;
  font-size: .71rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--ink-muted);
  background: var(--surface-sunken);
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}
table.data td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr { transition: background .12s; }
table.data tbody tr:hover { background: var(--surface-hover); }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }

table.kv { width: 100%; border-collapse: collapse; font-size: .89rem; }
table.kv th {
  text-align: left; width: 34%; padding: 10px 12px 10px 0;
  font-weight: 650; color: var(--ink-muted); vertical-align: top;
  border-bottom: 1px solid var(--line);
}
table.kv td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
table.kv tr:last-child th, table.kv tr:last-child td { border-bottom: 0; }

/* ---------------------------------------------------------------- pipeline board */
.board {
  display: grid; gap: 10px;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: start;
}
.board-col {
  background: var(--surface-sunken);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 10px;
  min-height: 96px;
  transition: border-color .15s;
}
.board-col > h4 {
  display: flex; align-items: center; gap: 7px;
  margin-bottom: 10px;
  font-size: .7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--ink-2);
}
.board-col .stage-dot { width: 8px; height: 8px; border-radius: 3px; flex: 0 0 auto; }
.board-col .stage-n {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  color: var(--ink-muted); font-weight: 800;
  font-size: .75rem;
}

.lead-chip {
  display: block; padding: 9px 11px; margin-bottom: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line-strong);
  border-radius: var(--r-sm);
  color: var(--ink); font-size: .84rem;
  box-shadow: var(--shadow-sm);
  transition: all .15s;
}
.lead-chip:hover {
  text-decoration: none;
  border-color: var(--line-strong);
  box-shadow: var(--shadow), var(--glow);
  transform: translateX(2px);
  color: var(--ink);
}
.lead-chip b     { display: block; font-weight: 650; }
.lead-chip small { color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.board-col .empty-slot { font-size: .75rem; color: var(--ink-muted); padding: 4px 2px; }

/* Stage color ramp — also carry name label, so colour is never the only cue */
.stage-new          { background: var(--stage-1); }
.stage-contacted    { background: var(--stage-2); }
.stage-qualified    { background: var(--stage-3); }
.stage-booked       { background: var(--stage-4); }
.stage-closed       { background: var(--stage-5); }
.stage-not_attended { background: var(--warning); }
.stage-lost         { background: var(--critical); }

.bl-new          { border-left-color: var(--stage-1) !important; }
.bl-contacted    { border-left-color: var(--stage-2) !important; }
.bl-qualified    { border-left-color: var(--stage-3) !important; }
.bl-booked       { border-left-color: var(--stage-4) !important; }
.bl-closed       { border-left-color: var(--stage-5) !important; }
.bl-not_attended { border-left-color: var(--warning)  !important; }
.bl-lost         { border-left-color: var(--critical) !important; }

/* ---------------------------------------------------------------- funnel / chart */
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart .grid-line   { stroke: var(--line); stroke-width: 1; }
.chart .axis-line   { stroke: var(--line-strong); stroke-width: 1; }
.chart .tick { font-family: var(--sans); font-size: 10px; fill: var(--ink-muted); font-variant-numeric: tabular-nums; }
.chart .series-line { fill: none; stroke: var(--brand); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .series-area { fill: url(#areaGrad, var(--brand)); opacity: .18; }
.chart .series-dot  { fill: var(--brand); stroke: var(--surface); stroke-width: 2.5; }
.chart .bar         { fill: var(--brand); }
.chart .hover-band  { fill: transparent; }
.chart .hover-band:hover + .hover-dot,
.chart .hover-band:focus + .hover-dot { opacity: 1; }
.chart .hover-dot   { opacity: 0; pointer-events: none; }

.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .78rem; color: var(--ink-2); }
.legend .key     { display: inline-flex; align-items: center; gap: 6px; }
.legend .swatch  { width: 10px; height: 10px; border-radius: 3px; flex: 0 0 auto; }

.meter { height: 8px; border-radius: 999px; background: var(--surface-sunken); overflow: hidden; border: 1px solid var(--line); }
.meter > span { display: block; height: 100%; background: var(--g-brand); border-radius: 999px; }

.segbar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--surface-sunken); gap: 2px; }
.segbar > span { display: block; height: 100%; }

/* ---------------------------------------------------------------- empty / notices */
.empty {
  display: grid; place-items: center; gap: 12px;
  padding: 48px 28px; text-align: center;
  background: var(--surface-sunken);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-xl);
  color: var(--ink-2);
}
.empty .big { font-size: 1.9rem; line-height: 1; opacity: .4; }
.empty h3   { color: var(--ink); }
.empty p    { max-width: 46ch; font-size: .88rem; color: var(--ink-muted); }

.notice {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 13px 16px; border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--surface-sunken);
  font-size: .88rem; color: var(--ink-2);
}
.notice .ico  { flex: 0 0 auto; font-size: 1rem; line-height: 1.5; }
.notice b     { color: var(--ink); }
.notice-info     { background: var(--brand-wash);  border-color: color-mix(in srgb, var(--brand) 25%, transparent); }
.notice-good     { background: color-mix(in srgb, var(--good) 10%, var(--surface));    border-color: color-mix(in srgb, var(--good) 28%, transparent); }
.notice-warning  { background: color-mix(in srgb, var(--warning) 12%, var(--surface)); border-color: color-mix(in srgb, var(--warning) 38%, transparent); }
.notice-critical { background: color-mix(in srgb, var(--critical) 9%, var(--surface)); border-color: color-mix(in srgb, var(--critical) 30%, transparent); }

/* ---------------------------------------------------------------- notes & transcript */
.note {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  margin-bottom: 10px;
  transition: border-color .14s;
}
.note:last-child { margin-bottom: 0; }
.note:hover { border-color: var(--line-strong); }
.note .meta { margin-top: 8px; font-size: .74rem; color: var(--ink-muted); }

.timeline { position: relative; padding-left: 22px; }
.timeline::before {
  content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand), transparent);
}
.timeline-item { position: relative; margin-bottom: 18px; }
.timeline-item::before {
  content: ""; position: absolute; left: -20px; top: 7px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px var(--page), var(--glow);
}
.timeline-item:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------- tabs */
.tabs {
  display: flex; gap: 2px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px; overflow-x: auto;
}
.tabs a {
  padding: 10px 15px; font-size: .89rem; font-weight: 550;
  color: var(--ink-2);
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  white-space: nowrap; transition: color .14s, border-color .14s;
}
.tabs a:hover { color: var(--ink); text-decoration: none; }
.tabs a[aria-current="page"] {
  color: var(--brand-ink); border-bottom-color: var(--brand); font-weight: 700;
}

/* ---------------------------------------------------------------- auth pages */
.auth-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 100vh;
}
.auth-main { display: grid; place-items: center; padding: 48px 32px; }
.auth-card { width: 100%; max-width: 428px; }
.auth-card .brand { margin: 0 0 28px; padding: 0; }
.auth-card h1 { font-size: 1.65rem; letter-spacing: -.03em; }
.auth-card .lede { color: var(--ink-2); font-size: .92rem; margin-top: 7px; }

.auth-form {
  margin-top: 26px; padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
.auth-alt { margin-top: 22px; font-size: .88rem; color: var(--ink-2); text-align: center; }

.or-rule {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0;
  color: var(--ink-muted); font-size: .74rem;
  text-transform: uppercase; letter-spacing: .08em;
}
.or-rule::before, .or-rule::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.auth-aside {
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
  padding: 56px;
  color: rgba(230,240,255,.95);
  background: var(--g-auth);
  position: relative; overflow: hidden;
}
/* animated gradient orbs */
.auth-aside::before {
  content: '';
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,211,182,.22) 0%, transparent 70%);
  top: -100px; right: -100px; pointer-events: none;
}
.auth-aside::after {
  content: '';
  position: absolute; width: 350px; height: 350px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,182,39,.18) 0%, transparent 70%);
  bottom: -60px; left: -40px; pointer-events: none;
}
.auth-aside h2 {
  font-size: 1.7rem; letter-spacing: -.03em; color: #fff;
  position: relative; z-index: 1;
}
.auth-aside p {
  color: rgba(210,228,255,.82); font-size: .95rem; max-width: 42ch;
  position: relative; z-index: 1;
}
.auth-aside .quote {
  font-size: 1.08rem; line-height: 1.65; color: rgba(230,242,255,.95);
  position: relative; z-index: 1;
}
.auth-aside ul {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 14px;
  position: relative; z-index: 1;
}
.auth-aside li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: .93rem; color: rgba(210,228,255,.88);
}
.auth-aside li .ico { flex: 0 0 auto; }
.auth-aside .aside-foot {
  margin-top: auto; font-size: .8rem;
  color: rgba(180,210,255,.55);
  position: relative; z-index: 1;
}

/* ---------------------------------------------------------------- landing */
.lp-nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 16px;
  padding: 16px 36px;
  background: color-mix(in srgb, var(--page) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid var(--line);
}
.lp-nav .links { display: flex; gap: 2px; margin-left: 24px; }
.lp-nav .links a {
  padding: 7px 13px; border-radius: var(--r-sm);
  font-size: .88rem; font-weight: 500; color: var(--ink-2);
  transition: background .14s, color .14s;
}
.lp-nav .links a:hover { background: var(--surface-hover); color: var(--ink); text-decoration: none; }

.lp-wrap { max-width: 1160px; margin: 0 auto; padding: 0 36px; }
.lp-section { padding: 92px 0; }
.lp-section + .lp-section { border-top: 1px solid var(--line); }

/* Hero — full drama */
.lp-hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative; overflow: hidden;
}
/* hero gradient mesh */
.lp-hero::before {
  content: '';
  position: absolute; inset: -20%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(15,159,142,.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(255,182,39,.10) 0%, transparent 60%);
}
.lp-hero > * { position: relative; z-index: 1; }

.lp-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; border-radius: 999px;
  background: var(--brand-wash);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  color: var(--brand-ink);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .02em;
}
.lp-hero h1 {
  margin: 24px auto 0; max-width: 22ch;
  font-size: clamp(2.4rem, 5.8vw, 4.1rem);
  font-weight: 800; letter-spacing: -.048em; line-height: 1.03;
}
.lp-hero h1 .hl {
  background: var(--g-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-hero .sub {
  margin: 22px auto 0; max-width: 62ch;
  font-size: 1.12rem; color: var(--ink-2); line-height: 1.65;
}
.lp-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.lp-hero .fineprint { margin-top: 18px; font-size: .79rem; color: var(--ink-muted); }

/* Stats strip */
.lp-strip { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; margin-top: 60px; }
.lp-strip .item { text-align: center; }
.lp-strip .item b {
  display: block;
  font-size: 1.9rem; font-weight: 800; letter-spacing: -.04em;
  background: var(--g-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-strip .item span {
  font-size: .76rem; color: var(--ink-muted);
  text-transform: uppercase; letter-spacing: .07em; font-weight: 650;
}

/* Browser mock */
.lp-mock {
  margin: 56px auto 0; max-width: 960px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-xl), var(--glow-lg);
  overflow: hidden;
}
.lp-mock-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-sunken);
}
.lp-mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.lp-mock-bar .url {
  margin-left: 12px; padding: 3px 13px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: .71rem; color: var(--ink-muted); font-family: var(--mono);
}
.lp-mock-body { padding: 24px; }

/* Section header */
.lp-head { text-align: center; max-width: 62ch; margin: 0 auto 50px; }
.lp-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  letter-spacing: -.038em; font-weight: 800;
}
.lp-head p { margin-top: 14px; color: var(--ink-2); font-size: 1.03rem; }

/* Feature cards */
.feature {
  padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow-sm);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.feature:hover {
  border-color: color-mix(in srgb, var(--brand) 30%, var(--line));
  box-shadow: var(--shadow), var(--glow);
  transform: translateY(-3px);
}
.feature .ico {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: var(--r-sm);
  background: var(--brand-wash); color: var(--brand-ink);
  font-size: 1.2rem; margin-bottom: 16px;
  box-shadow: 0 0 0 1px var(--brand-dim);
}
.feature h3 { font-size: 1.03rem; font-weight: 700; }
.feature p  { margin-top: 8px; font-size: .9rem; color: var(--ink-2); }

/* How-it-works steps */
.steps {
  counter-reset: s;
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.step {
  counter-increment: s; position: relative;
  padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface);
  transition: border-color .2s, box-shadow .2s;
}
.step:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.step::before {
  content: "0" counter(s);
  display: grid; place-items: center;
  width: 32px; height: 32px; margin-bottom: 14px; border-radius: var(--r-sm);
  background: var(--g-brand); color: var(--ink-on-fill);
  font-size: .78rem; font-weight: 800; letter-spacing: .02em;
}
.step h3 { font-size: 1.02rem; font-weight: 700; }
.step p  { margin-top: 8px; font-size: .9rem; color: var(--ink-2); }

/* CTA section */
.lp-final {
  text-align: center; padding: 64px 40px; border-radius: var(--r-2xl);
  background: var(--g-cta);
  color: #fff; box-shadow: var(--shadow-xl), var(--glow-lg);
  position: relative; overflow: hidden;
}
.lp-final::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 60% at 20% 30%, rgba(255,255,255,.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 70%, rgba(255,182,39,.2) 0%, transparent 60%);
}
.lp-final > * { position: relative; z-index: 1; }
.lp-final h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3.6vw, 2.5rem); letter-spacing: -.04em;
}
.lp-final p  { margin: 16px auto 0; max-width: 56ch; color: rgba(210,228,255,.82); }
.lp-final .btn-ghost {
  background: rgba(255,255,255,.12); color: #fff;
  border-color: rgba(255,255,255,.28);
}
.lp-final .btn-ghost:hover { background: rgba(255,255,255,.22); }
.lp-final .btn-primary { background: #fff; color: #0a0920; }
.lp-final .btn-primary:hover { background: #eff6ff; box-shadow: 0 0 32px rgba(255,255,255,.3); }

.lp-foot {
  border-top: 1px solid var(--line);
  padding: 32px 0; color: var(--ink-muted); font-size: .84rem;
}

/* Verticals grid cards */
.vertical-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.vertical-card:hover {
  border-color: color-mix(in srgb, var(--brand) 30%, var(--line));
  box-shadow: var(--shadow), var(--glow);
  transform: translateY(-2px);
}

/* ---------------------------------------------------------------- toast */
.toast-host {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%);
  z-index: 100;
  display: flex; flex-direction: column; gap: 8px; align-items: center;
  pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 20px; border-radius: 999px;
  background: var(--ink); color: var(--page);
  font-size: .88rem; font-weight: 600;
  box-shadow: var(--shadow-lg);
  animation: toast-in .2s cubic-bezier(.34,1.56,.64,1);
}
.toast.bad  { background: var(--critical); color: #fff; }
.toast.good { background: var(--good); color: #fff; }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px) scale(.96); }
  to   { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .grid-main { grid-template-columns: minmax(0, 1fr); }
  .board { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .auth-page { grid-template-columns: minmax(0, 1fr); }
  .auth-aside { display: none; }
  .grid-half { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar {
    position: fixed; inset: 0 auto 0 0; z-index: 60;
    width: min(84vw, var(--sidebar));
    transform: translateX(-110%);
    transition: transform .22s cubic-bezier(.4,0,.2,1);
    box-shadow: var(--shadow-xl);
  }
  body.nav-open .sidebar { transform: none; }
  body.nav-open::after {
    content: ""; position: fixed; inset: 0; z-index: 50;
    background: rgba(6,11,22,.55);
    backdrop-filter: blur(2px);
  }
  .menu-btn { display: inline-flex; }
  .content { padding: 20px 18px 70px; }
  .topbar { padding: 0 18px; }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-wrap, .lp-nav { padding-left: 20px; padding-right: 20px; }
  .lp-section { padding: 64px 0; }
  .lp-nav .links { display: none; }
}

@media (max-width: 560px) {
  .board { grid-template-columns: minmax(0, 1fr); }
  .kpis  { grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); }
  .pagehead h1 { font-size: 1.5rem; }
  .lp-hero { padding: 72px 0 56px; }
  .lp-final { padding: 44px 24px; }
}

/* ---------------------------------------------------------------- landing (lx) */
/* Apple-grade dark landing. Spectrum = Siri / Apple Intelligence light, used only where it means "voice". */
@property --lx-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

body.lp-body {
  --lx-ink: #fff7ea;
  --lx-ink-2: #c9c3e6;
  --lx-ink-3: #8a84b3;
  --lx-line: rgba(255,236,210,.09);
  --lx-tile: rgba(255,240,220,.04);
  --lx-spectrum: #ffc94a, #ff8a3d, #ff5e7e, #ff8a3d, #ffc94a, #22d3b6, #ffc94a;
  --lx-grad: linear-gradient(90deg, #ffd166 0%, #ff8a3d 34%, #ff5e7e 67%, #ffd166 100%);
  --lx-ease: cubic-bezier(.2,.8,.2,1);
  background: #0a0920;
  color: var(--lx-ink);
  color-scheme: dark;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.lp-body::before { content: ""; display: block; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 60% at 50% -8%, rgba(255,150,60,.16), transparent 58%),
              radial-gradient(70% 50% at 12% 6%, rgba(90,66,210,.28), transparent 62%),
              radial-gradient(60% 45% at 88% 12%, rgba(255,94,126,.12), transparent 60%);
  transform: translateZ(0); }

body.lp-body h3, body.lp-body .lx-beat-txt b { font-stretch: 106%; }
body.lp-body ::selection { background: rgba(255,182,39,.45); color: #fff; }
body.lp-body a:focus-visible, body.lp-body button:focus-visible { outline: 2px solid #ffd27a; outline-offset: 3px; border-radius: 12px; }

#bg-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; display: block; }
.lx { position: relative; z-index: 1; overflow-x: clip; }

/* nav */
.lx-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s, backdrop-filter .35s; }
.lx-nav.is-scrolled { background: rgba(10,9,32,.72); border-color: var(--lx-line);
  backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); }
.lx-nav-in { max-width: 1160px; margin: 0 auto; height: 60px; padding: 0 28px; display: flex; align-items: center; gap: 24px; }
.lx-nav .brand { color: var(--lx-ink); padding: 0; }
.lx-nav .brand:hover { background: transparent; color: #fff; }
.lx-links { display: flex; gap: 30px; margin: 0 auto; }
.lx-links a, .lx-navlink { color: var(--lx-ink-2); font-size: .85rem; font-weight: 500; transition: color .2s; }
.lx-links a:hover, .lx-navlink:hover { color: var(--lx-ink); text-decoration: none; }
.lx-nav-cta { display: flex; align-items: center; gap: 20px; }

/* buttons */
.lx-pill { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px; background: linear-gradient(135deg, #3ef0d2, #17b8a6); color: #0a0920;
  box-shadow: 0 10px 30px -12px rgba(34,211,182,.65), inset 0 1px 0 rgba(255,255,255,.35); font-weight: 600; font-size: 1rem;
  letter-spacing: -.01em; transition: transform .35s var(--lx-ease), background .25s; }
.lx-pill:hover { color: #0a0920; text-decoration: none; background: linear-gradient(135deg, #5ff5dc, #22d3b6); transform: scale(1.035); }
.lx-pill::before { content: ""; position: absolute; inset: -3px; border-radius: inherit; z-index: -1; opacity: 0;
  background: conic-gradient(from var(--lx-a), var(--lx-spectrum)); filter: blur(14px);
  transition: opacity .45s; }
.lx-pill:hover::before { animation: lx-spin 3.2s linear infinite; }
.lx-pill:hover::before, .lx-pill:focus-visible::before { opacity: .95; }
.lx-pill-sm { padding: 7px 16px; font-size: .82rem; }
.lx-link { color: #ffd27a; font-size: 1.05rem; font-weight: 500; }
.lx-link:hover { color: #ffe6b0; text-decoration: none; }
.lx-link span { display: inline-block; transition: transform .3s var(--lx-ease); }
.lx-link:hover span { transform: translateX(4px); }

/* type */
.lx-grad { background: var(--lx-grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text;
  color: transparent; }
.lx-kicker { margin: 0 0 14px; font-size: .95rem; font-weight: 600; color: var(--lx-ink-2); letter-spacing: -.01em; }
.lx-h2 { margin: 0; font-size: clamp(2.1rem, 4.4vw, 3.7rem); line-height: 1.06; font-weight: 700; font-stretch: 110%; letter-spacing: -.03em; color: var(--lx-ink); }
.lx-dim { color: var(--lx-ink-3); }
.lx-sub { margin: 20px auto 0; max-width: 46ch; font-size: 1.2rem; line-height: 1.5; color: var(--lx-ink-2); }

/* reveal */
[data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0);
  transition: opacity .9s var(--lx-ease), transform .9s var(--lx-ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* hero */
.lx-hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center; padding: 78px 24px 44px; }
.lx-orb-slot { width: clamp(170px, 27vh, 320px); aspect-ratio: 1; border-radius: 50%; flex: 0 0 auto; }
html:not(.webgl-on) .lx-orb-slot {
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.35), transparent 30%),
              conic-gradient(from 90deg, #22d3b6, #ffb627, #ff5e7e, #ff8a3d, #ffc94a, #22d3b6);
  filter: saturate(1.2); box-shadow: 0 0 120px rgba(255,160,70,.45); opacity: .85; }
.lx-caption { margin: 22px 0 0; min-height: 1.6em; max-width: 34rem; display: flex; flex-direction: column; align-items: center;
  gap: 6px; opacity: 0; transition: opacity .7s var(--lx-ease); }
.lx-caption.is-on { opacity: 1; }
.lx-caption-lang { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lx-ink-3); }
.lx-caption-text { font-size: 1.05rem; color: var(--lx-ink-2); line-height: 1.4; font-style: italic; }
.lx-caption-text span, .lx-msg-te span { opacity: 0; animation: lx-word .45s var(--lx-ease) forwards; }
.lx-title { margin: 14px 0 0; font-size: clamp(2.6rem, 5.8vw, 5.1rem); line-height: 1.02; font-weight: 700; font-stretch: 112%; letter-spacing: -.035em; }
.lx-lede { margin: 22px auto 0; max-width: 46ch; font-size: clamp(1.08rem, 1.6vw, 1.32rem); line-height: 1.5; color: var(--lx-ink-2); }
.lx-cta { margin-top: 32px; display: flex; gap: 28px; align-items: center; justify-content: center; flex-wrap: wrap; }

/* sections */
.lx-section { padding: clamp(96px, 14vw, 170px) 0; }
.lx-wrap { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.lx-head { margin-bottom: 64px; max-width: 920px; }
.lx-center { margin-left: auto; margin-right: auto; text-align: center; }

/* demo */
.lx-demo-copy { min-width: 0; }
.lx-demo { display: grid; grid-template-columns: 1fr minmax(300px, 380px); gap: 72px; align-items: center; }
.lx-voices-section { padding-top: 36px; }
.lx-voices-intro { max-width: 650px; margin: 22px 0 0; color: var(--lx-ink-2); line-height: 1.65; }
.lx-voice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 38px; }
.lx-voice-card { min-width: 0; padding: 26px; border: 1px solid var(--lx-line); border-radius: 24px;
  background: rgba(255,240,220,.035); }
.lx-voice-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lx-voice-lang, .lx-voice-type { display: inline-flex; align-items: center; padding: 5px 10px;
  border-radius: 999px; font-size: .72rem; font-weight: 700; }
.lx-voice-lang { color: #ffcf77; background: rgba(255,201,74,.12); }
.lx-voice-type { color: var(--lx-ink-2); background: rgba(255,240,220,.07); }
.lx-voice-card h3 { margin: 24px 0 7px; font-size: 1.32rem; color: var(--lx-ink); }
.lx-voice-card p { min-height: 42px; margin: 0 0 20px; color: var(--lx-ink-2); line-height: 1.5; }
/* conversation player: ripples spread from the button while waves pass underneath (see landing.js) */
.lx-vplayer { --agent: #ffc94a; --caller: #5eead4; --who: var(--agent); position: relative; height: 210px; border-radius: 20px; overflow: hidden;
  background: radial-gradient(70% 90% at 50% 45%, rgba(255,182,39,.10), transparent 70%), rgba(8,7,26,.55);
  border: 1px solid var(--lx-line); isolation: isolate; transition: border-color .5s; }
.lx-vplayer[data-speaker="caller"] { --who: var(--caller); background: radial-gradient(70% 90% at 50% 45%, rgba(34,211,182,.12), transparent 70%), rgba(8,7,26,.55); }
.lx-vplayer.is-playing { border-color: color-mix(in srgb, var(--who) 38%, transparent); }
.lx-vwave { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.lx-vplay { all: unset; box-sizing: border-box; cursor: pointer; position: absolute; left: 50%; top: 44%; z-index: 2; width: 62px; height: 62px;
  margin: -31px 0 0 -31px; border-radius: 50%; display: grid; place-items: center; color: #0a0920;
  background: linear-gradient(140deg, var(--who), color-mix(in srgb, var(--who) 55%, #ff6a3c));
  box-shadow: 0 0 calc(18px + var(--vlevel, 0) * 46px) color-mix(in srgb, var(--who) 70%, transparent), inset 0 1px 0 rgba(255,255,255,.4);
  transform: scale(calc(1 + var(--vlevel, 0) * .14)); transition: transform .08s linear, background .5s; }
.lx-vplay:hover { filter: brightness(1.08); }
.lx-vplay:focus-visible { outline: 2px solid #ffd27a; outline-offset: 5px; }
.lx-vplay svg { width: 26px; height: 26px; fill: currentColor; }
.lx-vplay .lx-vi-pause { display: none; }
.lx-vplayer.is-playing .lx-vi-play { display: none; }
.lx-vplayer.is-playing .lx-vi-pause { display: block; }
.lx-vplay .lx-vi-play { margin-left: 3px; }
.lx-vwho { position: absolute; left: 0; right: 0; top: calc(44% + 44px); z-index: 2; display: flex; justify-content: center; align-items: center; gap: 7px;
  font-size: .78rem; font-weight: 600; letter-spacing: .02em; color: var(--lx-ink-2); pointer-events: none; }
.lx-vdot { width: 7px; height: 7px; border-radius: 50%; background: var(--who); box-shadow: 0 0 10px var(--who); opacity: .5; transition: opacity .3s; }
.lx-vplayer.is-playing .lx-vdot { opacity: 1; animation: lx-blink 1.2s ease-in-out infinite; }
.lx-vplayer.is-playing .lx-vwho { color: var(--lx-ink); }
.lx-vbar { position: absolute; left: 16px; right: 16px; bottom: 12px; z-index: 2; display: flex; align-items: center; gap: 12px; }
.lx-vseek { -webkit-appearance: none; appearance: none; flex: 1; height: 18px; margin: 0; background: transparent; cursor: pointer; --p: 0%; }
.lx-vseek::-webkit-slider-runnable-track { height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--who) var(--p), rgba(255,240,220,.16) var(--p)); }
.lx-vseek::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(255,240,220,.16); }
.lx-vseek::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--who); }
.lx-vseek::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -4px; border-radius: 50%; border: 0;
  background: #fff7ea; box-shadow: 0 0 0 4px color-mix(in srgb, var(--who) 30%, transparent); }
.lx-vseek::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; border: 0; background: #fff7ea; }
.lx-vseek:focus-visible { outline: 2px solid #ffd27a; outline-offset: 4px; border-radius: 4px; }
.lx-vtime { font-size: .72rem; color: var(--lx-ink-3); font-variant-numeric: tabular-nums; min-width: 66px; text-align: right; }
.lx-voice-card.is-active { border-color: rgba(255,201,74,.22); }
.lx-voice-transcript li { padding: 8px 10px; margin: 0 -10px; border-radius: 10px; transition: background .3s; }
.lx-voice-transcript li.is-live { background: rgba(255,240,220,.07); }
.lx-voice-transcript li.is-live b { color: #fff7ea; }
@media (max-width: 480px) { .lx-vplayer { height: 190px; } }
@media (prefers-reduced-motion: reduce) { .lx-vplay { transition: none; transform: none; } .lx-vdot { animation: none !important; } }
.lx-voice-card details { margin-top: 20px; border-top: 1px solid var(--lx-line); padding-top: 15px; }
.lx-voice-card summary { cursor: pointer; color: var(--lx-ink); font-size: .85rem; font-weight: 600; }
.lx-voice-card summary:focus-visible { outline: 2px solid #ffd27a; outline-offset: 4px; }
.lx-voice-transcript { list-style: none; padding: 0; margin: 17px 0 0; display: grid; gap: 14px; }
.lx-voice-transcript li { display: grid; gap: 3px; color: var(--lx-ink-2); font-size: .82rem; line-height: 1.5; }
.lx-voice-transcript li b { color: #ffcf77; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 900px) { .lx-voice-grid { grid-template-columns: 1fr; } .lx-voice-card p { min-height: 0; } }
.lx-beats { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 6px; }
.lx-beat button { all: unset; box-sizing: border-box; cursor: pointer; display: flex; gap: 18px; width: 100%; padding: 18px 4px 14px; }
.lx-beat-n { font-size: .8rem; font-weight: 700; color: var(--lx-ink-3); padding-top: 4px; font-variant-numeric: tabular-nums; transition: color .4s; }
.lx-beat-txt { display: grid; gap: 6px; }
.lx-beat-txt b { font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; color: var(--lx-ink-3); transition: color .4s; }
.lx-beat-txt span { font-size: 1rem; line-height: 1.5; color: var(--lx-ink-3); max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .6s var(--lx-ease), opacity .5s; }
.lx-beat.is-active .lx-beat-n { color: #ffd27a; }
.lx-beat.is-active .lx-beat-txt b { color: var(--lx-ink); }
.lx-beat.is-active .lx-beat-txt span { max-height: 6em; opacity: 1; color: var(--lx-ink-2); }
.lx-beat button:hover .lx-beat-txt b { color: var(--lx-ink); }
.lx-beat-bar { display: block; height: 2px; border-radius: 2px; background: var(--lx-line); overflow: hidden; }
.lx-beat-bar i { display: block; height: 100%; width: 0; background: var(--lx-grad); background-size: 300% 100%; }

.lx-device-wrap { display: flex; justify-content: center; position: relative; }
.lx-device-wrap::before { content: ""; position: absolute; inset: 10% -10%; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255,182,39,.16), rgba(255,94,126,.07) 55%, transparent); }
.lx-device { position: relative; width: 310px; height: 630px; border-radius: 56px; background: #0b0a24;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14), inset 0 0 0 10px #1d1a45, 0 50px 120px -20px rgba(0,0,0,.9),
              0 0 0 1px rgba(0,0,0,.6); }
.lx-screen { position: absolute; inset: 12px; border-radius: 44px; overflow: hidden;
  background: radial-gradient(120% 70% at 50% 0%, #1a1648 0%, #0a0920 60%); }
.lx-island { position: absolute; top: 11px; left: 50%; width: 96px; height: 28px; margin-left: -48px; border-radius: 20px; background: #000; z-index: 4; }
.lx-status { position: absolute; top: 15px; left: 30px; right: 30px; display: flex; justify-content: space-between;
  font-size: .72rem; font-weight: 600; color: var(--lx-ink); z-index: 3; }
.lx-view { position: absolute; inset: 0; opacity: 0; transform: scale(.94); filter: blur(8px); pointer-events: none;
  transition: opacity .7s var(--lx-ease), transform .7s var(--lx-ease), filter .7s var(--lx-ease); }
.lx-device:not([data-phase="ring"]) .lx-rings i, .lx-device:not([data-phase="ring"]) .lx-avatar { animation-play-state: paused; }
.lx-device[data-phase="ring"] .lx-ring-view,
.lx-device[data-phase="talk"] .lx-talk-view,
.lx-device[data-phase="done"] .lx-done-view { opacity: 1; transform: none; filter: none; }

.lx-ring-view { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.lx-rings { position: relative; width: 120px; height: 120px; margin-bottom: 34px; display: grid; place-items: center; }
.lx-rings i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(34,211,182,.7); animation: lx-ripple 2.4s cubic-bezier(.2,.6,.3,1) infinite; }
.lx-rings i:nth-child(2) { animation-delay: .8s; border-color: rgba(255,94,126,.7); }
.lx-rings i:nth-child(3) { animation-delay: 1.6s; border-color: rgba(255,138,61,.6); }
.lx-avatar { position: relative; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, #ffb627, #ff5e7e); box-shadow: 0 0 50px rgba(255,182,39,.6); animation: lx-wiggle 1.2s ease-in-out infinite; }
.lx-call-name { margin: 0; font-size: 1.5rem; font-weight: 600; letter-spacing: -.03em; }
.lx-call-sub { margin: 6px 0 0; font-size: .78rem; color: var(--lx-ink-2); }

.lx-call-head { position: absolute; top: 56px; left: 0; right: 0; display: flex; justify-content: center; align-items: center;
  gap: 8px; font-size: .74rem; font-weight: 600; color: var(--lx-ink-2); }
.lx-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #22d3b6; box-shadow: 0 0 10px #22d3b6; animation: lx-blink 1.6s ease-in-out infinite; }
.lx-timer { font-variant-numeric: tabular-nums; color: var(--lx-ink-3); }
.lx-thread { position: absolute; top: 86px; left: 14px; right: 14px; bottom: 122px; display: flex; flex-direction: column;
  justify-content: flex-end; gap: 9px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%); }
.lx-msg { max-width: 88%; padding: 10px 13px 9px; border-radius: 20px; animation: lx-pop .5s cubic-bezier(.2,.9,.3,1.15) both; }
.lx-msg p { margin: 0; }
.lx-msg-agent { align-self: flex-start; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); border-bottom-left-radius: 6px; }
.lx-msg-caller { align-self: flex-end; background: linear-gradient(140deg, #ff8a3d, #ff5e7e); border-bottom-right-radius: 6px; }
.lx-msg-te { font-size: .9rem; line-height: 1.38; color: #fff; }
.lx-msg-en { margin-top: 4px !important; font-size: .66rem; line-height: 1.3; color: rgba(255,255,255,.6); opacity: 0; animation: lx-word .5s ease forwards; }
.lx-wave { position: absolute; left: 18px; right: 18px; bottom: 40px; width: calc(100% - 36px); height: 72px; }

.lx-done-view { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 24px; }
.lx-check-wrap { position: relative; width: 112px; height: 112px; }
.lx-check { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 18px rgba(255,182,39,.55)); }
.lx-check-ring, .lx-check-mark { fill: none; stroke: url(#lxCheck); stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; }
.lx-check-ring { stroke-width: 5; transform: rotate(-90deg); transform-origin: 60px 60px; }
.lx-check-mark { stroke-width: 7; }
.lx-device[data-phase="done"] .lx-check-ring { animation: lx-draw .75s cubic-bezier(.65,0,.35,1) .15s forwards; }
.lx-device[data-phase="done"] .lx-check-mark { animation: lx-draw .45s cubic-bezier(.65,0,.35,1) .8s forwards; }
.lx-device[data-phase="done"] .lx-check-wrap { animation: lx-thump .5s cubic-bezier(.3,1.6,.5,1) 1.15s both; }
.lx-burst { position: absolute; inset: 0; }
.lx-burst i { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%;
  background: #ffd27a; opacity: 0; transform: rotate(var(--r)) translateY(0); }
.lx-burst i:nth-child(even) { background: #ffd27a; }
.lx-device[data-phase="done"] .lx-burst i { animation: lx-burst .9s cubic-bezier(.2,.7,.3,1) 1.15s forwards; }
.lx-done-title { margin: 22px 0 18px; font-size: 1.35rem; font-weight: 600; letter-spacing: -.03em; opacity: 0; }
.lx-lead { width: 100%; margin: 0; padding: 4px 16px; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.07); }
.lx-lead div { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--lx-line); opacity: 0; }
.lx-lead div:last-child { border-bottom: 0; }
.lx-lead dt { font-size: .76rem; color: var(--lx-ink-2); }
.lx-lead dd { margin: 0; font-size: .82rem; font-weight: 600; }
.lx-tag { padding: 3px 9px; border-radius: 999px; font-size: .7rem; background: rgba(34,211,182,.16); color: #5eead4; }
.lx-device[data-phase="done"] .lx-done-title { animation: lx-up .5s var(--lx-ease) 1.2s forwards; }
.lx-device[data-phase="done"] .lx-lead div { animation: lx-up .5s var(--lx-ease) forwards; }
.lx-device[data-phase="done"] .lx-lead div:nth-child(1) { animation-delay: 1.45s; }
.lx-device[data-phase="done"] .lx-lead div:nth-child(2) { animation-delay: 1.57s; }
.lx-device[data-phase="done"] .lx-lead div:nth-child(3) { animation-delay: 1.69s; }
.lx-device[data-phase="done"] .lx-lead div:nth-child(4) { animation-delay: 1.81s; }

/* Siri screen-edge glow while the agent speaks */
.lx-edge { position: absolute; inset: 12px; border-radius: 44px; pointer-events: none; z-index: 6; opacity: 0; transition: opacity .6s var(--lx-ease); }
.lx-device.is-speaking .lx-edge { opacity: 1; }
.lx-edge-blur { position: absolute; inset: 0; border-radius: inherit; filter: blur(14px); }
.lx-edge-ring { position: absolute; inset: 0; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--lx-a), var(--lx-spectrum));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: lx-spin 3s linear infinite paused; }
.lx-device.is-speaking .lx-edge-ring { animation-play-state: running; }
.lx-edge-thick { padding: 12px; }

/* bento */
.lx-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.lx-tile { position: relative; isolation: isolate; overflow: hidden; border-radius: 30px; padding: 34px;
  background: var(--lx-tile); border: 1px solid rgba(255,255,255,.07); }
.lx-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), rgba(255,170,60,.14), transparent 62%); }
.lx-tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(255,94,126,.75), transparent 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.lx-tile:hover::before, .lx-tile:hover::after { opacity: 1; }
.lx-tile h3 { margin: 0; font-size: 1.4rem; font-weight: 600; letter-spacing: -.03em; color: var(--lx-ink); }
.lx-tile p { margin: 10px 0 0; font-size: 1rem; line-height: 1.5; color: var(--lx-ink-2); }
.lx-tile .lx-tile-k { margin: 0 0 18px; font-size: .78rem; font-weight: 600; color: var(--lx-ink-3); letter-spacing: .02em; }
.lx-t-lang { grid-column: span 4; }
.lx-t-247, .lx-t-honest, .lx-t-gaps, .lx-t-bulk, .lx-t-number { grid-column: span 2; }
.lx-t-script { grid-column: span 4; display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; align-items: center; }
.lx-mini-queue { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 8px; }
.lx-mini-queue li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px;
  border-radius: 12px; background: rgba(255,240,220,.05); font-size: .84rem; color: var(--lx-ink); }
.lx-mini-queue b { font-size: .72rem; font-weight: 600; padding: 2px 9px; border-radius: 999px; }
.lx-mini-queue [data-state="answered"] b { color: #5eead4; background: rgba(34,211,182,.12); }
.lx-mini-queue [data-state="skipped"] { opacity: .55; }
.lx-mini-queue [data-state="skipped"] span { text-decoration: line-through; text-decoration-color: rgba(255,240,220,.35); }
.lx-mini-queue [data-state="skipped"] b { color: var(--lx-ink-3); background: rgba(255,240,220,.06); }
.lx-mini-queue [data-state="dialing"] { box-shadow: inset 0 0 0 1px rgba(34,211,182,.3); }
.lx-mini-queue [data-state="dialing"] b { color: #5eead4; background: rgba(34,211,182,.12); animation: lx-blink 1.4s ease-in-out infinite; }
.lx-tile-link { display: inline-block; margin-left: 4px; color: #ffd27a; font-weight: 600; white-space: nowrap; }
.lx-tile-link:hover { color: #ffe6b0; text-decoration: none; }

.lx-hello { position: relative; height: 1.3em; margin: 6px 0 30px; font-size: clamp(3rem, 6.4vw, 5.6rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.25; }
.lx-hello span { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; transform: translateY(35%); filter: blur(12px);
  background: var(--lx-grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: opacity .8s var(--lx-ease), transform .8s var(--lx-ease), filter .8s var(--lx-ease); }
.lx-hello span.is-active { opacity: 1; transform: none; filter: none; }
.lx-hello span.is-out { opacity: 0; transform: translateY(-35%); filter: blur(12px); }
.lx-big { margin: 6px 0 30px; font-size: clamp(3.4rem, 6vw, 5rem); font-weight: 700; letter-spacing: -.05em; line-height: 1.1;
  background: var(--lx-grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.lx-mini-chat { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; font-size: .86rem; }
.lx-q, .lx-a { padding: 9px 13px; border-radius: 16px; max-width: 90%; }
.lx-q { align-self: flex-end; background: linear-gradient(140deg, #ff8a3d, #ff5e7e); border-bottom-right-radius: 5px; }
.lx-a { align-self: flex-start; background: rgba(255,255,255,.08); border-bottom-left-radius: 5px; color: var(--lx-ink); }
.lx-chips { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 8px; }
.lx-chips li { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 12px;
  background: rgba(255,255,255,.05); font-size: .84rem; color: var(--lx-ink); }
.lx-chips b { font-size: .74rem; padding: 2px 8px; border-radius: 999px; background: rgba(255,201,74,.14); color: #ffc98f; }
.lx-branch { width: 100%; height: 110px; margin-bottom: 26px; overflow: visible; }
.lx-branch path { fill: none; stroke: rgba(138,180,255,.55); stroke-width: 1.6; stroke-dasharray: 3 7; animation: lx-dash 1.4s linear infinite; }
.lx-branch circle { fill: #ff5e7e; }
.lx-branch .lx-branch-src { fill: #22d3b6; filter: drop-shadow(0 0 8px #22d3b6); }
.lx-prompt { padding: 22px; border-radius: 22px; background: rgba(0,0,0,.5); border: 1px solid rgba(255,255,255,.08); }
.lx-tile .lx-prompt-label { margin: 0 0 10px; font-size: .74rem; font-weight: 600; color: var(--lx-ink-3); }
.lx-tile .lx-prompt-body { margin: 0; min-height: 4.6em; font-size: 1.02rem; line-height: 1.55; color: var(--lx-ink); }
.lx-caret { display: inline-block; width: 2px; height: 1.15em; margin-left: 2px; vertical-align: -3px; background: #ffd27a; animation: lx-blink 1s steps(1) infinite; }
.lx-outputs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.lx-outputs span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: .78rem;
  background: rgba(255,182,39,.14); color: #ffd9a0; opacity: 0; transform: translateY(8px) scale(.96);
  transition: opacity .5s var(--lx-ease), transform .5s var(--lx-ease); }
.lx-outputs.is-on span { opacity: 1; transform: none; }
.lx-outputs.is-on span:nth-child(2) { transition-delay: .12s; }
.lx-outputs.is-on span:nth-child(3) { transition-delay: .24s; }

/* crm dashboard */
.lx-stage { --p: 1; position: relative; max-width: 1040px; margin: 0 auto; transform-origin: 50% 0;
  transform: perspective(1800px) rotateX(calc((1 - var(--p)) * 24deg)) scale(calc(.86 + var(--p) * .14));
  opacity: calc(.2 + var(--p) * .8); will-change: transform; }
.lx-stage::before { content: ""; position: absolute; inset: -6% -8% -14%; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 45% at 30% 55%, rgba(255,182,39,.22), transparent 70%),
              radial-gradient(45% 45% at 72% 50%, rgba(255,94,126,.2), transparent 70%),
              radial-gradient(40% 40% at 55% 85%, rgba(34,211,182,.14), transparent 70%); }
.lx-dash { border-radius: 30px; padding: 30px; background: linear-gradient(180deg, rgba(30,26,70,.94), rgba(14,12,40,.96));
  border: 1px solid rgba(255,255,255,.09); box-shadow: 0 70px 140px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.06); }
.c3d-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.c3d-title { font-size: .95rem; font-weight: 600; color: var(--lx-ink); letter-spacing: -.01em; }
.c3d-status { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; color: #5eead4; }
.c3d-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #22d3b6; box-shadow: 0 0 10px #22d3b6; animation: lx-blink 1.6s ease-in-out infinite; }
.c3d-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.c3d-kpi { padding: 18px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); }
.ck-label { font-size: .74rem; color: var(--lx-ink-2); }
.ck-value { margin-top: 6px; font-size: 2.2rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.ck-sub { margin-top: 6px; font-size: .7rem; color: var(--lx-ink-3); }
.c3d-lower { display: grid; grid-template-columns: 1fr 1.05fr; gap: 12px; }
.c3d-col { padding: 18px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); }
.c3d-pipe-label, .c3d-chart-label { font-size: .74rem; color: var(--lx-ink-2); margin-bottom: 12px; }
.c3d-pipeline { margin-bottom: 22px; }
.c3d-pipe-track { display: flex; gap: 10px; align-items: flex-end; }
.c3d-pipe-col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 6px; }
.c3d-pipe-col b { font-size: .8rem; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }
.c3d-pipe-bar { border-radius: 6px 6px 3px 3px; min-height: 6px; transform: scaleY(0); transform-origin: bottom;
  transition: transform 1s var(--lx-ease) var(--d, 0ms); }
.c3d-pipe-txt { font-size: .66rem; color: var(--lx-ink-3); text-align: center; }
.c3d-bars { display: flex; gap: 8px; height: 92px; align-items: flex-end; }
.c3d-bar { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(to top, #ff7a1a, #ffc94a); transform: scaleY(0);
  transform-origin: bottom; transition: transform 1s var(--lx-ease) var(--d, 0ms); }
.c3d-days { display: flex; gap: 8px; margin-top: 6px; }
.c3d-days span { flex: 1; text-align: center; font-size: .64rem; color: var(--lx-ink-3); }
.lx-stage.is-in .c3d-bar, .lx-stage.is-in .c3d-pipe-bar { transform: none; }
.c3d-calls { list-style: none; margin: 0; padding: 0; display: grid; }
.c3d-call { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--lx-line);
  opacity: 0; transform: translateX(14px); transition: opacity .6s var(--lx-ease), transform .6s var(--lx-ease); }
.c3d-call:last-child { border-bottom: 0; }
.lx-stage.is-in .c3d-call { opacity: 1; transform: none; }
.lx-stage.is-in .c3d-call:nth-child(2) { transition-delay: .1s; }
.lx-stage.is-in .c3d-call:nth-child(3) { transition-delay: .2s; }
.lx-stage.is-in .c3d-call:nth-child(4) { transition-delay: .3s; }
.c3d-call-av { width: 34px; height: 34px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700;
  background: linear-gradient(140deg, rgba(255,182,39,.35), rgba(255,94,126,.35)); }
.c3d-call-who { display: grid; gap: 2px; min-width: 0; flex: 1; }
.c3d-call-who b { font-size: .86rem; font-weight: 600; }
.c3d-call-who span { font-size: .72rem; color: var(--lx-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c3d-pill { padding: 3px 10px; border-radius: 999px; font-size: .7rem; font-weight: 600; background: rgba(255,182,39,.15); color: #ffd9a0; }

/* flow */
.lx-flow { --p: 0; position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.lx-flow-line { position: absolute; left: 24px; right: 24px; top: 23px; height: 2px; background: var(--lx-line); border-radius: 2px; }
.lx-flow-line i { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--lx-grad);
  transform: scaleX(var(--p)); transform-origin: left; }
.lx-flow-step { position: relative; }
.lx-flow-n { position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 26px;
  font-weight: 700; color: var(--lx-ink-3); background: #121032; border: 1.5px solid rgba(255,255,255,.12);
  transition: color .5s, background .5s, border-color .5s, box-shadow .5s, transform .5s var(--lx-ease); }
.lx-flow-step.is-on .lx-flow-n { color: #fff; border-color: transparent; background: linear-gradient(140deg, #ffb627, #ff5e7e);
  box-shadow: 0 0 34px rgba(255,150,60,.55); transform: scale(1.06); }
.lx-flow-step h3 { margin: 0; font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; color: var(--lx-ink-3); transition: color .5s; }
.lx-flow-step p { margin: 10px 0 0; font-size: .95rem; line-height: 1.55; color: var(--lx-ink-3); transition: color .5s; }
.lx-flow-step.is-on h3 { color: var(--lx-ink); }
.lx-flow-step.is-on p { color: var(--lx-ink-2); }

/* verticals */
.lx-verticals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.lx-vert { padding: 30px; }
.lx-vert-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 26px; color: #fff;
  background: linear-gradient(140deg, rgba(255,182,39,.5), rgba(255,94,126,.5)); }
.lx-vert h3 { font-size: 1.15rem; }
.lx-vert p { font-size: .92rem; }

/* final + footer */
.lx-final { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 60px 24px clamp(110px, 14vw, 170px); }
.lx-orb-slot-sm { width: clamp(150px, 20vw, 210px); margin-bottom: 64px; }
.lx-fine { margin: 26px 0 0; font-size: .82rem; color: var(--lx-ink-3); }
.lx-foot { position: relative; z-index: 1; overflow: hidden; border-top: 1px solid var(--lx-line); padding: 36px 0 30px; font-size: .8rem; color: var(--lx-ink-3); }
.lx-foot-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.lx-foot-links { display: flex; gap: 22px; }
.lx-foot a { color: var(--lx-ink-2); }
.lx-foot a:hover { color: var(--lx-ink); text-decoration: none; }

/* bulk calls: a live campaign console (see landing.js) */
.lx-bulk { display: grid; grid-template-columns: minmax(320px, 520px) 1fr; gap: 72px; align-items: center; }
.lx-bulk-copy { min-width: 0; }
.lx-bulk-copy .lx-h2 { font-size: clamp(2rem, 3vw, 2.55rem); }
.lx-new { display: inline-block; margin-right: 8px; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: #0a0920; background: linear-gradient(135deg, #3ef0d2, #17b8a6); }
.lx-points { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 22px; }
.lx-points li { position: relative; padding-left: 30px; font-size: 1.04rem; line-height: 1.55; color: var(--lx-ink-2); }
.lx-points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffd166, #ff8a3d); box-shadow: 0 0 12px rgba(255,138,61,.55); }
.lx-points b { color: var(--lx-ink); font-weight: 600; }

.lx-bulk-visual { position: relative; }
.lx-bulk-visual::before { content: ""; position: absolute; inset: -4% -14% -10%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(34,211,182,.18), rgba(255,138,61,.08) 55%, transparent); }
.lx-console { border-radius: 26px; padding: 22px; background: linear-gradient(180deg, rgba(30,26,70,.92), rgba(14,12,40,.95));
  border: 1px solid var(--lx-line); box-shadow: 0 50px 110px -40px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,240,220,.06); }
.lx-console-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.lx-file { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 10px; font-size: .84rem;
  background: rgba(255,240,220,.06); color: var(--lx-ink); }
.lx-file .icon { color: #ffc94a; }
.lx-file-meta { font-size: .76rem; color: var(--lx-ink-3); }
.lx-progress { height: 4px; margin: 18px 0 14px; border-radius: 4px; background: rgba(255,240,220,.07); overflow: hidden; }
.lx-progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #22d3b6, #ffc94a);
  transition: width .6s var(--lx-ease); }
.lx-console-stats { display: flex; align-items: center; gap: 18px; font-size: .8rem; color: var(--lx-ink-3); margin-bottom: 10px; }
.lx-console-stats b { color: var(--lx-ink); font-size: .95rem; font-variant-numeric: tabular-nums; }
.lx-pause { all: unset; box-sizing: border-box; cursor: pointer; margin-left: auto; padding: 6px 14px; border-radius: 999px;
  font-size: .78rem; font-weight: 600; color: var(--lx-ink); border: 1px solid rgba(255,240,220,.18); transition: background .2s, border-color .2s; }
.lx-pause:hover { background: rgba(255,240,220,.08); border-color: rgba(255,240,220,.3); }
.lx-pause:focus-visible { outline: 2px solid #ffd27a; outline-offset: 3px; }
.lx-console.is-paused .lx-progress i { background: linear-gradient(90deg, #8a84b3, #c9c3e6); }

.lx-queue { list-style: none; margin: 0; padding: 0; display: grid; }
.lx-qrow { display: flex; align-items: center; gap: 12px; padding: 11px 10px; border-radius: 14px; border-bottom: 1px solid var(--lx-line);
  transition: background .4s, opacity .4s; }
.lx-qrow:last-child { border-bottom: 0; }
.lx-qav { width: 32px; height: 32px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 700;
  color: var(--lx-ink); background: rgba(255,240,220,.08); transition: background .4s, box-shadow .4s; }
.lx-qwho { display: grid; gap: 2px; min-width: 0; flex: 1; }
.lx-qwho b { font-size: .86rem; font-weight: 600; color: var(--lx-ink); }
.lx-qnote { font-size: .72rem; color: var(--lx-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lx-qstate { flex: 0 0 auto; padding: 3px 10px; border-radius: 999px; font-size: .7rem; font-weight: 600; color: var(--lx-ink-3);
  background: rgba(255,240,220,.05); }
.lx-qbars { display: none; gap: 2px; align-items: center; height: 16px; }
.lx-qbars i { display: block; width: 3px; height: 30%; border-radius: 2px; background: #22d3b6; animation: lx-eq .8s ease-in-out infinite; }
.lx-qbars i:nth-child(2) { animation-delay: .15s; }
.lx-qbars i:nth-child(3) { animation-delay: .3s; }
.lx-qbars i:nth-child(4) { animation-delay: .45s; }

.lx-qrow[data-state="dialing"], .lx-qrow[data-state="talking"], .lx-qrow[data-state="checking"] { background: rgba(255,240,220,.05); }
.lx-qrow[data-state="dialing"] .lx-qav { background: rgba(34,211,182,.25); animation: lx-ringpulse 1.1s ease-out infinite; }
.lx-qrow[data-state="dialing"] .lx-qstate, .lx-qrow[data-state="talking"] .lx-qstate { color: #5eead4; background: rgba(34,211,182,.12); }
.lx-qrow[data-state="talking"] .lx-qav { background: linear-gradient(135deg, #3ef0d2, #17b8a6); color: #0a0920; }
.lx-qrow[data-state="talking"] .lx-qbars { display: inline-flex; }
.lx-qrow[data-state="answered"] .lx-qstate { color: #5eead4; background: rgba(34,211,182,.12); }
.lx-qrow[data-state="answered"] .lx-qnote { color: var(--lx-ink-2); }
.lx-qrow[data-state="missed"] .lx-qstate { color: #ffb38a; background: rgba(255,138,61,.12); }
.lx-qrow[data-state="skipped"] { opacity: .55; }
.lx-qrow[data-state="skipped"] .lx-qwho b { text-decoration: line-through; text-decoration-color: rgba(255,240,220,.35); }
.lx-qrow[data-state="answered"] .lx-qnote, .lx-qrow[data-state="missed"] .lx-qnote, .lx-qrow[data-state="skipped"] .lx-qnote {
  animation: lx-up .45s var(--lx-ease); }
@keyframes lx-eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
@keyframes lx-ringpulse { 0% { box-shadow: 0 0 0 0 rgba(34,211,182,.55); } 100% { box-shadow: 0 0 0 12px rgba(34,211,182,0); } }
@media (max-width: 980px) {
  .lx-bulk { grid-template-columns: 1fr; gap: 48px; }
  .lx-bulk-visual { order: 2; }
}

/* pricing: one catchy starting rate; the digit rolls down to 3 when revealed */
.lx-pricing { padding-top: clamp(64px, 9vw, 120px); }
.lx-price-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: 36px; border: 1px solid var(--lx-line);
  background: radial-gradient(70% 90% at 100% 0%, rgba(255,182,39,.16), transparent 60%),
              radial-gradient(60% 80% at 0% 100%, rgba(34,211,182,.10), transparent 60%),
              linear-gradient(180deg, rgba(30,26,70,.9), rgba(14,12,40,.92)); }
.lx-price-copy { min-width: 0; }
.lx-price-copy .lx-sub { margin: 18px 0 0; max-width: 40ch; }
.lx-price-perks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.lx-price-perks li { display: flex; align-items: center; gap: 9px; font-size: .95rem; color: var(--lx-ink); }
.lx-price-perks .icon { flex: 0 0 auto; color: #22d3b6; }
.lx-price-tag { display: flex; flex-direction: column; align-items: center; text-align: center; }
.lx-price-from { font-size: .95rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lx-ink-2); }
.lx-price-num { display: flex; align-items: flex-start; line-height: 1; margin: 6px 0 2px; font-weight: 700; font-stretch: 112%;
  background: var(--lx-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lx-price-cur { font-size: clamp(2.4rem, 4.4vw, 3.6rem); margin-top: .35em; margin-right: .04em; }
.lx-roll { display: inline-block; height: 1em; overflow: hidden; font-size: clamp(7rem, 15vw, 11.5rem); letter-spacing: -.04em; }
.lx-roll-col { display: flex; flex-direction: column; transform: translate3d(0, 0, 0);
  transition: transform 1.9s cubic-bezier(.16,.84,.24,1) .25s; }
.lx-roll-col span { display: block; height: 1em; line-height: 1;
  background: var(--lx-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lx-price-card.is-in .lx-roll-col { transform: translate3d(0, -6em, 0); }
.lx-price-unit { font-size: 1.15rem; color: var(--lx-ink-2); margin-bottom: 26px; }
.lx-price-fine { margin: 18px auto 0; max-width: 70ch; text-align: center; font-size: .78rem; line-height: 1.5; color: var(--lx-ink-3); }
@media (max-width: 860px) {
  .lx-price-card { grid-template-columns: 1fr; gap: 36px; }
  .lx-price-tag { order: -1; }
}
@media (max-width: 480px) { .lx-price-perks { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .lx-roll-col { transition: none; transform: translate3d(0, -6em, 0); } }

/* hero language cycle: each word holds, then dissolves into particles (see landing.js) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.lx-langline { margin: 16px 0 0; display: flex; justify-content: center; align-items: baseline; gap: .38em;
  font-size: clamp(1.3rem, 2.3vw, 1.9rem); font-weight: 400; color: var(--lx-ink-2); }
.lx-langs { display: inline-grid; }
.lx-lang { grid-area: 1 / 1; justify-self: start; white-space: nowrap; font-weight: 600;
  background: var(--lx-grad); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; filter: blur(10px); transform: translateY(.3em);
  transition: opacity .6s var(--lx-ease), filter .7s var(--lx-ease), transform .8s var(--lx-ease);
  }
.lx-lang.is-active { opacity: 1; filter: none; transform: none; }
@property --wipe { syntax: '<percentage>'; inherits: false; initial-value: -8%; }
.lx-lang.is-dissolving { opacity: 1; filter: none; transform: none; transition: none;
  -webkit-mask-image: linear-gradient(90deg, transparent calc(var(--wipe) - 6%), #000 calc(var(--wipe) + 6%));
  mask-image: linear-gradient(90deg, transparent calc(var(--wipe) - 6%), #000 calc(var(--wipe) + 6%));
  animation: lx-wipe .6s linear forwards; }
.lx-lang.is-gone { transition: none; }
@keyframes lx-wipe { from { --wipe: -8%; } to { --wipe: 108%; } }
.lx-dust { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 3; pointer-events: none; }

/* brand moments */
.lx-meaning { display: inline-flex; gap: 8px; align-items: baseline; }
.lx-meaning span { color: var(--lx-ink); }
.lx-meaning em { font-style: normal; color: var(--lx-ink-3); }
.lx-final .lx-sub { margin-bottom: 0; }
.lx-foot-brand { display: inline-flex; align-items: center; gap: 16px; color: var(--lx-ink-2); }
.lx-foot-brand .brand-name { color: var(--lx-ink); }
.lx-footmark { margin: 48px 0 0; text-align: center; font-size: clamp(4.5rem, 20vw, 15.5rem); line-height: .82; font-weight: 700;
  letter-spacing: -.065em; user-select: none;
  background: linear-gradient(180deg, rgba(255,255,255,.17) 0%, rgba(255,255,255,.04) 70%, transparent 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.lx-foot-legal { margin: 18px 0 0; text-align: center; font-size: .74rem; color: var(--lx-ink-3); }

/* motion */
@keyframes lx-spin { to { --lx-a: 360deg; } }
@keyframes lx-word { from { opacity: 0; filter: blur(6px); transform: translateY(4px); } to { opacity: 1; filter: none; transform: none; } }
@keyframes lx-pop { from { opacity: 0; transform: translateY(12px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes lx-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes lx-ripple { from { transform: scale(.7); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }
@keyframes lx-wiggle { 0%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-9deg); } 20%, 40% { transform: rotate(9deg); } 50% { transform: rotate(0); } }
@keyframes lx-blink { 50% { opacity: .35; } }
@keyframes lx-draw { to { stroke-dashoffset: 0; } }
@keyframes lx-thump { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes lx-burst { 0% { opacity: 1; transform: rotate(var(--r)) translateY(0) scale(1); } 100% { opacity: 0; transform: rotate(var(--r)) translateY(-78px) scale(.3); } }
@keyframes lx-dash { to { stroke-dashoffset: -20; } }

/* responsive */
@media (max-width: 980px) {
  .lx-demo { grid-template-columns: 1fr; gap: 56px; }
  .lx-bento { grid-template-columns: repeat(2, 1fr); }
  .lx-t-lang, .lx-t-script { grid-column: span 2; }
  .lx-t-247, .lx-t-honest, .lx-t-gaps, .lx-t-bulk, .lx-t-number { grid-column: span 1; }
  .lx-t-number { grid-column: span 2; }
  .lx-verticals { grid-template-columns: repeat(2, 1fr); }
  .c3d-kpis { grid-template-columns: repeat(2, 1fr); }
  .c3d-lower { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .lx-links { display: none; }
  .lx-nav-cta { margin-left: auto; }
  .lx-flow { grid-template-columns: 1fr; gap: 36px; padding-left: 72px; }
  .lx-flow-line { left: 23px; right: auto; top: 24px; bottom: 24px; width: 2px; height: auto; }
  .lx-flow-line i { transform: scaleY(var(--p)); transform-origin: top; }
  .lx-flow-n { position: absolute; left: -72px; top: -10px; }
}
@media (max-width: 620px) {
  .lx-nav-in { padding: 0 18px; }
  .lx-navlink { display: none; }
  .lx-wrap { padding: 0 18px; }
  .lx-hero { padding-top: 84px; }
  .lx-bento, .lx-verticals { grid-template-columns: 1fr; }
  .lx-t-lang, .lx-t-script, .lx-t-247, .lx-t-honest, .lx-t-gaps, .lx-t-bulk, .lx-t-number { grid-column: span 1; }
  .lx-t-script { grid-template-columns: 1fr; gap: 24px; }
  .lx-tile { padding: 26px; border-radius: 26px; }
  .lx-dash { padding: 16px; border-radius: 22px; }
  .ck-value { font-size: 1.7rem; }
  .lx-cta { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; filter: none; }
  .lx-stage { transform: none; opacity: 1; }
  .c3d-bar, .c3d-pipe-bar, .c3d-call, .lx-check-ring, .lx-check-mark, .lx-done-title, .lx-lead div { transform: none; opacity: 1; stroke-dashoffset: 0; }
}

/* talk-to-agent test console and inherited admin pages */
.talk-grid { max-width: 820px; }
.talk-log { height: 340px; overflow: auto; margin-top: 16px; padding: 16px; border-radius: var(--r); display: flex; flex-direction: column; gap: 10px;
  background: var(--surface-sunken); border: 1px solid var(--line); }
.talk-msg { max-width: 82%; padding: 10px 14px; border-radius: 16px; }
.talk-msg p { margin: 0; line-height: 1.45; }
.talk-who { display: block; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .65; margin-bottom: 3px; }
.talk-msg-agent { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.talk-msg-lead { align-self: flex-end; background: var(--g-brand); color: var(--ink-on-fill); border-bottom-right-radius: 5px; }
.talk-form { display: flex; gap: 10px; margin-top: 12px; }
.talk-form input { flex: 1; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .74rem; font-weight: 700; color: #0a0920; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 720px) { .grid2 { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- motion & accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (forced-colors: active) {
  .card, .kpi, .board-col, .feature, .step, .note { border: 1px solid CanvasText; }
  .badge { border: 1px solid CanvasText; }
  .stage-dot, .segbar > span { border: 1px solid CanvasText; }
  .btn-primary { forced-color-adjust: none; }
}

@media print {
  .sidebar, .topbar, .toast-host, .lp-nav { display: none !important; }
  .shell { grid-template-columns: 1fr; }
  body { background: #fff; }
  body::before { display: none; }
}
