/* A compact guide, with detail available only when it is useful. */
.how-to {
  padding-block: 78px 70px;
}

.how-to-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}

.how-to-header h2 {
  font-size: clamp(32px, 3.3vw, 44px);
  line-height: 1.15;
  letter-spacing: -1.9px;
}

.how-to-header p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.how-to-tabs {
  display: inline-flex;
  flex-shrink: 0;
  gap: 4px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 100px;
}

.how-to-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 22px;
  border: 0;
  border-radius: 100px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.how-to-tabs button[aria-selected="true"] {
  background: var(--blue);
  color: var(--white);
}

.how-to-tabs button:hover:not([aria-selected="true"]) {
  background: var(--pale);
  color: var(--blue);
}

.how-to-tabs .icon {
  width: 19px;
  height: 19px;
}

.how-to-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.how-to-step {
  min-width: 0;
  padding-inline: 30px;
}

.how-to-step:first-child {
  padding-left: 0;
}

.how-to-step:last-child {
  padding-right: 0;
}

.how-to-step + .how-to-step {
  border-left: 1px solid var(--line);
}

.how-to-step-top {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 28px;
  margin-bottom: 17px;
  color: var(--blue);
}

.how-to-number {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

.how-to-step-top .icon {
  width: 24px;
  height: 24px;
}

.how-to-step h4 {
  margin: 0;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -.55px;
  font-weight: 650;
  text-wrap: balance;
}

.how-to-step > p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.how-to-step-note {
  display: inline-block;
  margin-top: 10px;
  color: var(--blue);
  font-size: 10px;
  line-height: 1.6;
  font-weight: 700;
}

.how-to-help {
  margin-top: 13px;
}

.how-to-help > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 44px;
  padding-block: 10px;
  color: var(--blue);
  font-size: 12px;
  line-height: 1.6;
  font-weight: 750;
  list-style: none;
  cursor: pointer;
}

.how-to-help > summary::-webkit-details-marker {
  display: none;
}

.how-to-help > summary:hover {
  color: var(--blue-hover);
}

.how-to-plus {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
}

.how-to-plus::before,
.how-to-plus::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 3px;
  width: 12px;
  height: 1.5px;
  background: currentColor;
}

.how-to-plus::after {
  transform: rotate(90deg);
}

.how-to-help[open] .how-to-plus::after {
  transform: rotate(0);
}

.how-to-detail {
  padding: 11px 0 2px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.how-to-detail p + p {
  margin-top: 10px;
}

.how-to-detail p a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.how-to-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  margin-top: 5px;
  color: var(--blue);
  font-size: 12px;
  line-height: 1.6;
  font-weight: 750;
}

.how-to-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.how-to-link .icon {
  width: 17px;
  height: 17px;
}

.how-to-wallets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 17px;
  margin-block: 15px 8px;
}

.how-to-wallets img {
  max-width: 95px;
  max-height: 25px;
  object-fit: contain;
}

.how-to-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

.how-to-footer p {
  max-width: 750px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}

.how-to-footer p a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.how-to-footer > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.how-to-footer > a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.how-to-footer > a .icon {
  width: 18px;
  height: 18px;
}

.acceptance {
  margin-top: 22px;
  padding: 24px 28px;
  border: 1px solid #e4e9f3;
  border-radius: 16px;
  background: #f7f9fe;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.acceptance-content {
  min-width: 0;
  max-width: 1040px;
}

.acceptance-content > p strong {
  color: var(--navy);
  font-weight: 750;
}

.acceptance-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 30px;
  margin-top: 12px;
}

.acceptance a {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: #aab8ec;
  text-underline-offset: 4px;
}

.acceptance a:hover {
  color: var(--blue-hover);
  text-decoration-color: currentColor;
}

.acceptance-terms {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  font-weight: 700;
}

.acceptance-terms > span {
  flex: none;
}

.acceptance .category-note {
  margin: 0;
}

