/*
  Landing page design adapted from docs/lp.html.
  Keep styles static + tokenized for light/dark switching.
*/

:root {
  --accent-blue: #14b8a6;
  --accent-purple: #2dd4bf;
  --radius-card: 28px;
  --radius-btn: 980px;
  --transition-speed: 0.3s;
}

[data-theme="dark"] {
  --bg-body: #000000;
  --bg-section: #050505;
  --bg-card: #1c1c1e;
  --bg-card-hover: #2c2c2e;
  --bg-nav: rgba(0, 0, 0, 0.8);
  --bg-pill: rgba(255, 255, 255, 0.08);

  --text-primary: #f5f5f7;
  --text-secondary: #86868b;
  --text-tertiary: #6e6e73;

  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(20, 184, 166, 0.32);

  --shadow-card: none;
  --shadow-card-hover: 0 20px 40px rgba(0, 0, 0, 0.4);

  --gradient-text: linear-gradient(135deg, #fff 0%, #86868b 100%);
  --gradient-accent: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 100%);
  --bg-hero-blob: radial-gradient(circle at center, rgba(20, 184, 166, 0.15) 0%, transparent 60%);
  --bg-cta: radial-gradient(circle at center, #111 0%, #000 70%);

  --glow-soft-a: rgba(255, 255, 255, 0.07);
  --glow-soft-b: rgba(255, 255, 255, 0.03);

  --icon-bg: rgba(255, 255, 255, 0.08);
  --btn-secondary-bg: rgba(255, 255, 255, 0.1);
  --btn-secondary-text: #fff;
}

[data-theme="light"] {
  --bg-body: #ffffff;
  --bg-section: #f5f5f7;
  --bg-card: #ffffff;
  --bg-card-hover: #f0f0f5;
  --bg-nav: rgba(255, 255, 255, 0.8);
  --bg-pill: #f5f5f7;

  --text-primary: #1d1d1f;
  --text-secondary: #86868b;
  --text-tertiary: #a1a1a6;

  --border-subtle: rgba(0, 0, 0, 0.06);
  --border-hover: rgba(20, 184, 166, 0.26);

  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
  --shadow-card-hover: 0 20px 35px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

  --gradient-text: linear-gradient(135deg, #1d1d1f 0%, #6e6e73 100%);
  --gradient-accent: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 100%);
  --bg-hero-blob: radial-gradient(circle at center, rgba(20, 184, 166, 0.08) 0%, transparent 60%);
  --bg-cta: radial-gradient(circle at center, #f5f5f7 0%, #ffffff 70%);

  --glow-soft-a: rgba(0, 0, 0, 0.05);
  --glow-soft-b: rgba(0, 0, 0, 0.02);

  --icon-bg: #f5f5f7;
  --btn-secondary-bg: #f5f5f7;
  --btn-secondary-text: #1d1d1f;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease;
}

html[lang='mn'] body {
  font-family: 'Roboto', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.lp-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
}

.text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-color {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 56px;
  background: var(--bg-nav);
  backdrop-filter: saturate(180%) blur(20px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-subtle);
  transition: border-color 0.3s, background-color 0.5s;
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 40px);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  font-weight: 600;
  font-size: 19px;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo-wrap {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 22px;
}

.brand-logo-wrap--sm {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.brand-logo {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.brand-logo--sm {
  width: 16px;
  height: 16px;
}

.brand-logo--light {
  display: none;
}

[data-theme='light'] .brand-logo--dark {
  display: none;
}

[data-theme='light'] .brand-logo--light {
  display: block;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-link {
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover {
  color: var(--text-primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.theme-toggle {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}
.theme-toggle:hover {
  color: var(--text-primary);
  background: var(--border-subtle);
}

.lang-switcher {
  display: flex;
  gap: 6px;
  padding: 4px;
  border-radius: var(--radius-btn);
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  position: relative;
  align-items: center;
}
.lang-switcher::after {
  content: '';
  position: absolute;
  right: 10px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-tertiary);
  border-bottom: 2px solid var(--text-tertiary);
  transform: translateY(-60%) rotate(45deg);
  pointer-events: none;
}
.lang-select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  padding: 6px 26px 6px 10px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  outline: none;
}
.lang-select:focus-visible {
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.25);
}
.lang-select option[disabled] {
  color: var(--text-tertiary);
}
.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;
}

.nav--legal {
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

[data-theme='light'] .nav--legal {
  background: rgba(255, 255, 255, 0.75);
}

.theme-toggle-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gradient-accent);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.18);
}

.legal {
  padding: clamp(48px, 6vw, 84px) 0;
}

.legal-container {
  max-width: 980px;
}

.legal-header {
  margin-bottom: 22px;
}

.legal-title {
  font-size: clamp(34px, 4vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-primary);
}

.legal-subtitle {
  margin-top: 10px;
  font-size: 15px;
  color: var(--text-secondary);
}

.legal-meta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 13px;
  color: var(--text-tertiary);
}

.legal-card {
  border-radius: 22px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  padding: clamp(18px, 3vw, 26px);
  box-shadow: var(--shadow-card);
}

[data-theme='light'] .legal-card {
  background: rgba(0, 0, 0, 0.02);
}

.legal-card h2 {
  margin-top: 20px;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.legal-card h3 {
  margin-top: 14px;
  font-size: 15px;
  color: var(--text-primary);
}

.legal-card p {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.legal-card ul {
  margin-top: 10px;
  padding-left: 18px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.legal-card li {
  margin: 6px 0;
}

.legal-card a {
  color: var(--text-primary);
  text-decoration: underline;
  text-decoration-color: rgba(45, 212, 191, 0.55);
  text-underline-offset: 3px;
}

.legal-footer {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-tertiary);
  font-size: 13px;
}
.lang-btn {
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  padding: 6px 10px;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-btn.active,
.lang-btn:hover {
  background: var(--border-subtle);
  color: var(--text-primary);
}

.nav-btn {
  background: var(--text-primary);
  color: var(--bg-body);
  padding: 6px 16px;
  border-radius: var(--radius-btn);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-btn:hover {
  opacity: 0.9;
}

.hero {
  position: relative;
  padding-top: clamp(120px, 14vw, 180px);
  padding-bottom: clamp(84px, 10vw, 120px);
  display: flex;
  justify-content: center;
  text-align: left;
  overflow: hidden;
  background: var(--bg-body);
  transition: background-color 0.5s;
}

.hero-bg {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  width: min(980px, 110vw);
  height: min(980px, 110vw);
  background: var(--bg-hero-blob);
  filter: blur(1px);
  pointer-events: none;
  opacity: 0.95;
  will-change: transform;
  --hero-glow-x: clamp(80px, 10vw, 170px);
  --hero-glow-y: clamp(34px, 6vw, 120px);
  animation: hero-blob-orbit 26s ease-in-out infinite;
}

@keyframes hero-blob-orbit {
  0% {
    transform: translate3d(calc(-50% - var(--hero-glow-x)), calc(-1 * var(--hero-glow-y)), 0) scale(1.03);
  }
  25% {
    transform: translate3d(calc(-50% + var(--hero-glow-x)), calc(-1 * var(--hero-glow-y)), 0) scale(1.06);
  }
  50% {
    transform: translate3d(calc(-50% + var(--hero-glow-x)), var(--hero-glow-y), 0) scale(1.04);
  }
  75% {
    transform: translate3d(calc(-50% - var(--hero-glow-x)), var(--hero-glow-y), 0) scale(1.07);
  }
  100% {
    transform: translate3d(calc(-50% - var(--hero-glow-x)), calc(-1 * var(--hero-glow-y)), 0) scale(1.03);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg {
    animation: none;
  }
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.25;
  background-image: linear-gradient(
      to right,
      var(--border-subtle) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, var(--border-subtle) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(circle at 50% 30%, black 0%, transparent 64%);
}

.hero-inner {
  width: min(1240px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-visual-card {
  width: min(680px, 100%);
  border-radius: calc(var(--radius-card) + 10px);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(255, 255, 255, 0.02) 100%
    ),
    var(--bg-card);
  box-shadow: var(--shadow-card-hover);
  overflow: hidden;
  position: relative;
}

[data-theme='light'] .hero-visual-card {
  background: #ffffff;
}

[data-theme='light'] .hero-visual-card::before {
  background: none;
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
      circle at 30% 20%,
      var(--glow-soft-a),
      transparent 55%
    ),
    radial-gradient(
      circle at 70% 80%,
      var(--glow-soft-b),
      transparent 55%
    );
  opacity: 0.8;
}

.hero-mockup {
  position: relative;
  z-index: 2;
  width: 100%;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
}

[data-theme='light'] .mockup-header {
  background: #ffffff;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #ff5f57;
}

.mockup-dot:nth-child(2) {
  background: #febc2e;
}

.mockup-dot:nth-child(3) {
  background: #28c840;
}

.dashboard-mock {
  padding: 18px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 14px;
  min-height: 440px;
}

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .hero-copy {
    align-items: center;
  }
  .hero-subtitle {
    max-width: 62ch;
  }
  .hero-visual {
    justify-content: center;
    width: 100%;
  }
  .dashboard-mock {
    grid-template-columns: 1fr;
  }
  .dashboard-sidebar {
    display: none;
  }
}

@media (max-width: 640px) {
  .dashboard-mock {
    padding: 12px;
    gap: 10px;
    min-height: 0;
  }

  .dashboard-topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .dashboard-page-sub {
    max-width: none;
  }

  .dashboard-meta {
    justify-content: flex-start;
  }

  .dashboard-pill {
    font-size: 11px;
    padding: 5px 8px;
  }

  .dashboard-chat {
    padding: 12px;
    min-height: 260px;
  }

  .dashboard-chat-scroll {
    padding: 10px;
  }

  .dashboard-message {
    font-size: 12px;
  }

  .dashboard-input {
    padding: 8px;
  }

  .dashboard-input-field {
    padding: 9px 10px;
    font-size: 12px;
  }
}

@media (max-width: 520px) {
  .dashboard-chat {
    min-height: 230px;
  }

  .dashboard-meta {
    gap: 6px;
  }

  .dashboard-pill svg {
    display: none;
  }
}

.dashboard-sidebar {
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

[data-theme='light'] .dashboard-sidebar {
  background: #ffffff;
}

.dashboard-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

[data-theme='light'] .dashboard-brand {
  background: rgba(0, 0, 0, 0.01);
}

.dashboard-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--gradient-accent);
}

.dashboard-brand-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dashboard-business {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

.dashboard-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #34c759;
  box-shadow: 0 0 0 3px rgba(52, 199, 89, 0.18);
}

.dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dashboard-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 14px;
  font-size: 13px;
  color: var(--text-secondary);
  border: 1px solid transparent;
}

.dashboard-nav-item.active {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

[data-theme='light'] .dashboard-nav-item.active {
  background: rgba(0, 0, 0, 0.03);
}

.dashboard-nav-item svg {
  color: var(--text-secondary);
}

.dashboard-nav-item.active svg {
  color: var(--text-primary);
}

.dashboard-main {
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

[data-theme='light'] .dashboard-main {
  background: #ffffff;
}

.dashboard-topbar {
  padding: 14px 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

[data-theme='light'] .dashboard-topbar {
  background: rgba(0, 0, 0, 0.01);
}

.dashboard-page-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
}

.dashboard-page-sub {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-secondary);
  max-width: 34ch;
}

.dashboard-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.dashboard-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-pill);
  color: var(--text-secondary);
  font-size: 12px;
  white-space: nowrap;
}

.dashboard-pill-strong {
  color: var(--text-primary);
  font-weight: 800;
}

.dashboard-chat {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 300px;
}

.dashboard-chat-scroll {
  flex: 1;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: flex-end;
}

[data-theme='light'] .dashboard-chat-scroll {
  background: rgba(0, 0, 0, 0.01);
}

.dashboard-message {
  max-width: 90%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 12.5px;
  line-height: 1.45;
}

.dashboard-message.user {
  align-self: flex-end;
  background: var(--gradient-accent);
  color: #ffffff;
  border-bottom-right-radius: 6px;
}

.dashboard-message.ai {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-bottom-left-radius: 6px;
}

[data-theme='light'] .dashboard-message.ai {
  background: rgba(0, 0, 0, 0.03);
}

.dashboard-kb-tag {
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-secondary);
  opacity: 0.92;
}

.dashboard-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

[data-theme='light'] .dashboard-input {
  background: rgba(0, 0, 0, 0.01);
}

.dashboard-input-field {
  flex: 1;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  padding: 10px 12px;
  font-size: 12.5px;
  color: var(--text-tertiary);
}

[data-theme='light'] .dashboard-input-field {
  background: rgba(0, 0, 0, 0.01);
}

.dashboard-send {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--gradient-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-btn);
  background: var(--bg-pill);
  border: 1px solid rgba(20, 184, 166, 0.55);
  box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.12) inset,
    0 10px 30px rgba(20, 184, 166, 0.12);
  color: var(--text-secondary);
  font-size: 13px;
  margin-bottom: 24px;
}
.hero-badge svg {
  width: 16px;
  height: 16px;
  color: #2dd4bf;
}

