/* ==========================================================================
   Shop-Assistant Landing — Clean SaaS & Engineering Design System
   Uses local Golos Text, Manrope and Roboto Mono fonts.
   ========================================================================== */

@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/golos-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/golos-latin.woff2') format('woff2');
  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: 'Golos Text';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/golos-ruble.woff2') format('woff2');
  unicode-range: U+20BD;
}

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-latin.woff2') format('woff2');
  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: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../assets/fonts/manrope-ruble.woff2') format('woff2');
  unicode-range: U+20BD;
}

@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/roboto-mono-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/roboto-mono-latin.woff2') format('woff2');
  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: 'nbrb';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../assets/fonts/nbrb.woff2') format('woff2');
  unicode-range: U+0183;
}

:root {
  --bg: #ffffff;
  --bg-muted: #fafafa;
  --bg-subtle: #f4f4f5;
  --surface: #ffffff;

  --ink: #09090b;
  --ink-2: #3f3f46;
  --muted: #71717a;

  --border: #e4e4e7;
  --border-strong: #d4d4d8;

  --brand: #18181b;
  --brand-hover: #27272a;
  --brand-soft: #f4f4f5;
  --brand-border: #d4d4d8;

  --success: #059669;
  --success-soft: #ecfdf5;
  --success-border: #a7f3d0;

  --danger: #dc2626;
  --danger-soft: #fef2f2;
  --danger-border: #fecaca;

  --warn: #d97706;
  --warn-soft: #fffbeb;
  --warn-border: #fde68a;

  --dark-bg: #0c0c0e;
  --dark-surface: #141416;
  --dark-surface-2: #1c1c1f;
  --dark-border: #27272a;
  --dark-ink: #f4f4f5;
  --dark-muted: #a1a1aa;

  --font-display: 'nbrb', 'Manrope', 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'nbrb', 'Golos Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'nbrb', 'Roboto Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 8px 24px -12px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.05), 0 20px 44px -20px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 24px 60px -18px rgba(9, 9, 11, 0.24);

  --container-max: 1240px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  letter-spacing: -0.025em;
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

button, input, textarea, select {
  font: inherit;
}

code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--bg-subtle);
  color: var(--ink);
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

:where(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.site-header :where(a, button):focus-visible {
  outline-color: var(--brand);
}

.hero :where(a, button):focus-visible {
  outline-color: var(--brand);
}

.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;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: 24px;
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
}

.mono-price {
  font-family: var(--font-mono);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
  flex: none;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.16);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 120ms ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

.btn-lg {
  padding: 13px 22px;
  font-size: 15px;
  border-radius: 10px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(9, 9, 11, 0.16);
}

.btn-primary:hover {
  background: var(--brand-hover);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: #a1a1aa;
}

/* ---------- Header (Flat Admin UI Sticky Navbar) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding-inline: 0;
  background: rgba(249, 250, 251, 0.94);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid #e4e7ec;
  transition: background 220ms ease, border-color 220ms ease;
}

.site-header.is-scrolled {
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: #d0d5dd;
}

.header-pill-wrap {
  position: relative;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0;
}

.header-inner {
  position: relative;
  height: 60px;
  padding: 0 24px;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header.is-scrolled .header-inner {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #465fff;
  color: #ffffff;
  display: grid;
  place-items: center;
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: #101828;
}

.brand-country-pill {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #3641f5;
  background: #ecf3ff;
  border: 1px solid #dde9ff;
  padding: 2px 7px;
  border-radius: 999px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  padding: 7px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: #344054;
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.nav-link:hover {
  color: #3641f5;
  background: #ecf3ff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-xs {
  width: 15px;
  height: 15px;
  flex: none;
}

.btn-pill-light {
  background: #ffffff;
  color: #09090b;
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.14);
}

.btn-pill-light:hover {
  background: #e4e4e7;
  color: #09090b;
  transform: translateY(-1px);
}

.btn-pill-brand {
  background: #465fff;
  color: #ffffff;
  border: 1px solid #465fff;
  border-radius: 10px;
  padding: 9px 16px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
}

.btn-pill-brand:hover {
  background: #3641f5;
  border-color: #3641f5;
  color: #ffffff;
  transform: none;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.12);
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.65);
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 2px 6px rgba(15, 23, 42, 0.06);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-drawer {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline: 0;
  margin-top: 0;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    0 22px 48px -14px rgba(15, 23, 42, 0.18);
  padding: 16px 20px 20px;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-link {
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: 8px;
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.72);
  color: var(--brand-hover);
}

.mobile-nav-cta {
  margin-top: 12px;
}

/* ---------- WOW Hero (Hero 38 3D Robot + Neutral Capsules) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: -62px;
  min-height: clamp(822px, 100vh, 962px);
  padding: 98px 0 34px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(640px 400px at 50% 56%, rgba(9, 9, 11, 0.045), rgba(9, 9, 11, 0.01) 55%, transparent 75%),
    linear-gradient(180deg, #fafafa 0%, #ffffff 52%, #f4f4f5 100%);
  border-bottom: 1px solid var(--border);
}

/* 3D Interactive Robot Layer (Spline, hero-section-38) */
.hero-robot-stage {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1480px;
  aspect-ratio: 2 / 1;
  z-index: 2;
  pointer-events: auto;
}

.hero-robot-inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#hero-robot-canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 600ms ease;
}

#hero-robot-canvas.is-ready {
  opacity: 1;
}

.hero-robot-bottom-fade {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 36px;
  background: linear-gradient(to top, #f4f4f5, rgba(244, 244, 245, 0));
  pointer-events: none;
}

/* Foreground Hero Stage (pointer-events pass through empty space to robot canvas) */
.hero-stage {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  z-index: 4;
  pointer-events: none;
}

.hero-stage a,
.hero-stage button,
.hero-eyebrow-pill,
.hero-cta-row,
.hero-hud-card,
.hero-specs-duo {
  pointer-events: auto;
}

/* Top 2-Column Editorial Row (Matter / hero-section-38 style + Monochrome Capsules) */
.hero-top-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
}

.hero-top-grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 44px;
  align-items: center;
}

.hero-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 4px 13px 4px 4px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--bg-subtle);
  box-shadow: 0 2px 10px -4px rgba(9, 9, 11, 0.08);
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.eyebrow-text {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.2;
}

.hero-title {
  font-family: var(--font-body);
  font-size: clamp(34px, 3.85vw, 50px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
}

.hero-morph-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px 4px;
  margin-inline: 2px;
  border-radius: 999px;
  border: 1.5px solid #d4d4d8;
  background: linear-gradient(180deg, #fafafa 0%, #f4f4f5 100%);
  color: var(--ink);
  box-shadow: 0 4px 14px -8px rgba(9, 9, 11, 0.16);
  vertical-align: baseline;
  overflow: hidden;
}

.hero-morph-word {
  display: inline-block;
  transition: opacity 240ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1), filter 240ms ease;
}

.hero-morph-word.is-exiting {
  opacity: 0;
  transform: translateY(-38%);
  filter: blur(3px);
}

.hero-morph-word.is-entering {
  opacity: 0;
  transform: translateY(38%);
  filter: blur(3px);
  transition: none;
}

.hero-lead-col {
  justify-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  max-width: 36ch;
}

.hero-lead {
  font-size: clamp(16px, 1.28vw, 17.5px);
  line-height: 1.52;
  font-weight: 400;
  color: var(--ink-2);
  margin: 0;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-cta-btn {
  border-radius: 999px;
  padding: 11px 20px;
}

/* Middle Backdrop + Single Right Glass Callout (leaves left & center open around 3D Robot) */
.hero-middle-band {
  position: relative;
  flex: 1;
  min-height: 310px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-watermark {
  position: absolute;
  inset-inline: 0;
  top: 55%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  pointer-events: none;
  user-select: none;
  z-index: 1;
  overflow: hidden;
}

.hero-watermark span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(64px, 11.8vw, 172px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: rgba(9, 9, 11, 0.045);
  text-transform: uppercase;
}

.hero-hud-card {
  position: relative;
  z-index: 2;
  width: 312px;
  padding: 14px 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px -18px rgba(9, 9, 11, 0.12);
  display: flex;
  flex-direction: column;
  gap: 9px;
  text-decoration: none;
  color: inherit;
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), border-color 240ms ease, box-shadow 240ms ease;
}

.hero-hud-card--right {
  margin-left: auto;
  transform: translateY(-6px);
}

.hero-hud-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-strong);
  box-shadow: 0 24px 46px -18px rgba(9, 9, 11, 0.16);
}

.hud-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
}

.hud-head-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hud-head-meta {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--brand);
}

.hud-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  flex: none;
}

.hud-dot--dark {
  background: #09090b;
  box-shadow: 0 0 0 3px rgba(9, 9, 11, 0.12);
}

.hud-dot--brand {
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(9, 9, 11, 0.09);
}

.hud-chat-user {
  align-self: flex-end;
  max-width: 90%;
  padding: 8px 11px;
  border-radius: 13px 13px 3px 13px;
  background: var(--brand);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.38;
  box-shadow: 0 4px 12px -6px rgba(9, 9, 11, 0.28);
}

.hud-chat-agent {
  align-self: stretch;
  margin-right: 6px;
  padding: 9px 10px;
  border-radius: 13px 13px 13px 3px;
  background: #fafafa;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.hud-agent-text {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--ink-2);
}

.hud-agent-text strong {
  font-weight: 600;
  color: var(--ink);
}

.hud-cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 7px 6px 10px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--border);
}

.hud-prod-meta {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
}

.hud-prod-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.hud-prod-meta strong {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  color: var(--ink-2);
  white-space: nowrap;
}

.hud-cart-btn {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  flex: none;
}

/* Bottom Row: Frosted Spec Duo Card (left) + Empty Center for Robot + Circular Stamp (right) */
.hero-bottom-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.hero-specs-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 236px));
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  box-shadow: 0 18px 36px -18px rgba(9, 9, 11, 0.12);
  overflow: hidden;
}

.hero-spec-item {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  border-right: 1px solid #e2e8f0;
}

.hero-spec-item:last-child {
  border-right: 0;
}

.hero-spec-copy .hero-spec-title {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 3px;
}

.hero-spec-copy p {
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-2);
}

.hero-spec-val {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-hover);
  white-space: nowrap;
}

.spec-icon {
  width: 15px;
  height: 15px;
  color: var(--brand);
  flex: none;
}

/* Rotating Circular Scroll Stamp (Hero 38 signature component) */
.hero-scroll-stamp {
  position: relative;
  width: 118px;
  height: 118px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  flex: none;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 12px 28px -14px rgba(9, 9, 11, 0.14);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.hero-scroll-stamp:hover {
  transform: translateY(-3px) scale(1.03);
  border-color: var(--brand);
  box-shadow: 0 16px 32px -14px rgba(9, 9, 11, 0.22);
}

.scroll-stamp-center {
  width: 62px;
  height: 62px;
  border-radius: 999px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 6px 16px -6px rgba(9, 9, 11, 0.28);
  display: grid;
  place-items: center;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.hero-scroll-stamp:hover .scroll-stamp-center {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  color: #ffffff;
}

.scroll-stamp-center svg {
  width: 22px;
  height: 22px;
}

.scroll-stamp-ring {
  position: absolute;
  inset: 0;
  animation: stampSpin 18s linear infinite;
  pointer-events: none;
}

.scroll-stamp-char {
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  transform-origin: center;
  transform:
    translate(-50%, -50%)
    rotate(calc(360deg / var(--total) * var(--index)))
    translateY(-47px);
}

@keyframes stampSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---------- Runlit Architectural Canvas & 12-Col Guides ---------- */
.runlit-canvas {
  position: relative;
  background: #f6f7f9;
  overflow: hidden;
}

.co-guides {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  display: flex;
  justify-content: center;
  padding-inline: 24px;
}

.co-guides-inner {
  width: 100%;
  max-width: calc(var(--container-max) - 48px);
  height: 100%;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  border-inline: 1px solid rgba(15, 23, 42, 0.045);
}

.co-guides-inner span {
  border-right: 1px solid rgba(15, 23, 42, 0.032);
}

.co-guides-inner span:last-child {
  border-right: 0;
}

/* ---------- Shared Section Architecture ---------- */
.section {
  padding: 84px 0;
}

.runlit-canvas .section {
  position: relative;
  z-index: 1;
  padding: 76px 0;
  background: transparent;
  border-top: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.075);
}

.section-muted {
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 14px;
}

.section-kicker::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 1.5px;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(9, 9, 11, 0.08);
  flex: none;
}

.section-title {
  font-family: var(--font-body);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.032em;
  color: #09090b;
}

.text-quiet {
  color: #8b95a7;
  font-weight: 500;
}

