﻿:root {
  --primary: #0f3d91;
  --primary-dark: #0a2d6e;
  --primary-light: #2f66c4;
  --brand-navy: #082861;
  --action: #2f66c4;
  --action-soft: #e9effa;
  --ink: #17181a;
  --heading: #10233f;
  --muted: #52657d;
  --line: #d9e2f0;
  --soft: #f7f9fc;
  --soft-blue: #eaf1fa;
  --rail: 1280px;
  --inset: 32px;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

svg {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html {
  background: #f8fafc;
  overflow-x: hidden;
}

body {
  background: #f8fafc !important;
  color: var(--ink);
  /* clip (not hidden) keeps body from becoming a scroll container, so the sticky header works */
  overflow-x: clip;
  font-family: "Peyda", Tahoma, sans-serif;
}

.site-shell button,
.site-shell input,
.site-shell select,
.site-shell textarea,
.tab-button,
.faq-question,
.video-modal-close,
[data-theme-toggle] {
  font-family: "Peyda", Tahoma, sans-serif !important;
}

.site-shell {
  /* overflow:clip on an ancestor disables position:sticky for the header */
  overflow: visible !important;
}

.site-shell::before,
.site-shell::after {
  display: none !important;
}

/* border-box reset so width:100%/min() blocks with padding never overflow
   their column and get shifted off-center by resolved negative margins */
.site-shell *,
.site-shell *::before,
.site-shell *::after {
  box-sizing: border-box;
}

.container-frame {
  box-sizing: border-box !important;
  width: min(100%, var(--rail)) !important;
  margin-inline: auto;
}

.panel-frame {
  border-inline: 1px solid var(--line) !important;
  background: #fff !important;
  backdrop-filter: none !important;
}

.promo-bar {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%) !important;
  border-bottom: 1px solid rgba(8, 40, 97, 0.35);
  color: #fff;
}

.promo-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px;
  min-height: 48px;
  padding: 7px 32px !important;
  font-size: 13px !important;
  line-height: 1.9 !important;
  border-inline: 0 !important;
  background: transparent !important;
}

.promo-content {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.promo-text {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: none;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 5px 12px !important;
  font-weight: 700;
}

.promo-badge svg {
  width: 16px;
  height: 16px;
}

.promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 4px 14px;
  font-size: 12.5px;
  font-weight: 700;
  transition: background-color 200ms ease, border-color 200ms ease;
}

.promo-cta:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.55);
}

.header-shell {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line) !important;
  backdrop-filter: none !important;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
  will-change: transform;
}

.header-shell.is-hidden {
  transform: translateY(-112%);
}

.header-shell.is-floating {
  box-shadow: 0 18px 44px rgba(15, 61, 145, 0.08);
  border-bottom-color: rgba(47, 102, 196, 0.2) !important;
}

.site-header {
  height: 72px;
  padding: 0 var(--inset) !important;
  border-bottom: 0 !important;
  background: #fff !important;
}

.brand-lockup {
  gap: 12px !important;
}

.brand-mark {
  width: 180px !important;
  height: auto !important;
  object-fit: contain;
}

.brand-note {
  display: none;
}

.main-nav {
  gap: 6px !important;
  margin-inline-start: auto;
  margin-inline-end: 24px;
}

.main-nav a {
  color: var(--ink) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 7px 12px;
  transition: color 200ms ease, background-color 200ms ease, border-color 200ms ease;
}

.main-nav a::after {
  display: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--primary) !important;
  background: #f3f7fc !important;
  border-color: rgba(47, 102, 196, 0.42) !important;
}

.header-actions {
  gap: 10px !important;
}

.btn-login {
  gap: 8px;
  border: 1px solid var(--line) !important;
  background: #fff !important;
  color: var(--muted) !important;
  transition: border-color 200ms ease !important;
}

.btn-login svg {
  width: 18px;
  height: 18px;
}

.btn-login:hover,
.btn-login:focus-visible {
  border-color: var(--primary) !important;
  background: #fff !important;
}

/* mobile nav toggle (hamburger) — hidden on desktop */
.nav-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  flex: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: border-color 200ms ease, background-color 200ms ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--primary);
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--heading);
  transition: transform 220ms ease, opacity 180ms ease;
}

.nav-is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  display: none;
}

.btn {
  min-height: 40px !important;
  border-radius: 8px !important;
  padding-inline: 16px !important;
  font-size: 13px !important;
  box-shadow: none !important;
  transform: none !important;
}

.btn:hover {
  transform: none !important;
}

.btn-primary {
  background: var(--primary) !important;
  border: 1px solid var(--primary) !important;
  color: #fff !important;
}

.btn-primary:hover {
  background: var(--primary-dark) !important;
}

.btn-secondary {
  border: 1px solid var(--line) !important;
  background: #fff !important;
  color: var(--primary-dark) !important;
}

.btn-text {
  color: var(--muted) !important;
}

.hero-grid {
  display: block !important;
  min-height: 600px;
  padding: 76px var(--inset) 0 !important;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.hero-grid > div:first-child {
  width: 100%;
  max-width: 980px;
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 18px;
  border: 1px solid #dbe7f2 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: var(--muted) !important;
  padding: 7px 12px !important;
  font-size: 13px !important;
}

.eyebrow-dot {
  background: var(--primary) !important;
}

.hero-title {
  max-width: 960px;
  margin: 0 auto 18px !important;
  color: var(--heading) !important;
  font-size: 60px !important;
  line-height: 1.32 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

.hero-title strong {
  color: var(--primary) !important;
}

.hero-copy {
  max-width: 760px !important;
  margin: 0 auto !important;
  color: var(--muted) !important;
  font-size: 15px !important;
  line-height: 2.05 !important;
}

.hero-actions {
  justify-content: center;
  margin-top: 26px !important;
}

.hero-points {
  width: min(100%, 920px);
  margin: 34px auto 0 !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
}

.point-card {
  min-height: 132px !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: #fff !important;
  padding: 18px 16px !important;
  box-shadow: none !important;
  text-align: center;
}

.point-card strong {
  color: var(--heading) !important;
  font-size: 15px !important;
  margin-bottom: 8px !important;
}

.point-card span {
  color: var(--muted) !important;
  font-size: 12px !important;
  line-height: 1.95 !important;
}

.businesses-shell {
  padding: 0 var(--inset) 28px !important;
  border-bottom: 1px solid var(--line);
}

.businesses-heading {
  margin: 0 !important;
  padding: 18px 0 16px !important;
  color: var(--muted) !important;
  font-size: 12px !important;
}

.business-logo-card {
  min-height: 58px !important;
  border: 1px solid var(--line) !important;
  border-radius: 6px !important;
  background: #fff !important;
  box-shadow: none !important;
  padding: 12px !important;
}

.business-logo-card img {
  max-height: 24px !important;
  filter: none !important;
}

.section-block {
  padding: 64px var(--inset) !important;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: visible;
}

.section-block::before {
  content: "";
  position: absolute;
  inset: 0 -120px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(219, 231, 242, 0.92) 16%, rgba(47, 102, 196, 0.28) 50%, rgba(219, 231, 242, 0.92) 84%, transparent);
  pointer-events: none;
}

.section-block::after {
  content: "";
  position: absolute;
  inset: 28px auto 28px -82px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(47, 102, 196, 0.26), transparent);
  pointer-events: none;
}

.section-block:nth-of-type(odd)::after {
  inset-inline: -82px auto;
}

.section-block:nth-of-type(3n)::before {
  inset-inline: -180px;
  background: linear-gradient(90deg, transparent, rgba(47, 102, 196, 0.18), rgba(219, 231, 242, 0.94), rgba(47, 102, 196, 0.22), transparent);
}

.section-header {
  max-width: 780px !important;
  margin: 0 auto 34px !important;
  align-items: center !important;
  text-align: center !important;
  gap: 10px !important;
}

