:root {
  color-scheme: light;
  --color-bg: #ffffff;
  --color-surface: #f6f7f9;
  --color-panel: #ffffff;
  --color-text: #1f2933;
  --color-heading: #111827;
  --color-muted: #667085;
  --color-border: #d9dee7;
  --color-border-soft: #edf0f4;
  --color-primary: #1f6feb;
  --color-primary-dark: #1759c4;
  --color-success: #18794e;
  --shadow-subtle: 0 1px 2px rgba(16, 24, 40, .05);
  --radius: 6px;
  --header-height: 72px;
}

[data-bs-theme="dark"] {
  color-scheme: dark;
  --color-bg: #0f141b;
  --color-surface: #151b24;
  --color-panel: #111821;
  --color-text: #d7dde6;
  --color-heading: #f3f5f8;
  --color-muted: #9aa4b2;
  --color-border: #2a3442;
  --color-border-soft: #202a36;
  --color-primary: #6aa1ff;
  --color-primary-dark: #8db7ff;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

a {
  text-decoration: none;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--color-border-soft);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-subtle);
}

.navbar {
  min-height: var(--header-height);
}

.brand-mark {
  align-items: center;
  color: var(--color-heading);
  display: inline-flex;
  font-weight: 700;
  gap: .7rem;
}

.brand-symbol {
  align-items: center;
  background: #1f2933;
  border-radius: 6px;
  color: #fff;
  display: inline-flex;
  font-size: .9rem;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nav-link {
  color: #4b5563;
  font-size: .95rem;
  font-weight: 600;
  padding-left: .9rem !important;
  padding-right: .9rem !important;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--color-primary);
}

.btn {
  border-radius: 6px;
  font-weight: 700;
  min-height: 42px;
  padding: .66rem 1rem;
}

.btn-lg {
  min-height: 48px;
  padding: .8rem 1.2rem;
}

.btn-primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: none;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.btn-outline-secondary {
  border-color: #cfd6e1;
  color: #344054;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  background: #f3f4f6;
  border-color: #b8c0cc;
  color: #111827;
}

.hero-section {
  border-bottom: 1px solid var(--color-border-soft);
  padding: calc(var(--header-height) + 72px) 0 72px;
}

.section-block {
  padding: 78px 0;
}

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

.section-label {
  color: var(--color-primary);
  display: inline-block;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--color-heading);
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.2rem, 4.8vw, 4.55rem);
  font-weight: 760;
  line-height: 1.03;
  max-width: 740px;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  font-weight: 740;
  line-height: 1.12;
  margin-top: .35rem;
}

h3 {
  font-size: 1.08rem;
  font-weight: 720;
}