.hero-title {
  font-size: clamp(46px, 5.3vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-secondary);
  max-width: 54ch;
  margin-bottom: 28px;
}

.hero-micro {
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-tertiary);
}

.hero-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-tertiary);
  max-width: 60ch;
}

.section-desc-secondary {
  margin-top: 10px;
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 72ch;
}

.card-text-subtle {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-tertiary);
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gradient-accent);
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, opacity 0.2s;
}
.btn-primary:hover {
  opacity: 0.95;
}
.btn-secondary {
  background: var(--btn-secondary-bg);
  color: var(--btn-secondary-text);
  padding: 12px 20px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-subtle);
  transition: transform 0.2s, opacity 0.2s;
}
.btn-secondary:hover {
  opacity: 0.95;
}

.logos-section {
  background: var(--bg-section);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.two-modes {
  padding: clamp(44px, 7vw, 64px) 0 clamp(18px, 4vw, 28px);
  background: var(--bg-body);
}

.two-modes-header {
  max-width: 780px;
  margin: 0 auto 26px;
  text-align: center;
}

.two-modes-title {
  font-size: clamp(26px, 3.1vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 10px;
}

.two-modes-desc {
  font-size: 16px;
  color: var(--text-secondary);
}

.two-modes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  align-items: stretch;
}

.two-modes .card {
  min-height: 0;
  grid-column: auto;
}

.two-modes-grid > .card {
  grid-column: span 1 !important;
}

.two-modes .card.compact .card-content {
  padding: 26px 26px 28px;
}

.two-modes .card.compact .card-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
}