.section-lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ---------- Section 1: Interactive Demo (AIMERCE.BY Storefront + Shop Agent Widget) ---------- */
#demo.section {
  scroll-margin-top: 72px;
  padding: 28px 0 56px;
}

#demo > .container {
  position: relative;
}

#demo .section-head {
  margin-bottom: 16px;
}

/* ---------- Section 1: Demo Portal Card (/shop/#demo -> demo/) ---------- */
#demo.demo-portal-section {
  padding: 44px 0 64px;
}

.demo-portal {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 36px 40px;
  border-radius: 24px;
  background: radial-gradient(640px 320px at 0% 0%, rgba(9, 9, 11, 0.03), transparent 65%), #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 24px 56px -34px rgba(9, 9, 11, 0.12);
}

.demo-portal-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.demo-portal-copy > .section-kicker {
  margin-bottom: 0;
}

.demo-portal-title {
  font-family: var(--font-body);
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.demo-portal-desc {
  font-size: 15.5px;
  line-height: 1.58;
  color: var(--ink-2);
  max-width: 48ch;
}

.demo-portal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.demo-portal-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.demo-portal-cta-arrow {
  width: 17px;
  height: 17px;
  transition: transform 160ms ease;
}

.demo-portal-cta:hover .demo-portal-cta-arrow {
  transform: translateX(3px);
}

.demo-portal-hint {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}

.demo-portal-stage {
  padding: 14px;
  border-radius: 18px;
  background-color: #fafafa;
  background-image: radial-gradient(rgba(9, 9, 11, 0.09) 1px, transparent 1px);
  background-size: 16px 16px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.demo-portal-stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 4px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}

.demo-portal-domain {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-2);
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.demo-portal-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.demo-portal-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 13px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  text-decoration: none;
  color: var(--ink);
  transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.demo-portal-tile:hover {
  border-color: var(--brand);
  background: #fafafa;
  transform: translateX(2px);
  box-shadow: 0 8px 20px -16px rgba(9, 9, 11, 0.25);
}

.demo-portal-num {
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 150ms ease, color 150ms ease;
}

.demo-portal-tile:hover .demo-portal-num {
  background: var(--brand);
  color: #ffffff;
}

.demo-portal-tile-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.demo-portal-tile-body strong {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

.demo-portal-tile-body span {
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
}

.demo-portal-arrow {
  flex: none;
  font-size: 14px;
  font-weight: 700;
  color: #94a3b8;
  transition: transform 150ms ease, color 150ms ease;
}

.demo-portal-tile:hover .demo-portal-arrow {
  color: var(--brand);
  transform: translate(2px, -2px);
}

.demo-scenarios-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 15px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 2px 8px -4px rgba(15, 23, 42, 0.08);
  margin-bottom: 12px;
}

.demo-scenarios-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 2px 0 4px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-right: 4px;
}

.demo-scenarios-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(9, 9, 11, 0.1);
  flex: none;
  animation: demoPulseDot 2s ease-in-out infinite;
}

@keyframes demoPulseDot {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(9, 9, 11, 0.1);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(9, 9, 11, 0.04);
  }
}

.demo-scenario-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 6px 11px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.13);
  background: #ffffff;
  color: #334155;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.demo-sc-icon {
  width: 14px;
  height: 14px;
  color: #64748b;
  flex: none;
  transition: color 140ms ease;
}

.demo-sc-zone {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  transition: background-color 140ms ease, color 140ms ease;
}

.demo-scenario-btn:hover,
.demo-scenario-btn.is-cursor-hover {
  background: #f4f4f5;
  border-color: var(--brand);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px -6px rgba(9, 9, 11, 0.16);
}

.demo-scenario-btn:hover .demo-sc-icon,
.demo-scenario-btn.is-cursor-hover .demo-sc-icon {
  color: var(--brand);
}

.demo-scenario-btn:hover .demo-sc-zone,
.demo-scenario-btn.is-cursor-hover .demo-sc-zone {
  background: rgba(9, 9, 11, 0.08);
  color: var(--ink);
}

.demo-scenario-btn[aria-pressed="true"] {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(9, 9, 11, 0.18);
}

.demo-scenario-btn[aria-pressed="true"] .demo-sc-icon {
  color: #ffffff;
}

.demo-scenario-btn[aria-pressed="true"] .demo-sc-zone {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

#demo[data-demo-untouched="true"] .demo-scenario-btn.is-suggested {
  border-color: var(--brand);
  background: #fafafa;
  animation: demoSuggestedRing 2.2s ease-in-out infinite;
}

@keyframes demoSuggestedRing {
  0%, 100% {
    box-shadow: 0 1px 2px rgba(9, 9, 11, 0.05), 0 0 0 0 rgba(9, 9, 11, 0.14);
  }
  50% {
    box-shadow: 0 2px 6px rgba(9, 9, 11, 0.12), 0 0 0 4px rgba(9, 9, 11, 0.08);
  }
}

/* Animated Hand Guide Cursor */
.demo-guide-cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 48px;
  margin-left: -20px;
  margin-top: -5px;
  z-index: 40;
  pointer-events: none;
  opacity: 0;
  transition: transform 760ms cubic-bezier(0.22, 1, 0.36, 1), opacity 260ms ease;
  will-change: transform, opacity;
}

.demo-guide-cursor.is-visible {
  opacity: 1;
}

.demo-guide-cursor.is-fading {
  opacity: 0;
  transition: transform 360ms ease, opacity 320ms ease;
}

.demo-cursor-hand {
  width: 44px;
  height: 48px;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.28));
  transform-origin: 20px 6px;
  transition: transform 140ms cubic-bezier(0.22, 1, 0.36, 1);
}

.demo-guide-cursor.is-clicking .demo-cursor-hand {
  transform: scale(0.84) rotate(-5deg);
}

.demo-cursor-ripple {
  position: absolute;
  top: 4px;
  left: 20px;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  margin-top: -12px;
  border-radius: 999px;
  border: 2.5px solid var(--brand);
  background: rgba(9, 9, 11, 0.14);
  opacity: 0;
  transform: scale(0.35);
}

.demo-guide-cursor.is-clicking .demo-cursor-ripple {
  animation: demoCursorRipple 540ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes demoCursorRipple {
  0% {
    opacity: 0.9;
    transform: scale(0.35);
  }
  100% {
    opacity: 0;
    transform: scale(2.5);
  }
}

.demo-browser {
  background: #ffffff;
  border-radius: 18px;
  box-shadow:
    inset 0 0 0 1px rgba(15, 23, 42, 0.085),
    0 2px 4px rgba(15, 23, 42, 0.04),
    0 24px 48px -28px rgba(15, 23, 42, 0.16);
  overflow: hidden;
}

.demo-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 36px;
  padding: 0 16px;
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 23, 42, 0.075);
}

.demo-browser-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

.demo-browser-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #dce2ec;
}

.demo-url-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-2);
}

.demo-url-lock {
  width: 12px;
  height: 12px;
  color: var(--muted);
  flex: none;
}

.demo-url-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding-left: 7px;
  margin-left: 2px;
  border-left: 1px solid rgba(15, 23, 42, 0.1);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.demo-url-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #94a3b8;
}

.demo-reset-btn {
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  background: #ffffff;
  color: var(--muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  flex: none;
  cursor: pointer;
  transition: color 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.demo-reset-btn:hover {
  color: var(--ink);
  border-color: rgba(15, 23, 42, 0.2);
  background: #f1f5f9;
}

.demo-bar-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.demo-fullpage-link {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid var(--brand-border);
  background: var(--brand-soft);
  color: var(--brand-hover);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.demo-fullpage-link:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.demo-cases-strip {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.demo-cases-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.demo-cases-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-right: 4px;
}

.demo-case-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #f8fafc;
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.demo-case-pill:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-hover);
}

/* Live Action Strip */
.demo-live-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 36px;
  padding: 6px 16px;
  background: #fafafa;
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
  transition: background-color 220ms ease, border-color 220ms ease;
}

.demo-live-strip[data-zone="idle"] {
  background: #fafafa;
  border-bottom-color: rgba(9, 9, 11, 0.08);
}

.demo-live-strip[data-zone="idle"] .demo-live-badge {
  background: #52525b;
}

.demo-live-strip[data-zone="idle"] .demo-live-text {
  color: #52525b;
}

.demo-live-strip[data-zone="search"] {
  background: #f4f4f5;
  border-bottom-color: var(--border-strong);
}

.demo-live-strip[data-zone="cart"],
.demo-live-strip[data-zone="manager"] {
  background: #ecfdf5;
  border-bottom-color: rgba(5, 150, 105, 0.24);
}

.demo-live-strip.is-flash {
  animation: demoStripFlash 480ms ease;
}

@keyframes demoStripFlash {
  0% {
    filter: brightness(0.95);
    box-shadow: inset 0 0 0 1px rgba(9, 9, 11, 0.14);
  }
  50% {
    filter: brightness(1.02);
    box-shadow: inset 0 0 0 1px rgba(9, 9, 11, 0.2);
  }
  100% {
    filter: brightness(1);
    box-shadow: none;
  }
}

.demo-live-strip-main {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.demo-live-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  white-space: nowrap;
  flex: none;
  transition: background-color 220ms ease;
}

.demo-live-strip[data-zone="search"] .demo-live-badge {
  background: #18181b;
}

.demo-live-strip[data-zone="cart"] .demo-live-badge,
.demo-live-strip[data-zone="manager"] .demo-live-badge {
  background: #059669;
}

.demo-live-text {
  color: var(--ink);
  font-weight: 500;
  line-height: 1.35;
}

.demo-live-action {
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: #ffffff;
  color: var(--ink);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  flex: none;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.demo-live-action:hover {
  border-color: var(--brand);
  color: var(--ink);
  background: #fafafa;
}

/* Storefront Header */
.sf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 16px;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.075);
}

.sf-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.sf-brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #334155;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  display: grid;
  place-items: center;
}

.sf-brand-text {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.sf-brand-text strong {
  color: #64748b;
  font-weight: 800;
}

.sf-search-wrap {
  flex: 1;
  min-width: 0;
  max-width: 560px;
  height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 6px 0 12px;
  border-radius: 11px;
  border: 1.5px solid rgba(15, 23, 42, 0.14);
  background: #f8fafc;
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.sf-search-wrap:hover {
  border-color: rgba(15, 23, 42, 0.28);
}

.sf-search-wrap:focus-within,
.sf-search-wrap.is-open {
  background: #ffffff;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(9, 9, 11, 0.08);
}

.sf-search-wrap.is-spotlight {
  animation: demoZoneRing 950ms ease;
}

@keyframes demoZoneRing {
  0% {
    box-shadow: 0 0 0 0 rgba(9, 9, 11, 0.24);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(9, 9, 11, 0.12);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(9, 9, 11, 0);
  }
}

.sf-search-icon {
  width: 16px;
  height: 16px;
  color: var(--muted);
  flex: none;
}

.sf-search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  outline: none;
}

.sf-search-input::placeholder {
  color: #8b95a7;
}

.sf-search-clear {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 0;
  background: rgba(15, 23, 42, 0.06);
  color: var(--ink-2);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
  padding: 0;
}

.sf-search-clear:hover {
  background: rgba(15, 23, 42, 0.12);
}

.sf-search-clear svg {
  width: 12px;
  height: 12px;
}

.sf-speed-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--success);
  background: var(--success-soft);
  border: 1px solid var(--success-border);
  padding: 2px 7px;
  border-radius: 999px;
  white-space: nowrap;
  flex: none;
}

.sf-search-ai-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 10px;
  border-radius: 7px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #f1f5f9;
  color: #475569;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  flex: none;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.sf-search-ai-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.sf-search-ai-btn svg {
  width: 13px;
  height: 13px;
}

.sf-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  border-radius: 11px;
  border: 1px solid rgba(15, 23, 42, 0.11);
  background: #ffffff;
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  flex: none;
  transition: border-color 150ms ease, background-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.sf-cart-btn:hover {
  border-color: var(--brand);
  background: #fafafa;
}

.sf-cart-btn.is-bumped {
  transform: scale(1.06);
  border-color: var(--success);
  background: var(--success-soft);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.18);
}

.sf-cart-pop {
  position: absolute;
  top: -8px;
  right: -6px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--success);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  pointer-events: none;
  animation: sfCartPop 700ms ease forwards;
}

@keyframes sfCartPop {
  0% {
    opacity: 0;
    transform: translateY(4px) scale(0.8);
  }
  25% {
    opacity: 1;
    transform: translateY(-2px) scale(1.05);
  }
  100% {
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
  }
}

.sf-cart-btn svg {
  width: 16px;
  height: 16px;
  color: var(--ink-2);
}

