/* ============================================
   Churn Solution — Recurpay (Shopify) integration
   Page styles, on top of style.css
   ============================================ */
/* Screenshots */
:is(#root, #root-end) .shot {
  position: relative;
  background: var(--ink-100);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  padding: 24px;
  aspect-ratio: 16 / 10;
}
:is(#root, #root-end) .shot::before {
  content: "";
  position: absolute;
  inset: 16px;
  background-color: var(--img-bg);
  border-radius: var(--r-xs);
}
:is(#root, #root-end) .shot img {
  max-width: 100%;
  max-height: 100%;
  margin-inline: auto;
  display: block;
  position: relative;
  z-index: 10;
}
:is(#root, #root-end) .shot img[src$=".svg"] {
  width: 100%;
  height: 100%;
}
/* Empty IMAGES slot: a labelled box until the real screenshot is uploaded. */
:is(#root, #root-end) .shot-placeholder {
  position: relative;
  z-index: 10;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  color: var(--ink-400);
  background: var(--ink-50);
  border: 1px dashed var(--ink-300);
  border-radius: var(--r-sm);
}

/* Visually hidden, still read by screen readers */
:is(#root, #root-end) .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   ONLY PROVIDER
   ============================================ */
:is(#root, #root-end) .only-provider {
  background: var(--violet-800);
}
:is(#root, #root-end) .only-provider .split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: 72px;
}
:is(#root, #root-end) .only-provider .eyebrow {
  color: var(--gold-400);
}
:is(#root, #root-end) .only-provider h2 {
  color: var(--paper);
}
:is(#root, #root-end) .only-provider .split-copy > p {
  color: var(--violet-200);
}
:is(#root, #root-end) .only-provider .checks li {
  font-weight: 500;
  color: var(--paper);
}
:is(#root, #root-end) .only-provider .checks svg {
  color: var(--gold-400);
}
:is(#root, #root-end) .only-provider .btn {
  margin-top: 4px;
}
:is(#root, #root-end) .provider-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  padding: 28px 30px;
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: var(--sh-lg);
  font-size: 16px;
  table-layout: fixed;
}
:is(#root, #root-end) .provider-table th,
:is(#root, #root-end) .provider-table td {
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid var(--ink-200);
  background: transparent;
  text-align: center;
  vertical-align: middle;
}
:is(#root, #root-end) .provider-table tr:last-child > * {
  border-bottom: 0;
}
:is(#root, #root-end) .provider-table thead th {
  padding: 0 0 14px;
  border-bottom: 2px solid var(--violet-800);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--violet-800);
}
:is(#root, #root-end) .provider-table thead th:first-child {
  width: 44%;
}
:is(#root, #root-end) .provider-table thead th:last-child {
  color: var(--ink-600);
}
:is(#root, #root-end) .provider-table th:first-child {
  padding-right: 12px;
  text-align: left;
}
:is(#root, #root-end) .provider-table tbody th {
  font-weight: 600;
  color: var(--violet-800);
}
:is(#root, #root-end) .provider-table td svg {
  display: block;
  margin: 0 auto;
}
:is(#root, #root-end) .provider-table td.is-yes {
  color: #1b8a45;
}
:is(#root, #root-end) .provider-table td.is-no {
  color: var(--ink-400);
}

/* ============================================
   OFFERS
   ============================================ */
:is(#root, #root-end) .offers {
  display: grid;
  grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
:is(#root, #root-end) .offers-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
:is(#root, #root-end) .offers-copy p {
  font-size: 16.5px;
  color: var(--ink-600);
  text-wrap: pretty;
}
:is(#root, #root-end) .offer-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  font-size: 15.5px;
}
:is(#root, #root-end) .offer-table th,
:is(#root, #root-end) .offer-table td {
  padding: 17px 24px;
  text-align: left;
  vertical-align: top;
  border: 0;
  border-bottom: 1px solid var(--ink-200);
  background: var(--paper);
}
:is(#root, #root-end) .offer-table tr:last-child > * {
  border-bottom: 0;
}
:is(#root, #root-end) .offer-table thead th {
  background: var(--violet-800);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
:is(#root, #root-end) .offer-table tbody th {
  width: 40%;
  font-weight: 600;
  color: var(--violet-800);
}
:is(#root, #root-end) .offer-table td {
  color: var(--ink-600);
}

/* ============================================
   GUARANTEE
   ============================================ */
:is(#root, #root-end) .guarantee {
  padding-top: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1080px) {
  :is(#root, #root-end) .only-provider .split,
  :is(#root, #root-end) .offers {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  :is(#root, #root-end) .provider-table {
    max-width: 480px;
  }
}

@media (max-width: 600px) {
  :is(#root, #root-end) .offer-table th,
  :is(#root, #root-end) .offer-table td {
    padding: 14px 16px;
  }
  :is(#root, #root-end) .provider-table {
    padding: 22px 18px;
    font-size: 15px;
  }
  :is(#root, #root-end) .provider-table thead th {
    font-size: 13px;
  }
}