.two-modes .card.compact .card-title {
  font-size: 20px;
}

.two-modes .card-list {
  margin-top: 14px;
}

@media (max-width: 880px) {
  .two-modes-grid {
    grid-template-columns: 1fr;
  }
}
.ticker-wrapper {
  display: flex;
  gap: 40px;
  padding: 18px 0;
  width: max-content;
  animation: ticker 24s linear infinite;
}
.ticker-item {
  font-weight: 600;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: var(--text-tertiary);
  text-transform: uppercase;
}
@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.section {
  padding: clamp(78px, 10vw, 120px) 0;
  background: var(--bg-body);
}
.section:nth-of-type(even) {
  background: var(--bg-section);
}

.section-header {
  max-width: 760px;
  margin: 0 auto 50px;
  text-align: center;
}

.section-eyebrow {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: var(--radius-btn);
  background: var(--bg-pill);
  border: 1px solid rgba(20, 184, 166, 0.55);
  box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.12) inset,
    0 10px 24px rgba(20, 184, 166, 0.10);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

[data-theme='light'] .hero-badge,
[data-theme='light'] .section-eyebrow {
  border-color: rgba(20, 184, 166, 0.45);
  box-shadow: 0 0 0 1px rgba(20, 184, 166, 0.10) inset,
    0 8px 18px rgba(20, 184, 166, 0.08);
}

.section-title {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-secondary);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(14px, 2vw, 22px);
}

.card {
  grid-column: span 4;
  border-radius: var(--radius-card);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  position: relative;
  min-height: 360px;
  transition: transform 0.2s, border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-card);
}

.card.compact {
  min-height: 0;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card-hover);
}

.card.wide {
  grid-column: span 8;
  min-height: 440px;
}

.card.full {
  grid-column: span 12;
}

.card.half {
  grid-column: span 6;
}

.card-stack {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 22px);
}

.card-stack--bottom {
  justify-content: space-between;
}

.card-stack--bottom .card {
  flex: 1 1 0;
}

.card-stack .card {
  grid-column: auto;
  min-height: 0;
}

.card-stack .card-content {
  height: 100%;
}

.card-content {
  padding: 40px;
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card.card-fullbleed-content .card-content {
  padding: 34px;
}

.card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-display-pulse::after {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-left: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 100%);
  box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.5);
  animation: pulse-dot 1.8s ease-out infinite;
  transform: translateY(-1px);
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.5);
    opacity: 1;
  }
  70% {
    box-shadow: 0 0 0 10px rgba(45, 212, 191, 0);
    opacity: 0.95;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(45, 212, 191, 0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stat-display-pulse::after {
    animation: none;
  }
}

.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.card-head .card-title {
  margin-bottom: 0;
}

.card-text {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.55;
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--icon-bg);
  color: var(--text-primary);
  margin-bottom: 0;
  flex: 0 0 42px;
}

.card-icon svg {
  width: 20px;
  height: 20px;
}

.stat-display {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.card-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.visual-glow {
  background: radial-gradient(circle at 30% 20%, var(--glow-soft-a), transparent 55%),
    radial-gradient(circle at 70% 80%, var(--glow-soft-b), transparent 55%);
}

.card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
  padding-left: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.card-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.card-list li::before {
  content: '';
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--gradient-accent);
  flex: 0 0 10px;
}

.step-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 10px;
  border-radius: var(--radius-btn);
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.pricing-card {
  min-height: 0;
}

.pricing-highlights {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.pricing-highlight {
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  padding: 10px 12px;
  color: var(--text-secondary);
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

[data-theme='light'] .pricing-highlight {
  background: rgba(0, 0, 0, 0.02);
}

.pricing-highlight-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
}

.pricing-highlight-icon .lp-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.pricing-grid .card {
  grid-column: auto;
  min-height: 0;
}

.pricing-card.featured {
  border-color: var(--border-hover);
  background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(255, 255, 255, 0.02) 100%
    ),
    var(--bg-card);
}

[data-theme='light'] .pricing-card.featured {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.01) 100%), var(--bg-card);
}

.pricing-tier {
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.pricing-price {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 12px;
}

.pricing-price-amount {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.pricing-price-term {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-secondary);
}

.pricing-price-note {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-tertiary);
}

.pricing-group {
  margin-top: 14px;
}

.pricing-group-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pricing-group-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 0;
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.pricing-group-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.pricing-group-list li::before {
  content: '•';
  color: var(--text-tertiary);
  width: 18px;
  height: 18px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex: 0 0 18px;
  margin-top: -1px;
}

