/* Primary CTA — Request a Demo */
.btn-primary,
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: var(--tc-accent);
  color: var(--tc-accent-contrast) !important;
  border: 2px solid var(--tc-accent);
  border-radius: 999px;
  padding: 0.5rem 1.15rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.25;
  cursor: pointer;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-cta:hover,
.btn-cta:focus {
  background: var(--tc-accent-hover);
  border-color: var(--tc-accent-hover);
  color: var(--tc-accent-contrast) !important;
  filter: none;
}

.btn-primary:focus-visible,
.btn-cta:focus-visible,
.btn-secondary:focus-visible {
  outline: 2px solid var(--tc-focus);
  outline-offset: 2px;
}

.btn-primary.btn-lg,
.btn-cta.btn-lg {
  padding: 0.7rem 1.25rem;
  font-size: 1.05rem;
}

/* Outline secondary — override Bootstrap .btn-secondary (gray fill) clash */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent !important;
  background-image: none !important;
  color: var(--tc-ink) !important;
  border: 1px solid var(--tc-border) !important;
  border-radius: var(--tc-radius);
  padding: 0.5rem 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: none !important;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  background-color: color-mix(in srgb, var(--tc-accent) 12%, var(--tc-surface-raised)) !important;
  border-color: var(--tc-accent) !important;
  color: var(--tc-accent-hover) !important;
  box-shadow: none !important;
  filter: none;
}

.btn-primary.is-pending,
.btn-cta.is-pending {
  cursor: default;
  opacity: 0.85;
}

.hero {
  padding: 3rem 1rem 4rem;
  max-width: var(--tc-max);
  margin-inline: auto;
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--tc-muted);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 18ch;
}

.hero .lead {
  font-size: 1.125rem;
  color: var(--tc-muted);
  max-width: 40rem;
}

.hero .note {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--tc-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.placeholder-page {
  padding: 3rem 1rem 4rem;
  max-width: var(--tc-max);
  margin-inline: auto;
}

.placeholder-page h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.placeholder-page p {
  color: var(--tc-muted);
  max-width: 40rem;
}

.lead-form {
  max-width: 40rem;
  margin-top: 1.5rem;
}

.lead-form .form-label {
  font-weight: 600;
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.page-section {
  padding: 2.5rem 1rem;
  max-width: var(--tc-max);
  margin-inline: auto;
}

.page-section h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 0.75rem;
}

.page-section p,
.page-section li {
  color: var(--tc-muted);
}

.capability-grid,
.product-strip {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

@media (min-width: 768px) {
  .capability-grid,
  .product-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

.capability-grid li,
.product-strip li {
  background: var(--tc-surface-raised);
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius);
  padding: 1rem;
}

.capability-grid strong,
.product-strip strong {
  color: var(--tc-ink);
  display: block;
  margin-bottom: 0.35rem;
}

.screenshot-slot {
  background: #e8efed;
  border: 1px dashed var(--tc-border);
  border-radius: var(--tc-radius);
  min-height: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tc-muted);
  font-size: 0.9rem;
  margin: 1rem 0;
}

.faq details {
  border-bottom: 1px solid var(--tc-border);
  padding: 0.75rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--tc-ink);
}

.legal-page {
  max-width: 72rem; /* ~site content width; was 48rem (too narrow side gaps) */
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  width: 100%;
  box-sizing: border-box;
}

.legal-page h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
}

.legal-page h2 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.75rem;
}

.legal-page p,
.legal-page li {
  color: var(--tc-ink);
  line-height: 1.6;
}

.legal-page__updated {
  color: var(--tc-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.legal-page__rule {
  border: 0;
  border-top: 1px solid var(--tc-border);
  margin: 1rem 0 1.5rem;
}

.legal-page a {
  color: var(--tc-accent);
}

.legal-page__meta {
  color: var(--tc-muted);
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
}

.legal-page__related {
  margin-top: 2rem;
}

.legal-page__table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.5rem;
}

.legal-page__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.legal-page__table th,
.legal-page__table td {
  border: 1px solid var(--tc-border);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.legal-page__table th {
  background: color-mix(in srgb, var(--tc-border) 35%, transparent);
  font-weight: 600;
}

.store-legal .card {
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
}

.store-legal .fs-2tx {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.store-legal__panel {
  max-width: 32rem;
}

.store-legal-loader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.55);
}

.store-legal-loader[hidden] {
  display: none !important;
}

.store-legal-loader__spinner {
  width: 2.5rem;
  height: 2.5rem;
  border: 3px solid var(--tc-border);
  border-top-color: var(--tc-accent);
  border-radius: 50%;
  animation: store-legal-spin 0.7s linear infinite;
}

@keyframes store-legal-spin {
  to { transform: rotate(360deg); }
}

.article-page {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
}

.article-page h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 1rem;
}