.sf-cart-count {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #eef1f6;
  color: var(--ink-2);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sf-cart-btn.has-items .sf-cart-count {
  background: var(--brand);
  color: #ffffff;
}

.sf-cart-total {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  padding-left: 6px;
  border-left: 1px solid var(--border);
}

/* Mobile / Narrow Pane Switcher */
.sf-mobile-switch {
  display: none;
  gap: 6px;
  padding: 10px 14px;
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 23, 42, 0.075);
}

.sf-mobile-tab {
  flex: 1;
  padding: 8px 10px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.sf-mobile-tab[aria-selected="true"] {
  background: #ffffff;
  border-color: var(--brand-border);
  color: var(--brand-hover);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.sf-mobile-tab.is-flash {
  background: var(--brand-soft);
}

/* Main Split Workspace */
.demo-workspace {
  position: relative;
  display: grid;
  grid-template-columns: minmax(340px, 0.78fr) minmax(0, 1.22fr);
  height: 484px;
  background: #eef1f6;
  overflow: hidden;
}

.sf-workspace-backdrop {
  position: absolute;
  inset: 0;
  z-index: 18;
  background: rgba(15, 23, 42, 0.24);
  backdrop-filter: blur(1.5px);
  animation: sfFadeIn 160ms ease;
}

@keyframes sfFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Left Pane: Compact Monochrome Storefront Catalog */
.sf-catalog-pane {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: #f4f5f7;
  border-right: 0;
}

.sf-catalog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 9px 12px;
  background: transparent;
  border-bottom: 1px solid rgba(15, 23, 42, 0.065);
  flex: none;
}

.sf-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.sf-cat-btn {
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink-2);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.sf-cat-btn:hover {
  color: var(--ink);
  background: #ffffff;
}

.sf-cat-btn[aria-pressed="true"] {
  background: #334155;
  border-color: #334155;
  color: #ffffff;
}

.sf-ai-guide-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #ffffff;
  color: #475569;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex: none;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.sf-ai-guide-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.sf-ai-guide-btn svg {
  width: 12px;
  height: 12px;
}

.sf-product-grid {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 10px 10px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.sf-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.08);
  transition: border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.sf-card:hover {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.22);
  box-shadow: 0 4px 12px -10px rgba(15, 23, 42, 0.16);
}

.sf-card-media {
  position: relative;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 8px;
  background: #f8f9fb;
  border: 1px solid rgba(15, 23, 42, 0.055);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sf-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: grayscale(1) contrast(0.95);
  opacity: 0.78;
  transition: filter 200ms ease, opacity 200ms ease;
}

.sf-card:hover .sf-card-media img {
  filter: grayscale(0);
  opacity: 1;
}

.sf-card-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sf-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.sf-card-heading {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-width: 0;
}

.sf-card-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sf-card-sku {
  position: static;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  background: #f1f5f9;
  border: 0;
  padding: 1px 5px;
  border-radius: 4px;
  flex: none;
}

.sf-card-price {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  flex: none;
}

.sf-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.sf-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 0;
}

.sf-var-pill {
  height: 21px;
  padding: 0 6px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 130ms ease, border-color 130ms ease, color 130ms ease;
}

.sf-var-pill:hover:not(:disabled):not(.is-active) {
  border-color: rgba(15, 23, 42, 0.35);
  color: var(--ink);
}

.sf-var-pill.is-active {
  background: #334155;
  border-color: #334155;
  color: #ffffff;
}

.sf-var-pill:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
  background: #f1f5f9;
}

.sf-card-actions {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}

.sf-cart-add-btn {
  height: 25px;
  padding: 0 10px;
  border-radius: 7px;
  border: 1px solid rgba(15, 23, 42, 0.22);
  background: #ffffff;
  color: #334155;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 100ms ease;
}

.sf-cart-add-btn:hover {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
}

.sf-cart-add-btn:active {
  transform: scale(0.96);
}

.sf-cart-add-btn.is-in-cart {
  background: var(--success-soft);
  border-color: var(--success-border);
  color: #047857;
}

.sf-cart-add-btn.is-in-cart:hover {
  background: #d1fae5;
  border-color: #6ee7b7;
  color: #047857;
}

/* Right Pane: Shop Agent Widget (Elevated Primary Hero Focus) */
.sa-widget-pane {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  margin: 10px 10px 10px 4px;
  border-radius: 14px;
  border: 1px solid rgba(9, 9, 11, 0.14);
  background: #ffffff;
  box-shadow:
    0 14px 36px -20px rgba(9, 9, 11, 0.16),
    0 2px 6px rgba(9, 9, 11, 0.04);
  overflow: hidden;
  transition: box-shadow 260ms ease, border-color 260ms ease;
}

.sa-widget-pane.is-spotlight {
  border-color: var(--brand);
  box-shadow:
    0 0 0 3px rgba(9, 9, 11, 0.1),
    0 18px 40px -18px rgba(9, 9, 11, 0.22);
}

.sa-widget-pane.is-spotlight-manager {
  border-color: #059669;
  box-shadow:
    0 0 0 3px rgba(5, 150, 105, 0.2),
    0 18px 40px -16px rgba(5, 150, 105, 0.32);
}

.sa-w-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 16px;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
  flex: none;
  transition: background-color 260ms ease;
}

.sa-widget-pane.is-spotlight .sa-w-head {
  background: #f4f4f5;
}

.sa-widget-pane.is-spotlight-manager .sa-w-head {
  background: #ecfdf5;
}

.sa-w-head-title {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.sa-w-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #cbd5e1;
  flex: none;
}

.sa-w-dot--active {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16);
}

.sa-w-dot--thinking {
  background: var(--brand);
  animation: saStatusPulse 1.1s ease-in-out infinite;
}

.sa-w-dot--manager {
  background: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.18);
}

@keyframes saStatusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.sa-w-title-row {
  display: flex;
  align-items: center;
  gap: 7px;
}

.sa-w-role-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  color: var(--brand-hover);
  white-space: nowrap;
}

.sa-w-head-title > div strong {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.sa-w-head-title > div > span {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sa-w-new-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.sa-w-new-btn:hover {
  background: #f1f5f9;
  color: var(--ink);
  border-color: rgba(15, 23, 42, 0.08);
}

.sa-w-new-btn svg {
  width: 13px;
  height: 13px;
}

.sa-w-messages {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 15px 18px 10px;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: #d4d4d8 transparent;
}

.sa-msg {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sa-msg.is-entering {
  animation: saMsgIn 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes saMsgIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sa-msg--user {
  align-self: flex-end;
  max-width: 86%;
  padding: 9px 13px;
  border-radius: 12px;
  border-bottom-right-radius: 3px;
  background: #18181b;
  border: 1px solid #18181b;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.48;
  word-break: break-word;
}

.sa-msg-voice-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 2px;
}

.sa-msg-voice-tag svg {
  width: 11px;
  height: 11px;
}

.sa-msg--bot {
  align-self: stretch;
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.56;
}

.sa-msg--bot p {
  margin: 0;
}

.sa-msg--bot p + p {
  margin-top: 6px;
}

.sa-msg--bot strong {
  font-weight: 600;
}

.sa-msg--manager {
  align-self: flex-start;
  max-width: 92%;
  padding: 11px 14px;
  border-radius: 12px;
  border-bottom-left-radius: 3px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #064e3b;
  font-size: 13.5px;
  line-height: 1.5;
}

.sa-manager-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #047857;
  margin-bottom: 4px;
}

.sa-system-note {
  align-self: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid rgba(15, 23, 42, 0.07);
  font-size: 11.5px;
  color: var(--muted);
  text-align: center;
}

/* Activity Indicator (5x5 dot-matrix + text shimmer from widget-next) */
.sa-activity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sa-activity-dots {
  display: grid;
  grid-template-columns: repeat(5, 2px);
  gap: 1.5px;
  flex: none;
}

.sa-activity-dots span {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #64748b;
  opacity: 0.22;
  animation: saDotRipple 1.3s ease-in-out infinite;
}

@keyframes saDotRipple {
  0%, 70%, 100% { opacity: 0.22; }
  35% { opacity: 1; }
}

.sa-activity-text {
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  background: linear-gradient(100deg, #64748b 35%, #0f172a 50%, #64748b 65%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: saTextShimmer 1.6s linear infinite;
}

@keyframes saTextShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -120% 0; }
}

/* Voice Recording Indicator */
.sa-voice-recording {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-end;
  padding: 8px 13px;
  border-radius: 12px;
  background: #f4f4f5;
  border: 1px solid var(--border-strong);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
}

.sa-voice-bars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 14px;
}

.sa-voice-bars span {
  width: 2.5px;
  border-radius: 2px;
  background: var(--brand);
  animation: saVoiceWave 0.7s ease-in-out infinite alternate;
}

.sa-voice-bars span:nth-child(1) { height: 6px; animation-delay: 0s; }
.sa-voice-bars span:nth-child(2) { height: 13px; animation-delay: 0.15s; }
.sa-voice-bars span:nth-child(3) { height: 9px; animation-delay: 0.3s; }
.sa-voice-bars span:nth-child(4) { height: 14px; animation-delay: 0.45s; }

@keyframes saVoiceWave {
  from { transform: scaleY(0.45); }
  to { transform: scaleY(1); }
}

/* Compact A2UI Product Card inside Chat */
.sa-a2ui-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sa-prod-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 11px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.09);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.sa-prod-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: #f8f9fb;
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.sa-prod-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.sa-prod-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.sa-prod-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
}

.sa-prod-rating {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--ink-2);
  font-weight: 600;
}

.sa-prod-rating svg {
  width: 10px;
  height: 10px;
  color: #eab308;
  fill: #eab308;
}

.sa-prod-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sa-prod-vars {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 2px;
}

.sa-prod-var {
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.13);
  background: #ffffff;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.sa-prod-var.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

.sa-prod-var:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  text-decoration: line-through;
}

.sa-prod-buy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex: none;
}

.sa-prod-price {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.sa-prod-cart-btn {
  height: 26px;
  padding: 0 9px;
  border-radius: 6px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.sa-prod-cart-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
}

.sa-prod-cart-btn.is-in-cart {
  background: var(--success-soft);
  border-color: var(--success-border);
  color: #047857;
}

.sa-prod-cart-btn.is-in-cart:hover {
  background: #d1fae5;
  border-color: #6ee7b7;
  color: #047857;
}

.sa-kb-note {
  padding: 8px 11px;
  border-radius: 9px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 12px;
  color: var(--ink-2);
  line-height: 1.45;
}

.sa-kb-note strong {
  color: var(--ink);
}

/* Widget Footer & Composer */
.sa-w-footer {
  padding: 10px 16px 12px;
  background: #ffffff;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: none;
}

.sa-quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sa-quick-chip {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #f4f4f5;
  color: var(--ink);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.sa-quick-chip:hover {
  border-color: var(--brand);
  background: var(--brand);
  color: #ffffff;
}

.sa-w-composer {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 5px 5px 7px;
  border-radius: 999px;
  border: 1.5px solid var(--border-strong);
  background: #ffffff;
  box-shadow: 0 2px 10px -4px rgba(9, 9, 11, 0.08);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.sa-w-composer:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(9, 9, 11, 0.08);
}

.sa-w-mic-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 0;
  background: #f1f5f9;
  color: var(--ink-2);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
  padding: 0;
  transition: background-color 140ms ease, color 140ms ease;
}

.sa-w-mic-btn:hover {
  background: var(--brand-soft);
  color: var(--brand);
}

.sa-w-mic-btn.is-recording {
  background: var(--brand-soft);
  color: var(--brand);
}

.sa-w-mic-btn svg {
  width: 16px;
  height: 16px;
}

.sa-w-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
}

.sa-w-input::placeholder {
  color: #94a3b8;
}

.sa-w-send-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 0;
  background: var(--brand);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
  padding: 0;
  transition: background-color 140ms ease, transform 100ms ease;
}

.sa-w-send-btn:hover {
  background: var(--brand-hover);
}

.sa-w-send-btn:active {
  transform: scale(0.94);
}

.sa-w-send-btn svg {
  width: 15px;
  height: 15px;
}

/* Search Overlay Dropdown */
.sf-search-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  max-height: 100%;
  overflow-y: auto;
  z-index: 20;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 24px 48px -18px rgba(15, 23, 42, 0.24);
  padding: 14px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: sfOverlaySlide 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes sfOverlaySlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sf-overlay-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sf-overlay-mode {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border-radius: 10px;
  background: #eef1f6;
}

.sf-overlay-seg {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.sf-overlay-seg.is-active {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.07);
}

.sf-overlay-seg--btn {
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.sf-overlay-seg--btn:hover {
  color: var(--brand);
}

.sf-overlay-seg--btn svg {
  width: 13px;
  height: 13px;
}

.sf-overlay-close {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  color: var(--ink-2);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.sf-overlay-close:hover {
  background: #f1f5f9;
  color: var(--ink);
}

.sf-overlay-close svg {
  width: 15px;
  height: 15px;
}

.sf-overlay-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.sf-overlay-chips-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.sf-query-chip {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #f8fafc;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.sf-query-chip:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  color: var(--brand-hover);
}

.sf-search-insight {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #f4f4f5;
  border: 1px solid var(--border-strong);
  font-size: 12.5px;
  color: var(--ink);
}

.sf-insight-main {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}

.sf-insight-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--brand);
  flex: none;
}