.pricing-summary {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 0;
  margin: 16px 0 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.pricing-summary li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.pricing-summary li::before {
  content: '✓';
  color: #ffffff;
  background: var(--gradient-accent);
  width: 18px;
  height: 18px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex: 0 0 18px;
  margin-top: 1px;
}

.pricing-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.pricing-actions .pricing-toggle {
  margin-top: 0;
}

.pricing-actions .btn-primary,
.pricing-actions .btn-secondary {
  margin-top: 0;
  flex: 0 0 auto;
}

.pricing-toggle {
  margin-top: 14px;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pricing-toggle:hover {
  color: var(--text-primary);
}

.pricing-toggle::after {
  content: '›';
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.pricing-card.is-expanded .pricing-toggle::after {
  transform: rotate(-90deg);
}

.pricing-toggle-expanded {
  display: none;
}

.pricing-card.is-expanded .pricing-toggle-collapsed {
  display: none;
}

.pricing-card.is-expanded .pricing-toggle-expanded {
  display: inline;
}

.pricing-details {
  margin-top: 14px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

.pricing-details[hidden] {
  display: none;
}

/* Pricing card buttons are aligned via .pricing-actions */

.pricing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
  margin-bottom: 22px;
  padding-left: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.pricing-includes {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
}

.pricing-sublist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 12px;
  margin-bottom: 22px;
  padding-left: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.pricing-sublist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.pricing-sublist li::before {
  content: '•';
  color: var(--text-tertiary);
  width: 18px;
  height: 18px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex: 0 0 18px;
  margin-top: -1px;
}

.pricing-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.pricing-list li::before {
  content: '✓';
  color: #ffffff;
  background: var(--gradient-accent);
  width: 18px;
  height: 18px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex: 0 0 18px;
  margin-top: 1px;
}

.pricing-explain {
  margin-top: 26px;
  border-radius: 22px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  padding: 22px;
}

[data-theme='light'] .pricing-explain {
  background: rgba(0, 0, 0, 0.02);
}

.pricing-explain-head {
  display: grid;
  gap: 8px;
  max-width: 70ch;
}

.pricing-explain-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.pricing-explain-row {
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

[data-theme='light'] .pricing-explain-row {
  background: rgba(0, 0, 0, 0.02);
}

.pricing-explain-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.pricing-explain-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .ticker-wrapper {
    animation: none !important;
    transform: none !important;
  }
}

.integration-mini-grid {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.integration-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 12px;
  padding: 6px 10px;
  border-radius: var(--radius-btn);
}

.integration-pill-icon {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}

.card-bottom-ui {
  margin-top: auto;
  padding-top: 16px;
}

.card-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 18px;
}

.card-split-copy {
  min-width: 0;
}

.card-split-automations .card-split-copy,
.card-split-widget .card-split-copy,
.card-split-security .card-split-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-split-visual {
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.card-split-visual > * {
  width: min(520px, 100%);
}

.card-split-cited .card-list {
  margin-bottom: 0;
}

.card-split-cited .cited-chat-demo {
  box-shadow: none;
}

.card-split-channels {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: stretch;
}

.card-split-channels .card-split-visual {
  align-items: stretch;
}

.card-split-channels .card-split-visual > * {
  width: min(640px, 100%);
}

.card-split-security {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
}

.card-split-security .card-split-visual {
  align-items: stretch;
}

.card-split-security .card-split-visual > * {
  width: min(620px, 100%);
}

.card-split-security .mini-mockup {
  width: 100%;
  height: 100%;
}

.card-split-security .mini-mockup-body.single {
  padding: 16px;
}

.card-split-security .mini-settings {
  min-height: 240px;
}

@media (max-width: 980px) {
  .card-split {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .card-split-visual {
    justify-content: flex-start;
  }

  .card-split-visual > * {
    width: 100%;
  }
}

.cited-chat-demo {
  border-radius: 22px;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(
      circle at 20% 10%,
      var(--glow-soft-a),
      transparent 60%
    ),
    radial-gradient(circle at 80% 80%, var(--glow-soft-b), transparent 60%),
    rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-card-hover);
  padding: 16px;
}

[data-theme='light'] .cited-chat-demo {
  background: #ffffff;
}

.cited-chat-window {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 18px;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
  background: rgba(0, 0, 0, 0.12);
  padding: 14px;
  padding-bottom: 170px;
  position: relative;
  isolation: isolate;
}

[data-theme='light'] .cited-chat-window {
  background: rgba(255, 255, 255, 0.7);
}

@media (max-width: 640px) {
  .cited-chat-demo {
    padding: 12px;
  }

  .cited-chat-window {
    padding: 12px;
    padding-bottom: 150px;
  }

  .cited-citation-popup {
    width: 300px;
  }
}

@media (max-width: 520px) {
  .cited-chat-window {
    padding-bottom: 140px;
  }

  .cited-citation-popup {
    width: 280px;
  }
}

.cited-chat-bubble {
  max-width: 88%;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.cited-chat-bubble-user {
  align-self: flex-end;
  background: var(--gradient-accent);
  color: #ffffff;
  border-bottom-right-radius: 6px;
}

.cited-chat-bubble-ai {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-bottom-left-radius: 6px;
}

[data-theme='light'] .cited-chat-bubble-ai {
  background: rgba(0, 0, 0, 0.03);
}

.lp-cite-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.1;
  vertical-align: middle;
  margin-left: 6px;
  margin-right: 2px;
  padding: 3px 7px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(-2px) scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.15s ease, color 0.15s ease;
}

[data-theme='light'] .lp-cite-badge {
  background: rgba(0, 0, 0, 0.03);
}

.lp-cite-badge.shown {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.lp-cite-badge.shown {
  background: var(--gradient-accent);
  color: #ffffff;
}

.cited-citation-popup {
  border-radius: 16px;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
  background-color: var(--bg-card, #1c1c1e);
  overflow: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  position: absolute;
  width: 320px;
  max-width: calc(100% - 24px);
  z-index: 10;
  pointer-events: none;
}

[data-theme='light'] .cited-citation-popup {
  background: var(--bg-card);
}

.cited-citation-popup.shown {
  opacity: 1;
  transform: translateY(0);
}

.cited-citation-popup::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 40px;
  width: 14px;
  height: 14px;
  background-color: var(--bg-card, #1c1c1e);
  border-left: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
  border-top: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
  transform: rotate(45deg);
}

[data-theme='light'] .cited-citation-popup::before {
  background: var(--bg-card);
}

.cited-citation-popup-head {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
  background-color: var(--bg-section, #050505);
}

[data-theme='light'] .cited-citation-popup-head {
  background: var(--bg-section);
}

.cited-citation-popup-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.cited-citation-popup-body {
  padding: 12px;
}

.cited-citation-item {
  display: none;
}

.cited-citation-item.active {
  display: block;
}

.cited-citation-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--text-secondary);
  font-size: 12px;
  margin-bottom: 8px;
}

.cited-citation-file {
  color: var(--text-primary);
  font-weight: 700;
}

.cited-citation-sep {
  color: var(--text-tertiary);
}

.cited-citation-loc {
  color: var(--text-tertiary);
}

.cited-citation-snippet {
  border-radius: 14px;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.1));
  background-color: var(--bg-section, #050505);
  padding: 10px 12px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.45;
}

[data-theme='light'] .cited-citation-snippet {
  background: var(--bg-section);
}

.mini-mockup {
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

[data-theme='light'] .mini-mockup {
  background: #ffffff;
}

.mini-mockup-head {
  display: flex;
  gap: 8px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  align-items: center;
  position: relative;
}

[data-theme='light'] .mini-mockup-head {
  background: #ffffff;
}

.mini-mockup-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  pointer-events: none;
  white-space: nowrap;
}

.mini-mockup-body {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 12px;
  padding: 14px;
}

.channels-carousel {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.channels-carousel-viewport {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  flex: 1;
  min-height: 640px;
}

[data-theme='light'] .channels-carousel-viewport {
  background: #ffffff;
}

.channels-carousel-track {
  display: flex;
  width: 100%;
  transform: translateX(var(--channels-x, 0%));
  transition: transform 0.45s ease;
  will-change: transform;
  align-items: stretch;
}

@media (prefers-reduced-motion: reduce) {
  .channels-carousel-track {
    transition: none;
  }
}

.channels-carousel-slide {
  width: 100%;
  flex: 0 0 100%;
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.channels-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.channels-carousel-arrow {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-pill);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.channels-carousel-arrow:hover {
  transform: translateY(-1px);
}

.channels-carousel-dots {
  display: flex;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

[data-theme='light'] .channels-carousel-dots {
  background: rgba(0, 0, 0, 0.01);
}

.channels-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

[data-theme='light'] .channels-carousel-dot {
  background: rgba(0, 0, 0, 0.18);
}

.channels-carousel-dot.active {
  background: var(--accent-blue);
}

.channel-chat {
  --channel-accent-a: #14b8a6;
  --channel-accent-b: #2dd4bf;
  --channel-wallpaper: radial-gradient(circle at 25% 15%, rgba(255, 255, 255, 0.07), transparent 58%),
    radial-gradient(circle at 75% 85%, rgba(255, 255, 255, 0.04), transparent 60%);
  border-radius: 26px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 320px;
  position: relative;
  box-shadow: var(--shadow-card);
}

[data-theme='light'] .channel-chat {
  --channel-wallpaper: radial-gradient(circle at 25% 15%, rgba(0, 0, 0, 0.04), transparent 60%),
    radial-gradient(circle at 75% 85%, rgba(0, 0, 0, 0.02), transparent 60%);
  background: #ffffff;
}

.phone-frame {
  max-width: 100%;
  height: clamp(460px, 56vh, 660px);
  display: flex;
  aspect-ratio: 9 / 19.5;
}

.phone-bezel {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 44px;
  padding: 14px;
  background: radial-gradient(circle at 35% 15%, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03) 40%, rgba(0, 0, 0, 0.35) 100%),
    #0b0b0d;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}

[data-theme='light'] .phone-bezel {
  background: radial-gradient(circle at 35% 15%, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.02) 45%, rgba(255, 255, 255, 0.85) 100%),
    #f2f2f5;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.20);
}

.phone-notch {
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  width: 140px;
  height: 26px;
  border-radius: 0 0 18px 18px;
  background: rgba(0, 0, 0, 0.72);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  z-index: 4;
}

[data-theme='light'] .phone-notch {
  background: rgba(0, 0, 0, 0.8);
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #0b1220;
  border: 1px solid rgba(255, 255, 255, 0.10);
}

[data-theme='light'] .phone-screen {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.phone-screen .channel-chat {
  border-radius: 0;
  border: 0;
  box-shadow: none;
  min-height: 100%;
}

.phone-screen .channel-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.phone-screen .channel-chat::after {
  content: none;
}

.phone-screen .channel-chat-head {
  padding-top: 34px;
}

.phone-screen .channel-chat-body {
  padding-bottom: 18px;
}

.channel-chat::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: var(--channel-wallpaper);
  opacity: 0.95;
}

.channel-chat::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
  pointer-events: none;
}

[data-theme='light'] .channel-chat::after {
  background: rgba(0, 0, 0, 0.03);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.channel-chat--facebook {
  --channel-accent-a: #0a84ff;
  --channel-accent-b: #8a4dff;
  --channel-wallpaper: radial-gradient(circle at 18% 12%, rgba(10, 132, 255, 0.14), transparent 58%),
    radial-gradient(circle at 74% 88%, rgba(138, 77, 255, 0.14), transparent 62%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.03), transparent 65%);
}

[data-theme='light'] .channel-chat--facebook {
  --channel-wallpaper: radial-gradient(circle at 18% 12%, rgba(10, 132, 255, 0.10), transparent 60%),
    radial-gradient(circle at 74% 88%, rgba(138, 77, 255, 0.10), transparent 62%);
}

.channel-chat--instagram {
  --channel-accent-a: #ff2d55;
  --channel-accent-b: #af52de;
  --channel-wallpaper: radial-gradient(circle at 20% 12%, rgba(255, 45, 85, 0.12), transparent 58%),
    radial-gradient(circle at 78% 88%, rgba(175, 82, 222, 0.14), transparent 62%),
    radial-gradient(circle at 52% 42%, rgba(255, 159, 10, 0.08), transparent 62%);
}

[data-theme='light'] .channel-chat--instagram {
  --channel-wallpaper: radial-gradient(circle at 20% 12%, rgba(255, 45, 85, 0.10), transparent 60%),
    radial-gradient(circle at 78% 88%, rgba(175, 82, 222, 0.10), transparent 62%),
    radial-gradient(circle at 52% 42%, rgba(255, 159, 10, 0.07), transparent 62%);
}

.channel-chat--whatsapp {
  --channel-accent-a: #25d366;
  --channel-accent-b: #10b981;
  --channel-wallpaper: radial-gradient(circle at 18% 12%, rgba(37, 211, 102, 0.11), transparent 58%),
    radial-gradient(circle at 78% 88%, rgba(16, 185, 129, 0.10), transparent 62%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0 8px, transparent 8px 16px);
}

[data-theme='light'] .channel-chat--whatsapp {
  --channel-wallpaper: radial-gradient(circle at 18% 12%, rgba(37, 211, 102, 0.09), transparent 60%),
    radial-gradient(circle at 78% 88%, rgba(16, 185, 129, 0.08), transparent 62%),
    repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.02) 0 10px, transparent 10px 20px);
}

.channel-chat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.14);
  position: relative;
  z-index: 1;
}

[data-theme='light'] .channel-chat-head {
  background: rgba(255, 255, 255, 0.8);
}

.channel-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  flex: 0 0 22px;
  flex-shrink: 0;
}

