.payment-guide {
  padding-block: clamp(4rem, 8vw, 7rem);
  background-color: var(--color-surface-default);
  color: var(--color-text-default);
}

.payment-guide__inner {
  width: min(
    calc(100% - var(--layout-page-gutter) - var(--layout-page-gutter)),
    var(--layout-content-max-width)
  );
  margin-inline: auto;
}

.payment-guide__header,
.payment-guide__section-header {
  display: grid;
  align-items: start;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .payment-guide__header {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.82fr);
    gap: clamp(3rem, 8vw, 7rem);
  }
}

@media (min-width: 900px) {
  .payment-guide__section-header {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.82fr);
    gap: clamp(3rem, 8vw, 7rem);
  }
}

@media (min-width: 900px) {
  .payment-guide__section-header--single {
    display: block;
  }
}

.payment-guide__heading-group {
  min-width: 0;
}

.payment-guide__eyebrow,
.payment-guide__featured-eyebrow,
.payment-guide__real-time-eyebrow {
  margin: 0 0 0.75rem;
  color: var(--color-interactive);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.payment-guide__title,
.payment-guide__section-title,
.payment-guide__featured-title,
.payment-guide__real-time-title {
  margin: 0;
  color: var(--color-text-heading);
  font-weight: 500;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.payment-guide__title {
  max-width: 20ch;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  line-height: 1.04;
}

.payment-guide__intro,
.payment-guide__section-intro {
  max-width: 58ch;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-wrap: pretty;
}

@media (min-width: 600px) {
  .payment-guide__intro {
    font-size: 1rem;
  }
}

@media (min-width: 600px) {
  .payment-guide__section-intro {
    font-size: 1rem;
  }
}

.payment-guide__featured {
  position: relative;
  display: grid;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 0;
  border-radius: min(5vw, 1.5rem);
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
  background:
    linear-gradient(150deg, rgb(255 255 255 / 34%), transparent 55%),
    var(--color-surface-glass);
  box-shadow:
    0 1.5rem 4rem var(--color-shadow-card),
    inset 0 1px 0 var(--color-border-overlay);
  gap: 2rem;
  scroll-margin-top: 9rem;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .payment-guide__featured {
    -webkit-backdrop-filter: blur(1.25rem) saturate(150%);
    backdrop-filter: blur(1.25rem) saturate(150%);
  }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .payment-guide__featured {
    background: var(--color-surface-raised);
  }
}

html[data-resolved-theme="dark"] .payment-guide__featured {
  border: 1px solid var(--color-border-default);
  background: var(--color-surface-raised);
  box-shadow: none;
}

@media (min-width: 900px) {
  .payment-guide__featured--with-facts {
    align-items: center;
    grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.8fr);
    gap: clamp(3rem, 7vw, 6rem);
  }
}

.payment-guide__featured-copy {
  min-width: 0;
}

.payment-guide__featured-title {
  max-width: 22ch;
  font-size: clamp(1.875rem, 5vw, 2.75rem);
  line-height: 1.08;
}

.payment-guide__featured-body {
  max-width: 60ch;
  margin: 1rem 0 0;
  color: var(--color-text-default);
  font-size: 1rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.payment-guide__featured-actions {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.payment-guide__featured-cta {
  color: var(--color-text-on-action);
  gap: 0.5rem;
}

.payment-guide__facts {
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--color-border-interactive);
  margin: 0;
}

@media (min-width: 900px) {
  .payment-guide__facts {
    padding: 0 0 0 clamp(2rem, 4vw, 3.5rem);
    border-top: 0;
    border-left: 1px solid var(--color-border-interactive);
  }
}

.payment-guide__fact {
  display: grid;
  padding-block: 1rem;
  border-top: 1px solid var(--color-border-default);
  gap: 0.25rem;
}

.payment-guide__fact:first-child {
  padding-top: 0;
  border-top: 0;
}

.payment-guide__fact:last-child {
  padding-bottom: 0;
}

.payment-guide__fact dt {
  color: var(--color-text-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
}

.payment-guide__fact dd {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.5;
}

@media (min-width: 600px) {
  .payment-guide__fact dd {
    font-size: 0.9375rem;
  }
}

.payment-guide__channels,
.payment-guide__programs {
  padding-top: clamp(4rem, 8vw, 7rem);
  scroll-margin-top: 9rem;
}

.payment-guide__section-media {
  aspect-ratio: 4 / 3;
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
  border-radius: min(5vw, 1.5rem);
  background-color: var(--color-surface-media);
}

@media (min-width: 600px) {
  .payment-guide__section-media {
    aspect-ratio: 16 / 7;
  }
}

@media (min-width: 900px) {
  .payment-guide__section-media {
    aspect-ratio: 16 / 6;
  }
}

.payment-guide__section-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.payment-guide__section-image--left {
  object-position: left center;
}

.payment-guide__section-image--right {
  object-position: right center;
}

.payment-guide__section-title {
  max-width: 24ch;
  font-size: clamp(1.875rem, 4.5vw, 2.75rem);
  line-height: 1.08;
}

.payment-guide__channel-list {
  display: grid;
  padding: 0;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
  list-style: none;
}

@media (min-width: 600px) {
  .payment-guide__channel-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.payment-guide__channel-item {
  min-width: 0;
}

@media (min-width: 600px) {
  .payment-guide__channel-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

.payment-channel {
  position: relative;
  display: flex;
  height: 100%;
  min-height: 20rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: min(5vw, 1.5rem);
  background:
    linear-gradient(145deg, rgb(255 255 255 / 58%), transparent 58%),
    var(--color-surface-glass);
  box-shadow:
    0 1.25rem 3.25rem var(--color-shadow-card),
    inset 0 1px 0 var(--color-border-overlay);
  flex-direction: column;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .payment-channel {
    -webkit-backdrop-filter: blur(1.125rem) saturate(150%);
    backdrop-filter: blur(1.125rem) saturate(150%);
  }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .payment-channel {
    background: var(--color-surface-raised);
  }
}

html[data-resolved-theme="dark"] .payment-channel {
  border-color: var(--color-border-default);
  background: var(--color-surface-raised);
  box-shadow: none;
}

.payment-channel__meta {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: auto;
  gap: 1rem;
}

.payment-channel__number {
  margin: 0;
  color: var(--color-text-subtle);
  font-size: 2rem;
  font-variant-numeric: tabular-nums;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
}

.payment-channel__icon {
  width: 2rem;
  height: 2rem;
  color: var(--color-interactive);
  fill: none;
  flex: 0 0 2rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.payment-channel__title,
.payment-program__title {
  margin: 2rem 0 0;
  color: var(--color-text-heading);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
}

.payment-channel__body,
.payment-program__body {
  margin: 0.75rem 0 0;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.payment-channel__detail {
  padding-top: 1rem;
  border-top: 0;
  margin: 1.25rem 0 1.5rem;
  background-image: linear-gradient(
    90deg,
    var(--color-border-interactive),
    transparent 92%
  );
  background-position: top left;
  background-repeat: no-repeat;
  background-size: 100% 1px;
  color: var(--color-text-default);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-wrap: pretty;
}

@media (min-width: 600px) {
  .payment-channel__detail {
    font-size: 0.9375rem;
  }
}

.payment-channel__link,
.payment-program__link,
.payment-guide__real-time-link {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  margin-top: 1.25rem;
  gap: 0.5rem;
}

.payment-channel__link {
  margin-top: auto;
}

.payment-guide__secondary-button[hidden] {
  display: none;
}

.payment-guide__checklist {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 0;
  border-radius: min(5vw, 1.5rem);
  margin-top: clamp(3rem, 6vw, 5rem);
  background:
    linear-gradient(150deg, rgb(255 255 255 / 34%), transparent 55%),
    var(--color-surface-glass);
  box-shadow:
    0 1.5rem 4rem var(--color-shadow-card),
    inset 0 1px 0 var(--color-border-overlay);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .payment-guide__checklist {
    -webkit-backdrop-filter: blur(1.25rem) saturate(150%);
    backdrop-filter: blur(1.25rem) saturate(150%);
  }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .payment-guide__checklist {
    background: var(--color-surface-raised);
  }
}

html[data-resolved-theme="dark"] .payment-guide__checklist {
  border: 1px solid var(--color-border-default);
  background: var(--color-surface-raised);
  box-shadow: none;
}

@media (min-width: 900px) {
  .payment-guide__checklist {
    display: grid;
    align-items: start;
    grid-template-columns: minmax(12rem, 0.6fr) minmax(0, 1.4fr);
    gap: clamp(3rem, 7vw, 6rem);
  }
}

.payment-guide__checklist-title {
  max-width: 15ch;
  margin: 0;
  color: var(--color-text-heading);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.12;
  text-wrap: balance;
}

.payment-guide__checklist-items {
  display: grid;
  padding: 0;
  margin: 1.5rem 0 0;
  gap: 1rem;
  list-style: none;
}

@media (min-width: 600px) {
  .payment-guide__checklist-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .payment-guide__checklist-items {
    margin-top: 0;
  }
}

.payment-guide__checklist-items li {
  display: grid;
  min-width: 0;
  align-items: start;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-default);
  gap: 0.75rem;
  grid-template-columns: 1.75rem minmax(0, 1fr);
}

.payment-guide__checklist-items span {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--color-border-interactive);
  border-radius: 50%;
  color: var(--color-interactive);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  line-height: 1;
  place-items: center;
}

.payment-guide__checklist-items p {
  margin: 0;
  color: var(--color-text-default);
  font-size: 1rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.payment-guide__programs {
  border-top: 1px solid var(--color-border-default);
  margin-top: clamp(4rem, 8vw, 7rem);
}

.payment-guide__program-list {
  display: grid;
  padding: 0;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  gap: 0 2rem;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 600px) {
  .payment-guide__program-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.payment-program {
  min-width: 0;
  padding-block: 1.75rem;
  border-top: 1px solid var(--color-border-default);
}

.payment-program dt,
.payment-program dd {
  margin: 0;
}

.payment-program__heading {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 0.75rem;
}

.payment-program__icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--color-interactive);
  fill: none;
  flex: 0 0 1.5rem;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.payment-program__title {
  margin-top: 0;
}

.payment-guide__real-time {
  display: grid;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 0;
  border-radius: min(5vw, 1.5rem);
  margin-top: clamp(3rem, 6vw, 5rem);
  background:
    linear-gradient(150deg, rgb(255 255 255 / 34%), transparent 55%),
    var(--color-surface-glass);
  box-shadow:
    0 1.5rem 4rem var(--color-shadow-card),
    inset 0 1px 0 var(--color-border-overlay);
  gap: 1.5rem;
  scroll-margin-top: 9rem;
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .payment-guide__real-time {
    -webkit-backdrop-filter: blur(1.25rem) saturate(150%);
    backdrop-filter: blur(1.25rem) saturate(150%);
  }
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .payment-guide__real-time {
    background: var(--color-surface-raised);
  }
}

html[data-resolved-theme="dark"] .payment-guide__real-time {
  border: 1px solid var(--color-border-default);
  background: var(--color-surface-raised);
  box-shadow: none;
}

@media (min-width: 900px) {
  .payment-guide__real-time {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.82fr);
    gap: clamp(3rem, 8vw, 7rem);
  }
}

.payment-guide__real-time-title {
  max-width: 22ch;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.1;
}

.payment-guide__real-time-copy {
  min-width: 0;
}

.payment-guide__real-time-copy p {
  margin: 0;
  color: var(--color-text-default);
  font-size: 1rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.payment-guide__note {
  max-width: 82ch;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border-default);
  margin: 2rem 0 0;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.55;
  text-wrap: pretty;
}

@media (min-width: 600px) {
  .payment-guide__note {
    font-size: 0.875rem;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .payment-guide__featured {
    background: var(--color-surface-raised);
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .payment-guide__real-time {
    background: var(--color-surface-raised);
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .payment-guide__checklist {
    background: var(--color-surface-raised);
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .payment-channel {
    border-color: var(--color-border-default);
    background: var(--color-surface-raised);
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (forced-colors: active) {
  .payment-channel {
    border-color: CanvasText;
    background: Canvas;
    box-shadow: none;
  }
}

.payment-guide :is(
  .payment-guide__featured-cta,
  .payment-guide__featured-secondary,
  .payment-channel__link,
  .payment-program__link,
  .payment-guide__real-time-link
):focus-visible {
  outline: 3px solid var(--color-focus-ring);
  outline-offset: 3px;
}