.section-kicker {
  color: var(--primary) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.section-title {
  color: var(--heading) !important;
  font-size: 34px !important;
  line-height: 1.55 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
}

.section-copy,
.capability-copy {
  color: var(--muted) !important;
  font-size: 14px !important;
  line-height: 2.1 !important;
}

.tab-nav {
  width: min(100%, 960px);
  margin-inline: auto;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.tab-button {
  min-height: 96px;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: var(--muted) !important;
  box-shadow: none !important;
  padding: 14px 10px !important;
  font: inherit !important;
  font-family: "Peyda", Tahoma, sans-serif !important;
}

.tab-button:hover,
.tab-button.is-active {
  border-color: var(--primary) !important;
  background: #f3f7fc !important;
  color: var(--primary-dark) !important;
  box-shadow: none !important;
  transform: none !important;
}

.tab-button span:first-child {
  font-size: 15px !important;
}

.tab-button span:last-child {
  font-size: 11px !important;
  line-height: 1.8 !important;
}

.capability-panel {
  width: min(100%, 1040px);
  margin: 26px auto 0;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr) !important;
  gap: 28px !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
  padding: 20px !important;
  text-align: right;
}

.capability-panel .section-title {
  font-size: 28px !important;
  line-height: 1.65 !important;
  margin-block: 8px 12px !important;
}

.bullet-list {
  gap: 10px !important;
}

.bullet-list li {
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}

.bullet-list li::before,
.feature-card li::before {
  width: 5px !important;
  height: 5px !important;
  background: var(--primary) !important;
}

.metric-list {
  gap: 10px !important;
}

.metric-card {
  border: 1px solid var(--line) !important;
  border-radius: 6px !important;
  background: #f8fafd !important;
  padding: 12px !important;
}

.metric-card strong {
  color: var(--heading) !important;
  font-size: 12px !important;
}

.metric-card span {
  color: var(--muted) !important;
  font-size: 12px !important;
}

.demo-stage {
  min-height: 390px !important;
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: #f6f9fd !important;
  padding: 16px !important;
}

.demo-badge {
  border-radius: 6px !important;
  background: #fff !important;
  color: var(--primary-dark) !important;
  border: 1px solid var(--line);
}

.demo-window {
  grid-template-columns: 210px minmax(0, 1fr) !important;
  gap: 14px !important;
}

.demo-column,
.demo-canvas,
.demo-card,
.demo-queue-card,
.demo-floating {
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.demo-column .item {
  border-radius: 6px !important;
  background: #f8fafd !important;
}

.demo-line,
.demo-line-sm,
.demo-dotline {
  background: var(--primary) !important;
}

.demo-line-sm,
.demo-dotline {
  opacity: 0.28;
}

.section-grid {
  width: min(100%, 1040px);
  margin-inline: auto;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.feature-card,
.cta-box,
.testimonial-card,
.blog-card,
.faq-item,
.stat-card {
  border: 1px solid var(--line) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.feature-card {
  min-height: 176px;
  padding: 18px !important;
}

.feature-card .feature-icon {
  width: 46px !important;
  height: 46px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #eaf1fa, #fff) !important;
  border: 1px solid rgba(47, 102, 196, 0.2);
  color: var(--primary-dark) !important;
  box-shadow: 0 12px 28px rgba(47, 102, 196, 0.08);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary), var(--brand-navy)) !important;
  color: #fff !important;
  border-color: transparent;
}

.feature-card h3,
.blog-card h3 {
  color: var(--heading) !important;
}

.feature-card p,
.testimonial-card p,
.blog-card p,
.faq-answer,
.preview-text {
  color: var(--muted) !important;
}

.showcase-layout {
  width: min(100%, 1040px);
  margin-inline: auto;
  gap: 14px !important;
}

.testimonials-track,
.blog-grid,
.faq-grid,
.comparison-shell {
  width: min(100%, 1040px);
  margin-inline: auto;
}

.quote-mark,
.avatar-token {
  background: #eaf1fa !important;
  color: var(--primary-dark) !important;
}

/* Swipers need breathing room so hovered cards are not clipped by overflow. */
.testimonials-swiper,
.businesses-swiper {
  padding-block: 10px !important;
  margin-block: -10px !important;
}

.testimonials-track {
  padding-bottom: 40px !important;
}

.testimonials-swiper .swiper-slide {
  display: flex;
  height: auto !important;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 190px;
  padding: 18px !important;
  border-radius: 14px !important;
}

.testimonial-card:hover {
  transform: translateY(-2px) !important;
}

.testimonial-card .quote-mark {
  width: 30px !important;
  height: 30px !important;
  border-radius: 10px !important;
  font-size: 18px;
  line-height: 1;
}

.testimonial-card p {
  flex: 1;
  margin: 12px 0 14px !important;
  font-size: 12.5px !important;
  line-height: 2 !important;
}

.testimonial-card .testimonial-meta {
  gap: 10px !important;
  border-top: 1px solid rgba(217, 226, 240, 0.7);
  padding-top: 12px;
}

.testimonial-card .avatar-token {
  width: 34px !important;
  height: 34px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.testimonial-card .testimonial-meta strong {
  font-size: 12.5px;
}

.testimonial-card .testimonial-meta .preview-text {
  font-size: 11px;
}

.comparison-shell {
  border-radius: 20px !important;
  overflow: hidden;
  border: 1px solid rgba(15, 61, 145, 0.14);
  background: #fff;
  box-shadow: 0 24px 60px rgba(8, 40, 97, 0.1);
}

.comparison-table {
  width: 100%;
  box-shadow: none !important;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.comparison-table thead th {
  padding: 18px 20px !important;
  font-size: 14px;
  font-weight: 800;
  text-align: right;
  border-bottom: 1px solid rgba(15, 61, 145, 0.14) !important;
}

.comparison-table .comparison-head-topic {
  width: 21%;
  background: #f4f7fc !important;
  color: var(--heading) !important;
}

.comparison-table .comparison-head-good {
  width: 42%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
  color: #fff !important;
}

.comparison-table .comparison-head-bad {
  width: 37%;
  background: #f4f7fc !important;
  color: var(--muted) !important;
}

.comparison-table th,
.comparison-table td {
  border-bottom: 1px solid rgba(217, 226, 240, 0.85) !important;
  padding: 18px 20px !important;
  font-size: 13.5px;
  line-height: 2;
  vertical-align: middle !important;
  text-align: right;
}

.comparison-table tbody tr:last-child td {
  border-bottom: 0 !important;
}

.comparison-cell {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.comparison-cell > span:last-child {
  min-width: 0;
}

.comparison-topic {
  background: #fafbfd !important;
  color: var(--heading) !important;
  font-weight: 800;
}

.comparison-topic .comparison-cell {
  align-items: center;
}

.comparison-table .positive {
  background: linear-gradient(180deg, rgba(15, 61, 145, 0.055), rgba(15, 61, 145, 0.02)) !important;
  color: var(--heading) !important;
  font-weight: 600;
  border-inline: 1px solid rgba(15, 61, 145, 0.1) !important;
}

.comparison-table .negative {
  background: #fff !important;
  color: #6b7688 !important;
}

.comparison-topic-icon,
.comparison-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  margin-top: 3px;
}

.comparison-topic-icon {
  color: var(--primary);
  background: #e9effa;
  border: 1px solid rgba(15, 61, 145, 0.12);
  margin-top: 0;
}

.comparison-status-good {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  box-shadow: 0 8px 18px rgba(15, 61, 145, 0.22);
}

.comparison-status-bad {
  color: #94a1b3;
  background: #f1f4f9;
  border: 1px solid rgba(148, 161, 179, 0.24);
}

.comparison-table tbody tr {
  transition: background-color 200ms ease;
}

.comparison-table tbody tr:hover td {
  background: #f6f9fd !important;
}

.comparison-table tbody tr:hover td.positive {
  background: linear-gradient(180deg, rgba(15, 61, 145, 0.09), rgba(15, 61, 145, 0.045)) !important;
}

.blog-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.blog-card {
  overflow: hidden;
}

.blog-card img {
  background: #f6f9fd !important;
}

.faq-question {
  color: var(--heading) !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer;
  font: inherit;
}

.faq-chevron {
  background: #eaf1fa !important;
  color: var(--primary-dark) !important;
}

.final-cta {
  padding: 0 !important;
  border-bottom: 0;
  box-sizing: border-box !important;
  width: min(100%, var(--rail)) !important;
  max-width: none !important;
  margin-inline: auto;
  overflow: hidden;
}

.final-cta .cta-box {
  position: relative;
  overflow: hidden;
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 !important;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto !important;
  justify-items: start !important;
  align-items: center !important;
  gap: 32px !important;
  text-align: right;
  border: 0 !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 12% -20%, rgba(47, 102, 196, 0.55), transparent 34rem),
    radial-gradient(circle at 92% 120%, rgba(47, 102, 196, 0.4), transparent 26rem),
    linear-gradient(135deg, #082861 0%, #0f3d91 58%, #1a4fb3 100%) !important;
  padding: 76px var(--inset) 80px !important;
  box-shadow: none !important;
}

.final-cta .cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 78% 30%, #000, transparent 68%);
}

.final-cta .cta-box::after {
  content: "";
  position: absolute;
  inset: auto -6rem -9rem auto;
  width: 22rem;
  height: 22rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(47, 102, 196, 0.5), transparent 68%);
  filter: blur(6px);
  pointer-events: none;
}

.final-cta .cta-box > * {
  position: relative;
  z-index: 1;
}

.cta-content {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.final-cta .section-title {
  margin: 0;
  max-width: none;
  white-space: normal;
  overflow-wrap: anywhere;
  color: #fff !important;
  text-align: right;
  margin-inline: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem) !important;
  line-height: 1.6 !important;
}

.final-cta .section-copy {
  max-width: 46rem;
  margin-inline: 0;
  color: rgba(255, 255, 255, 0.82) !important;
  text-align: right;
}

.final-cta .cta-content {
  display: grid;
  gap: 14px;
  justify-items: start;
  text-align: right;
  min-width: 0;
  max-width: 100%;
}

.final-cta .cta-btn-primary {
  align-self: center;
}

.cta-btn-primary {
  gap: 8px;
  background: #fff !important;
  border: 1px solid #fff !important;
  color: var(--primary) !important;
  font-weight: 800 !important;
  min-height: 46px !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 38px rgba(4, 18, 46, 0.35) !important;
  transition: transform 200ms ease, box-shadow 200ms ease !important;
}

.cta-btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 22px 48px rgba(4, 18, 46, 0.45) !important;
}

.cta-btn-primary svg {
  transition: transform 200ms ease;
}

.cta-btn-primary:hover svg {
  transform: translateX(-3px);
}

.site-footer {
  margin-top: 0 !important;
  padding: 0 !important;
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-panel {
  grid-template-columns: minmax(0, 1.9fr) repeat(3, minmax(0, 1fr)) !important;
  gap: 40px !important;
  align-items: start;
  padding: 48px var(--inset) 42px !important;
  border-top: 0 !important;
  border-bottom: 1px solid var(--line);
  background: #fff !important;
}

.footer-copy {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.footer-copy .brand-mark {
  width: 168px !important;
  height: auto !important;
  object-fit: contain;
}

.footer-copy p {
  margin: 0;
  max-width: 400px;
  color: var(--muted);
  font-size: 13px;
  line-height: 2.1;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: border-color 200ms ease, color 200ms ease, background-color 200ms ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
}

.footer-social svg {
  width: 17px;
  height: 17px;
}

.footer-links {
  align-content: start;
  gap: 13px !important;
}

.footer-links strong {
  color: var(--heading);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 4px;
}

.footer-links a {
  font-size: 13px;
  line-height: 1.9;
}

.footer-badges .badge-row {
  display: flex;
  gap: 10px;
}

.footer-badges .badge-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 88px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: border-color 200ms ease;
}

.footer-badges .badge-row a:hover,
.footer-badges .badge-row a:focus-visible {
  border-color: var(--primary);
}

.footer-badges .badge-row img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.footer-note {
  justify-content: flex-start !important;
  padding: 16px var(--inset) !important;
  border-top: 0 !important;
  background: #fff !important;
  font-size: 12.5px !important;
}

@media (max-width: 1180px) {
  /* container-frame carries horizontal padding on the same element; with the
     theme's content-box default that padding overflows 100% width and RTL
     margin-inline:auto resolves the overflow into a negative margin, shifting
     and clipping content. border-box keeps everything inside the viewport. */
  .container-frame {
    box-sizing: border-box !important;
  }

  .hero-title {
    font-size: 48px !important;
  }

  .capability-panel,
  .showcase-layout {
    grid-template-columns: 1fr !important;
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  :root {
    --inset: 20px;
  }

  .promo-inner {
    min-height: auto;
    padding: 10px 20px !important;
  }

  .site-header {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: auto;
    min-height: 64px;
    padding-block: 10px !important;
  }

  .header-actions {
    flex: none;
    margin-inline-start: auto;
    justify-content: flex-end;
  }

  .nav-toggle {
    display: inline-flex !important;
  }

  .main-nav {
    box-sizing: border-box;
    display: none;
    position: absolute;
    inset-inline: 0;
    top: 100%;
    z-index: 90;
    flex-direction: column;
    gap: 4px !important;
    margin: 0 !important;
    padding: 10px 14px 14px !important;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 40px rgba(15, 61, 145, 0.12);
    max-height: calc(100dvh - 60px);
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }

  .main-nav.is-open {
    display: flex !important;
  }

  .main-nav a {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 14px !important;
    font-size: 15px !important;
    border-radius: 10px;
    border-color: transparent !important;
    background: #f6f9fd !important;
  }

  .main-nav a.is-active {
    background: #eaf1fa !important;
    border-color: rgba(47, 102, 196, 0.35) !important;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    top: 60px;
    z-index: 80;
    background: rgba(6, 24, 45, 0.35);
    backdrop-filter: blur(1px);
  }

  .header-actions .btn-secondary {
    display: none;
  }

  .hero-grid {
    min-height: 0;
    padding: 48px 20px 38px !important;
  }

  .hero-title {
    font-size: 34px !important;
  }

  .hero-copy {
    font-size: 13px !important;
  }

  .hero-points,
  .tab-nav,
  .section-grid,
  .blog-grid,
  .metric-list {
    grid-template-columns: 1fr !important;
  }

  .demo-window {
    grid-template-columns: 1fr !important;
  }

  .section-block {
    padding: 44px 20px !important;
  }

  .section-title {
    font-size: 26px !important;
  }

  .section-title-with-icon {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .capability-video-card {
    grid-template-columns: 1fr;
  }

  .capability-video-thumb {
    aspect-ratio: 16 / 9;
  }

  .capability-media-stage {
    border-radius: 16px;
  }

  .media-stage-frame {
    aspect-ratio: 16 / 9;
    border-radius: 16px;
  }

  .media-stage-play {
    width: 56px;
    height: 56px;
  }

  .comparison-shell {
    overflow-x: auto;
  }

  .comparison-table {
    min-width: 760px;
  }

  .final-cta {
    width: 100% !important;
  }

  .final-cta .cta-box {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 48px 20px 52px !important;
  }

  .final-cta .section-title {
    white-space: normal;
  }

  .final-cta .cta-btn-primary {
    width: 100%;
    justify-content: center;
  }

  .footer-panel {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px 20px !important;
    padding: 36px 20px 32px !important;
  }

  .footer-panel .footer-copy {
    grid-column: 1 / -1;
  }

  .footer-note {
    padding: 14px 20px !important;
  }

  .video-modal {
    padding: 12px;
  }

  .video-modal-dialog {
    border-radius: 16px;
    padding: 12px;
  }

  .video-modal-heading {
    display: block;
    padding: 46px 4px 12px;
    text-align: center;
  }

  .video-modal-heading strong {
    display: block;
    margin-top: 6px;
    font-size: 15px;
  }
}

/* Live refinement: Dastyar product structure with a live product pulse. */
body {
  background-image:
    linear-gradient(90deg, #f4f8fb 0, #f4f8fb calc((100% - var(--rail)) / 2), #fff calc((100% - var(--rail)) / 2), #fff calc(100% - ((100% - var(--rail)) / 2)), #f4f8fb calc(100% - ((100% - var(--rail)) / 2))) !important;
}

.hero-grid {
  position: relative;
  /* clip-path handles clipping (vertical bounds, extended sides) so the
     full-bleed white shadow and the full-width bottom border stay visible */
  overflow: visible;
  min-height: 0 !important;
  padding-top: 62px !important;
  background:
    radial-gradient(circle at 18% 18%, rgba(47, 102, 196, 0.12), transparent 22rem),
    radial-gradient(circle at 78% 32%, rgba(15, 61, 145, 0.08), transparent 20rem),
    #fff !important;
  /* paint the full-bleed area behind the hero white (instead of the body rail color) */
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}

/* full-width bottom border under the hero's white band */
.hero-grid::before {
  content: "";
  position: absolute;
  inset: auto -100vmax 0;
  height: 1px;
  background: var(--line);
  pointer-events: none;
}

.hero-grid::after {
  content: "";
  position: absolute;
  inset: 7rem 10% auto;
  height: 16rem;
  pointer-events: none;
  opacity: 0.36;
  background-image:
    linear-gradient(rgba(47, 102, 196, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 102, 196, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 45%, #000, transparent 70%);
}

.hero-grid > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  box-shadow: 0 10px 28px rgba(15, 61, 145, 0.06) !important;
}

.eyebrow-dot {
  animation: dastyarLivePulse 1.9s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(47, 102, 196, 0.38);
}

.hero-title {
  max-width: 900px !important;
  margin: 0 auto 10px !important;
  color: var(--primary) !important;
  font-size: clamp(2.55rem, 5.35vw, 4.55rem) !important;
  line-height: 1.22 !important;
  text-shadow: 0 16px 32px rgba(47, 102, 196, 0.13);
}

.hero-subtitle {
  display: block;
  max-width: 900px;
  margin: 0 auto 18px;
  color: var(--heading);
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  line-height: 1.5;
  font-weight: 800;
}

.mobile-title-break {
  display: none;
}

.hero-copy {
  max-width: 650px !important;
  font-size: 16px !important;
  line-height: 2 !important;
}

.hero-actions {
  display: flex !important;
  justify-content: center;
}

/* Raychat-style primary CTA: dark pill + animated conic gradient ring */
.hero-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 12px;
  background: linear-gradient(165deg, #12274d, #0f3d91 130%);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(8, 40, 97, 0.28);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.hero-cta::after {
  content: "";
  position: absolute;
  inset: -3px;
  z-index: -1;
  border-radius: 15px;
  padding: 3px;
  background: conic-gradient(from 260deg, #6ea8ff, #0f3d91, #ff8a3d, #2f66c4, #6ea8ff);
  -webkit-mask-image: linear-gradient(#000, #000), linear-gradient(#000, #000);
  -webkit-mask-origin: content-box, padding-box;
  -webkit-mask-clip: content-box, padding-box;
  -webkit-mask-composite: destination-out;
  mask-image: linear-gradient(#000, #000), linear-gradient(#000, #000);
  mask-origin: content-box, padding-box;
  mask-clip: content-box, padding-box;
  mask-composite: exclude;
  filter: hue-rotate(0deg);
}

.hero-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 24px 52px rgba(8, 40, 97, 0.34);
}

.hero-cta:hover::after {
  animation: dastyarCtaHue 1000ms linear infinite;
}

.hero-cta svg {
  flex: none;
  transition: transform 260ms ease;
}

.hero-cta:hover svg {
  transform: scale(1.22) rotate(8deg);
}

@keyframes dastyarCtaHue {
  to {
    filter: hue-rotate(360deg);
  }
}

/* Decorative raychat-style flags inside the hero itself */
.hero-flag {
  fill: currentColor !important;
  stroke: none !important;
}

.hero-deco-flag-1 {
  position: absolute;
  z-index: 0;
  width: 48px;
  height: 40px;
  inset: 120px 7% auto auto;
  color: var(--primary);
  opacity: 0.85;
  animation: dastyarSmallFloat 7s ease-in-out infinite;
}

.hero-deco-flag-2 {
  position: absolute;
  z-index: 0;
  width: 40px;
  height: 34px;
  inset: 300px auto auto 6%;
  color: #ffd9bd;
  transform: rotate(180deg);
  animation: dastyarSmallFloat 8s ease-in-out infinite reverse;
}

.btn,
.business-logo-card,
.point-card,
.feature-card,
.testimonial-card,
.blog-card,
.faq-item,
.tab-button,
.metric-card,
.demo-card,
.demo-queue-card {
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease !important;
}

.btn:hover,
.business-logo-card:hover,
.point-card:hover,
.feature-card:hover,
.testimonial-card:hover,
.blog-card:hover,
.faq-item:hover,
.tab-button:hover,
.metric-card:hover,
.demo-card:hover,
.demo-queue-card:hover {
  transform: translateY(-3px) !important;
  border-color: rgba(47, 102, 196, 0.42) !important;
  box-shadow: 0 18px 46px rgba(15, 61, 145, 0.08) !important;
}

.hero-points {
  width: min(100%, 850px) !important;
  margin-top: 28px !important;
}

.point-card {
  min-height: 128px !important;
  position: relative;
  overflow: hidden;
}

.point-card .point-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: none;
  margin: 0 auto 10px;
  border-radius: 10px;
  border: 1px solid rgba(47, 102, 196, 0.18);
  background: linear-gradient(160deg, #f3f7fc, #e7effa);
  color: var(--primary) !important;
  transition: transform 220ms ease;
}

.point-card .point-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.point-card:hover .point-icon {
  transform: scale(1.1);
}

.point-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(47, 102, 196, 0.7), transparent);
  opacity: 0;
  transition: opacity 220ms ease;
}

.point-card:hover::before {
  opacity: 1;
}

.hero-orbital {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 330px;
  margin: 16px auto -1px;
  overflow: hidden;
  background: transparent;
}

/* Stage: dots band + a clear semicircle rising from the bottom edge */
.hero-stage-dots {
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 64%;
  background-image: radial-gradient(rgba(15, 61, 145, 0.14) 1.2px, transparent 1.4px);
  background-size: 14px 14px;
  background-position: center bottom;
  background-repeat: repeat;
  -webkit-mask-image: radial-gradient(ellipse 52% 90% at 50% 100%, #000 30%, transparent 74%);
  mask-image: radial-gradient(ellipse 52% 90% at 50% 100%, #000 30%, transparent 74%);
  pointer-events: none;
}

/* main semicircle: pushed down so its full arc is clearly visible */
.hero-stage-glow {
  position: absolute;
  inset: auto 50% -395px auto;
  z-index: 1;
  width: 660px;
  height: 660px;
  transform: translateX(50%);
  border-radius: 999px;
  background: radial-gradient(circle at 50% 30%, #fff 46%, #f6f9fd 72%, #e9f0fa 100%);
  border: 1px solid rgba(15, 61, 145, 0.2);
  box-shadow:
    0 -26px 60px rgba(15, 61, 145, 0.08),
    inset 0 30px 50px rgba(255, 255, 255, 0.9);
  pointer-events: none;
}

/* secondary concentric semicircle ring */
.hero-stage-circle {
  position: absolute;
  inset: auto 50% -520px auto;
  z-index: 2;
  width: 830px;
  height: 830px;
  transform: translateX(50%);
  border-radius: 999px;
  border: 1px solid rgba(15, 61, 145, 0.14);
  pointer-events: none;
}

.hero-stage-circle::before {
  content: "";
  position: absolute;
  inset: -28px;
  border-radius: inherit;
  border: 26px solid rgba(15, 61, 145, 0.05);
  clip-path: polygon(0 0, 100% 0, 100% 34%, 0 34%);
}

.hero-stage-circle::after {
  content: "";
  position: absolute;
  inset: -70px;
  border-radius: inherit;
  border: 1px dashed rgba(47, 102, 196, 0.18);
  clip-path: polygon(0 0, 100% 0, 100% 30%, 0 30%);
}

/* The Dastyar bot */
.dastyar-bot {
  position: absolute;
  inset: auto 50% 52px auto;
  width: 190px;
  height: 154px;
  transform: translateX(50%);
  z-index: 3;
  animation: dastyarBotFloat2 5.4s ease-in-out infinite;
}

.bot-head {
  position: absolute;
  inset: 24px 12px auto;
  height: 118px;
  border-radius: 38px;
  background: linear-gradient(150deg, #ffffff 8%, #f2f6fc 52%, #dfe8f5 100%);
  border: 1px solid rgba(217, 226, 240, 0.9);
  box-shadow:
    0 34px 70px rgba(8, 40, 97, 0.2),
    inset -14px -16px 34px rgba(15, 61, 145, 0.08),
    inset 12px 14px 28px rgba(255, 255, 255, 0.95);
}

.bot-screen {
  position: absolute;
  inset: 26px 30px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 66px;
  border-radius: 22px;
  background: linear-gradient(180deg, #0d1f3c, #10294f);
  box-shadow:
    inset 0 -14px 26px rgba(47, 102, 196, 0.22),
    inset 0 2px 6px rgba(0, 0, 0, 0.5);
}

.bot-screen::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 19px;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.12), transparent 38%);
  pointer-events: none;
}

.bot-eye {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: linear-gradient(180deg, #6ea8ff, #2f66c4);
  box-shadow: 0 0 16px rgba(110, 168, 255, 0.8);
  animation: dastyarBlink 4.2s ease-in-out infinite;
  transition: height 220ms ease, border-radius 220ms ease, background 220ms ease;
}

.bot-pupil {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #0d1f3c;
  box-shadow: inset 0 -2px 3px rgba(255, 255, 255, 0.35);
  will-change: transform;
  transition: opacity 180ms ease;
}

/* Happy state: eyes fold into smiling arcs + a smile appears */
.dastyar-bot.is-happy .bot-eye {
  height: 10px;
  border-radius: 0 0 22px 22px;
  background: linear-gradient(180deg, #8ec1ff, #5c9bf5);
  box-shadow: 0 0 20px rgba(110, 168, 255, 0.95);
  animation: none;
}

.dastyar-bot.is-happy .bot-pupil {
  opacity: 0;
}

.bot-smile {
  position: absolute;
  bottom: 9px;
  left: 50%;
  width: 26px;
  height: 12px;
  transform: translateX(-50%) scale(0);
  transform-origin: center bottom;
  border-bottom: 3px solid #6ea8ff;
  border-radius: 0 0 22px 22px;
  transition: transform 240ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dastyar-bot.is-happy .bot-smile {
  transform: translateX(-50%) scale(1);
}

/* Curious state: cursor is close to the bot */
.bot-eye {
  transition: width 200ms ease, height 220ms ease, border-radius 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.dastyar-bot.is-curious .bot-eye {
  width: 25px;
  height: 25px;
  box-shadow: 0 0 24px rgba(110, 168, 255, 1);
}

.dastyar-bot.is-curious .bot-antenna::after {
  animation-duration: 0.9s;
  box-shadow: 0 0 0 6px rgba(255, 138, 61, 0.22), 0 0 22px rgba(255, 138, 61, 0.85);
}

.bot-ear {
  transition: background 240ms ease, box-shadow 240ms ease;
}

.dastyar-bot.is-curious .bot-ear {
  background: linear-gradient(160deg, #2f66c4, #6ea8ff);
  box-shadow: 0 10px 24px rgba(47, 102, 196, 0.4), 0 0 12px rgba(110, 168, 255, 0.5);
}

.bot-hand {
  transition: bottom 320ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dastyar-bot.is-curious .bot-hand {
  bottom: 26px;
}

.dastyar-bot.is-happy .bot-hand {
  bottom: 40px;
}

.bot-antenna {
  position: absolute;
  inset: -10px calc(50% - 2.5px) auto auto;
  width: 5px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(180deg, #c7d4e8, #e9eff8);
}

.bot-antenna::after {
  content: "";
  position: absolute;
  inset: -12px calc(50% - 7px) auto auto;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #ff8a3d;
  box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.18), 0 0 14px rgba(255, 138, 61, 0.55);
  animation: dastyarAntennaPulse 2.6s ease-in-out infinite;
}

.bot-ear {
  position: absolute;
  top: 58px;
  width: 20px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(160deg, #1a4fb3, var(--primary));
  box-shadow: 0 10px 22px rgba(8, 40, 97, 0.25);
}

.bot-ear-r {
  right: -3px;
}

.bot-ear-l {
  left: -3px;
}

.bot-hand {
  position: absolute;
  bottom: -2px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(150deg, #ffffff, #dfe8f5);
  border: 1px solid rgba(217, 226, 240, 0.9);
  box-shadow: 0 14px 26px rgba(8, 40, 97, 0.16);
  animation: dastyarHandFloat 5.4s ease-in-out infinite;
}

.bot-hand-r {
  right: -24px;
}

.bot-hand-l {
  left: -24px;
  animation-delay: 0.4s;
}

.bot-shadow {
  position: absolute;
  inset: auto 50% -30px auto;
  width: 150px;
  height: 20px;
  transform: translateX(50%);
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(8, 40, 97, 0.18), transparent 70%);
  animation: dastyarShadowPulse 5.4s ease-in-out infinite;
}

/* Floating status chips */
.orbit-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  border: 1px solid rgba(217, 226, 240, 0.96);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--heading);
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 800;
  box-shadow: 0 20px 44px rgba(15, 61, 145, 0.12);
}

.orbit-chip::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(47, 102, 196, 0.45), transparent);
}

.chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 8px;
  background: linear-gradient(160deg, #f0f5fc, #e2ecf9);
  border: 1px solid rgba(47, 102, 196, 0.16);
  color: var(--primary);
}

.chip-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chip-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16);
  animation: dastyarLivePulse 2.4s ease-in-out infinite;
}

.chip-dot-sync {
  background: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(47, 102, 196, 0.16);
  animation: dastyarLivePulse 1.9s ease-in-out infinite;
}

.chip-dot-action {
  background: #ff8a3d;
  box-shadow: 0 0 0 3px rgba(255, 138, 61, 0.16);
  animation: dastyarLivePulse 2.9s ease-in-out infinite;
}

/* chips hug the bot: offsets are measured from the center line */
.orbit-chip-1 {
  inset: 74px calc(50% + 118px) auto auto;
  animation: dastyarChipDrift 7s ease-in-out infinite;
}

.orbit-chip-2 {
  inset: 104px auto auto calc(50% + 124px);
  animation: dastyarChipDrift 8.2s ease-in-out 0.9s infinite reverse;
}

.orbit-chip-3 {
  inset: 188px calc(50% + 100px) auto auto;
  animation: dastyarChipDrift 7.6s ease-in-out 1.6s infinite;
}

@keyframes dastyarChipDrift {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(6px, -10px) rotate(1.2deg);
  }
  55% {
    transform: translate(-4px, -16px) rotate(-1.4deg);
  }
  80% {
    transform: translate(3px, -6px) rotate(0.8deg);
  }
}

@keyframes dastyarBotFloat2 {
  0%,
  100% {
    transform: translateX(50%) translateY(0);
  }
  50% {
    transform: translateX(50%) translateY(-12px);
  }
}

@keyframes dastyarHandFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

@keyframes dastyarShadowPulse {
  0%,
  100% {
    transform: translateX(50%) scaleX(1);
    opacity: 1;
  }
  50% {
    transform: translateX(50%) scaleX(0.82);
    opacity: 0.7;
  }
}

@keyframes dastyarAntennaPulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(255, 138, 61, 0.18), 0 0 14px rgba(255, 138, 61, 0.55);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(255, 138, 61, 0.08), 0 0 20px rgba(255, 138, 61, 0.75);
  }
}

.businesses-heading {
  text-align: center;
}

.section-title {
  max-width: 700px;
  margin-inline: auto;
  line-height: 1.42 !important;
}

.capability-panel .section-title {
  max-width: none;
  line-height: 1.45 !important;
}

.section-copy {
  max-width: 640px;
  margin-inline: auto;
}

.section-title-with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.section-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--primary-dark);
  background: linear-gradient(135deg, #eaf1fa, #fff);
  border: 1px solid rgba(47, 102, 196, 0.22);
  box-shadow: 0 12px 30px rgba(47, 102, 196, 0.1);
}

.section-title-icon svg,
.tab-icon svg,
.feature-icon svg,
.comparison-topic-icon svg,
.comparison-status svg,
.capability-play svg,
.video-modal-close svg {
  width: 22px;
  height: 22px;
}

.tab-button.is-active {
  box-shadow: 0 16px 42px rgba(47, 102, 196, 0.12) !important;
}

.tab-button.is-active::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.tab-button {
  position: relative;
  overflow: hidden;
}

.tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 4px;
  border-radius: 12px;
  background: #eaf1fa;
  color: var(--primary-dark);
  transition: background-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.tab-button.is-active .tab-icon,
.tab-button:hover .tab-icon {
  background: linear-gradient(135deg, var(--primary), var(--brand-navy));
  color: #fff;
  transform: translateY(-2px);
}

.capability-video-card {
  width: 100%;
  margin-top: 18px;
  border: 1px solid rgba(47, 102, 196, 0.24);
  border-radius: 14px;
  padding: 10px;
  background: linear-gradient(180deg, #fff, #f4f8fd);
  color: inherit;
  text-align: right;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.capability-video-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 18px 42px rgba(47, 102, 196, 0.14);
}

.capability-video-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16 / 10;
  background: var(--soft-blue);
}

.capability-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.capability-video-card:hover .capability-video-thumb img {
  transform: scale(1.04);
}

.capability-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--brand-navy));
  box-shadow: 0 16px 30px rgba(15, 61, 145, 0.28);
}

.capability-play::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.65);
  animation: dastyarPlayRing 2s ease-out infinite;
}