.channel-icon-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}

.channel-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.channel-pill {
  margin-left: auto;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  white-space: nowrap;
}

.channel-chat-body {
  padding: 14px 14px 68px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  justify-content: flex-end;
  min-height: 190px;
  position: relative;
  z-index: 1;
}

.channel-bubble {
  font-size: 12.5px;
  line-height: 1.4;
  padding: 9px 10px;
  border-radius: 18px;
  max-width: 88%;
}

.channel-bubble.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--channel-accent-a, #14b8a6), var(--channel-accent-b, #2dd4bf));
  color: #ffffff;
  border-bottom-right-radius: 6px;
}

.channel-bubble.ai {
  align-self: flex-start;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-bottom-left-radius: 6px;
}

[data-theme='light'] .channel-bubble.ai {
  background: rgba(255, 255, 255, 0.85);
}

.dashboard-search-mock {
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

[data-theme='light'] .dashboard-search-mock {
  background: #ffffff;
}

.dashboard-search-mock-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.14);
}

[data-theme='light'] .dashboard-search-mock-head {
  background: rgba(255, 255, 255, 0.8);
}

.dashboard-search-mock-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  min-width: 0;
}

.dashboard-search-mock-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dashboard-search-empty-title {
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.dashboard-search-empty-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
}

.dashboard-search-controls {
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  padding: 14px;
}

[data-theme='light'] .dashboard-search-controls {
  background: rgba(0, 0, 0, 0.02);
}

.dashboard-kb-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.dashboard-kb-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.dashboard-kb-selector {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-pill);
  color: var(--text-primary);
}