.sf-insight-naive {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--danger);
  background: var(--danger-soft);
  border: 1px solid var(--danger-border);
  padding: 2px 8px;
  border-radius: 999px;
}

.sf-search-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sf-sr-card {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.085);
  background: #ffffff;
}

.sf-sr-thumb {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 4px;
  background: #f8f9fb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sf-sr-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.sf-sr-info {
  min-width: 0;
}

.sf-sr-sku {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.sf-sr-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sf-sr-sub {
  font-size: 12px;
  color: var(--muted);
}

.sf-sr-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.sf-search-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px dashed rgba(15, 23, 42, 0.18);
}

.sf-search-empty h4 {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 3px;
}

.sf-search-empty p {
  font-size: 13px;
  color: var(--ink-2);
}

/* Cart Slide-Over Drawer */
.sf-cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 100%);
  z-index: 25;
  background: #ffffff;
  border-left: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: -18px 0 40px -18px rgba(15, 23, 42, 0.22);
  display: flex;
  flex-direction: column;
  animation: sfDrawerSlide 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes sfDrawerSlide {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.sf-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.sf-drawer-head strong {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
}

.sf-drawer-head span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.sf-shipping-meter {
  padding: 10px 16px;
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.sf-shipping-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 6px;
}

.sf-shipping-meter.is-free .sf-shipping-text {
  color: var(--success);
}

.sf-shipping-bar {
  height: 5px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.sf-shipping-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--brand);
  border-radius: 999px;
  transition: width 220ms ease, background-color 220ms ease;
}

.sf-shipping-meter.is-free .sf-shipping-bar span {
  background: var(--success);
}

.sf-cart-items {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sf-cart-empty {
  margin: auto 0;
  text-align: center;
  padding: 24px 12px;
  color: var(--muted);
  font-size: 13px;
}

.sf-cart-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
}

.sf-cart-row-img {
  width: 48px;
  height: 48px;
  border-radius: 7px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 3px;
  background: #f8f9fb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sf-cart-row-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.sf-cart-row-info {
  min-width: 0;
}

.sf-cart-row-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sf-cart-row-var {
  font-size: 11.5px;
  color: var(--muted);
}

.sf-cart-row-ctrl {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.sf-qty-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 5px;
  border-radius: 7px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #f8fafc;
}

.sf-qty-btn {
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.sf-qty-btn:hover {
  background: #e2e8f0;
}

.sf-qty-val {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
}

.sf-drawer-foot {
  padding: 13px 16px 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #ffffff;
}

.sf-drawer-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--ink-2);
}

.sf-drawer-summary strong {
  font-size: 17px;
  color: var(--ink);
}

.sf-cart-toast {
  padding: 9px 11px;
  border-radius: 9px;
  background: var(--success-soft);
  border: 1px solid var(--success-border);
  color: #065f46;
  font-size: 12px;
  line-height: 1.45;
}

/* ---------- Section 2: Capabilities Bento Grid ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.bento-card {
  padding: 20px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(15, 23, 42, 0.08),
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 16px 34px -24px rgba(15, 23, 42, 0.14);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.bento-card--wide {
  grid-column: span 7;
}

.bento-card--side {
  grid-column: span 5;
}

.bento-card--third {
  grid-column: span 4;
}

.bento-visual {
  padding: 14px;
  border-radius: 13px;
  background-color: #f8fafc;
  background-image: radial-gradient(rgba(15, 23, 42, 0.11) 1px, transparent 1px);
  background-size: 16px 16px;
  border: 1px solid rgba(15, 23, 42, 0.075);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.bento-copy h3 {
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 4px;
}

.bento-copy p {
  font-size: 13.5px;
  line-height: 1.48;
  color: var(--ink-2);
}

.bento-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef1f6;
  color: var(--ink-2);
  white-space: nowrap;
}

.bento-chip--brand {
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  color: var(--brand);
}

.bento-chip--green {
  background: var(--success-soft);
  border: 1px solid var(--success-border);
  color: var(--success);
}

.bento-chip--warn {
  background: var(--warn-soft);
  border: 1px solid var(--warn-border);
  color: var(--warn);
}

/* Bento Card 1: Search & RAG Pipelines */
.bento-engines {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bento-pipe {
  padding: 12px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(15, 23, 42, 0.07),
    0 6px 16px -10px rgba(15, 23, 42, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.bento-pipe-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bento-pipe-q {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
}

.bento-pipe-label {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--muted);
}

.bento-pipe-fix {
  font-size: 11.5px;
  line-height: 1.3;
  color: var(--success);
}

.bento-pipe-fix strong {
  font-weight: 700;
  color: #065f46;
}

.bento-pipe-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.07);
}

.bento-pipe-result strong {
  display: block;
  font-size: 12.5px;
  color: var(--ink);
  line-height: 1.2;
}

.bento-pipe-result span {
  display: block;
  font-size: 11px;
  color: var(--success);
  font-weight: 600;
}

.bento-price {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.bento-pipe-rag {
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--success-soft);
  border: 1px solid var(--success-border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bento-pipe-rag strong {
  font-size: 12px;
  color: #065f46;
  line-height: 1.3;
}

/* Bento Card 2: Manager Handoff */
.bento-handoff {
  justify-content: space-between;
  gap: 8px;
}

.bento-handoff-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

.bento-hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--success-soft);
  border: 1px solid var(--success-border);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--success);
  white-space: nowrap;
}

.bento-hours-dot {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  flex: none;
}

.bento-tg-card {
  padding: 10px 12px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(15, 23, 42, 0.08),
    0 6px 16px -10px rgba(15, 23, 42, 0.1);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.bento-tg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bento-tg-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.bento-tg-icon {
  width: 14px;
  height: 14px;
  color: #229ed9;
  flex: none;
}

.bento-tg-time {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  white-space: nowrap;
}

.bento-tg-msg {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.35;
}

.bento-tg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bento-tg-btn {
  padding: 5px 10px;
  border-radius: 7px;
  font-size: 11.5px;
  font-weight: 600;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: var(--ink-2);
}

.bento-tg-btn--primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.bento-tg-note {
  font-size: 11px;
  line-height: 1.3;
  color: var(--muted);
  align-self: center;
}

/* Bento Card 3: Entrypoints & Voice */
.bento-entries {
  justify-content: center;
  gap: 8px;
}

.bento-scene-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 8px 10px;
  border-radius: 9px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.07);
}

.bento-scene-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--ink);
  line-height: 1.25;
}

.bento-scene-title strong {
  font-weight: 600;
}

.bento-scene-desc {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.35;
  padding-left: 14px;
}

.bento-entry-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 9px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.07);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}

.bento-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  flex: none;
}

.bento-dot--brand {
  background: var(--brand);
}

.bento-dot--green {
  background: var(--success);
}

.bento-entry-arrow {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--brand);
}

.bento-voice-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 9px;
  background: #f4f4f5;
  border: 1px solid var(--border-strong);
  font-size: 12px;
}

.bento-voice-wave {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 12px;
}

.bento-voice-wave i {
  display: block;
  width: 2.5px;
  border-radius: 2px;
  background: var(--brand);
  font-style: normal;
}

.bento-voice-wave i:nth-child(1) { height: 5px; }
.bento-voice-wave i:nth-child(2) { height: 11px; }
.bento-voice-wave i:nth-child(3) { height: 7px; }
.bento-voice-wave i:nth-child(4) { height: 10px; }

.bento-voice-time {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
}

.bento-voice-text {
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Bento Card 4: Funnel Analytics */
.bento-funnel {
  justify-content: center;
  gap: 9px;
}

.bento-funnel-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bento-funnel-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-2);
}

.bento-funnel-meta strong {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
}

.bento-bar-track {
  height: 6px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.bento-bar-track span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--brand);
}

.bento-bar-track--green span {
  background: var(--success);
}

.bento-funnel-gap {
  margin-top: 2px;
  padding-top: 8px;
  border-top: 1px dashed rgba(15, 23, 42, 0.12);
  font-size: 12px;
  color: var(--muted);
}

.bento-funnel-gap strong {
  font-family: var(--font-mono);
  color: var(--ink);
}

/* Bento Card 5: Models & Turnkey */
.bento-models {
  justify-content: space-between;
  gap: 12px;
}

.bento-turnkey-steps {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.bento-turnkey-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 9px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.07);
  font-size: 12px;
  line-height: 1.3;
  color: var(--ink);
}

.bento-step-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  background: #eef1f6;
  color: var(--ink-2);
  flex: none;
}

.bento-step-tag--brand {
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid var(--brand-border);
}

.bento-models-bar {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bento-models-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.bento-models-cloud span {
  padding: 5px 10px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.bento-models-hub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px var(--border-strong);
}

.bento-hub-core {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
}

/* Standalone Search Ribbon */
.bento-ribbon {
  margin-top: 16px;
  padding: 14px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  box-shadow:
    inset 0 0 0 1px var(--border-strong),
    0 10px 24px -18px rgba(9, 9, 11, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.bento-ribbon-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.bento-ribbon-left strong {
  font-size: 14.5px;
  color: var(--ink);
}

.bento-ribbon-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}

/* ---------- Section 4: Solutions (Niches & CMS) ---------- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.solution-card {
  padding: 22px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(15, 23, 42, 0.08),
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 14px 28px -22px rgba(15, 23, 42, 0.14);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.solution-card h3 {
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.25;
}

.solution-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}

.cms-strip {
  margin-top: 16px;
  padding: 22px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(15, 23, 42, 0.08),
    0 14px 28px -22px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cms-strip h3 {
  font-size: 17.5px;
  font-weight: 700;
  line-height: 1.25;
}

.cms-strip p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 78ch;
}

.cms-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cms-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f8fafc;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
}

/* ---------- Section 3: Skills Loop & Timeline Rail ---------- */
.skills-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: center;
}

.steps-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-left: 2px;
}

.steps-rail::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: rgba(15, 23, 42, 0.12);
}

.step-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-num {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  box-shadow: 0 2px 6px rgba(9, 9, 11, 0.06);
  color: var(--brand);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex: none;
}

.step-body h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.step-body p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}

.skills-editor {
  border: 0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(15, 23, 42, 0.08),
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 18px 38px -24px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}

.editor-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 20px;
  background: var(--bg-muted);
  border-bottom: 1px solid var(--border);
}

.editor-title-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
}

.editor-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--success);
  font-weight: 500;
}

.editor-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.editor-question-box {
  padding: 12px 14px;
  height: 82px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
}

.editor-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--muted);
  margin-bottom: 6px;
}

.editor-question-box p {
  font-size: 14.5px;
  color: var(--ink);
}

.editor-label-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.editor-label-row .editor-label {
  margin-bottom: 0;
}

.skill-route-badge {
  font-size: 11.5px;
  color: var(--brand);
  background: var(--brand-soft);
  border-color: var(--brand-border);
}

.editor-textarea {
  width: 100%;
  height: 82px;
  padding: 10px 14px;
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.48;
  resize: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.editor-textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(9, 9, 11, 0.08);
}

.editor-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.topic-pill {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-muted);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 140ms ease;
}

.topic-pill:hover {
  border-color: var(--border-strong);
  color: var(--ink);
}

.topic-pill[aria-pressed="true"] {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand-hover);
  font-weight: 600;
}

.editor-answer-box {
  padding: 14px 16px;
  height: 148px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--success-soft);
  border: 1px solid var(--success-border);
}

.editor-answer-box p {
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.55;
}

.save-badge {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--success);
}

/* ---------- Section 5: Tech Details (Optional CTO/Dev Block) ---------- */
.tech-card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow:
    inset 0 0 0 1px rgba(15, 23, 42, 0.08),
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 18px 38px -24px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}

.tech-card-head {
  padding: 26px 28px 20px;
}

.tech-card-head h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.tech-card-head p {
  font-size: 14.5px;
  color: var(--ink-2);
}

.tech-summary {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 28px;
  border-top: 1px solid rgba(9, 9, 11, 0.08);
  background: #fafafa;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
}

.tech-summary::-webkit-details-marker {
  display: none;
}

.tech-toggle-btn {
  padding: 9px 16px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}

.tech-details-box[open] .tech-toggle-btn {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}

.guides-strip {
  margin-top: 18px;
  padding: 18px 22px;
  border-radius: 16px;
  background: var(--bg-muted);
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.guides-strip-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.guides-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.guide-chip-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  transition: border-color 140ms ease, color 140ms ease;
}