.capability-video-copy strong {
  display: block;
  color: var(--heading);
  font-size: 14px;
  margin-bottom: 6px;
}

.capability-video-copy small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.capability-media-stage {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  border-radius: 18px;
  padding: 0;
  background: transparent;
  color: inherit;
  overflow: hidden;
  box-shadow: 0 22px 56px rgba(15, 61, 145, 0.12);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.capability-media-stage:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 68px rgba(15, 61, 145, 0.2);
}

.media-stage-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 16 / 10;
  height: 100%;
  background: #0b1c34;
  border: 1px solid rgba(15, 61, 145, 0.16);
}

.media-stage-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 420ms ease, filter 420ms ease;
}

.capability-media-stage:hover .media-stage-frame img {
  transform: scale(1.05);
  filter: saturate(1.08);
}

.media-stage-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 61, 145, 0.05), rgba(15, 61, 145, 0.34)),
    radial-gradient(circle at 50% 50%, rgba(47, 102, 196, 0.04), rgba(15, 61, 145, 0.38));
}

.media-stage-play {
  position: absolute;
  inset: 0;
  margin: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--brand-navy));
  box-shadow: 0 22px 46px rgba(15, 61, 145, 0.34);
}

.media-stage-play::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.72);
  animation: dastyarPlayRing 2s ease-out infinite;
}