.dashboard-kb-name {
  font-size: 12px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-kb-caret {
  color: var(--text-secondary);
  flex: 0 0 auto;
}

.dashboard-turns {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

[data-theme='light'] .dashboard-turns {
  background: rgba(0, 0, 0, 0.02);
}

.dashboard-turns-label {
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.dashboard-turns-value {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
}

.dashboard-query-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.22);
}

[data-theme='light'] .dashboard-query-box {
  background: rgba(0, 0, 0, 0.03);
}

.dashboard-query-input {
  flex: 1;
  min-width: 0;
  color: var(--text-tertiary);
  font-size: 13px;
}

.dashboard-query-send {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  cursor: not-allowed;
}

.dashboard-query-send .lp-icon {
  stroke: currentColor;
}

.dashboard-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.dashboard-suggestion {
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  white-space: nowrap;
}

[data-theme='light'] .dashboard-suggestion {
  background: rgba(0, 0, 0, 0.02);
}

@media (max-width: 520px) {
  .dashboard-kb-row {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .dashboard-turns {
    justify-content: space-between;
  }
}

@media (max-width: 1100px) {
  .channels-carousel-slide {
    padding: 10px;
  }
}

@media (max-width: 640px) {
  .channels-carousel-viewport {
    min-height: 600px;
  }

  .channels-carousel-track {
    max-width: 100%;
  }

  .channels-carousel-slide {
    min-width: 100%;
    padding: 10px;
  }

  .channels-carousel-controls {
    gap: 8px;
  }

  .channels-carousel-arrow {
    width: 32px;
    height: 32px;
  }

  .channel-chat-head {
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .channel-pill {
    font-size: 10px;
    padding: 4px 7px;
  }

  .channel-chat-body {
    padding: 10px;
    min-height: 0;
  }

  .channel-bubble {
    max-width: 96%;
    font-size: 12px;
  }
}

@media (max-width: 520px) {
  .channels-carousel-viewport {
    min-height: 560px;
  }

  .channel-chat-head {
    padding: 9px 10px;
  }

  .channel-title {
    font-size: 11px;
  }

  .channel-bubble {
    font-size: 11px;
    padding: 8px 9px;
  }
}

.usecases-carousel {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.usecases-carousel-viewport {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  flex: 1;
  min-height: 420px;
}

[data-theme='light'] .usecases-carousel-viewport {
  background: #ffffff;
}

.usecases-carousel-track {
  display: flex;
  width: 100%;
  transform: translateX(var(--usecases-x, 0%));
  transition: transform 0.45s ease;
  will-change: transform;
  align-items: stretch;
}

@media (prefers-reduced-motion: reduce) {
  .usecases-carousel-track {
    transition: none;
  }
}

.usecases-carousel-slide {
  width: 100%;
  flex: 0 0 100%;
  padding: 14px;
  display: flex;
  align-items: stretch;
}

.usecase-slide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 26px;
  width: 100%;
  align-items: center;
}

.usecase-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-pill);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.usecase-kicker::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--usecase-dot, var(--accent-blue));
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

[data-theme='light'] .usecase-kicker::before {
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

.usecases-carousel-slide[data-usecase='retail'] .usecase-kicker {
  --usecase-dot: #ec4899;
  background: rgba(236, 72, 153, 0.12);
  border-color: rgba(236, 72, 153, 0.28);
  color: var(--text-primary);
}

.usecases-carousel-slide[data-usecase='smb'] .usecase-kicker {
  --usecase-dot: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.28);
  color: var(--text-primary);
}

.usecases-carousel-slide[data-usecase='enterprise'] .usecase-kicker {
  --usecase-dot: #f59e0b;
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.28);
  color: var(--text-primary);
}

.usecases-carousel-slide[data-usecase='health'] .usecase-kicker {
  --usecase-dot: #22c55e;
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.28);
  color: var(--text-primary);
}

.usecase-list {
  margin-top: 12px;
}

.usecase-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.usecase-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.1;
}

[data-theme='light'] .usecase-chip {
  background: rgba(0, 0, 0, 0.02);
}

.usecase-disclaimer {
  margin-top: 14px;
  color: var(--text-tertiary);
  font-size: 12px;
}

.usecase-mock {
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 340px;
}

[data-theme='light'] .usecase-mock {
  background: #ffffff;
}

.usecase-mock-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 10px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

[data-theme='light'] .usecase-mock-head {
  background: #ffffff;
}

.usecase-mock-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.usecase-mock-body {
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  justify-content: flex-end;
  min-height: 240px;
}

.usecase-mock-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.usecase-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  font-size: 11px;
  white-space: nowrap;
}

[data-theme='light'] .usecase-tag {
  background: rgba(0, 0, 0, 0.02);
}

.usecases-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

@media (max-width: 980px) {
  .usecases-carousel-viewport {
    min-height: 520px;
  }

  .usecases-carousel-slide {
    padding: 12px;
  }

  .usecase-slide-grid {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .usecase-mock {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .usecases-carousel-viewport {
    min-height: 510px;
  }

  .usecases-carousel-slide {
    padding: 10px;
  }

  .usecases-carousel-controls {
    gap: 8px;
    margin-top: 10px;
  }

  .usecase-chip {
    font-size: 11px;
    padding: 7px 9px;
  }
}

.card-split-performance,
.card-split-automations,
.card-split-widget {
  align-items: stretch;
}

.card-split-performance {
  grid-template-columns: 0.85fr 1.15fr;
}

.card-split-automations {
  grid-template-columns: 0.85fr 1.15fr;
}

.card-split-widget {
  grid-template-columns: 0.85fr 1.15fr;
}

.card-split-performance .card-split-visual,
.card-split-automations .card-split-visual,
.card-split-widget .card-split-visual {
  align-items: stretch;
}

.card-split-performance .card-split-visual {
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
}

.card-split-performance .card-split-visual > *,
.card-split-automations .card-split-visual > *,
.card-split-widget .card-split-visual > * {
  width: 100%;
}

@media (max-width: 980px) {
  .card-split-performance,
  .card-split-automations,
  .card-split-widget {
    grid-template-columns: 1fr;
  }

  .card-split-performance .card-split-copy,
  .card-split-automations .card-split-copy,
  .card-split-widget .card-split-copy {
    order: 1;
  }

  .card-split-performance .card-split-visual,
  .card-split-automations .card-split-visual,
  .card-split-widget .card-split-visual {
    order: 2;
    justify-content: flex-start;
  }
}

.indexing-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
}

.indexing-panel {
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  padding: 14px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.indexing-panel--fast {
  background: #0b1220;
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme='light'] .indexing-panel {
  background: #ffffff;
}

[data-theme='light'] .indexing-panel--fast {
  background: #0b1220;
  border-color: rgba(0, 0, 0, 0.08);
}

.indexing-panel--fast .indexing-label,
.indexing-panel--fast .indexing-time,
.indexing-panel--fast .indexing-metric-label,
.indexing-panel--fast .indexing-metric-value,
.indexing-panel--fast .indexing-step,
.indexing-panel--fast .indexing-note {
  color: rgba(255, 255, 255, 0.88);
}

.indexing-panel--fast .indexing-metric {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme='light'] .indexing-panel--fast .indexing-metric {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.indexing-panel--fast .indexing-time {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-theme='light'] .indexing-panel--fast .indexing-time {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

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

.indexing-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-primary);
}

.indexing-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.indexing-panel--slow {
  --slow-accent: linear-gradient(90deg, #f59e0b 0%, #f97316 100%);
  --slow-accent-tint: rgba(245, 158, 11, 0.14);
}

[data-theme='light'] .indexing-panel--slow {
  --slow-accent: linear-gradient(90deg, #d97706 0%, #f97316 100%);
  --slow-accent-tint: rgba(217, 119, 6, 0.14);
}

.indexing-time {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-pill);
  color: var(--text-secondary);
  white-space: nowrap;
}

.indexing-panel--slow .indexing-time {
  color: #f87171;
}

[data-theme='light'] .indexing-panel--slow .indexing-time {
  color: #991b1b;
}

.indexing-panel--fast .indexing-time {
  color: #34c759;
}

[data-theme='light'] .indexing-panel--fast .indexing-time {
  color: #1f8f3a;
}

.indexing-panel--fast .brand-logo--light {
  display: none;
}

.indexing-panel--fast .brand-logo--dark {
  display: inline-block;
}

.indexing-panel--fast .indexing-label {
  color: rgba(255, 255, 255, 0.96);
}

.indexing-panel--fast .indexing-metric-label {
  color: rgba(255, 255, 255, 0.7);
}

.indexing-panel--fast .indexing-metric-value {
  color: rgba(255, 255, 255, 0.96);
}

.indexing-panel--fast .indexing-step {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.78);
}

.indexing-panel--fast .indexing-step.done {
  color: rgba(255, 255, 255, 0.92);
}

.indexing-panel--fast .indexing-step.dim {
  opacity: 0.88;
}

.indexing-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.indexing-metric {
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  padding: 10px 10px;
}

[data-theme='light'] .indexing-metric {
  background: rgba(0, 0, 0, 0.01);
}

.indexing-metric-label {
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.indexing-metric-value {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
}

.indexing-metric-value.status-ready {
  color: #34c759;
}

[data-theme='light'] .indexing-metric-value.status-ready {
  color: #1f8f3a;
}

.indexing-bar {
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

[data-theme='light'] .indexing-bar {
  background: rgba(0, 0, 0, 0.01);
}

.indexing-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--gradient-accent);
  width: 0%;
  transition: width 0.25s ease;
}

.indexing-bar-fill--slow {
  opacity: 0.85;
  background: var(--slow-accent);
}

.indexing-bar-fill--fast {
}

.indexing-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.indexing-step {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  white-space: nowrap;
}

[data-theme='light'] .indexing-step {
  background: rgba(0, 0, 0, 0.01);
}

.indexing-step.active {
  background: var(--gradient-accent);
  color: #ffffff;
  border-color: transparent;
}

.indexing-panel--slow .indexing-step.active {
  background: var(--slow-accent);
  color: #ffffff;
  border-color: transparent;
}

.indexing-step.done {
  background: rgba(20, 184, 166, 0.12);
  color: var(--text-primary);
}

.indexing-panel--slow .indexing-step.done {
  background: var(--slow-accent-tint);
}

.indexing-step.dim {
  opacity: 0.8;
}

.indexing-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-tertiary);
}