.hero-copy,
.section-copy {
  color: var(--color-muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-copy {
  max-width: 620px;
}

.hero-facts {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0;
}

.hero-facts div {
  padding: 16px 18px;
}

.hero-facts div + div {
  border-top: 1px solid var(--color-border-soft);
}

.hero-facts dt {
  color: var(--color-heading);
  font-size: .82rem;
  font-weight: 800;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.hero-facts dd {
  color: var(--color-muted);
  margin: 0;
}

.product-screenshot {
  margin: 0;
}

.product-screenshot img {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(16, 24, 40, .08);
  display: block;
  height: auto;
  width: 100%;
}

.product-screenshot figcaption {
  color: var(--color-muted);
  font-size: .88rem;
  margin-top: 10px;
}

.section-title {
  margin-bottom: 34px;
  max-width: 760px;
}

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

.module-card,
.plain-panel,
.pricing-card,
.process-list article {
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-subtle);
}

.module-card {
  min-height: 176px;
  padding: 24px;
}

.module-card span {
  color: var(--color-muted);
  display: block;
  font-size: .8rem;
  font-weight: 800;
  margin-bottom: 22px;
}

.module-card p,
.plain-panel p,
.pricing-card li,
.accordion-body,
.site-footer p,
.footer-links a {
  color: var(--color-muted);
}

.plain-panel {
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 28px;
  height: 100%;
  justify-content: space-between;
  min-height: 238px;
  padding: 28px;
}

.panel-kicker {
  color: var(--color-primary) !important;
  font-size: .8rem;
  font-weight: 800;
  margin-bottom: .55rem;
  text-transform: uppercase;
}

.process-list {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-list article {
  border-radius: 0;
  min-height: 138px;
  padding: 24px;
}

.process-list article:first-child {
  border-radius: var(--radius) 0 0 var(--radius);
}

.process-list article:last-child {
  border-radius: 0 var(--radius) var(--radius) 0;
}

.process-list span {
  align-items: center;
  background: #eef4ff;
  border: 1px solid #c9ddff;
  border-radius: 999px;
  color: var(--color-primary);
  display: inline-flex;
  font-weight: 800;
  height: 30px;
  justify-content: center;
  margin-bottom: 22px;
  width: 30px;
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.industry-list span {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: #344054;
  font-weight: 650;
  padding: .58rem .9rem;
}

.pricing-card {
  border-radius: var(--radius);
  height: 100%;
  padding: 30px;
  position: relative;
}

.pricing-card-selected {
  border-color: #9fc2ff;
  box-shadow: inset 0 3px 0 var(--color-primary), var(--shadow-subtle);
}

.popular-badge {
  background: #eef4ff;
  border: 1px solid #c9ddff;
  border-radius: 999px;
  color: var(--color-primary);
  display: inline-flex;
  font-size: .76rem;
  font-weight: 800;
  margin-bottom: 18px;
  padding: .32rem .64rem;
}

.price-block {
  border-bottom: 1px solid var(--color-border-soft);
  margin: 18px 0 24px;
  padding-bottom: 22px;
}

.price {
  color: var(--color-heading);
  font-size: 2.35rem;
  font-weight: 780;
  line-height: 1;
  margin: 0;
}

.price-note {
  color: var(--color-muted);
  font-size: .88rem;
  font-weight: 650;
  margin-top: 8px;
}

.monthly-price {
  color: var(--color-heading);
  font-size: 1.05rem;
  font-weight: 760;
  margin-top: 14px;
}

.pricing-card ul {
  display: grid;
  gap: .75rem;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.pricing-card li {
  align-items: flex-start;
  display: flex;
  gap: .55rem;
}

.pricing-card li::before {
  color: var(--color-success);
  content: "✓";
  font-weight: 900;
}

.pricing-note {
  color: var(--color-muted);
  font-size: .98rem;
  line-height: 1.6;
  margin: 28px auto 0;
  max-width: 760px;
  text-align: center;
}

.comparison-section {
  border-top: 0;
}

.comparison-table-wrap {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-subtle);
  overflow-x: auto;
}

.comparison-table {
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
  min-width: 760px;
  width: 100%;
}

.comparison-table th,
.comparison-table td {
  border-bottom: 1px solid var(--color-border-soft);
  color: var(--color-text);
  font-size: .94rem;
  padding: 15px 18px;
  vertical-align: middle;
}

.comparison-table th {
  background: #f8fafc;
  color: var(--color-heading);
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

.comparison-table th:first-child,
.comparison-table td:first-child {
  color: var(--color-heading);
  font-weight: 720;
  left: 0;
  position: sticky;
  z-index: 1;
}

.comparison-table td:first-child {
  background: #fff;
}

.comparison-table th:first-child {
  background: #f8fafc;
  z-index: 2;
}

.comparison-table .is-highlighted {
  background: #f4f8ff;
  border-left: 1px solid #d6e6ff;
  border-right: 1px solid #d6e6ff;
  color: var(--color-heading);
  font-weight: 760;
}

.comparison-table th.is-highlighted {
  background: #eaf3ff;
  color: #174ea6;
}

.check {
  color: var(--color-success);
  font-weight: 900;
}

.xmark {
  color: #9aa4b2;
  font-weight: 900;
}

.warning {
  color: #b7791f;
  font-weight: 900;
}

.comparison-note,
.comparison-info-card p {
  color: var(--color-muted);
  line-height: 1.65;
}

.comparison-info-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-subtle);
  margin: 24px 0 0;
  max-width: 880px;
  padding: 24px;
}

.comparison-info-card h3 {
  margin-bottom: 10px;
}

.comparison-info-card p {
  margin: 0;
}

.faq-accordion {
  max-width: 900px;
}

.accordion-item {
  background: var(--color-panel);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
}

.accordion-button {
  color: var(--color-heading);
  font-weight: 700;
  padding: 1.1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
  background: #f8fafc;
  color: var(--color-heading);
}

.accordion-button:focus {
  border-color: #9fc2ff;
  box-shadow: 0 0 0 .2rem rgba(31, 111, 235, .14);
}

.final-cta {
  padding: 72px 0;
}

.final-cta-inner {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-subtle);
  margin: 0 auto;
  max-width: 980px;
  padding: 48px 32px;
  text-align: center;
}

.final-cta-inner p {
  color: var(--color-muted);
  font-size: 1.05rem;
  margin: 14px auto 26px;
  max-width: 620px;
}

.site-footer {
  background: #fff;
  border-top: 1px solid var(--color-border-soft);
  padding: 34px 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
}

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

@media (max-width: 991.98px) {
  .hero-section {
    padding: calc(var(--header-height) + 44px) 0 60px;
  }

  .section-block {
    padding: 64px 0;
  }

  .module-grid,
  .process-list {
    grid-template-columns: 1fr 1fr;
  }

  .process-list article,
  .process-list article:first-child,
  .process-list article:last-child {
    border-radius: 0;
  }
}

@media (max-width: 575.98px) {
  :root {
    --header-height: 68px;
  }

  .brand-mark {
    font-size: .96rem;
  }

  .module-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .module-card,
  .plain-panel,
  .pricing-card,
  .final-cta-inner {
    padding: 22px;
  }
}

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