.media-stage-play svg {
  width: 28px;
  height: 28px;
}

.demo-stage {
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(15, 61, 145, 0.06) inset !important;
}

.demo-stage::after {
  content: "";
  position: absolute;
  inset: -30% auto -30% -18%;
  width: 8rem;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  transform: rotate(12deg);
  animation: dastyarDemoShine 6s ease-in-out infinite;
}

.feature-card,
.testimonial-card,
.blog-card,
.faq-item {
  position: relative;
  overflow: hidden;
}

.feature-card::after,
.testimonial-card::after,
.blog-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(47, 102, 196, 0.72), transparent);
  opacity: 0;
  transition: opacity 220ms ease;
}

.feature-card:hover::after,
.testimonial-card:hover::after,
.blog-card:hover::after {
  opacity: 1;
}

.blog-card img {
  transition: transform 360ms ease, filter 360ms ease;
}

.blog-card:hover img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.video-modal.is-open {
  display: flex;
}

.video-modal-open {
  overflow: hidden;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 26, 50, 0.62);
  backdrop-filter: blur(10px);
}

.video-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 980px);
  border: 1px solid rgba(219, 231, 242, 0.95);
  border-radius: 22px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 34px 90px rgba(15, 61, 145, 0.28);
}

.video-modal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 4px 48px 16px 4px;
}

.video-modal-heading strong {
  color: var(--heading);
  font-size: 18px;
}

.video-modal-close {
  position: absolute;
  inset: 14px 14px auto auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--heading);
  background: #fff;
  transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.video-modal-close:hover {
  transform: rotate(8deg);
  border-color: var(--primary);
  color: var(--primary-dark);
}

.video-modal video {
  width: 100%;
  max-height: min(72vh, 660px);
  border-radius: 16px;
  background: #0b1c34;
  overflow: hidden;
}