.guide-chip-link:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.tech-body {
  padding: 28px;
  background: var(--dark-bg);
  border-top: 1px solid var(--dark-border);
}

.arch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stack-item {
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stack-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #a1a1aa;
}

.stack-item .stack-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.stack-item p {
  font-size: 13.5px;
  color: var(--dark-muted);
  line-height: 1.5;
}

.stack-item code {
  background: var(--dark-surface-2);
  color: #e2e8f0;
  border-color: var(--dark-border);
}

.code-card {
  border-radius: var(--radius-lg);
  background: var(--dark-surface);
  border: 1px solid var(--dark-border);
  overflow: hidden;
}

.code-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 14px;
  background: #0a0f1a;
  border-bottom: 1px solid var(--dark-border);
}

.code-tab {
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--dark-muted);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 140ms ease;
}

.code-tab:hover {
  color: #ffffff;
  background: var(--dark-surface);
}

.code-tab[aria-selected="true"] {
  background: var(--dark-surface-2);
  border-color: #334155;
  color: #ffffff;
}

.code-body {
  padding: 16px;
}

.code-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.code-filename {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--dark-muted);
}

.copy-code-btn {
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid var(--dark-border);
  background: var(--dark-surface-2);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.copy-code-btn:hover {
  border-color: #475569;
  color: #ffffff;
}

.code-pre {
  margin: 0;
  height: 256px;
  overflow: auto;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.65;
  color: #e2e8f0;
}

.code-pre code {
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

/* ---------- Section 7: Deployment Plans ---------- */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.plan-card {
  padding: 28px;
  border-radius: 18px;
  border: 0;
  background: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(15, 23, 42, 0.08),
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 18px 38px -24px rgba(15, 23, 42, 0.14);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.plan-card--featured {
  box-shadow:
    inset 0 0 0 1.5px var(--brand),
    0 22px 48px -26px rgba(9, 9, 11, 0.22);
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 38%);
}

.plan-badge {
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--bg-subtle);
  padding: 4px 10px;
  border-radius: 999px;
}

.plan-badge--brand {
  color: #ffffff;
  background: var(--brand);
}

.plan-card h3 {
  font-size: 22px;
  font-weight: 800;
}

.plan-desc {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
}

.plan-price-block {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-muted);
  border: 1px solid var(--border);
}

.plan-card--featured .plan-price-block {
  background: #ffffff;
  border-color: var(--brand-border);
}

.plan-price-value {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}

.plan-price-value--soft {
  font-size: 20px;
}

.plan-price-value span {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.plan-price-note {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 3px;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  margin-bottom: auto;
}

.plan-features li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.45;
}

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 700;
}

/* ---------- Section 8: FAQ (Runlit Hairline Accordion) ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 44px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 104px;
}

.faq-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  cursor: pointer;
  transition: color 150ms ease, transform 150ms ease;
}

.faq-cta-link:hover {
  color: var(--brand-hover);
  transform: translateX(2px);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.11);
}

.faq-item {
  border: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.11);
  border-radius: 0;
  background: transparent;
  overflow: hidden;
}

.faq-question {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  text-align: left;
  cursor: pointer;
}

.faq-plus {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex: none;
  transition: transform 200ms ease, background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}

.faq-plus .icon {
  width: 15px;
  height: 15px;
}

.faq-trigger[aria-expanded="true"] .faq-plus {
  transform: rotate(45deg);
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(9, 9, 11, 0.16);
}

.faq-panel {
  padding: 0 44px 22px 4px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ---------- Section 9: CTA & Form (Runlit Graph-Paper Showcase Card) ---------- */
.runlit-canvas .cta-section {
  border-bottom: 0;
}

.cta-paper-card {
  position: relative;
  padding: 48px;
  border-radius: 24px;
  background-color: #ffffff;
  background-image:
    linear-gradient(to right, rgba(9, 9, 11, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(9, 9, 11, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  box-shadow:
    inset 0 0 0 1px rgba(9, 9, 11, 0.085),
    0 24px 54px -28px rgba(9, 9, 11, 0.14);
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: start;
}

.cta-copy .section-title,
.cta-copy h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.032em;
  margin-bottom: 16px;
}

.cta-lead {
  font-size: 16px;
  color: var(--ink-2);
  margin-bottom: 24px;
}

.cta-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-checklist li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--ink);
}

.cta-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand);
  font-weight: 700;
}

.form-card {
  padding: 28px;
  border: 0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow:
    inset 0 0 0 1px rgba(15, 23, 42, 0.09),
    0 18px 40px -20px rgba(15, 23, 42, 0.16);
}

.form-card-head {
  margin-bottom: 20px;
}

.form-card-head h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.form-card-head p {
  font-size: 14px;
  color: var(--muted);
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.req {
  color: var(--danger);
}

.form-control {
  height: 44px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1.5px solid var(--border-strong);
  background: #ffffff;
  color: var(--ink);
  font-size: 14.5px;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(9, 9, 11, 0.08);
}

.form-control[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  font-size: 12.5px;
  color: var(--danger);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-alert-error {
  padding: 10px 12px;
  border-radius: 9px;
  background: var(--danger-soft);
  border: 1px solid var(--danger-border);
  color: var(--danger);
  font-size: 13px;
  line-height: 1.45;
}

.form-note {
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

.form-success {
  padding: 20px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--success-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-success-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--success);
  font-size: 16px;
}

.form-success p {
  font-size: 14px;
  color: var(--ink-2);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: #ffffff;
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 52ch;
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 15px;
}

.footer-brand span {
  font-size: 13px;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-nav a,
.footer-link-btn {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.footer-nav a:hover,
.footer-link-btn:hover {
  color: var(--brand);
}

/* ---------- Lead Modal ---------- */
.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 9, 11, 0.52);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.modal-head h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 3px;
}

.modal-head p {
  font-size: 13.5px;
  color: var(--muted);
}

.modal-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-muted);
  color: var(--ink-2);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
}

.modal-close-btn:hover {
  background: var(--bg-subtle);
  color: var(--ink);
}

/* ---------- Section 01: Auto-Playing Real Dashboard Cinema (.cab-*) ---------- */
.cab-section {
  padding: 56px 0 68px;
}

.cab-section-head {
  margin-bottom: 22px;
}

/* Orca-style Centered Hero + Integrated Cabinet Showcase (Flat Admin UI) */
.hero--orca {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  min-height: auto;
  padding: 58px 0 56px;
  background: #f9fafb;
  border-bottom: 1px solid #e4e7ec;
}

.hero-orca-top {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 780px;
  margin: 0 auto 34px;
}

.hero-announce-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 5px;
  border-radius: 999px;
  border: 1px solid #dde9ff;
  background: #ffffff;
  font-size: 12.5px;
  font-weight: 500;
  color: #344054;
  text-decoration: none;
  margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.hero-announce-pill .eyebrow-badge {
  background: #465fff;
  color: #ffffff;
  border-color: transparent;
}

.hero-pill-arrow {
  color: #465fff;
  font-weight: 600;
}

.hero-announce-pill:hover {
  border-color: #9cb9ff;
  background: #f2f7ff;
  color: #101828;
  transform: none;
}

.hero--orca .hero-title {
  font-size: clamp(36px, 5.2vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  max-width: 16ch;
  color: #101828;
  margin: 0 auto 18px;
}

.hero-title-accent {
  color: #465fff;
}

.hero--orca .hero-lead {
  font-size: 17.5px;
  line-height: 1.55;
  max-width: 56ch;
  color: var(--ink-2);
  margin: 0 auto;
}

.hero--orca .hero-cta-row {
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.hero--orca .btn-primary {
  background: #465fff;
  border-color: #465fff;
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08);
}

.hero--orca .btn-primary:hover {
  background: #3641f5;
  border-color: #3641f5;
}

.hero--orca .btn-secondary {
  background: #ffffff;
  border-color: #d0d5dd;
  color: #344054;
}

.hero--orca .btn-secondary:hover {
  background: #f2f4f7;
  border-color: #98a2b3;
  color: #101828;
}

.hero-submeta {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--muted);
}

.hero-orca-stage {
  position: relative;
  z-index: 3;
}

/* Chapter Progress Strip (Orca-style single shared bottom progress bar) */
.cab-reel-bar {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 16px;
  padding: 4px 4px 6px;
  border-radius: 13px;
  background: #ffffff;
  border: 1px solid #e4e7ec;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.cab-reel-chapters {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cab-reel-chap {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 9px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 150ms ease, box-shadow 150ms ease;
}

.cab-reel-chap:hover {
  background: #f9fafb;
}

.cab-reel-chap.is-active {
  background: #ecf3ff;
  box-shadow: none;
}

.cab-reel-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(9, 9, 11, 0.06);
  pointer-events: none;
}

.cab-reel-progress-fill {
  display: block;
  width: 0%;
  height: 100%;
  background: #465fff;
  transition: width 90ms linear;
}

.cab-reel-chap-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cab-reel-chap.is-active .cab-reel-chap-label {
  color: #3641f5;
}

.cab-reel-chap-label strong {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
}

.cab-reel-chap.is-active .cab-reel-chap-label strong {
  color: #465fff;
}

.cab-reel-track {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: #f1f5f9;
  overflow: hidden;
}

.cab-reel-fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: #465fff;
  transition: width 90ms linear;
}

.cab-reel-chap.is-done .cab-reel-fill {
  width: 100%;
  background: #cbd5e1;
}

.cab-reel-toggle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex: none;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.cab-reel-toggle:hover {
  border-color: var(--brand);
  background: var(--bg-subtle);
}

.cab-reel-toggle svg {
  width: 16px;
  height: 16px;
}

/* Browser Window + Non-clickable Cinema Stage */
.cab-window {
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 24px 60px -28px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.cab-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: #fafafa;
  border-bottom: 1px solid var(--border);
}

.cab-chrome-dots {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cab-chrome-dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #e4e4e7;
}

.cab-chrome-url {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-2);
}

.cab-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.16);
  animation: cabPulse 2.2s ease-in-out infinite;
}

@keyframes cabPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.16); }
  50% { box-shadow: 0 0 0 5px rgba(5, 150, 105, 0.08); }
}

.cab-chrome-sep {
  color: var(--border-strong);
}

.cab-chrome-tenant {
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 500;
}

.cab-chrome-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #ffffff;
  white-space: nowrap;
  transition: border-color 150ms ease, background-color 150ms ease;
}

.cab-chrome-link:hover {
  border-color: var(--brand);
  background: var(--bg-subtle);
}

.cab-stage-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #f7f8fb;
}

.cab-stage {
  position: relative;
  height: 740px;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  background: #f7f8fb;
}

/* Floating Animated Cursor + Click Ripple */
.cab-cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 25;
  width: 22px;
  height: 22px;
  pointer-events: none;
  transform: translate3d(260px, 160px, 0);
  opacity: 0;
  transition:
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease;
  filter: drop-shadow(0 4px 8px rgba(9, 9, 11, 0.25));
}

.cab-cursor.is-visible {
  opacity: 1;
}

.cab-cursor.is-clicking {
  transform: translate3d(var(--cx, 260px), var(--cy, 160px), 0) scale(0.86);
}

.cab-cursor svg {
  width: 22px;
  height: 22px;
  display: block;
}

.cab-cursor-ripple {
  position: absolute;
  top: -6px;
  left: -6px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 2px solid #465fff;
  opacity: 0;
  transform: scale(0.3);
}

.cab-cursor-ripple.is-popping {
  animation: cabRipple 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes cabRipple {
  0% { opacity: 0.9; transform: scale(0.3); }
  100% { opacity: 0; transform: scale(1.7); }
}

/* Exact sa.aimerce.by App Shell */
.cab-shell {
  display: grid;
  grid-template-columns: 212px minmax(0, 1fr);
  height: 740px;
  min-height: 740px;
  background: #f7f8fb;
}

.cab-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 11px;
  background: #fcfcfd;
  border-right: 1px solid #eceef2;
}

.cab-ws-card {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.cab-ws-avatar {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #101828;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex: none;
}

.cab-ws-meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.cab-ws-meta strong {
  font-size: 12.5px;
  font-weight: 700;
  color: #101828;
  line-height: 1.2;
}

.cab-ws-meta span {
  font-size: 10.5px;
  color: #6b7280;
}

.cab-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.cab-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 9px;
  color: #4b5563;
  font-size: 12.5px;
  font-weight: 500;
  transition: background-color 180ms ease, color 180ms ease;
}

.cab-nav-item.is-active {
  background: #eef2ff;
  color: #3641f5;
  font-weight: 600;
}

.cab-nav-icon {
  width: 15px;
  height: 15px;
  color: #9ca3af;
  flex: none;
}

.cab-nav-item.is-active .cab-nav-icon {
  color: #465fff;
}