@media (max-width: 640px) {
  .indexing-panel {
    padding: 12px;
    min-height: 0;
    gap: 10px;
  }

  .indexing-metrics {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .indexing-metric {
    padding: 9px 10px;
  }

  .indexing-metric-value {
    font-size: 13px;
  }

  .indexing-step {
    font-size: 11px;
    padding: 5px 9px;
  }

  .indexing-note {
    margin-top: 12px;
  }
}

.tool-stream,
.widget-demo {
  border-radius: 18px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

[data-theme='light'] .tool-stream,
[data-theme='light'] .widget-demo {
  background: #ffffff;
}

.api-demo {
  border-radius: 20px;
}

.api-demo .widget-demo-head {
  background: rgba(0, 0, 0, 0.22);
}

[data-theme='light'] .api-demo .widget-demo-head {
  background: rgba(255, 255, 255, 0.92);
}

.api-demo .widget-demo-body {
  gap: 12px;
}

.api-demo .widget-demo-left,
.api-demo .widget-demo-right {
  background: transparent;
  border: 0;
  padding: 0;
}

.api-demo .widget-setting {
  margin-bottom: 0;
}

.api-demo .widget-setting-label {
  display: none;
}

.api-demo .widget-code {
  margin-top: 0;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: #0b1220;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

[data-theme='light'] .api-demo .widget-code {
  background: #0b1220;
}

.api-demo .widget-code code {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.api-demo .widget-code code::before {
  content: '$ ';
  color: rgba(45, 212, 191, 0.92);
  font-weight: 700;
}

.api-demo .widget-preview {
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: #0b1220;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

[data-theme='light'] .api-demo .widget-preview {
  background: #0b1220;
}

.api-demo .widget-preview-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.api-demo .widget-preview-chat {
  padding: 14px;
}

.api-demo .widget-preview-chat .channel-bubble.ai {
  background: transparent;
  border: 0;
  padding: 0;
  max-width: 100%;
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.api-demo .widget-preview-chat .channel-bubble.ai::before {
  content: '> ';
  color: rgba(255, 255, 255, 0.55);
  font-weight: 700;
}

.tool-stream-head,
.widget-demo-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

[data-theme='light'] .tool-stream-head,
[data-theme='light'] .widget-demo-head {
  background: #ffffff;
}

.tool-stream-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.tool-stream-pill {
  margin-left: auto;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-pill);
  color: var(--text-secondary);
}

.tool-stream-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.tool-stream-foot {
  padding: 12px 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--text-tertiary);
  background: rgba(255, 255, 255, 0.02);
}

[data-theme='light'] .tool-stream-foot {
  background: rgba(0, 0, 0, 0.01);
}

.tool-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-secondary);
}

.tool-badge {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  flex: 0 0 auto;
}

.tool-badge.dim {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
}

[data-theme='light'] .tool-badge.dim {
  background: rgba(0, 0, 0, 0.03);
}

.tool-name {
  color: var(--text-primary);
  font-weight: 700;
  flex: 0 0 auto;
}

.tool-args {
  color: var(--text-secondary);
  word-break: break-word;
}

@media (max-width: 640px) {
  .tool-stream-body {
    padding: 12px;
    gap: 9px;
  }

  .tool-line {
    flex-wrap: wrap;
    gap: 8px;
  }

  .tool-args {
    flex-basis: 100%;
  }
}

.widget-demo-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 14px;
  flex: 1;
}

@media (max-width: 1100px) {
  .indexing-compare {
    grid-template-columns: 1fr;
  }
  .widget-demo-body {
    grid-template-columns: 1fr;
  }
}

.widget-demo-left,
.widget-demo-right {
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  padding: 12px;
  min-width: 0;
}

[data-theme='light'] .widget-demo-left,
[data-theme='light'] .widget-demo-right {
  background: rgba(0, 0, 0, 0.01);
}

.widget-setting {
  margin-bottom: 12px;
}

.widget-setting-label {
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.widget-color-row {
  display: flex;
  gap: 8px;
}

.widget-color {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
}

.widget-color.swatch-a { background: #14b8a6; }
.widget-color.swatch-b { background: #6366f1; }
.widget-color.swatch-c { background: #f97316; }

.widget-pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.widget-pill {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-secondary);
  white-space: nowrap;
}

[data-theme='light'] .widget-pill {
  background: rgba(0, 0, 0, 0.01);
}

.widget-pill.active {
  background: var(--gradient-accent);
  border-color: transparent;
  color: #ffffff;
}

.widget-input {
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  padding: 10px 10px;
  font-size: 12px;
  color: var(--text-secondary);
}

[data-theme='light'] .widget-input {
  background: rgba(0, 0, 0, 0.01);
}

.widget-code {
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  padding: 10px;
  font-size: 11px;
  color: var(--text-secondary);
  overflow: hidden;
}

.widget-code code {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

[data-theme='light'] .widget-code {
  background: rgba(0, 0, 0, 0.01);
}

@media (max-width: 640px) {
  .widget-demo-body {
    padding: 12px;
    gap: 10px;
  }

  .widget-demo-left,
  .widget-demo-right {
    padding: 10px;
  }

  .widget-preview-chat {
    padding: 10px;
  }
}

@media (max-width: 520px) {
  .widget-code code {
    white-space: normal;
    word-break: break-word;
  }
}

.widget-copy {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-pill);
  color: var(--text-secondary);
  width: fit-content;
}

.widget-preview {
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: rgba(255, 255, 255, 0.02);
}

[data-theme='light'] .widget-preview {
  background: rgba(0, 0, 0, 0.01);
}

.widget-preview-top {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.widget-preview-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  background: #ff5f57;
}

.widget-preview-dot:nth-child(2) {
  background: #febc2e;
}

.widget-preview-dot:nth-child(3) {
  background: #28c840;
}

.widget-preview-chat {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  justify-content: flex-end;
}

.widget-launch {
  padding: 12px;
  border-top: 1px solid var(--border-subtle);
}

.widget-launch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--gradient-accent);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.mini-mockup-body.single {
  grid-template-columns: 1fr;
}

.mini-side {
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  padding: 10px;
}

[data-theme='light'] .mini-side {
  background: rgba(0, 0, 0, 0.01);
}

.mini-side-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 10px;
  border-radius: 12px;
  font-size: 12px;
  color: var(--text-secondary);
  border: 1px solid transparent;
}

.mini-side-item.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-subtle);
}