.dastyar-live-ready .hero-grid,
.dastyar-live-ready .businesses-shell,
.dastyar-live-ready .section-block,
.dastyar-live-ready .final-cta,
.dastyar-live-ready .footer-panel {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

.dastyar-live-ready .hero-grid.is-visible,
.dastyar-live-ready .businesses-shell.is-visible,
.dastyar-live-ready .section-block.is-visible,
.dastyar-live-ready .final-cta.is-visible,
.dastyar-live-ready .footer-panel.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes dastyarSoftReveal {
  from {
    opacity: 0.08;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dastyarLivePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(47, 102, 196, 0.38);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(47, 102, 196, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(47, 102, 196, 0);
  }
}

@keyframes dastyarGreenPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(47, 102, 196, 0.42);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(47, 102, 196, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(47, 102, 196, 0);
  }
}

@keyframes dastyarFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes dastyarSweep {
  0%,
  45% {
    transform: translateX(74%);
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  100% {
    transform: translateX(-74%);
    opacity: 0;
  }
}

@keyframes dastyarCardBreathe {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(47, 102, 196, 0);
  }
  50% {
    box-shadow: 0 18px 42px rgba(47, 102, 196, 0.13);
  }
}

@keyframes dastyarDemoShine {
  0%,
  55% {
    transform: translateX(0) rotate(12deg);
    opacity: 0;
  }
  70% {
    opacity: 0.9;
  }
  100% {
    transform: translateX(56rem) rotate(12deg);
    opacity: 0;
  }
}

@keyframes dastyarPlayRing {
  0% {
    transform: scale(0.9);
    opacity: 0.75;
  }
  100% {
    transform: scale(1.25);
    opacity: 0;
  }
}

@keyframes dastyarBotFloat {
  0%,
  100% {
    transform: translateX(50%) translateY(0) rotate(-8deg);
  }
  50% {
    transform: translateX(50%) translateY(-12px) rotate(-4deg);
  }
}

@keyframes dastyarSmallFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes dastyarBlink {
  0%,
  92%,
  100% {
    transform: scaleY(1);
  }
  95% {
    transform: scaleY(0.22);
  }
}

@media (max-width: 900px) {
  body {
    background-image: none !important;
  }

  .container-frame {
    width: 100% !important;
    max-width: 100% !important;
  }

  .panel-frame {
    border-inline: 0 !important;
  }

  .promo-inner {
    font-size: 12px !important;
    line-height: 1.9 !important;
    justify-content: center !important;
  }

  .promo-content {
    justify-content: center;
  }

  .promo-text {
    display: none;
  }

  .promo-cta {
    display: none !important;
  }

  .site-header {
    align-items: center !important;
    gap: 12px !important;
    padding-inline: 16px !important;
  }

  .brand-mark {
    width: 148px !important;
    height: auto !important;
  }

  .header-actions {
    justify-content: center !important;
  }

  .header-actions .btn-primary {
    width: min(100%, 220px);
  }

  .hero-grid {
    padding: 42px 16px 0 !important;
  }

  .hero-title {
    max-width: 100% !important;
    font-size: clamp(1.9rem, 7.6vw, 2.2rem) !important;
    line-height: 1.28 !important;
  }

  .hero-subtitle {
    font-size: clamp(1.05rem, 4.4vw, 1.3rem);
    line-height: 1.7;
  }

  .mobile-title-break {
    display: block;
  }

  .hero-copy {
    max-width: 21rem !important;
    font-size: 14px !important;
  }

  .hero-actions {
    display: flex !important;
    justify-content: center;
  }

  .hero-cta {
    width: min(100%, 320px);
    min-height: 52px;
    font-size: 14px;
    padding: 0 18px;
  }

  .hero-orbital {
    height: 230px;
    margin-top: 18px;
    margin-bottom: -1px;
  }

  .hero-stage-glow {
    width: 420px;
    height: 420px;
    inset-block-end: -245px;
  }

  .hero-stage-circle {
    width: 540px;
    height: 540px;
    inset-block-end: -335px;
  }

  .dastyar-bot {
    width: 138px;
    height: 114px;
    inset-block-end: 28px;
  }

  .bot-head {
    inset: 18px 9px auto;
    height: 88px;
    border-radius: 28px;
  }

  .bot-screen {
    inset: 19px 22px auto;
    height: 50px;
    gap: 13px;
    border-radius: 16px;
  }

  .bot-eye {
    width: 16px;
    height: 16px;
    border-radius: 5px;
  }

  .bot-pupil {
    width: 6px;
    height: 6px;
  }

  .bot-smile {
    bottom: 6px;
    width: 20px;
    height: 9px;
  }

  .bot-ear {
    top: 42px;
    height: 32px;
    width: 15px;
  }

  .hero-deco-flag-1 {
    inset: 90px 3% auto auto;
    transform: scale(0.6);
  }

  .hero-deco-flag-2 {
    inset: 250px auto auto 2%;
    transform: rotate(180deg) scale(0.55);
  }

  .orbit-chip {
    font-size: 10px;
    min-height: 32px;
    gap: 6px;
    padding-inline: 9px;
    white-space: nowrap;
  }

  .chip-icon {
    width: 20px;
    height: 20px;
  }

  .chip-icon svg {
    width: 11px;
    height: 11px;
  }

  .orbit-chip-1 {
    inset: 26px calc(50% + 52px) auto auto;
  }

  .orbit-chip-2 {
    inset: 60px auto auto calc(50% + 56px);
  }

  .orbit-chip-3 {
    display: none;
  }

  .section-block::before {
    inset-inline: -42px;
  }

  .section-block::after {
    display: none;
  }

  /* --- Mobile polish --- */

  .promo-inner {
    min-height: 40px;
    padding: 6px 14px !important;
  }

  .promo-badge {
    font-size: 11.5px !important;
    padding: 4px 10px !important;
  }

  /* header: single compact row (logo + panel button) */
  .site-header {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 60px !important;
    min-height: 0 !important;
    padding: 0 14px !important;
  }

  .promo-inner {
    flex-direction: row !important;
    align-items: center !important;
  }

  .brand-mark {
    width: 128px !important;
  }

  .header-actions {
    width: auto !important;
    flex: none;
  }

  .btn-login {
    min-height: 40px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
  }

  /* hero */
  .hero-grid {
    padding: 34px 16px 0 !important;
  }

  .eyebrow {
    font-size: 11.5px !important;
    padding: 6px 10px !important;
  }

  .hero-copy {
    max-width: 24rem !important;
    line-height: 1.95 !important;
  }

  .hero-actions {
    margin-top: 20px !important;
  }

  .hero-cta {
    width: min(100%, 340px);
  }

  /* point cards: compact 2x2 grid */
  .hero-points {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-top: 24px !important;
  }

  .point-card {
    min-height: 0 !important;
    padding: 14px 10px !important;
  }

  .point-card .point-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
  }

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

  .point-card strong {
    font-size: 13px !important;
    margin-bottom: 5px !important;
  }

  .point-card span {
    font-size: 10.5px !important;
    line-height: 1.75 !important;
  }

  /* capability tabs: horizontal swipeable pills */
  .tab-nav {
    display: flex !important;
    gap: 8px !important;
    overflow-x: auto;
    padding: 2px 2px 10px;
    margin-inline: -4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .tab-nav::-webkit-scrollbar {
    display: none;
  }

  .tab-button {
    flex: none;
    scroll-snap-align: start;
    flex-direction: row !important;
    gap: 8px !important;
    min-height: 44px !important;
    padding: 8px 14px !important;
    border-radius: 999px !important;
  }

  .tab-button .tab-icon {
    width: 24px;
    height: 24px;
    margin: 0 !important;
  }

  .tab-button span:last-child {
    display: none;
  }

  .capability-panel {
    gap: 20px !important;
  }

  /* sections */
  .section-block {
    padding: 40px 16px !important;
  }

  .section-header {
    margin-bottom: 22px !important;
  }

  .section-copy {
    font-size: 13px !important;
  }

  .feature-card {
    padding: 20px 16px !important;
  }

  .businesses-shell {
    padding-bottom: 20px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============================================================
   Contact page
   ============================================================ */

.main-nav a.is-active {
  color: var(--primary) !important;
  background: #f3f7fc !important;
  border-color: rgba(47, 102, 196, 0.42) !important;
}

.contact-hero {
  position: relative;
  overflow: hidden !important;
  border-bottom: 1px solid var(--line);
}

.contact-hero.panel-frame {
  background: transparent !important;
}

/* override section-block decorative lines so the pattern layer can render */
.section-block.contact-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background: url("/assets/media/inner-section-pattern.svg") top center / cover no-repeat;
  opacity: 0.45;
}

.section-block.contact-hero::after {
  display: none !important;
}

.contact-hero .section-header {
  position: relative;
  z-index: 1;
  max-width: none !important;
  margin: 0 !important;
  align-items: flex-start !important;
  text-align: right !important;
}

.contact-hero .section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem) !important;
  max-width: none;
  margin-inline: 0;
  text-align: right;
}

.contact-hero .section-copy {
  max-width: 720px;
  margin-inline: 0;
  text-align: right;
}

.contact-grid {
  width: min(100%, 1040px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.contact-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 20px 18px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.contact-card::after {
  content: "";
  position: absolute;
  inset: auto 18px 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(47, 102, 196, 0.72), transparent);
  opacity: 0;
  transition: opacity 220ms ease;
}

.contact-card:hover {
  border-color: rgba(47, 102, 196, 0.42);
  box-shadow: 0 18px 46px rgba(15, 61, 145, 0.1);
}

.contact-card:hover::after {
  opacity: 1;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eaf1fa, #fff);
  border: 1px solid rgba(47, 102, 196, 0.2);
  color: var(--primary-dark);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card h3 {
  margin: 6px 0 0;
  color: var(--heading);
  font-size: 16px;
  font-weight: 800;
}

.contact-card p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 2;
}

.contact-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--primary-dark);
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 700;
  transition: border-color 200ms ease, background-color 200ms ease;
}

.contact-action:hover,
.contact-action:focus-visible {
  border-color: var(--primary);
  background: #f3f7fc;
}

.contact-email-chip {
  display: inline-block;
  margin-top: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafd;
  color: var(--heading);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
}

@media (max-width: 1180px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

html.dark .main-nav a.is-active {
  color: var(--primary-light) !important;
  background: var(--surface-soft) !important;
  border-color: rgba(110, 168, 255, 0.38) !important;
}

html.dark .contact-hero {
  border-bottom-color: var(--line);
}

html.dark .section-block.contact-hero::before {
  background: url("/assets/media/inner-section-pattern-dark-overlay.svg") top center / cover no-repeat !important;
  opacity: 1 !important;
}

html.dark .contact-card {
  background: var(--surface-raised);
}

html.dark .contact-card:hover {
  border-color: rgba(110, 168, 255, 0.45);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.4);
}

html.dark .contact-icon {
  background: linear-gradient(135deg, var(--surface-soft), var(--surface-raised));
  border-color: rgba(110, 168, 255, 0.24);
  color: var(--primary-light);
}

html.dark .contact-action {
  background: var(--surface-soft);
  color: var(--primary-dark);
}

html.dark .contact-action:hover,
html.dark .contact-action:focus-visible {
  border-color: var(--primary-light);
  background: var(--surface-soft);
}

html.dark .contact-email-chip {
  background: var(--surface-soft);
  color: var(--ink);
}

.faq-answer a {
  color: var(--primary-dark);
  font-weight: 600;
}

.faq-answer a:hover {
  color: var(--primary);
}

html.dark .faq-answer a {
  color: var(--primary-light);
}

/* ============================================================
   Inner pages — uniform section inset
   ============================================================ */

.inner-page {
  --inner-section-y: 64px;
}

.inner-page main > .section-block,
.inner-page main > .section-block.inner-page-section {
  padding: var(--inner-section-y) var(--inset) !important;
}

.inner-page main > .section-block.contact-hero {
  padding: var(--inner-section-y) var(--inset) !important;
}

@media (max-width: 991.98px) {
  .inner-page {
    --inner-section-y: 44px;
  }
}

@media (max-width: 767.98px) {
  .inner-page {
    --inner-section-y: 40px;
  }
}

/* ============================================================
   Features page
   ============================================================ */

.features-hero-header {
  align-items: flex-start !important;
  text-align: right !important;
  max-width: 720px !important;
  margin: 0 !important;
}

.features-hero-header .section-copy {
  max-width: none;
  margin-inline: 0;
  text-align: right;
}

.features-hero-cta {
  margin-top: 8px;
}

.feature-showcase-list {
  width: min(100%, 1040px);
  margin-inline: auto;
  display: grid;
}

.feature-showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding-block: clamp(36px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}

.feature-showcase-row:first-child {
  padding-top: 0;
}

.feature-showcase-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.feature-showcase-row.is-reversed .feature-showcase-copy {
  order: 2;
}

.feature-showcase-row.is-reversed .feature-showcase-media {
  order: 1;
}

.feature-showcase-copy {
  display: grid;
  gap: 12px;
  justify-items: start;
  text-align: right;
  border-inline-start: 3px solid var(--primary);
  padding-inline-start: 18px;
}

.feature-showcase-title {
  margin: 0;
  color: var(--heading);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  line-height: 1.55;
}

.feature-showcase-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 2;
  max-width: 34rem;
}

.feature-showcase-media {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
  padding: clamp(12px, 2vw, 20px);
  overflow: hidden;
}

.feature-showcase-media img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 991.98px) {
  .feature-showcase-row,
  .feature-showcase-row.is-reversed {
    grid-template-columns: 1fr;
  }

  .feature-showcase-row.is-reversed .feature-showcase-copy,
  .feature-showcase-row.is-reversed .feature-showcase-media {
    order: unset;
  }

  .feature-showcase-media {
    max-width: 520px;
    margin-inline: auto;
    width: 100%;
  }
}