.cab-nav-counter {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 6px;
  background: #f3f4f6;
  color: #4b5563;
}

.cab-bot-sublist {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 12px;
  margin: 2px 0 4px 12px;
  border-left: 1px solid #e5e7eb;
}

.cab-bot-subitem {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  border-radius: 8px;
  color: #4b5563;
  font-size: 11.5px;
  font-weight: 500;
  transition: background-color 180ms ease, color 180ms ease;
}

.cab-bot-subitem.is-active {
  background: #eef2ff;
  color: #3641f5;
  font-weight: 600;
}

.cab-bot-new {
  color: #9ca3af;
  font-size: 11px;
}

.cab-sub-icon {
  width: 13px;
  height: 13px;
  flex: none;
}

.cab-status-dot {
  margin-left: auto;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #10b981;
  flex: none;
}

.cab-bot-subitem--off {
  color: #9ca3af;
}

.cab-status-dot--off {
  background: #d1d5db;
}

.cab-nav-section-label {
  margin: 10px 0 3px;
  padding: 0 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #9ca3af;
}

.cab-user-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 8px 2px;
  border-top: 1px solid #f1f5f9;
}

.cab-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex: none;
}

.cab-user-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.cab-user-meta strong {
  font-size: 11.5px;
  font-weight: 600;
  color: #111827;
}

.cab-user-meta span {
  font-size: 10.5px;
  color: #6b7280;
}

/* Main Workspace */
.cab-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #f7f8fb;
}

.cab-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 18px;
  background: #ffffff;
  border-bottom: 1px solid #eceef2;
}

.cab-topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cab-sidebar-toggle-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  display: grid;
  place-items: center;
  color: #6b7280;
}

.cab-sidebar-toggle-ico svg {
  width: 14px;
  height: 14px;
}

.cab-search-fake {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 210px;
  padding: 5px 10px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #9ca3af;
  font-size: 11.5px;
}

.cab-search-fake svg {
  width: 13px;
  height: 13px;
}

.cab-search-fake kbd {
  margin-left: auto;
  padding: 1px 5px;
  border-radius: 5px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #6b7280;
}

.cab-moon-btn {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  display: grid;
  place-items: center;
  color: #4b5563;
}

.cab-moon-btn svg {
  width: 14px;
  height: 14px;
}

.cab-workspace {
  padding: 10px 16px 12px;
  flex: 1;
  overflow: hidden;
}

.cab-scene {
  animation: cabSceneIn 260ms ease;
}

@keyframes cabSceneIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scene 1: Обзор */
.cab-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 15px;
  background: #ffffff;
  border: 1px solid #eceef2;
  box-shadow: 0 2px 6px -4px rgba(15, 23, 42, 0.08);
  margin-bottom: 12px;
}

.cab-period-group,
.cab-seg-sm {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 9px;
  background: #f3f4f6;
}

.cab-seg-btn {
  padding: 4px 10px;
  border-radius: 7px;
  color: #4b5563;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.cab-seg-btn.is-active {
  background: #ffffff;
  color: #111827;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.cab-filter-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.cab-period-dates {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #6b7280;
}

.cab-pill-link {
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #111827;
  font-size: 11px;
  font-weight: 600;
}

.cab-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
  margin-bottom: 12px;
}

.cab-kpi-card {
  padding: 12px 14px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #eceef2;
  box-shadow: 0 4px 14px -10px rgba(15, 23, 42, 0.14);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cab-kpi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.cab-kpi-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  color: #6b7280;
}

.cab-dot {
  display: inline-block;
  width: 6.5px;
  height: 6.5px;
  border-radius: 999px;
  flex: none;
}

.cab-dot--indigo { background: #5b6cf9; }
.cab-dot--violet { background: #7c4dff; }
.cab-dot--emerald { background: #10b981; }
.cab-dot--amber { background: #f59e0b; }
.cab-dot--slate { background: #9ca3af; }

.cab-kpi-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  background: #f3f4f6;
  color: #374151;
}

.cab-kpi-val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #101828;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.cab-kpi-sub {
  font-size: 10.5px;
  color: #6b7280;
  line-height: 1.3;
}

.cab-ov-bento {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr);
  gap: 11px;
}

.cab-card {
  padding: 13px 15px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #eceef2;
  box-shadow: 0 4px 14px -10px rgba(15, 23, 42, 0.14);
}

.cab-card--flexcol {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cab-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.cab-card-head h3 {
  font-size: 13.5px;
  font-weight: 700;
  color: #101828;
  line-height: 1.25;
}

.cab-card-head p {
  font-size: 11px;
  color: #6b7280;
  margin-top: 2px;
}

.cab-link-blue {
  font-size: 11px;
  font-weight: 600;
  color: #465fff;
  white-space: nowrap;
}

.cab-chart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
}

.cab-chart-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 6px;
  font-size: 10.5px;
  color: #4b5563;
}

.cab-chart-legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.cab-chart-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.cab-surface-well {
  padding: 10px 11px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #eef0f4;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cab-limits-well {
  margin-top: 8px;
  gap: 5px;
}

.cab-surface-meta,
.cab-surface-sub,
.cab-funnel-row-head,
.cab-limit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 11px;
}

.cab-surface-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #111827;
}

.cab-surface-sub {
  font-size: 10.5px;
  color: #6b7280;
  margin: 2px 0 4px;
}

.cab-surface-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: #111827;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 1px 6px;
  border-radius: 5px;
}

.cab-funnel-row-head {
  color: #4b5563;
  margin-bottom: 3px;
}

.cab-funnel-row-head strong,
.cab-limit-row strong {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #111827;
}

.cab-limit-row span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #374151;
  font-weight: 500;
}

.cab-track {
  height: 5.5px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}

.cab-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  transition: width 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.cab-fill--indigo { background: #5b6cf9; }
.cab-fill--violet { background: #7c4dff; }
.cab-fill--emerald { background: #10b981; }
.cab-fill--amber { background: #f59e0b; }

.cab-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
  font-size: 11px;
  color: #6b7280;
}

.cab-card-foot strong {
  font-family: var(--font-mono);
  color: #111827;
}

/* Scene 2 & 4 Inner Sidebar Shell (BotsWorkspaceShell / SearchSettingsShell) */
.cab-bots-shell {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.cab-bots-innerside {
  padding: 14px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #eceef2;
  box-shadow: 0 4px 14px -10px rgba(15, 23, 42, 0.14);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cab-innerside-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cab-innerside-label {
  padding: 0 8px 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #9ca3af;
}

.cab-innerside-item {
  padding: 7px 10px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 500;
  color: #4b5563;
}

.cab-innerside-item.is-active {
  background: #f3f4f6;
  color: #111827;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.cab-bots-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.cab-form-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cab-form-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cab-form-head h3 {
  font-size: 15px;
  font-weight: 700;
  color: #101828;
}

.cab-real-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #374151;
}

.cab-check-box {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: #465fff;
  color: #ffffff;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.cab-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cab-field-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #374151;
}

.cab-field-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.cab-field-box {
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  font-size: 12px;
  color: #111827;
}

.cab-field-box--select {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cab-field-textarea {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  color: #1f2937;
  white-space: pre-line;
  height: 280px;
  overflow: hidden;
}

.cab-form-sub {
  margin-top: 2px;
  font-size: 11px;
  color: #6b7280;
}

.cab-skills-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cab-skill-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 11px;
  border-radius: 10px;
  border: 1px solid #eceef2;
  background: #f9fafb;
}

.cab-skill-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cab-skill-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.cab-skill-head strong {
  font-size: 12px;
  font-weight: 700;
  color: #101828;
}

.cab-skill-slug {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: #4b5563;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 1px 6px;
  border-radius: 6px;
}

.cab-skill-desc {
  font-size: 11px;
  line-height: 1.4;
  color: #4b5563;
}

.cab-form-actions {
  display: flex;
  justify-content: flex-end;
}

.cab-btn-brand {
  padding: 7px 15px;
  border-radius: 9px;
  background: #465fff;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
}

.cab-archive-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 15px;
  border-radius: 13px;
  border: 1px solid #fde68a;
  background: rgba(254, 243, 199, 0.4);
}

.cab-archive-banner strong {
  display: block;
  font-size: 12.5px;
  color: #111827;
}

.cab-archive-banner span {
  font-size: 11px;
  color: #6b7280;
}

.cab-btn-outline {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  font-size: 11.5px;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
}

.cab-status-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
}

.cab-status-pill--green {
  background: #ecfdf5;
  color: #059669;
}

.cab-conn-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cab-conn-item {
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cab-conn-item span {
  font-size: 11px;
  color: #6b7280;
}

.cab-conn-item strong {
  font-size: 12.5px;
  color: #111827;
}

/* Scene 3 & 4 Tables (DashboardListShell + ListTableFrame) */
.cab-list-page-head {
  margin-bottom: 10px;
}

.cab-list-page-head h3 {
  font-size: 18px;
  font-weight: 700;
  color: #101828;
}

.cab-list-page-head p {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

.cab-table-card {
  padding: 0;
  overflow: hidden;
}

.cab-table-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 16px;
  border-bottom: 1px solid #eceef2;
}

.cab-table-top h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: #101828;
  margin: 0;
}

.cab-table-top > div > span {
  font-size: 11.5px;
  color: #6b7280;
}

.cab-table-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.cab-tb-select,
.cab-tb-search,
.cab-tb-btn {
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  font-size: 11px;
  color: #4b5563;
  white-space: nowrap;
}

.cab-tb-search {
  color: #9ca3af;
}

.cab-real-table {
  display: flex;
  flex-direction: column;
}

.cab-tr {
  display: grid;
  grid-template-columns: minmax(180px, 2.1fr) 74px 72px 86px 86px 124px 106px;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 11.5px;
  color: #374151;
}

.cab-real-table--5 .cab-tr {
  grid-template-columns: minmax(150px, 1.8fr) 76px 104px 96px 136px;
}

.cab-tr--head {
  background: #f9fafb;
  font-size: 10.5px;
  font-weight: 700;
  color: #6b7280;
}

.cab-tr--focus {
  background: rgba(70, 95, 255, 0.04);
}

.cab-td-q {
  font-weight: 500;
  color: #111827;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cab-td-muted {
  color: #6b7280;
  font-size: 11px;
  white-space: nowrap;
}

.cab-tr small {
  display: block;
  font-size: 10px;
  color: #6b7280;
  margin-top: 2px;
}

.cab-badge {
  display: inline-flex;
  align-items: center;
  font-style: normal;
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
}

.cab-badge--light { background: #f3f4f6; color: #374151; }
.cab-badge--blue { background: #eef2ff; color: #465fff; }
.cab-badge--green { background: #ecfdf5; color: #059669; }
.cab-badge--red { background: #fef2f2; color: #dc2626; }
.cab-badge--amber { color: #d97706; font-weight: 600; }

.cab-action-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  font-size: 10.5px;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
}

.cab-table-foot {
  padding: 10px 16px;
  font-size: 11.5px;
  color: #6b7280;
}

.cab-handoff-toast {
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  animation: cabSceneIn 220ms ease;
}

.cab-handoff-toast strong {
  display: block;
  color: #065f46;
}

.cab-handoff-toast span {
  color: #047857;
  font-size: 11px;
}

/* Authentic sa.aimerce.by Dialog Detail (2-column transcript + aside) */
.cab-dlg-detail {
  animation: cabSceneIn 220ms ease;
}

.cab-dlg-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 244px;
  gap: 12px;
  align-items: start;
}

.cab-dlg-main {
  padding: 0;
  overflow: hidden;
}

.cab-dlg-main-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
}

.cab-dlg-back-link {
  display: inline-block;
  font-size: 10.5px;
  color: #6b7280;
  margin-bottom: 2px;
}

.cab-dlg-main-head h4 {
  font-size: 13.5px;
  font-weight: 700;
  color: #101828;
  line-height: 1.2;
}

.cab-dlg-main-head p {
  margin-top: 2px;
  font-size: 10.5px;
  color: #6b7280;
}

.cab-dlg-head-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  flex: none;
}

.cab-dlg-count {
  font-size: 10.5px;
  color: #6b7280;
}

.cab-dlg-btn-row {
  display: flex;
  gap: 5px;
}

.cab-dlg-outline-btn {
  padding: 3px 8px;
  border-radius: 7px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  font-size: 10px;
  font-weight: 600;
  color: #374151;
}

.cab-dlg-feed {
  padding: 6px 14px 10px;
}

.cab-dlg-entry {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
}

.cab-dlg-entry:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

.cab-dlg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: none;
}

.cab-dlg-avatar svg {
  width: 14px;
  height: 14px;
}

.cab-dlg-avatar--visitor {
  background: #f3f4f6;
  color: #4b5563;
}

.cab-dlg-avatar--ai {
  background: #eef2ff;
  color: #465fff;
}

.cab-dlg-entry-body {
  min-width: 0;
  flex: 1;
}

.cab-dlg-entry-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.cab-dlg-entry-head strong {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: #111827;
  line-height: 1.2;
}

.cab-dlg-entry-head span {
  display: block;
  font-size: 10px;
  color: #6b7280;
}

.cab-dlg-entry-head time {
  font-size: 10px;
  color: #9ca3af;
  white-space: nowrap;
}

.cab-dlg-entry-text {
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.45;
  color: #374151;
}

.cab-dlg-prod-card {
  margin-top: 7px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
}

.cab-dlg-prod-ico {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #eef2ff;
  display: grid;
  place-items: center;
  font-size: 16px;
  flex: none;
}

.cab-dlg-prod-card > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.cab-dlg-prod-cat {
  font-size: 9.5px;
  color: #6b7280;
}

.cab-dlg-prod-card strong {
  font-size: 11.5px;
  color: #111827;
}

.cab-dlg-prod-price {
  font-size: 10.5px;
  font-weight: 600;
  color: #111827;
}

.cab-dlg-meta-line {
  margin-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: #9ca3af;
}

.cab-dlg-tools {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 500;
  color: #6b7280;
}

.cab-dlg-tools code {
  font-family: var(--font-mono);
  font-size: 9.5px;
  background: #f3f4f6;
  padding: 1px 5px;
  border-radius: 4px;
  color: #374151;
}

.cab-dlg-aside {
  padding: 0;
  overflow: hidden;
}

.cab-dlg-aside-head {
  padding: 10px 13px;
  border-bottom: 1px solid #f1f5f9;
}

.cab-dlg-aside-head h4 {
  font-size: 12.5px;
  font-weight: 700;
  color: #101828;
}

.cab-dlg-dl {
  margin: 0;
}

.cab-dlg-dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 13px;
  border-bottom: 1px solid #f3f4f6;
  font-size: 11px;
}

.cab-dlg-dl dt {
  color: #6b7280;
}

.cab-dlg-dl dd {
  margin: 0;
  font-weight: 600;
  color: #111827;
}

.cab-dlg-dl dd.mono {
  font-family: var(--font-mono);
}

.cab-dlg-aside-sec {
  padding: 10px 13px;
  border-top: 1px solid #eceef2;
}

.cab-dlg-aside-label {
  display: block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 600;
  color: #374151;
}

.cab-dlg-cart-box {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
  background: #fafafa;
}

.cab-dlg-cart-link {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #465fff;
}

.cab-dlg-cart-meta {
  margin-top: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 9.5px;
  color: #6b7280;
}

.cab-dlg-cart-pill {
  padding: 1px 6px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
}

.cab-dlg-mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.cab-dlg-mode-btn {
  padding: 6px 6px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #6b7280;
  font-size: 10px;
  font-weight: 600;
  text-align: center;
}

.cab-dlg-mode-btn--emerald {
  border-color: #10b981;
  background: #ecfdf5;
  color: #047857;
}

.cab-dlg-reason {
  margin-top: 7px;
  font-size: 10px;
  line-height: 1.35;
  color: #b45309;
}

.cab-dlg-detail .cab-dlg-feed {
  padding: 4px 14px 8px;
}

.cab-dlg-detail .cab-dlg-entry {
  padding: 6.5px 0;
}

.cab-dlg-detail .cab-dlg-entry-text {
  margin-top: 3px;
  line-height: 1.38;
}

.cab-dlg-detail .cab-dlg-prod-card {
  margin-top: 5px;
  padding: 5px 9px;
}

.cab-dlg-detail .cab-dlg-meta-line {
  margin-top: 4px;
}

.cab-dlg-detail .cab-dlg-tools {
  margin-top: 3px;
}

/* Scene 5: Live Website Widget Phone Overlay (Orca-style floating mobile mockup) */
.cab-stage.is-phone-stage .cab-shell {
  filter: brightness(0.94) saturate(0.92);
  transition: filter 260ms ease;
}

.cab-live-main {
  margin-right: 344px;
  height: 100%;
}

.cab-live-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cab-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cab-live-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #10b981;
  animation: cabPulse 1.8s ease-in-out infinite;
}