.article-page__thumb {
  width: 100%;
  max-width: 28rem;
  height: auto;
  margin-bottom: 1.5rem;
}

.article-page__body img {
  max-width: 100%;
  height: auto;
}

.article-page__body p,
.article-page__body li {
  line-height: 1.6;
}

.article-page__related {
  margin-top: 2.5rem;
}

.article-page__related ul {
  padding-left: 1.25rem;
}

.article-page__cta {
  margin-top: 2rem;
}

.resources-page {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
}

.resources-page h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
}

.resources-page__lead {
  color: var(--tc-muted);
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.resources-page__crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--tc-muted);
}

.resources-page__crumbs a {
  color: var(--tc-accent);
}

.resources-page__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.resources-page__list li + li {
  border-top: 1px solid var(--tc-border);
}

.resources-page__list a {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.9rem 0;
  color: var(--tc-ink);
  text-decoration: none;
}

.resources-page__list--cards li + li {
  border-top: 0;
}

.resources-page__list--cards {
  display: grid;
  gap: 0.75rem;
}

.resources-page__card {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: flex-start !important;
  gap: 0.9rem !important;
  padding: 0.75rem !important;
  border: 1px solid var(--tc-border);
  border-radius: 0.85rem;
  background: var(--tc-surface-raised, #fff);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.resources-page__card:hover {
  border-color: rgba(119, 182, 36, 0.45);
  box-shadow: 0 8px 20px rgba(7, 16, 24, 0.06);
}

.resources-page__list a:hover .resources-page__name,
.resources-page__card:hover .resources-page__name {
  color: var(--tc-accent);
}

.resources-page__media {
  flex: 0 0 auto;
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  border-radius: 0.65rem;
  background: var(--tc-soft, #f3f6f1);
}

.resources-page__media--thumb {
  width: 7.5rem;
  height: 5rem;
}

.resources-page__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.resources-page__name {
  font-weight: 600;
}

.resources-page__meta {
  color: var(--tc-muted);
  font-size: 0.9rem;
}

.article-page__related-list {
  margin-top: 0.75rem;
}

.tools-page {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 4rem;
}

.tools-page__lead {
  color: var(--tc-muted);
  margin-bottom: 1.5rem;
}

.tools-page__crumbs {
  font-size: 0.9rem;
  color: var(--tc-muted);
}

.tools-page__crumbs a {
  color: var(--tc-accent);
}

.tools-page__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tools-page__list li + li {
  border-top: 1px solid var(--tc-border);
}

.tools-page__list a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.9rem 0;
  color: var(--tc-ink);
  text-decoration: none;
}

.tools-page__list a:hover .tools-page__name {
  color: var(--tc-accent);
}

.tools-page__name {
  font-weight: 600;
}

.tools-page__meta {
  color: var(--tc-muted);
  font-size: 0.9rem;
}

.tools-form__row {
  margin-bottom: 1rem;
}

.tools-form__row label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.tools-form__row input,
.tools-form__row select {
  width: 100%;
  max-width: 20rem;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--tc-border);
  border-radius: 0.35rem;
}

.tools-result {
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--tc-border);
  border-radius: 0.35rem;
  background: rgba(0, 0, 0, 0.02);
}

.tools-error {
  color: #b00020;
  margin-top: 0.75rem;
}

.tools-page__cta {
  margin-top: 1.5rem;
}

.tools-education {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--tc-border);
}

.tools-education__section + .tools-education__section {
  margin-top: 2rem;
}

.tools-education__section h2 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--tc-ink);
}

.tools-education__section p,
.tools-education__section li {
  color: var(--tc-muted);
  line-height: 1.55;
}

.tools-education__formula {
  font-weight: 600;
  color: var(--tc-ink);
}

.tools-education__callout {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.75rem 0 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid #30ce30;
  background: #f0fff0;
  border-radius: 0.35rem;
}

.tools-education__fraction {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 0.95rem;
}

.tools-education__fraction-line {
  display: block;
  width: 100%;
  height: 1px;
  margin: 0.2rem 0;
  background: var(--tc-ink);
}