html.dark .feature-showcase-copy {
  border-inline-start-color: var(--primary-light);
}

html.dark .feature-showcase-media {
  background: linear-gradient(180deg, var(--surface-soft) 0%, var(--surface-raised) 100%);
  border-color: var(--line);
}

html.dark .feature-showcase-title {
  color: var(--ink);
}

.faq-contact-panel {
  width: min(100%, 1040px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.faq-contact-copy {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-width: 0;
}

.faq-contact-copy h2 {
  margin: 0 0 0.35rem;
  color: var(--heading);
  font-size: 1.15rem;
  font-weight: 800;
}

.faq-contact-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.9;
}

.faq-contact-icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(47, 102, 196, 0.2);
  background: linear-gradient(135deg, #eaf1fa, #fff);
  color: var(--primary-dark);
}

.faq-contact-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.faq-contact-action {
  flex: 0 0 auto;
}

@media (max-width: 767.98px) {
  .faq-contact-panel {
    flex-direction: column;
    align-items: stretch;
  }

  .faq-contact-action {
    width: 100%;
  }

  .faq-contact-action .btn {
    width: 100%;
    justify-content: center;
  }
}

html.dark .faq-contact-panel {
  background: var(--surface-raised);
  border-color: var(--line);
}

html.dark .faq-contact-copy h2 {
  color: var(--ink);
}

html.dark .faq-contact-icon {
  background: linear-gradient(135deg, var(--surface-soft), var(--surface-raised));
  border-color: rgba(110, 168, 255, 0.24);
  color: var(--primary-light);
}

/* ============================================================
   About page
   ============================================================ */

.about-grid-2 {
  width: min(100%, 1040px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.about-story {
  width: min(100%, 1040px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: center;
}

.about-story-media {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(15, 61, 145, 0.16);
  background: #0b1c34;
  aspect-ratio: 4 / 3;
}

.about-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-story-copy {
  display: grid;
  gap: 12px;
  justify-items: start;
  text-align: right;
}

.about-story-copy .section-title {
  margin: 0;
  font-size: 28px !important;
  line-height: 1.65 !important;
}

.about-story-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 2.1;
}

.about-badges {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.about-badges a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 116px;
  height: 128px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.about-badges a:hover,
.about-badges a:focus-visible {
  border-color: rgba(47, 102, 196, 0.42);
  box-shadow: 0 18px 46px rgba(15, 61, 145, 0.1);
}

.about-badges img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.about-brands-grid {
  width: min(100%, 1040px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 1180px) {
  .about-brands-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .about-grid-2 {
    grid-template-columns: 1fr;
  }

  .about-story {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-story-copy {
    text-align: center;
    justify-items: center;
  }

  .about-brands-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .about-brands-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

html.dark .about-story-media {
  border-color: rgba(110, 168, 255, 0.2);
}

/* ============================================================
   Legal pages (privacy / terms)
   ============================================================ */

.legal-body {
  width: min(100%, 860px);
  margin-inline: auto;
  display: grid;
  gap: 18px;
}

.legal-body h2 {
  margin: 26px 0 0;
  color: var(--heading);
  font-size: 22px;
  line-height: 1.7;
  font-weight: 800;
}

.legal-body h3 {
  margin: 10px 0 0;
  color: var(--heading);
  font-size: 16px;
  line-height: 1.8;
  font-weight: 700;
}

.legal-body h2::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 10px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--primary), #2f66c4);
}

.legal-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 2.15;
}

.legal-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.legal-body ul li {
  position: relative;
  padding-right: 22px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 2;
}

.legal-body ul li::before {
  content: "";
  position: absolute;
  right: 4px;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.55;
}

.legal-body a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.legal-body a:hover {
  text-decoration: underline;
}

.legal-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(47, 102, 196, 0.22);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(47, 102, 196, 0.06), rgba(47, 102, 196, 0.02));
}

.legal-note svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 4px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.8;
}

.legal-note p {
  color: var(--ink) !important;
}

html.dark .legal-body h2,
html.dark .legal-body h3 {
  color: var(--heading);
}

html.dark .legal-body a {
  color: var(--primary-light);
}

html.dark .legal-note {
  border-color: rgba(110, 168, 255, 0.24);
  background: linear-gradient(135deg, rgba(110, 168, 255, 0.08), rgba(110, 168, 255, 0.02));
}

html.dark .legal-note svg {
  stroke: var(--primary-light);
}

/* ── Auth / Login ── */

body.auth-page-body {
  background: #f4f8fb !important;
  background-image: none !important;
}

@media (min-width: 992px) {
  body.auth-page-body {
    height: 100vh;
    overflow: hidden;
  }
}

@media (max-width: 991.98px) {
  body.auth-page-body {
    height: auto;
    min-height: 100dvh;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
  }
}

body.auth-page-body .site-shell {
  background: transparent;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

html.dark body.auth-page-body {
  background: var(--surface-page) !important;
}

.auth-hero.hero-grid {
  flex: 1;
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 0 !important;
  height: 100%;
  padding-top: 0 !important;
  border-bottom: none !important;
  overflow: hidden;
}

/* keep the decorative glow out of flex flow so the card stays centered
   (a reveal rule was forcing position:relative, turning it into a flex item) */
.auth-hero__glow {
  position: absolute !important;
}

.auth-hero.hero-grid > .auth-layout {
  margin-inline: auto !important;
}

@media (max-width: 991.98px) {
  .auth-hero.hero-grid {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    min-height: calc(100dvh - 120px) !important;
    min-height: calc(100vh - 120px) !important;
    height: auto !important;
    padding: 1rem 16px 1.25rem !important;
    overflow: hidden !important;
    clip-path: none !important;
    box-shadow: none !important;
    background:
      radial-gradient(circle at 18% 18%, rgba(47, 102, 196, 0.12), transparent 22rem),
      radial-gradient(circle at 78% 32%, rgba(15, 61, 145, 0.08), transparent 20rem),
      #fff !important;
  }

  .auth-hero.hero-grid::after,
  .auth-hero__glow {
    display: none !important;
  }

  .auth-hero.hero-grid > .auth-layout {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: auto !important;
  }

  html.dark .auth-hero.hero-grid {
    background:
      radial-gradient(circle at 18% 18%, rgba(77, 130, 224, 0.16), transparent 22rem),
      radial-gradient(circle at 78% 32%, rgba(110, 168, 255, 0.1), transparent 20rem),
      var(--surface-panel) !important;
  }
}

.auth-hero.hero-grid::before {
  display: none;
}

html.dark .auth-hero__glow {
  background: radial-gradient(circle, rgba(110, 168, 255, 0.16) 0%, rgba(110, 168, 255, 0.05) 42%, transparent 72%);
}

html.dark .auth-hero.hero-grid::after {
  opacity: 0.36;
}

html.dark .auth-card {
  background: rgba(20, 31, 52, 0.92);
  border-color: rgba(110, 168, 255, 0.2);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.25),
    0 24px 64px rgba(0, 0, 0, 0.48);
}

html.dark .auth-card__head,
html.dark .auth-card__foot,
html.dark .auth-otp-actions {
  border-color: var(--line);
}

html.dark .auth-card__foot {
  background: rgba(15, 23, 42, 0.4);
}

html.dark .auth-card__logo {
  border-color: rgba(110, 168, 255, 0.22);
  background: linear-gradient(145deg, rgba(110, 168, 255, 0.14), rgba(110, 168, 255, 0.04));
}

html.dark .auth-card__title {
  color: var(--heading);
}

html.dark .auth-card__subtitle strong {
  color: var(--heading);
}

html.dark .auth-input,
html.dark .auth-otp-input {
  background: var(--surface-panel);
  border-color: var(--line);
  color: var(--heading);
}

html.dark .auth-input:focus,
html.dark .auth-otp-input:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(110, 168, 255, 0.14);
  background: var(--surface-panel);
}

html.dark .auth-otp-input {
  color: var(--primary-light);
}

html.dark .auth-link-btn {
  color: var(--primary-light);
}

html.dark .auth-link-btn:hover:not(:disabled) {
  color: var(--heading);
}

html.dark .auth-legal a {
  color: var(--primary-light);
}

html.dark .auth-foot-note {
  color: var(--muted);
}

html.dark .auth-alert--error {
  border-color: rgba(248, 113, 113, 0.28);
  background: rgba(127, 29, 29, 0.35);
  color: #fecaca;
}

html.dark .auth-alert--success {
  border-color: rgba(74, 222, 128, 0.24);
  background: rgba(20, 83, 45, 0.35);
  color: #bbf7d0;
}

.dastyar-live-ready .auth-hero.is-visible {
  opacity: 1;
  transform: none;
}

/* license badges stay light so the seals remain readable */
html.dark .about-badges a {
  background: #edf1f7;
  border-color: rgba(110, 168, 255, 0.14);
}

html.dark .about-badges a:hover,
html.dark .about-badges a:focus-visible {
  border-color: rgba(110, 168, 255, 0.45);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.4);
}

/* ============================================================
   Theme toggle (sun / moon)
   ============================================================ */

/* matches .btn-login so the two header buttons look identical in both themes */
.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 200ms ease, color 200ms ease, background-color 200ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--primary);
  background: #fff;
}

.theme-toggle svg {
  position: absolute;
  width: 19px;
  height: 19px;
  transition: transform 420ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 240ms ease;
}

.theme-icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-icon-moon {
  opacity: 0;
  transform: rotate(-100deg) scale(0.3);
}

html.dark .theme-icon-sun {
  opacity: 0;
  transform: rotate(100deg) scale(0.3);
}

html.dark .theme-icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* smooth cross-fade of colors only while the user switches theme;
   swiper wrappers are excluded so their transform-based marquee keeps running */
html.theme-switching,
html.theme-switching *:not(.swiper-wrapper),
html.theme-switching *::before,
html.theme-switching *::after {
  transition:
    background-color 320ms ease,
    border-color 320ms ease,
    color 320ms ease,
    box-shadow 320ms ease,
    fill 320ms ease !important;
}

/* ============================================================
   Dark theme — design tokens
   ============================================================ */