.cab-live-waiting {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  font-size: 11px;
  color: #64748b;
}

.cab-live-dots {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.cab-live-dots i {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #64748b;
  animation: cabPulseDots 1.2s ease-in-out infinite;
}

.cab-live-dots i:nth-child(2) {
  animation-delay: 160ms;
}

.cab-live-dots i:nth-child(3) {
  animation-delay: 320ms;
}

@keyframes cabPulseDots {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

.cab-live-cart-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  font-size: 11px;
  color: #065f46;
  animation: cabSlideIn 260ms ease both;
}

.cab-dlg-entry--reveal,
.cab-pw-reveal {
  animation: cabSlideIn 260ms ease both;
}

@keyframes cabSlideIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.cab-phone-overlay {
  position: absolute;
  top: 18px;
  right: 22px;
  bottom: 18px;
  width: 326px;
  z-index: 30;
  opacity: 0;
  transform: translateY(14px) scale(0.985);
  transition: opacity 280ms ease, transform 340ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.cab-phone-overlay.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cab-phone-frame {
  height: 100%;
  padding: 9px;
  border-radius: 42px;
  background: #141519;
  border: 1.5px solid #2e3038;
  box-shadow:
    0 28px 60px -16px rgba(9, 9, 11, 0.42),
    0 8px 20px -8px rgba(9, 9, 11, 0.24);
  display: flex;
}

.cab-phone-screen {
  flex: 1;
  min-height: 0;
  background: #f4f4f6;
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cab-phone-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 18px 6px;
  background: #f4f4f6;
  color: #111827;
}

.cab-phone-time {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cab-phone-island {
  width: 78px;
  height: 20px;
  border-radius: 999px;
  background: #09090b;
}

.cab-phone-sys {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #111827;
}

.cab-phone-sys svg {
  height: 10px;
  width: auto;
  display: block;
}

.cab-phone-browser {
  padding: 4px 14px 10px;
  background: #f4f4f6;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cab-phone-url {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e4e4e7;
  font-size: 11px;
  font-weight: 600;
  color: #3f3f46;
}

.cab-phone-url svg {
  width: 11px;
  height: 11px;
  color: #059669;
}

.cab-phone-storehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
}

.cab-phone-storehead strong {
  font-size: 12.5px;
  font-weight: 700;
  color: #18181b;
}

.cab-phone-cart {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e4e4e7;
  font-size: 11px;
  font-weight: 700;
  color: #18181b;
  transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1), background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.cab-phone-cart svg {
  width: 12px;
  height: 12px;
}

.cab-phone-cart.is-pop {
  transform: scale(1.1);
  background: #ecfdf5;
  border-color: #10b981;
  color: #047857;
}

.cab-pw-sheet {
  flex: 1;
  min-height: 0;
  margin: 0 6px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 -2px 16px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cab-pw-head {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border-bottom: 1px solid #ececec;
}

.cab-pw-logo {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #1a1a1a;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex: none;
}

.cab-pw-title {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.cab-pw-title strong {
  font-size: 12px;
  font-weight: 700;
  color: #1a1a1a;
}

.cab-pw-title span {
  font-size: 10px;
  color: #757575;
}

.cab-pw-close {
  font-size: 17px;
  line-height: 1;
  color: #71717a;
}

.cab-pw-messages {
  flex: 1;
  min-height: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.cab-pw-bubble {
  max-width: 88%;
  padding: 9px 11px;
  border-radius: 14px;
  font-size: 11.5px;
  line-height: 1.4;
}

.cab-pw-bubble--ai {
  align-self: flex-start;
  background: #f5f5f7;
  color: #1a1a1a;
  border-bottom-left-radius: 4px;
}

.cab-pw-bubble--user {
  align-self: flex-end;
  background: #efede9;
  color: #1a1a1a;
  border-bottom-right-radius: 4px;
}

.cab-pw-bubble p {
  margin: 0 0 8px;
}

.cab-pw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.cab-pw-chips span {
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid #e4e4e7;
  background: #fafafa;
  font-size: 10px;
  font-weight: 500;
  color: #3f3f46;
}

.cab-pw-typing {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 12px;
  background: #f5f5f7;
  font-size: 10.5px;
  color: #6b7280;
}

.cab-pw-prod {
  padding: 8px;
  border-radius: 11px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cab-pw-prod-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cab-pw-prod-ico {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #f3f4f6;
  display: grid;
  place-items: center;
  font-size: 16px;
  flex: none;
}

.cab-pw-prod-top > div {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.cab-pw-prod-top strong {
  font-size: 11.5px;
  font-weight: 700;
  color: #18181b;
}

.cab-pw-prod-top span {
  font-size: 10px;
  color: #6b7280;
}

.cab-pw-prod-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cab-pw-prod-price {
  font-size: 12px;
  font-weight: 700;
  color: #111827;
}

.cab-pw-cart-btn {
  padding: 4px 10px;
  border-radius: 8px;
  background: #1a1a1a;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 600;
  transition: background-color 180ms ease, transform 150ms ease;
}

.cab-pw-cart-btn.is-added {
  background: #059669;
  transform: scale(1.03);
}

.cab-pw-composer {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 10px;
  border-top: 1px solid #ececec;
  background: #ffffff;
}

.cab-pw-input {
  flex: 1;
  min-width: 0;
  min-height: 36px;
  padding: 7px 11px;
  border-radius: 16px;
  border: 1px solid #e3e3e3;
  background: #fafafa;
  font-size: 11px;
  line-height: 1.35;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.cab-pw-placeholder {
  color: #9ca3af;
}

.cab-pw-input-text {
  color: #1a1a1a;
  word-break: break-word;
}

.cab-pw-caret {
  display: inline-block;
  width: 1.5px;
  height: 13px;
  margin-left: 1px;
  background: #1a1a1a;
  animation: cabCaretBlink 0.9s step-end infinite;
}

@keyframes cabCaretBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.cab-pw-send {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #e4e4e7;
  color: #a1a1aa;
  display: grid;
  place-items: center;
  flex: none;
  transition: background-color 160ms ease, color 160ms ease, transform 140ms ease;
}

.cab-pw-send svg {
  width: 14px;
  height: 14px;
}

.cab-pw-send.is-ready {
  background: #1a1a1a;
  color: #ffffff;
}

.cab-pw-send.is-pressing {
  transform: scale(0.86);
}

.cab-phone-homebar {
  width: 102px;
  height: 4px;
  border-radius: 999px;
  background: #18181b;
  opacity: 0.28;
  margin: 8px auto 7px;
  flex: none;
}

/* Compact Storefront Demo Strip (#demo) */
.demo-strip {
  margin-top: 18px;
  padding: 18px 22px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.demo-strip-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.demo-strip-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.demo-strip-badge {
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-2);
  margin-bottom: 2px;
}

.demo-strip-copy strong {
  font-size: 16px;
  color: var(--ink);
}

.demo-strip-copy span:last-child {
  font-size: 13.5px;
  color: var(--muted);
}

.demo-strip-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.demo-strip-links a {
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  transition: border-color 140ms ease, color 140ms ease, background-color 140ms ease;
}

.demo-strip-links a:hover {
  border-color: var(--brand);
  background: #ffffff;
  color: var(--ink);
}

/* Auto-Playing Visual Vignettes inside Bento Cards */
.bento-bot-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.bento-bot-row {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
  color: var(--ink);
  font-size: 12px;
  transition: border-color 220ms ease, background-color 220ms ease;
}

.bento-bot-row.is-active {
  border-color: #465fff;
  background: #eef2ff;
}

.bento-bot-tag {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
}

.bento-bot-preview {
  padding: 7px 9px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.07);
  font-size: 11.5px;
  line-height: 1.35;
}

.bento-bot-preview strong {
  display: block;
  color: var(--ink);
  margin-bottom: 2px;
}

.bento-bot-preview span {
  color: var(--ink-2);
}

.bento-search-pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
}

.bento-mini-pill {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #ffffff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.bento-mini-pill.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.bento-funnel-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.bento-voice-pill.is-playing .bento-voice-wave i {
  animation: bentoVoiceWave 520ms ease-in-out infinite alternate;
}

.bento-voice-pill.is-playing .bento-voice-wave i:nth-child(2) { animation-delay: 120ms; }
.bento-voice-pill.is-playing .bento-voice-wave i:nth-child(3) { animation-delay: 240ms; }
.bento-voice-pill.is-playing .bento-voice-wave i:nth-child(4) { animation-delay: 80ms; }

@keyframes bentoVoiceWave {
  from { height: 4px; }
  to { height: 13px; }
}

.bento-model-btn {
  padding: 5px 10px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #ffffff;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.bento-model-btn.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #ffffff;
}

.bento-model-hint {
  font-size: 11.5px;
  color: #374151;
  padding: 6px 9px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

/* ---------- Responsive ---------- */
/* ---------- Orca-style Unified Page Sections ---------- */
.orca-section {
  border-top: 1px solid rgba(9, 9, 11, 0.06);
}

.orca-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.orca-head .section-title {
  margin-bottom: 12px;
}

.orca-head .section-lead {
  margin: 0 auto;
}

.orca-stack-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 36px;
}

.orca-stack-group {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fafafa;
}

.orca-stack-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #465fff;
  margin-bottom: 6px;
}

.orca-stack-items {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink);
}

.compare-eyebrow {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 6px;
  background: #ecf3ff;
  border: 1px solid #dde9ff;
  color: #3641f5;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.compare-classes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.compare-class-card {
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid #e4e7ec;
  background: #ffffff;
}

.compare-class-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #667085;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.compare-class-card h3 {
  margin: 4px 0;
  font-size: 14.5px;
  font-weight: 700;
  color: #101828;
}

.compare-class-examples {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #465fff;
}

.compare-class-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #475467;
}

.compare-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid #e4e7ec;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.compare-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
  line-height: 1.42;
}

.compare-table th,
.compare-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #e4e7ec;
  vertical-align: middle;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table thead th {
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #101828;
  background: #f9fafb;
  border-bottom: 1px solid #e4e7ec;
}

.compare-col-criteria {
  width: 29%;
}

.compare-col-ours,
.compare-cell-ours {
  width: 23%;
  background: #f2f7ff;
  border-left: 1px solid #dde9ff;
  border-right: 1px solid #dde9ff;
}

.compare-col-alt {
  width: 16%;
}

.compare-table thead th.compare-col-ours {
  background: #ecf3ff;
  border-top: 2px solid #465fff;
  border-bottom-color: #c2d6ff;
}

.compare-col-sub {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  font-weight: 500;
  color: #667085;
}

.compare-ours-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.compare-ours-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: #465fff;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.compare-table tbody th {
  font-weight: 600;
  color: #101828;
}