.how-to:not(.is-enhanced) .how-to-panel > h3 {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
  margin-bottom: 24px;
  font-size: 23px;
  line-height: 1.4;
  letter-spacing: -.6px;
}

.how-to:not(.is-enhanced) .how-to-panel + .how-to-panel {
  margin-top: 42px;
}

@media (prefers-reduced-motion: no-preference) {
  .how-to-panel.is-entering {
    animation: how-to-panel-enter 220ms ease-out both;
  }

  @keyframes how-to-panel-enter {
    from { opacity: 0; }
    to { opacity: 1; }
  }
}

@media (max-width: 1000px) {
  .how-to { padding-block: 65px 58px; }
  .how-to-header { align-items: flex-start; gap: 25px; }
  .how-to-header h2 { font-size: 35px; letter-spacing: -1.5px; }
  .how-to-header p { font-size: 13px; }
  .how-to-tabs button { padding-inline: 16px; font-size: 12px; }
  .how-to-step { padding-inline: 22px; }
  .how-to-step h4 { font-size: 19px; }
  .how-to-step > p { font-size: 12px; }
}

@media (max-width: 800px) {
  .how-to-header { flex-direction: column; gap: 24px; }
  .how-to-step { padding-inline: 18px; }
  .how-to-step h4 { font-size: 18px; }
}

@media (max-width: 700px) {
  .how-to { padding-block: 56px 48px; }
  .how-to-header { gap: 22px; margin-bottom: 27px; }
  .how-to-header h2 { font-size: 35px; letter-spacing: -1.6px; }
  .how-to-header p { margin-top: 10px; font-size: 13px; }
  .how-to-tabs { width: 100%; max-width: 420px; }
  .how-to-tabs button { flex: 1; padding-inline: 15px; }
  .how-to-steps { grid-template-columns: 1fr; }
  .how-to-step,
  .how-to-step:first-child,
  .how-to-step:last-child { padding: 25px 0; }
  .how-to-step:first-child { padding-top: 0; }
  .how-to-step:last-child { padding-bottom: 0; }
  .how-to-step + .how-to-step { border-left: 0; border-top: 1px solid var(--line); }
  .how-to-step-top { gap: 12px; margin-bottom: 12px; }
  .how-to-step h4 { font-size: 22px; letter-spacing: -.6px; }
  .how-to-step > p { margin-top: 8px; font-size: 14px; }
  .how-to-help { margin-top: 8px; }
  .how-to-help > summary { font-size: 13px; }
  .how-to-detail { font-size: 13px; }
  .how-to-wallets { gap: 16px 22px; }
  .how-to-footer { align-items: flex-start; flex-direction: column; gap: 3px; margin-top: 26px; padding-top: 18px; }
  .how-to-footer p { font-size: 10px; }
  .acceptance { margin-top: 18px; padding: 20px 18px; border-radius: 12px; }
  .acceptance-links { align-items: flex-start; flex-direction: column; gap: 6px; margin-top: 9px; }
  .acceptance-terms { padding-block: 6px; }
}

@media (max-width: 370px) {
  .how-to-header h2 { font-size: 31px; }
  .how-to-tabs button { gap: 7px; padding-inline: 11px; font-size: 11px; }
  .how-to-tabs .icon { width: 17px; height: 17px; }
  .how-to-step h4 { font-size: 20px; }
}