html.dark {
  color-scheme: dark;

  /* brand ramp tuned for dark surfaces */
  --primary: #4d82e0;
  --primary-dark: #8db1f0;
  --primary-light: #6ea8ff;
  --brand-navy: #0d2c66;
  --action: #6ea8ff;
  --action-soft: #16233c;

  /* text */
  --ink: #dbe4f3;
  --heading: #eef3fb;
  --muted: #9fb0ca;

  /* structure */
  --line: #24344f;
  --soft: #111b2d;
  --soft-blue: #16233c;

  /* surfaces */
  --surface-page: #0b1322;
  --surface-panel: #0f1828;
  --surface-raised: #141f34;
  --surface-soft: #182643;

  /* styles.css tokens */
  --primary-strong: #8db1f0;
  --accent: #6ea8ff;
  --accent-soft: #16233c;
  --surface: #0f1828;
  --surface-soft: #182643;
  --glow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

/* ============================================================
   Dark theme — global surfaces
   ============================================================ */

html.dark {
  background: var(--surface-page);
}

html.dark body {
  background: var(--surface-page) !important;
  background-image:
    linear-gradient(90deg, var(--surface-page) 0, var(--surface-page) calc((100% - var(--rail)) / 2), var(--surface-panel) calc((100% - var(--rail)) / 2), var(--surface-panel) calc(100% - ((100% - var(--rail)) / 2)), var(--surface-page) calc(100% - ((100% - var(--rail)) / 2))) !important;
  color: var(--ink);
}

html.dark .panel-frame {
  background: var(--surface-panel) !important;
}

/* promo bar keeps the deep navy brand gradient */
html.dark .promo-bar {
  background: linear-gradient(90deg, #071f4d 0%, #0f3d91 55%, #2f66c4 100%) !important;
  border-bottom-color: rgba(110, 168, 255, 0.22);
}

html.dark .header-shell {
  background: var(--surface-panel);
}

html.dark .site-header {
  background: var(--surface-panel) !important;
}

html.dark .header-shell.is-floating {
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}

html.dark .main-nav a:hover,
html.dark .main-nav a:focus-visible {
  color: var(--primary-light) !important;
  background: var(--surface-soft) !important;
  border-color: rgba(110, 168, 255, 0.38) !important;
}

html.dark .btn-login,
html.dark .theme-toggle {
  background: var(--surface-raised) !important;
  color: var(--ink) !important;
}

html.dark .btn-login:hover,
html.dark .btn-login:focus-visible,
html.dark .theme-toggle:hover,
html.dark .theme-toggle:focus-visible {
  background: var(--surface-raised) !important;
  border-color: var(--primary-light) !important;
}

html.dark .btn-secondary {
  background: var(--surface-raised) !important;
}

/* dark theme — mobile hamburger + dropdown menu */
html.dark .nav-toggle {
  background: var(--surface-raised);
  border-color: var(--line);
}

html.dark .nav-toggle:hover,
html.dark .nav-toggle:focus-visible {
  border-color: var(--primary-light);
}

html.dark .nav-toggle-bar {
  background: var(--heading);
}

@media (max-width: 900px) {
  html.dark .main-nav {
    background: var(--surface-panel);
    border-bottom-color: var(--line);
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.5);
  }

  html.dark .main-nav a {
    color: var(--ink) !important;
    background: var(--surface-raised) !important;
    border-color: transparent !important;
  }

  html.dark .main-nav a.is-active {
    background: var(--surface-soft) !important;
    border-color: rgba(110, 168, 255, 0.38) !important;
  }
}

/* ============================================================
   Dark theme — hero
   ============================================================ */

html.dark .hero-grid {
  background:
    radial-gradient(circle at 18% 18%, rgba(77, 130, 224, 0.16), transparent 22rem),
    radial-gradient(circle at 78% 32%, rgba(110, 168, 255, 0.1), transparent 20rem),
    var(--surface-panel) !important;
  box-shadow: 0 0 0 100vmax var(--surface-panel);
}

html.dark .hero-grid::after {
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(110, 168, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 168, 255, 0.1) 1px, transparent 1px);
}

html.dark .eyebrow {
  background: var(--surface-raised) !important;
  border-color: var(--line) !important;
  box-shadow: none !important;
}

html.dark .hero-title {
  text-shadow: 0 16px 32px rgba(110, 168, 255, 0.22);
}

html.dark .point-card {
  background: var(--surface-raised) !important;
}

html.dark .point-card .point-icon {
  background: linear-gradient(160deg, var(--surface-soft), var(--surface-raised));
  border-color: rgba(110, 168, 255, 0.24);
  color: var(--primary-light) !important;
}

html.dark .hero-deco-flag-2 {
  color: #7a5333;
}

/* orbital stage */
html.dark .hero-stage-dots {
  background-image: radial-gradient(rgba(110, 168, 255, 0.2) 1.2px, transparent 1.4px);
}

html.dark .hero-stage-glow {
  background: radial-gradient(circle at 50% 30%, var(--surface-soft) 46%, #131e35 72%, #101a2e 100%);
  border-color: rgba(110, 168, 255, 0.2);
  box-shadow:
    0 -26px 60px rgba(0, 0, 0, 0.35),
    inset 0 30px 50px rgba(110, 168, 255, 0.06);
}

html.dark .hero-stage-circle {
  border-color: rgba(110, 168, 255, 0.16);
}

html.dark .bot-shadow {
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.55), transparent 70%);
}

html.dark .orbit-chip {
  background: rgba(20, 31, 52, 0.94);
  border-color: var(--line);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
}

html.dark .chip-icon {
  background: linear-gradient(160deg, var(--surface-soft), var(--surface-raised));
  border-color: rgba(110, 168, 255, 0.22);
  color: var(--primary-light);
}

/* ============================================================
   Dark theme — sections and cards
   ============================================================ */

html.dark .section-block::before {
  background: linear-gradient(90deg, transparent, rgba(36, 52, 79, 0.9) 16%, rgba(110, 168, 255, 0.3) 50%, rgba(36, 52, 79, 0.9) 84%, transparent);
}

html.dark .section-block:nth-of-type(3n)::before {
  background: linear-gradient(90deg, transparent, rgba(110, 168, 255, 0.2), rgba(36, 52, 79, 0.95), rgba(110, 168, 255, 0.22), transparent);
}

html.dark .business-logo-card {
  background: #edf1f7 !important;
  border-color: rgba(110, 168, 255, 0.14) !important;
}

html.dark .tab-button {
  background: var(--surface-raised) !important;
}

html.dark .tab-button:hover,
html.dark .tab-button.is-active {
  background: var(--surface-soft) !important;
  border-color: var(--primary-light) !important;
  color: var(--primary-dark) !important;
}

html.dark .capability-panel {
  background: var(--surface-raised) !important;
}

html.dark .metric-card {
  background: var(--surface-soft) !important;
}

html.dark .feature-card,
html.dark .cta-box,
html.dark .testimonial-card,
html.dark .blog-card,
html.dark .faq-item,
html.dark .stat-card {
  background: var(--surface-raised) !important;
}

html.dark .feature-card .feature-icon {
  background: linear-gradient(135deg, var(--surface-soft), var(--surface-raised)) !important;
  border-color: rgba(110, 168, 255, 0.24);
  color: var(--primary-light) !important;
  box-shadow: none;
}

html.dark .feature-card:hover .feature-icon {
  background: linear-gradient(135deg, #2f66c4, #0f3d91) !important;
  color: #fff !important;
}

html.dark .btn:hover,
html.dark .business-logo-card:hover,
html.dark .point-card:hover,
html.dark .feature-card:hover,
html.dark .testimonial-card:hover,
html.dark .blog-card:hover,
html.dark .faq-item:hover,
html.dark .tab-button:hover,
html.dark .metric-card:hover,
html.dark .demo-card:hover,
html.dark .demo-queue-card:hover {
  border-color: rgba(110, 168, 255, 0.45) !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.4) !important;
}

html.dark .quote-mark,
html.dark .avatar-token {
  background: var(--surface-soft) !important;
  color: var(--primary-dark) !important;
}

html.dark .testimonial-card .testimonial-meta {
  border-top-color: rgba(36, 52, 79, 0.9);
}