[data-theme='light'] .mini-side-item.active {
  background: rgba(0, 0, 0, 0.02);
}

.mini-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mini-chat {
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

[data-theme='light'] .mini-chat {
  background: rgba(0, 0, 0, 0.01);
}

.mini-chat .chat-bubble {
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 14px;
}

.mini-chat .chat-bubble.user {
  max-width: 86%;
}

.mini-chat .chat-bubble.ai {
  max-width: 92%;
}

.mini-chat .chat-source {
  font-size: 11px;
  padding: 4px 8px;
}

.mini-snippet {
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  padding: 12px;
}

[data-theme='light'] .mini-snippet {
  background: rgba(0, 0, 0, 0.01);
}

.mini-snippet-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.mini-snippet-text {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.mini-handoff {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

[data-theme='light'] .mini-handoff {
  background: rgba(0, 0, 0, 0.01);
}

.mini-handoff-pill {
  padding: 6px 10px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border-subtle);
  background: var(--bg-pill);
  color: var(--text-secondary);
  font-size: 12px;
}

.mini-handoff-pill.dim {
  opacity: 0.78;
}

.mini-settings {
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

[data-theme='light'] .mini-settings {
  background: rgba(0, 0, 0, 0.01);
}

.mini-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mini-setting-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
}

.mini-chipline {
  display: flex;
  gap: 8px;
}

.mini-chip {
  width: 30px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
}

[data-theme='light'] .mini-chip {
  background: rgba(0, 0, 0, 0.05);
}

.mini-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mini-pill {
  padding: 6px 10px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border-subtle);
  background: var(--bg-pill);
  color: var(--text-secondary);
  font-size: 12px;
}

.mini-toggle {
  width: 44px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  position: relative;
  flex: 0 0 44px;
}

[data-theme='light'] .mini-toggle {
  background: rgba(0, 0, 0, 0.03);
}

.mini-toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

[data-theme='light'] .mini-toggle::after {
  background: rgba(0, 0, 0, 0.18);
}

.mini-toggle.on {
  background: rgba(20, 184, 166, 0.18);
  border-color: rgba(20, 184, 166, 0.28);
}

.mini-toggle.on::after {
  left: 24px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.9), rgba(45, 212, 191, 0.9));
}

.mini-mockup--security {
  position: relative;
  background: radial-gradient(circle at 18% 18%, var(--glow-soft-a), transparent 55%),
    radial-gradient(circle at 78% 86%, var(--glow-soft-b), transparent 55%),
    rgba(255, 255, 255, 0.03);
}

[data-theme='light'] .mini-mockup--security {
  background: #ffffff;
}

.mini-mockup--security::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.0) 0%,
    rgba(255, 255, 255, 0.06) 22%,
    rgba(255, 255, 255, 0.03) 52%,
    rgba(255, 255, 255, 0.02) 78%,
    rgba(255, 255, 255, 0.0) 100%
  );
  opacity: 0.32;
  mix-blend-mode: screen;
}

[data-theme='light'] .mini-mockup--security::before {
  display: none;
}

.mini-mockup--security .mini-mockup-head,
.mini-mockup--security .mini-mockup-body {
  position: relative;
  z-index: 1;
}

.mini-mockup--security .mini-setting-row {
  padding: 10px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme='light'] .mini-mockup--security .mini-setting-row {
  background: rgba(0, 0, 0, 0.01);
  border-color: rgba(0, 0, 0, 0.06);
}

.mini-mockup--security .mini-toggle.on {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.28), rgba(45, 212, 191, 0.22));
  border-color: rgba(20, 184, 166, 0.22);
}

.mini-mockup--security .mini-pill {
  border-color: transparent;
}

.mini-mockup--security .mini-pill:first-child {
  background: rgba(20, 184, 166, 0.14);
  color: var(--text-primary);
}

.mini-mockup--security .mini-pill:last-child {
  background: rgba(45, 212, 191, 0.12);
  color: var(--text-primary);
}

@media (max-width: 980px) {
  .mini-mockup-body {
    grid-template-columns: 1fr;
  }
  .mini-side {
    display: none;
  }
}

@media (max-width: 640px) {
  .mini-mockup-body {
    padding: 12px;
    gap: 10px;
  }

  .mini-mockup--security .mini-mockup-body {
    padding: 12px;
  }

  .mini-settings {
    padding: 10px;
    gap: 10px;
  }

  .mini-setting-row {
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .mini-setting-label {
    flex-basis: 100%;
  }

  .mini-pills {
    justify-content: flex-start;
  }
}

.cta-section {
  position: relative;
  padding: clamp(140px, 16vw, 210px) 0;
  background: var(--bg-body);
  border-top: 1px solid var(--border-subtle);
  overflow: hidden;
}

.cta-inner {
  text-align: center;
}

.cta-inner .hero-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.cta-tertiary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.cta-tertiary:hover {
  color: var(--text-primary);
}

.cta-bg {
  position: absolute;
  top: -25%;
  left: 50%;
  transform: translateX(-50%);
  width: min(980px, 120vw);
  height: min(980px, 120vw);
  background: var(--bg-hero-blob);
  filter: blur(1px);
  pointer-events: none;
  opacity: 0.9;
}

.cta-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image: linear-gradient(
      to right,
      var(--border-subtle) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, var(--border-subtle) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(circle at 50% 40%, black 0%, transparent 64%);
}

.cta-title {
  font-size: clamp(46px, 6vw, 72px);
  margin-bottom: 18px;
}

.cta-footnote {
  color: var(--text-tertiary);
  font-size: 14px;
  margin-top: 18px;
  text-align: center;
}

.footer {
  padding: 70px 0;
  background: var(--bg-body);
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer-col h4 {
  font-size: 14px;
  margin-bottom: 12px;
}

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
}
.footer-col a:hover {
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  color: var(--text-tertiary);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .hero-copy {
    align-items: center;
  }
  .hero-subtitle {
    max-width: 62ch;
  }
  .hero-visual {
    justify-content: center;
    width: 100%;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .card,
  .card.wide {
    grid-column: span 12;
  }
  .card.full {
    grid-column: span 12;
  }
  .card.half {
    grid-column: span 12;
  }
  .card-stack {
    grid-column: span 12;
  }
  .card-content {
    padding: 32px;
  }

  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .pricing-explain-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .nav-inner {
    padding: 0 16px;
  }
  .nav-right {
    gap: 12px;
  }
  .lang-switcher {
    display: none;
  }
  .card-content {
    padding: 24px;
  }
  .card-bottom-ui {
    display: none;
  }
  .card {
    min-height: 0;
  }
  .card.wide {
    min-height: 0;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.footer a {
  color: var(--text-secondary);
  text-decoration: none;
}
.footer a:hover {
  color: var(--text-primary);
}