.tools-education__table-wrap {
  overflow-x: auto;
  margin: 1rem 0;
}

.tools-education__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.tools-education__table th,
.tools-education__table td {
  border: 1px solid var(--tc-border);
  padding: 0.55rem 0.65rem;
  vertical-align: top;
}

.tools-education__table th {
  background: rgba(0, 0, 0, 0.04);
  color: var(--tc-ink);
  font-weight: 600;
}

.tools-education__pros,
.tools-education__cons {
  margin: 0;
  padding-left: 1.1rem;
}

.tools-education__related {
  margin-top: 1rem;
}

.tools-education__related a {
  color: var(--tc-accent);
}

.product-page .product-hero {
  margin-bottom: 2.5rem;
}

.product-hero__logo {
  display: block;
  height: auto;
  max-width: 11rem;
  margin-bottom: 1rem;
}

.product-store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.product-store-actions img {
  height: 3rem;
  width: auto;
}

.product-hero__banner {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.35rem;
  margin-bottom: 1.25rem;
}

.product-feature-grid {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.5rem;
}

.product-feature-grid img {
  display: block;
  margin-bottom: 0.75rem;
}

.product-feature-grid h3,
.product-feature-list h3 {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
}

.product-block {
  margin-top: 2.75rem;
}

.product-block--media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .product-block--media {
    grid-template-columns: 1fr 1fr;
  }

  .product-block--media-reverse .product-block__text {
    order: 1;
  }

  .product-block--media-reverse .product-block__media {
    order: 2;
  }
}

.product-block__media img {
  width: 100%;
  height: auto;
}

.product-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-feature-list li + li {
  margin-top: 1.25rem;
}

.product-block--cta {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid var(--tc-border);
  border-radius: 0.35rem;
}

.product-block--bg,
.product-hero--bg {
  background-image: var(--product-block-bg, var(--product-hero-bg));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 1.5rem;
  border-radius: 0.35rem;
}

.product-block--vision {
  color: #2b2b2b;
}

.product-callout {
  color: #4a90e2;
  font-weight: 500;
}

.product-tick-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-tick-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.product-tick-list img {
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.product-video {
  position: relative;
  width: 100%;
  max-width: 40rem;
  margin: 1.25rem auto 0;
  aspect-ratio: 16 / 9;
}

.product-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Fixed WhatsApp + Demo FABs (site-wide) — side by side, matched size/theme */
.site-fabs {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1050;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  transition: bottom 0.2s ease;
}

.whatsapp-fab,
.demo-fab {
  position: relative;
  box-sizing: border-box;
  flex: 0 0 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  min-width: 58px;
  min-height: 58px;
  max-width: 58px;
  max-height: 58px;
  padding: 0;
  line-height: 0;
  border: 0;
  border-radius: 50%;
  background-color: #25d366;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.whatsapp-fab:hover,
.whatsapp-fab:focus-visible,
.demo-fab:hover,
.demo-fab:focus-visible {
  background-color: #1ebe57;
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  outline: none;
}

.whatsapp-fab:focus-visible,
.demo-fab:focus-visible {
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.45), 0 6px 18px rgba(0, 0, 0, 0.22);
}

.whatsapp-fab__icon,
.demo-fab__icon {
  width: 30px;
  height: 30px;
  display: block;
}

@media (max-width: 767.98px) {
  .site-fabs {
    right: 16px;
    bottom: 16px;
    gap: 10px;
  }

  .whatsapp-fab,
  .demo-fab {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    max-width: 52px;
    max-height: 52px;
  }

  .whatsapp-fab__icon,
  .demo-fab__icon {
    width: 26px;
    height: 26px;
  }

  /* Sit above fixed community email CTA so the Go button stays tappable */
  body:has(.site-home__cta-bar) .site-fabs,
  body:has(.product-page .cta-bar) .site-fabs {
    bottom: 7.25rem;
  }
}

@media (max-width: 575.98px) {
  body:has(.site-home__cta-bar) .site-fabs,
  body:has(.product-page .cta-bar) .site-fabs {
    bottom: 7.75rem;
  }
}

.site-error {
  max-width: 40rem;
  margin: 3rem auto;
  padding: 0 1.25rem 3rem;
}

.site-error__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted, #6b7280);
}

.site-error h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.site-error__links {
  margin: 1.25rem 0 0;
  padding-left: 1.25rem;
}

.site-error__links a {
  color: var(--color-brand, #0d6efd);
}