@media print {
  .how-to { padding-block: 25px; }
  .how-to-tabs { display: none !important; }
  .how-to-panel,
  .how-to-panel[hidden] { display: block !important; opacity: 1; animation: none; }
  .how-to-panel + .how-to-panel { margin-top: 28px; }
  .how-to .how-to-panel > h3 {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
    margin-bottom: 18px;
    font-size: 20px;
  }
  .how-to-steps { display: block; }
  .how-to-step,
  .how-to-step:first-child,
  .how-to-step:last-child { padding: 14px 0; border: 0; break-inside: avoid; }
  .how-to-step-top { margin-bottom: 8px; }
  .how-to-help > summary { display: none; }
  .how-to-help::details-content { display: contents; }
  .how-to-help > .how-to-detail { display: block !important; border: 0; padding-top: 0; }
  .how-to-footer { display: block; }
  .acceptance { background: none; break-inside: avoid; }
}
/* Product guide refinement: readable groups instead of competing boxed grids. */
@media screen {
  .product-page .merchant-places { max-width:1120px; margin-block:100px 0; padding-block:0; border:0; }
  .product-page .merchant-places-header { display:block; margin-bottom:48px; }
  .product-page .merchant-heading h2 { font-size:clamp(32px,3.3vw,44px); max-width:760px; }
  .product-page .merchant-intro { margin-top:20px; max-width:62ch; font-size:16px; line-height:1.8; }
  .product-page .merchant-place-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:40px 72px; border:0; }
  .product-page .merchant-place-grid > li:nth-child(n) { display:flex; padding:0; border:0; gap:20px; }
  .product-page .merchant-place-grid .merchant-place-icon { width:32px; height:32px; margin:2px 0 0; }
  .product-page .merchant-place-copy h3 { font-size:21px; line-height:1.4; }
  .product-page .merchant-place-copy p { margin-top:8px; max-width:36ch; font-size:15px; }
  .product-page .merchant-note { margin-top:40px; font-size:15px; }
  .product-page .merchant-qualification { max-width:76ch; margin-top:28px; font-size:13px; }
  .product-page .merchant-category-detail { margin-top:28px; border:0; border-block:1px solid var(--line); border-radius:0; }
  .product-page .merchant-category-detail summary { min-height:64px; padding:18px 0; font-size:14px; }
  .product-page .merchant-detail-indicator { border:0; margin-inline-start:auto; }
  .product-page .merchant-category-detail > div { margin-inline:0; padding-block:24px; }

  .product-page .how-to { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.35fr); column-gap:80px; row-gap:0; max-width:1120px; padding-block:112px 88px; }
  .product-page .how-to-header { grid-column:1; grid-row:1 / span 2; display:flex; flex-direction:column; align-items:flex-start; justify-content:flex-start; gap:28px; margin:0; }
  .product-page .how-to-header h2 { font-size:clamp(30px,3vw,40px); letter-spacing:-.04em; }
  .product-page .how-to-header p { font-size:15px; max-width:32ch; }
  .product-page .how-to-tabs { max-width:100%; background:var(--pale,#f5f7fc); border:0; padding:5px; }
  .product-page .how-to-tabs button { font-size:13px; padding-inline:16px; }
  .product-page .how-to-tabs .icon { display:none; }
  .product-page .how-to-panel { grid-column:2; min-width:0; }
  .product-page .how-to-panel[hidden] { display:none; }
  .product-page .how-to-steps { grid-template-columns:1fr; gap:32px; }
  .product-page .how-to-step { display:grid; grid-template-columns:32px minmax(0,1fr); column-gap:18px; padding:0; border:0; }
  .product-page .how-to-step > * { grid-column:2; }
  .product-page .how-to-step-top { grid-column:1; grid-row:1 / span 3; align-items:flex-start; padding-top:6px; margin:0; }
  .product-page .how-to-step-top .icon { display:none; }
  .product-page .how-to-number { font-size:12px; }
  .product-page .how-to-step h4 { font-size:22px; text-wrap:initial; }
  .product-page .how-to-step > p { margin-top:8px; font-size:15px; line-height:1.8; }
  .product-page .how-to-help { margin-top:6px; }
  .product-page .how-to-help > summary { justify-content:flex-start; gap:12px; width:fit-content; min-height:44px; font-size:13px; }
  .product-page .how-to-detail { font-size:14px; padding-block:16px 4px; }
  .product-page .how-to-footer { grid-column:1 / -1; margin-top:56px; padding-top:24px; border:0; align-items:center; }
  .product-page .how-to-footer p { font-size:12px; max-width:65ch; }
  .product-page .acceptance { grid-column:1 / -1; margin-top:24px; padding:28px 0 0; border:0; border-top:1px solid var(--line); border-radius:0; background:transparent; font-size:12px; }
  .product-page .acceptance-content { max-width:88ch; }
  .product-page .acceptance-links { gap:8px 28px; margin-top:12px; }
  .product-page .product-faq-section { max-width:1120px; }
}
@media screen and (max-width:950px) {
  .product-page .how-to { column-gap:44px; grid-template-columns:minmax(0,1fr) minmax(0,1.3fr); }
  .product-page .how-to-tabs button { padding-inline:12px; }
  .product-page .merchant-place-grid { column-gap:36px; }
}
@media screen and (max-width:760px) {
  .product-page .merchant-places { margin-top:64px; }
  .product-page .merchant-places-header { margin-bottom:36px; }
  .product-page .merchant-intro { font-size:15px; }
  .product-page .merchant-place-grid { grid-template-columns:1fr; gap:28px; }
  .product-page .merchant-place-copy p { max-width:45ch; }
  .product-page .merchant-note { margin-top:32px; }
  .product-page .how-to { grid-template-columns:1fr; padding-block:72px 56px; }
  .product-page .how-to-header { grid-column:1; grid-row:auto; margin-bottom:40px; gap:24px; }
  .product-page .how-to-header p { max-width:none; }
  .product-page .how-to-tabs { width:auto; }
  .product-page .how-to-tabs button { padding-inline:20px; }
  .product-page .how-to-panel { grid-column:1; }
  .product-page .how-to-step { grid-template-columns:24px minmax(0,1fr); column-gap:14px; }
  .product-page .how-to-step h4 { font-size:21px; }
  .product-page .how-to-footer { margin-top:40px; align-items:flex-start; gap:16px; }
}

/* MCCs sit beside category names without competing with the headings. */
.product-page .merchant-place-copy .merchant-mcc { display:inline-block; color:var(--muted); font-size:13px; font-weight:500; line-height:1.6; letter-spacing:0; vertical-align:baseline; }

.merchant-list-trigger { width:fit-content; border:0; background:none; padding:0; cursor:pointer; text-align:start; }
.merchant-list-trigger:focus-visible,.merchant-dialog-close:focus-visible { outline:3px solid var(--blue); outline-offset:4px; }
html.merchant-dialog-open { overflow:hidden; }
.merchant-list-dialog { position:fixed; inset:0; margin:auto; width:min(600px,calc(100% - 40px)); max-height:calc(100dvh - 48px); padding:32px; border:1px solid var(--line); border-radius:20px; background:var(--white,#fff); color:var(--navy); overflow-y:auto; overscroll-behavior:contain; box-shadow:0 24px 90px #101a3d26; }
.merchant-list-dialog::backdrop { background:rgb(10 18 46 / .45); }
.merchant-dialog-header { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.merchant-dialog-header h2 { font-size:28px; line-height:1.2; letter-spacing:-.035em; }
.merchant-dialog-close { flex:none; display:grid; place-items:center; width:44px; height:44px; border:0; border-radius:50%; background:var(--pale,#f4f6fc); color:var(--navy); font-size:28px; cursor:pointer; }
.merchant-list-dialog > p { margin-top:20px; font-size:14px; line-height:1.8; color:var(--muted); }
.merchant-list-dialog > ul { list-style:none; margin:24px 0 0; padding:0; }
.merchant-list-dialog > ul > li { padding:15px 0; border-top:1px solid var(--line); font-size:15px; line-height:1.65; }
.merchant-list-dialog > ul span { color:var(--muted); font-size:13px; }
.merchant-list-dialog .merchant-note { font-size:13px; }
@media(max-width:600px) { .merchant-list-dialog { padding:24px; } .merchant-dialog-header h2 { font-size:25px; } }

/* Preserve the lightweight standalone acceptance link when enhanced to a button. */
.acceptance .merchant-list-trigger { color:var(--blue); font:inherit; text-decoration:underline; text-underline-offset:4px; min-height:44px; }