.cmp-row-title {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #101828;
}

.cmp-row-sub {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  color: #667085;
}

.cmp-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  line-height: 1.35;
  color: #475467;
}

.compare-cell-ours .cmp-status {
  font-weight: 600;
  color: #101828;
}

.cmp-yes,
.cmp-partial,
.cmp-no {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.cmp-yes {
  background: #ecfdf3;
  color: #027a48;
  border: 1px solid #a6f4c5;
}

.cmp-partial {
  background: #fffaeb;
  color: #b54708;
  border: 1px solid #fedf89;
}

.cmp-no {
  background: #f2f4f7;
  color: #667085;
  border: 1px solid #e4e7ec;
}

.compare-footer-strip {
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid #e4e7ec;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.compare-footer-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.compare-footer-copy strong {
  font-size: 13.5px;
  font-weight: 700;
  color: #101828;
}

.compare-footer-copy span {
  font-size: 13px;
  color: #475467;
}

@media (max-width: 820px) {
  .orca-stack-summary,
  .compare-classes-grid {
    grid-template-columns: 1fr;
  }
}

.orca-niches-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.orca-niches-grid .solution-card {
  box-shadow: none;
  border: 1px solid var(--border);
  padding: 20px;
}

.demo-strip--orca {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 14px;
  box-shadow: none;
}

.demo-strip--orca .demo-strip-copy strong {
  font-size: 15px;
}

.demo-strip--orca .demo-strip-copy span {
  font-size: 13px;
  color: var(--muted);
}

.faq-orca-wrap {
  max-width: 740px;
  margin: 0 auto;
}

.faq-orca-wrap .orca-head {
  margin-bottom: 24px;
}

.cta-orca-wrap {
  max-width: 560px;
  margin: 0 auto;
}

.cta-orca-wrap .orca-head {
  margin-bottom: 24px;
}

.form-card--orca {
  padding: 26px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(9, 9, 11, 0.04);
}

.footer-inner--orca {
  align-items: center;
}

@media (max-width: 1180px) {
  .hero-hud-card {
    display: none;
  }
}

@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero-top-grid,
  .section-head,
  .skills-grid,
  .arch-layout,
  .faq-layout,
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .sf-mobile-switch {
    display: flex;
  }

  .demo-workspace {
    grid-template-columns: 1fr;
    height: 484px;
    background: #f8fafc;
  }

  .sa-widget-pane {
    margin: 0;
    border-radius: 0;
    border: 0;
    box-shadow: none;
  }

  .sa-widget-pane.is-spotlight {
    border: 0;
    box-shadow: inset 0 0 0 2px var(--brand);
  }

  .sa-widget-pane.is-spotlight-manager {
    border: 0;
    box-shadow: inset 0 0 0 2px #059669;
  }

  .demo-workspace[data-active-pane="chat"] .sf-catalog-pane {
    display: none;
  }

  .demo-workspace[data-active-pane="catalog"] .sa-widget-pane {
    display: none;
  }

  .sf-catalog-pane {
    border-right: 0;
  }

  .sf-search-results {
    grid-template-columns: 1fr;
  }

  .hero-top-grid {
    gap: 16px;
    align-items: start;
  }

  .hero-lead-col {
    justify-self: start;
    max-width: 54ch;
  }

  .cab-reel-chapters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: 822px;
  }

  .hero-middle-band {
    min-height: 220px;
  }

  .faq-intro {
    position: static;
  }

  .cta-paper-card {
    padding: 34px;
  }

  .bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento-card--wide,
  .bento-card--side {
    grid-column: span 2;
  }

  .bento-card--third {
    grid-column: span 1;
  }

  .bento-card--third:last-child {
    grid-column: span 2;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .demo-portal {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    gap: 22px;
  }
}

@media (max-width: 760px) {
  .container {
    padding-inline: 16px;
  }

  .site-header {
    top: 0;
    padding-inline: 0;
  }

  .site-header.is-scrolled {
    top: 0;
  }

  .header-inner,
  .site-header.is-scrolled .header-inner {
    height: 54px;
    padding: 0 12px 0 16px;
    border-radius: 0;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(9, 9, 11, 0.08);
    box-shadow: none;
    background: rgba(255, 255, 255, 0.92);
    gap: 10px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}

.brand-name {
    font-size: 14.5px;
  }

  .mobile-menu-btn {
    width: 38px;
    height: 38px;
  }

  .section,
  .runlit-canvas .section {
    padding: 36px 0;
  }

  .section-head {
    gap: 6px;
    margin-bottom: 16px;
  }

  .section-title {
    font-size: 23px;
    line-height: 1.18;
  }

  .section-lead {
    font-size: 14.5px;
    line-height: 1.48;
  }

  .cab-section-head .section-lead,
  #capabilities .section-lead,
  #training .section-lead,
  #solutions .section-lead,
  #formats .section-lead,
  #faq .section-lead,
  .faq-cta-link {
    display: none;
  }

  #demo.section,
  #demo.demo-portal-section {
    padding: 36px 0 48px;
  }

  .demo-portal {
    padding: 22px 16px;
    border-radius: 18px;
  }

  .demo-portal-cta {
    width: 100%;
    justify-content: center;
  }

  .demo-portal-stage-head {
    flex-wrap: wrap;
  }

  .demo-scenarios-bar {
    padding: 8px;
    gap: 6px;
  }

  .demo-scenario-btn {
    font-size: 12px;
    padding: 5px 9px;
  }

  .demo-live-strip {
    flex-wrap: wrap;
    padding: 7px 12px;
    gap: 6px;
  }

  .co-guides,
  .demo-browser-dots,
  .demo-fullpage-link,
  .sf-speed-pill {
    display: none;
  }

  .cta-paper-card {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .cta-checklist,
  .guides-strip {
    display: none;
  }

  .hero--orca {
    padding: 34px 0 32px;
  }

  .hero-orca-top {
    margin-bottom: 22px;
  }

  .hero-announce-pill {
    font-size: 11px;
    margin-bottom: 14px;
    max-width: 100%;
    white-space: nowrap;
  }

  .hero--orca .hero-title {
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
  }

  .hero--orca .hero-lead {
    font-size: 14.5px;
    line-height: 1.48;
  }

  .hero--orca .hero-cta-row {
    flex-direction: row;
    justify-content: center;
    width: 100%;
    max-width: 340px;
    gap: 8px;
    margin-top: 18px;
  }

  .hero-cta-btn {
    flex: 1 1 0;
    width: auto;
    justify-content: center;
    padding: 11px 14px;
    font-size: 14px;
    white-space: nowrap;
  }

  .hero-submeta {
    font-size: 11.5px;
    margin-top: 12px;
  }

  .sf-header {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 12px;
  }

  .sf-search-wrap {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }

  .sf-cart-label {
    display: none;
  }

  .sf-product-grid,
  .stack-grid,
  .form-grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .bento-grid,
  .solutions-grid,
  .plans-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px;
    margin-inline: -16px;
    padding: 4px 16px 10px;
  }

  .bento-grid::-webkit-scrollbar,
  .solutions-grid::-webkit-scrollbar,
  .plans-grid::-webkit-scrollbar {
    display: none;
  }

  .bento-card {
    flex: 0 0 84vw;
    max-width: 316px;
    scroll-snap-align: start;
    padding: 16px;
    gap: 14px;
    border-radius: 16px;
    min-width: 0;
  }

  .bento-engines {
    grid-template-columns: minmax(0, 1fr);
  }

  .bento-engines > .bento-pipe:nth-child(2) {
    display: none;
  }

  .bento-visual {
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    gap: 8px;
    min-width: 0;
  }

  .bento-pipe,
  .bento-bot-row,
  .bento-voice-pill,
  .bento-entry-row,
  .bento-tg-card {
    min-width: 0;
  }

  .bento-voice-pill {
    flex-wrap: wrap;
  }

  .bento-voice-text {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .bento-entry-row {
    flex-wrap: wrap;
    gap: 6px;
  }

  .bento-ribbon {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    margin-top: 14px;
    gap: 10px;
  }

  .bento-ribbon-meta {
    display: none;
  }

  .bento-ribbon .btn {
    width: 100%;
    justify-content: center;
  }

  .skills-editor {
    display: none;
  }

  .solutions-grid > * {
    flex: 0 0 78vw;
    max-width: 288px;
    scroll-snap-align: start;
    min-width: 0;
  }

  .plan-card {
    flex: 0 0 84vw;
    max-width: 316px;
    scroll-snap-align: start;
    padding: 18px 16px;
    min-width: 0;
  }

  .sf-catalog-bar {
    flex-wrap: wrap;
    padding: 10px 12px;
  }

  .sf-card-media {
    width: 44px;
    height: 44px;
  }

  .sf-card-sku {
    display: none;
  }

  .sf-sr-card {
    grid-template-columns: 50px minmax(0, 1fr);
  }

  .sf-sr-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-top: 6px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
  }

  .cab-chrome {
    padding: 8px 12px;
  }

  .cab-chrome-tenant,
  .cab-chrome-sep,
  .cab-chrome-link {
    display: none;
  }

  .cab-reel-bar {
    width: 100%;
    gap: 6px;
    margin-bottom: 10px;
    padding: 4px;
  }

  .cab-reel-chapters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 6px;
    padding-bottom: 2px;
  }

  .cab-reel-chapters::-webkit-scrollbar {
    display: none;
  }

  .cab-reel-chap {
    flex: 0 0 auto;
    padding: 7px 11px;
    border-radius: 10px;
  }

  .cab-reel-chap-label {
    font-size: 12px;
  }

  .cab-reel-toggle {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .demo-strip {
    padding: 16px;
    gap: 12px;
    border-radius: 16px;
  }

  .demo-strip-top {
    gap: 12px;
  }

  .demo-strip-badge,
  .demo-strip-copy span:last-child,
  .demo-strip-links {
    display: none;
  }

  .demo-strip-top .btn {
    width: 100%;
    justify-content: center;
  }

  .faq-trigger {
    padding: 14px 0;
    font-size: 14.5px;
  }

  .site-footer {
    padding: 24px 0 32px;
  }

  .header-cta {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cab-pulse-dot,
  .bento-voice-pill.is-playing .bento-voice-wave i,
  .scroll-stamp-ring,
  .demo-scenarios-dot,
  .demo-scenario-btn.is-suggested,
  .demo-guide-cursor,
  .demo-cursor-ripple,
  .demo-live-strip.is-flash,
  .sf-search-wrap.is-spotlight,
  .sf-search-overlay,
  .sf-cart-drawer,
  .sf-workspace-backdrop,
  .sf-cart-pop,
  .sa-msg.is-entering,
  .sa-activity-dots span,
  .sa-activity-text,
  .sa-w-dot--thinking,
  .sa-voice-bars span {
    animation: none !important;
    transition: none !important;
  }
}