/* comparison table */
html.dark .comparison-shell {
  background: var(--surface-raised);
  border-color: rgba(110, 168, 255, 0.16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

html.dark .comparison-table {
  background: var(--surface-raised) !important;
}

html.dark .comparison-table thead th {
  border-bottom-color: rgba(110, 168, 255, 0.18) !important;
}

html.dark .comparison-table .comparison-head-topic,
html.dark .comparison-table .comparison-head-bad {
  background: var(--surface-soft) !important;
}

html.dark .comparison-table .comparison-head-good {
  background: linear-gradient(135deg, #0f3d91 0%, #2f66c4 100%) !important;
}

html.dark .comparison-table th,
html.dark .comparison-table td {
  border-bottom-color: rgba(36, 52, 79, 0.9) !important;
}

html.dark .comparison-topic {
  background: var(--surface-raised) !important;
}

html.dark .comparison-table .positive {
  background: linear-gradient(180deg, rgba(110, 168, 255, 0.09), rgba(110, 168, 255, 0.03)) !important;
  border-inline-color: rgba(110, 168, 255, 0.16) !important;
}

html.dark .comparison-table .negative {
  background: var(--surface-raised) !important;
  color: #7f90aa !important;
}

html.dark .comparison-topic-icon {
  background: var(--surface-soft);
  border-color: rgba(110, 168, 255, 0.2);
  color: var(--primary-light);
}

html.dark .comparison-status-good {
  background: linear-gradient(135deg, #2f66c4, #0f3d91);
}

html.dark .comparison-status-bad {
  background: var(--surface-soft);
  border-color: rgba(148, 161, 179, 0.2);
}

html.dark .comparison-table tbody tr:hover td {
  background: var(--surface-soft) !important;
}

html.dark .comparison-table tbody tr:hover td.positive {
  background: linear-gradient(180deg, rgba(110, 168, 255, 0.14), rgba(110, 168, 255, 0.06)) !important;
}

html.dark .blog-card img {
  background: var(--surface-soft) !important;
}

html.dark .faq-chevron {
  background: var(--surface-soft) !important;
  color: var(--primary-dark) !important;
}

/* final CTA follows the dark design system: dark surfaces + blue accents */
html.dark .final-cta .cta-box {
  background:
    radial-gradient(circle at 12% -20%, rgba(110, 168, 255, 0.14), transparent 30rem),
    radial-gradient(circle at 92% 120%, rgba(110, 168, 255, 0.1), transparent 24rem),
    linear-gradient(135deg, var(--surface-raised) 0%, var(--surface-soft) 100%) !important;
  border-block: 1px solid var(--line) !important;
}

html.dark .final-cta .cta-box::before {
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(110, 168, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 168, 255, 0.06) 1px, transparent 1px);
}

html.dark .final-cta .cta-box::after {
  background: radial-gradient(circle, rgba(110, 168, 255, 0.16), transparent 68%);
}

html.dark .final-cta .section-title {
  color: var(--heading) !important;
}

html.dark .final-cta .section-copy {
  color: var(--muted) !important;
}

html.dark .cta-btn-primary {
  background: linear-gradient(135deg, #2f66c4, #0f3d91) !important;
  border-color: rgba(110, 168, 255, 0.4) !important;
  color: #fff !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.45) !important;
}

/* footer */
html.dark .site-footer {
  background: var(--surface-panel);
}

html.dark .footer-panel,
html.dark .footer-note {
  background: var(--surface-panel) !important;
}

html.dark .footer-social a:hover,
html.dark .footer-social a:focus-visible {
  border-color: var(--primary-light);
  color: var(--primary-light);
}

/* license badges stay on a light card so the seals remain readable */
html.dark .footer-badges .badge-row a {
  background: #edf1f7;
  border-color: rgba(110, 168, 255, 0.14);
}

/* video modal */
html.dark .video-modal-backdrop {
  background: rgba(3, 8, 18, 0.72);
}

html.dark .video-modal-dialog {
  background: var(--surface-raised);
  border-color: var(--line);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.6);
}

html.dark .video-modal-close {
  background: var(--surface-soft);
}

/* demo blocks (blog pages / aux) */
html.dark .demo-stage {
  background: var(--surface-soft) !important;
}

html.dark .demo-badge,
html.dark .demo-column,
html.dark .demo-canvas,
html.dark .demo-card,
html.dark .demo-queue-card,
html.dark .demo-floating {
  background: var(--surface-raised) !important;
}

html.dark .demo-column .item {
  background: var(--surface-soft) !important;
}

.theme-logo {
    display: inline-grid;
    align-items: center;
    justify-items: start;
}

.theme-logo__image {
    grid-area: 1 / 1;
}

.theme-logo__image.brand-mark {
  width: 180px !important;
  height: auto !important;
  object-fit: contain;
}

.theme-logo--has-dark .theme-logo__dark {
    display: none;
}

html.dark .theme-logo--has-dark .theme-logo__light {
    display: none;
}

html.dark .theme-logo--has-dark .theme-logo__dark {
    display: block;
}

/* Generic Site API documentation */
.hero-doc-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.25rem;
  border: 1px solid rgba(15, 61, 145, 0.16);
  border-radius: 8px;
  background: #fff;
  color: var(--primary);
  padding: 0.65rem 1rem;
  font-size: 0.94rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.hero-doc-link:hover {
  transform: translateY(-1px);
  border-color: rgba(47, 102, 196, 0.42);
  background: #f7faff;
}

.hero-doc-link svg {
  width: 1.15rem;
  height: 1.15rem;
}

.api-docs-body {
  background: #f8fafc !important;
}

.api-docs-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.78fr);
  gap: 1.5rem;
  align-items: stretch;
  padding-bottom: 1.5rem;
}

.api-docs-hero__content {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.api-docs-hero__actions,
.api-docs-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.api-docs-hero__actions {
  margin-top: 0.25rem;
}

.api-docs-hero__actions svg {
  width: 1rem;
  height: 1rem;
}

.api-docs-facts {
  margin-top: 1.25rem;
}

.api-docs-facts span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.4rem;
  border: 1px solid rgba(15, 61, 145, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  padding: 0.35rem 0.7rem;
  font-size: 0.86rem;
}

.api-docs-facts b {
  color: var(--primary);
}

.api-docs-map {
  display: grid;
  gap: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
  padding: 1rem;
}

.api-docs-node,
.api-docs-flow,
.api-docs-callout,
.api-docs-step,
.api-docs-resource,
.api-docs-status,
.api-docs-check-grid article,
.api-docs-code-grid article {
  border: 1px solid rgba(217, 226, 240, 0.95);
  border-radius: 8px;
  background: #fff;
}

.api-docs-node {
  padding: 1rem;
}

.api-docs-node span,
.api-docs-resource span {
  display: inline-flex;
  width: fit-content;
  border-radius: 8px;
  background: #eef6ff;
  color: var(--primary);
  padding: 0.2rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
}

.api-docs-node strong {
  display: block;
  margin-top: 0.65rem;
  color: #10233f;
  font-size: 1.05rem;
}

.api-docs-node small {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  line-height: 1.8;
}

.api-docs-node--platform {
  border-color: rgba(34, 197, 94, 0.3);
  background: #f3fbf6;
}

.api-docs-flow {
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem 1rem;
  background: #fff8ed;
  color: #8a4b00;
}

.api-docs-flow span {
  font-size: 0.78rem;
  font-weight: 800;
}

.api-docs-flow b {
  color: #5f3700;
  font-size: 0.9rem;
}

.api-docs-flow--reverse {
  background: #f4f0ff;
  color: #5d3ab5;
}

.api-docs-flow--reverse b {
  color: #3f2a78;
}

.api-docs-section {
  padding-bottom: 1.5rem;
}

.api-docs-hero,
.api-docs-section {
  scroll-margin-top: 7rem;
}

.api-docs-layout {
  display: grid;
  grid-template-columns: minmax(14rem, 18rem) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding-top: 1rem;
}

.api-docs-main {
  display: grid;
  min-width: 0;
}

.api-docs-sidebar {
  position: sticky;
  top: 6rem;
  max-height: calc(100dvh - 7rem);
  overflow: auto;
  scrollbar-width: thin;
}

.api-docs-sidebar__card {
  border: 1px solid rgba(15, 61, 145, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}

.api-docs-sidebar__head {
  display: grid;
  gap: 0.2rem;
  border-bottom: 1px solid rgba(217, 226, 240, 0.9);
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  padding: 1rem;
}

.api-docs-sidebar__head span,
.api-docs-sidebar__foot span {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
}

.api-docs-sidebar__head strong {
  color: #10233f;
  font-size: 1rem;
}

.api-docs-toc {
  display: grid;
  padding: 0.55rem;
}

.api-docs-toc a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.1rem 0.55rem;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.55rem 0.6rem;
  color: var(--muted);
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.api-docs-toc a:hover,
.api-docs-toc a.is-active {
  border-color: rgba(47, 102, 196, 0.22);
  background: #eef6ff;
  color: var(--primary);
}

.api-docs-toc a span {
  grid-row: span 2;
  display: inline-grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border-radius: 8px;
  background: #f1f5fb;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 900;
}

.api-docs-toc a.is-active span {
  background: var(--primary);
  color: #fff;
}

.api-docs-toc a strong {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.api-docs-toc a small {
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: 0.74rem;
  line-height: 1.5;
  opacity: 0.72;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.api-docs-sidebar__foot {
  display: grid;
  gap: 0.45rem;
  border-top: 1px solid rgba(217, 226, 240, 0.9);
  padding: 0.85rem 1rem 1rem;
}

.api-docs-sidebar__foot code {
  border-radius: 8px;
  background: #0b1220;
  color: #d8e4f8;
  padding: 0.45rem 0.55rem;
  font-size: 0.74rem;
  overflow-wrap: anywhere;
}

.api-docs-section code,
.api-docs-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.api-docs-steps,
.api-docs-resource-grid,
.api-docs-status-grid,
.api-docs-check-grid,
.api-docs-note-grid,
.api-docs-code-grid {
  display: grid;
  gap: 1rem;
}

.api-docs-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.api-docs-step {
  min-width: 0;
  padding: 1rem;
}

.api-docs-step span {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}

.api-docs-step h3,
.api-docs-callout h3,
.api-docs-code-grid h3,
.api-docs-resource h3,
.api-docs-status h3,
.api-docs-check-grid h3 {
  margin: 0.75rem 0 0.45rem;
  color: #10233f;
  font-size: 1.02rem;
  line-height: 1.7;
}

.api-docs-step p,
.api-docs-callout p,
.api-docs-resource p,
.api-docs-status p,
.api-docs-checklist li {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 2;
}

.api-docs-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 0.86fr);
  gap: 1rem;
  align-items: start;
}

.api-docs-callout {
  padding: 1rem;
}

.api-docs-callout ul,
.api-docs-checklist {
  display: grid;
  gap: 0.55rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.api-docs-callout li,
.api-docs-checklist li {
  position: relative;
  padding-right: 1rem;
}

.api-docs-callout li::before,
.api-docs-checklist li::before {
  content: "";
  position: absolute;
  top: 0.85rem;
  right: 0;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #22c55e;
}

.api-docs-code {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(15, 61, 145, 0.16);
  border-radius: 8px;
  background: #0b1220;
  color: #d8e4f8;
  padding: 1rem;
  font-size: 0.84rem;
  line-height: 1.9;
  text-align: left;
  white-space: pre;
}

.api-docs-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.api-docs-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

.api-docs-table th,
.api-docs-table td {
  border-bottom: 1px solid rgba(217, 226, 240, 0.9);
  padding: 0.85rem;
  text-align: right;
  vertical-align: top;
  line-height: 1.9;
}

.api-docs-table th {
  background: #f1f5fb;
  color: #10233f;
  font-size: 0.9rem;
  font-weight: 800;
}

.api-docs-table tbody tr:last-child td {
  border-bottom: 0;
}

.api-docs-table code,
.api-docs-section :not(pre) > code {
  border-radius: 6px;
  background: #eef3fa;
  color: #0f3d91;
  padding: 0.12rem 0.35rem;
  overflow-wrap: anywhere;
}

.api-docs-method {
  display: inline-flex;
  min-width: 4rem;
  justify-content: center;
  border-radius: 6px;
  padding: 0.18rem 0.45rem;
  font-size: 0.78rem;
  font-weight: 900;
}

.api-docs-method--get {
  background: #e9f8ef;
  color: #0f7a38;
}

.api-docs-method--post {
  background: #eef3ff;
  color: #1d4ed8;
}

.api-docs-method--delete {
  background: #fff1f2;
  color: #be123c;
}

.api-docs-code-grid {
  grid-template-columns: 1fr;
}

.api-docs-code-grid--two,
.api-docs-note-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.api-docs-code-grid article,
.api-docs-check-grid article {
  min-width: 0;
  padding: 1rem;
}

.api-docs-code-grid article .api-docs-code {
  margin: 0.65rem 0 0;
}

.api-docs-resource-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.api-docs-resource {
  min-width: 0;
  padding: 1rem;
}

.api-docs-resource p {
  margin: 0;
  overflow-wrap: anywhere;
  text-align: left;
}

.api-docs-status-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.api-docs-status {
  min-width: 0;
  padding: 1rem;
}

.api-docs-status span {
  display: inline-flex;
  border-radius: 8px;
  background: #10233f;
  color: #fff;
  padding: 0.2rem 0.55rem;
  font-weight: 900;
}

.api-docs-check-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

html.dark .hero-doc-link,
html.dark .api-docs-facts span,
html.dark .api-docs-node,
html.dark .api-docs-callout,
html.dark .api-docs-step,
html.dark .api-docs-resource,
html.dark .api-docs-status,
html.dark .api-docs-check-grid article,
html.dark .api-docs-code-grid article,
html.dark .api-docs-table-wrap {
  border-color: rgba(148, 163, 184, 0.24);
  background: #111827;
  color: #dbeafe;
}

html.dark .hero-doc-link:hover {
  background: #172033;
}

html.dark .api-docs-map {
  border-color: rgba(148, 163, 184, 0.24);
  background: #0f172a;
}

html.dark .api-docs-sidebar__card {
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(17, 24, 39, 0.96);
}

html.dark .api-docs-sidebar__head {
  border-bottom-color: rgba(148, 163, 184, 0.18);
  background: #172033;
}

html.dark .api-docs-sidebar__head strong {
  color: #f8fafc;
}

html.dark .api-docs-toc a:hover,
html.dark .api-docs-toc a.is-active {
  border-color: rgba(96, 165, 250, 0.28);
  background: #172033;
  color: #93c5fd;
}

html.dark .api-docs-toc a span {
  background: #0f172a;
  color: #94a3b8;
}

html.dark .api-docs-toc a.is-active span {
  background: #2563eb;
  color: #fff;
}

html.dark .api-docs-sidebar__foot {
  border-top-color: rgba(148, 163, 184, 0.18);
}

html.dark .api-docs-node--platform {
  background: #10231a;
}

html.dark .api-docs-flow {
  border-color: rgba(245, 158, 11, 0.24);
  background: #231a0c;
  color: #facc15;
}

html.dark .api-docs-flow b,
html.dark .api-docs-flow--reverse b,
html.dark .api-docs-node strong,
html.dark .api-docs-step h3,
html.dark .api-docs-callout h3,
html.dark .api-docs-code-grid h3,
html.dark .api-docs-resource h3,
html.dark .api-docs-status h3,
html.dark .api-docs-check-grid h3 {
  color: #f8fafc;
}

html.dark .api-docs-flow--reverse {
  border-color: rgba(167, 139, 250, 0.24);
  background: #1e1733;
  color: #c4b5fd;
}

html.dark .api-docs-table th {
  background: #172033;
  color: #f8fafc;
}

html.dark .api-docs-table th,
html.dark .api-docs-table td {
  border-bottom-color: rgba(148, 163, 184, 0.18);
}

html.dark .api-docs-table code,
html.dark .api-docs-section :not(pre) > code {
  background: #172033;
  color: #93c5fd;
}

@media (max-width: 1180px) {
  .api-docs-hero,
  .api-docs-split,
  .api-docs-layout {
    grid-template-columns: 1fr;
  }

  .api-docs-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .api-docs-sidebar__card {
    position: relative;
  }

  .api-docs-toc {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    padding: 0.65rem;
    scroll-snap-type: x proximity;
  }

  .api-docs-toc a {
    flex: 0 0 min(16rem, 78vw);
    scroll-snap-align: start;
  }

  .api-docs-sidebar__foot {
    display: none;
  }

  .api-docs-steps,
  .api-docs-resource-grid,
  .api-docs-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .api-docs-hero,
  .api-docs-section {
    padding-inline: 1rem;
  }

  .api-docs-steps,
  .api-docs-resource-grid,
  .api-docs-status-grid,
  .api-docs-check-grid,
  .api-docs-code-grid--two,
  .api-docs-note-grid {
    grid-template-columns: 1fr;
  }

  .api-docs-code {
    font-size: 0.78rem;
  }
}
