/* Product/bridge/routing/tactical page refinements on top of warm theme */

body.tactical-page .content,
body.tactical-page .content :is(p, ul, ol, li, h1, h2, h3) {
  text-align: center;
}

body.warm-theme .product-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: 0.02em;
  text-transform: none;
}

body.warm-theme .content,
body.warm-theme .content :is(p, ul, ol, li, h1, h2, h3, h4, h5, h6) {
  text-align: center;
  color: var(--dc-text);
}

body.warm-theme .products-stack {
  width: min(880px, 100%);
}

body.warm-theme .product-entry,
body.warm-theme .download-card,
body.warm-theme .sumup-checkout {
  background: transparent;
  border: none;
  box-shadow: var(--dc-shadow);
}

body.warm-theme .products-stack a[href^="/products/"],
body.warm-theme .products-stack a[href^="/bridges/"],
body.warm-theme .product-entry a[href^="/products/"],
body.warm-theme .product-entry a[href^="/bridges/"],
body.warm-theme.product-page .content a[href^="/products/"],
body.warm-theme.product-page .content a[href^="/bridges/"] {
  background: transparent;
  border: 1px solid #2f4f6f;
  color: #2f4f6f;
  box-shadow: none;
}

body.warm-theme .sumup-checkout :is(
  .sumup-checkout__title,
  .sumup-checkout__description,
  .sumup-checkout__amount,
  .sumup-checkout__email,
  .sumup-checkout__status,
  .sumup-checkout__summary-list,
  .sumup-checkout__summary-refunds,
  .sumup-checkout__terms
) {
  color: var(--dc-text);
}

body.warm-theme .sumup-checkout__amount-input,
body.warm-theme .sumup-checkout__email-field {
  background: #fff;
  border: 1px solid var(--dc-stroke);
  color: var(--dc-text);
}

/* Keep centered lists visually centered but marker-aligned */
body.warm-theme .content :is(ul, ol) {
  width: fit-content;
  max-width: min(720px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.4rem;
  list-style-position: outside;
  text-align: left;
}

body.warm-theme .content :is(ul, ol) li {
  text-align: left;
}


/* Compact reusable purchase FAQ */
.sales-faq-link {
  margin-top: 0.35rem;
  color: inherit;
  text-align: left;
}

.sales-faq-link__button {
  appearance: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 0;
}

.sales-faq-link__button:hover,
.sales-faq-link__button:focus-visible {
  color: var(--dc-accent, #2f4f6f);
  outline: none;
}

.sales-faq-modal[hidden] {
  display: none;
}

.sales-faq-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(16px, 4vw, 40px);
}

.sales-faq-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 11, 20, 0.78);
  backdrop-filter: blur(8px);
}

.sales-faq-modal__panel {
  position: relative;
  width: min(100%, 760px);
  max-height: min(86vh, 860px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background: #171827;
  color: #f7f0df;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.sales-faq-modal__header {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 24px 64px 18px 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(23, 24, 39, 0.94);
  backdrop-filter: blur(10px);
}

.sales-faq-modal__eyebrow {
  margin: 0 0 4px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.68;
}

.sales-faq-modal__header h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.35rem);
}

.sales-faq-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.sales-faq-modal__close:hover,
.sales-faq-modal__close:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.sales-faq-modal__body {
  padding: 8px 26px 28px;
}

.sales-faq-modal__section {
  padding-top: 22px;
}

.sales-faq-modal__section + .sales-faq-modal__section {
  margin-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sales-faq-modal__section h3 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 3vw, 1.7rem);
}

.sales-faq-modal__section h4 {
  margin: 20px 0 6px;
  font-size: 1rem;
}

.sales-faq-modal__section p strong {
  display: block;
  margin-top: 20px;
  color: #f7f0df;
}

.sales-faq-modal__section p {
  margin: 0;
  color: rgba(247, 240, 223, 0.82);
  line-height: 1.65;
}

.sales-faq-modal__section p + p {
  margin-top: 6px;
}

body.sales-faq-is-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .sales-faq-modal {
    padding: 10px;
  }

  .sales-faq-modal__panel {
    max-height: 92vh;
    border-radius: 20px;
  }

  .sales-faq-modal__header {
    padding: 20px 58px 16px 20px;
  }

  .sales-faq-modal__body {
    padding: 4px 20px 24px;
  }
}

body.warm-theme .content .sales-faq-modal,
body.warm-theme .content .sales-faq-modal :is(h2, h3, h4, p, button) {
  color: #f7f0df;
}

body.warm-theme .content .sales-faq-modal__section p {
  color: rgba(247, 240, 223, 0.82);
}
