/* Home pay — neo-brutal (same language as /checkout neo mockup).
   Borders/shadows are HARD neo values so brand-happ soft --bw:0/1.5px cannot flatten the panel. */
.buy {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}
.buy-left {
  padding: 28px 26px;
  background: var(--card, #fff);
  border: 4px solid var(--ink, #0d0a1f);
  border-radius: 28px;
  box-shadow: 10px 10px 0 var(--ink, #0d0a1f);
  display: flex;
  flex-direction: column;
}
.buy-trial {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 3px dashed var(--ink, #0d0a1f);
  border-radius: 18px;
  background: #fff7d6;
  color: var(--ink, #0d0a1f);
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.18s ease;
}
.buy-trial:hover {
  transform: translateY(-2px);
}
.buy-trial b {
  display: block;
  font-family: var(--head);
  font-size: 15px;
}
.buy-trial small {
  font-weight: 700;
  color: #5b5440;
  font-size: 12.5px;
}
.buy-trial > .ic:last-child {
  margin-left: auto;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}
html[data-theme="dark"] .buy-trial {
  background: #2b2410;
  color: #fff7d6;
}
html[data-theme="dark"] .buy-trial small {
  color: #e8dcb0;
}
.buy-perks {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
  margin-bottom: 18px;
}
.buy-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--soft, #f1ecff);
  border: 3px solid var(--ink, #0d0a1f);
  border-radius: 18px;
  padding: 12px 14px;
}
.buy-perks b {
  display: block;
  font-family: var(--head);
  font-size: 15px;
}
.buy-perks small {
  font-weight: 700;
  color: var(--muted, #6b6690);
  font-size: 12.5px;
}
.perk-ico {
  flex: 0 0 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--a1, #ff3d8b), var(--violet, #7b4dff));
  color: #fff;
  border: 3px solid var(--ink, #0d0a1f);
}
.perk-ico .ic {
  width: 22px;
  height: 22px;
}
.buy-intro h3 {
  font-family: var(--head);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.6px;
  margin: 0 0 8px;
}
.buy-intro p {
  margin: 0 0 18px;
  color: var(--muted, #6b6690);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.45;
  max-width: 36ch;
}

.home-pay {
  position: relative;
  font-family: inherit;
  border: 3px solid var(--ink, #0d0a1f);
  border-radius: 26px;
  overflow: hidden;
  background: var(--card, #fff);
  box-shadow: 7px 7px 0 var(--ink, #0d0a1f);
  color: var(--text, #1b1638);
}
.home-pay-top {
  height: 6px;
  background: linear-gradient(90deg, #ff3d8b, #7b4dff 50%, #3dd9ff);
}
.home-pay-head {
  padding: 20px 22px 14px;
  background: var(--soft, #f1ecff);
  border-bottom: 3px solid var(--ink, #0d0a1f);
}
.home-pay-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.home-pay-title {
  margin: 0;
  color: var(--text, #1b1638);
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.8px;
  font-weight: 900;
  font-family: var(--head);
}
.home-pay-sub {
  margin: 6px 0 0;
  color: var(--muted, #6b6690);
  font-size: 13px;
  line-height: 1.4;
  max-width: 34ch;
  font-weight: 700;
}
.home-pay-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 2px solid var(--ink, #0d0a1f);
  background: #7dff8a;
  color: #0d0a1f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.3px;
  white-space: nowrap;
  box-shadow: 3px 3px 0 var(--ink, #0d0a1f);
}
.home-pay-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0d0a1f;
  font-style: normal;
}
.home-pay-amount {
  margin: 0 0 14px;
  font-size: clamp(36px, 4.4vw, 46px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -1.6px;
  color: var(--a1, #ff3d8b);
  font-family: var(--head);
}
.home-pay-plan {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
}
.home-pay-plan button {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  min-height: 52px;
  border: 3px solid var(--ink, #0d0a1f);
  background: var(--card, #fff);
  color: var(--muted, #6b6690);
  border-radius: 14px;
  padding: 8px 4px;
  font: inherit;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s, color 0.15s;
  text-align: center;
  box-shadow: 3px 3px 0 var(--ink, #0d0a1f);
}
.home-pay-plan button span {
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-pay-plan button .t {
  font-size: 10px;
  font-weight: 800;
  line-height: 1.15;
}
.home-pay-plan button .p {
  font-size: 11px;
  font-weight: 900;
  color: var(--text, #1b1638);
  line-height: 1.1;
  font-family: var(--head);
}
.home-pay-plan button:hover {
  transform: translateY(-2px);
}
.home-pay-plan button.is-on,
.home-pay-plan button[aria-pressed="true"] {
  background: linear-gradient(135deg, #ff3d8b, #7b4dff);
  color: #fff;
  border-color: #ff7ab8;
  box-shadow: 0 0 0 2px rgba(255, 61, 139, 0.55), 3px 3px 0 var(--ink, #0d0a1f);
  transform: translateY(-1px);
}
.home-pay-plan button.is-on .t,
.home-pay-plan button.is-on .p,
.home-pay-plan button[aria-pressed="true"] .t,
.home-pay-plan button[aria-pressed="true"] .p {
  color: #fff;
}
.home-pay-plan button.is-on .p,
.home-pay-plan button[aria-pressed="true"] .p {
  color: #ffe4f1;
}
.home-pay-order {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 22px 0;
  padding: 13px 14px;
  border: 3px dashed var(--violet, #7b4dff);
  border-radius: 16px;
  background: var(--soft, #f1ecff);
}
.home-pay-order strong {
  display: block;
  font-size: 14px;
  font-weight: 850;
  color: var(--text, #1b1638);
}
.home-pay-order span {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--muted, #6b6690);
  font-weight: 700;
}
.home-pay-order b {
  margin-left: auto;
  font-size: 22px;
  font-weight: 900;
  color: var(--text, #1b1638);
  white-space: nowrap;
  font-family: var(--head);
}
.home-pay-sec {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 16px 22px 10px;
  color: var(--text, #1b1638);
  font-size: 12px;
  font-weight: 850;
}
.home-pay-sec i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 2px solid var(--ink, #0d0a1f);
  background: var(--a3, #3dd9ff);
  color: #0d0a1f;
  font-style: normal;
  font-size: 10px;
  font-weight: 900;
}
.home-pay-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 0 22px 16px;
}
.home-pay-method {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  border: 3px solid var(--ink, #0d0a1f);
  border-radius: 16px;
  min-height: 58px;
  padding: 11px 13px;
  background: var(--soft, #f1ecff);
  color: var(--text, #1b1638);
  font: inherit;
  cursor: pointer;
  transition: 0.15s;
  box-shadow: 3px 3px 0 var(--ink, #0d0a1f);
}
.home-pay-method strong {
  display: block;
  font-size: 13px;
  font-weight: 900;
}
.home-pay-method span {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--muted, #6b6690);
  font-weight: 650;
}
.home-pay-method em {
  margin-left: auto;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  color: var(--text, #1b1638);
  white-space: nowrap;
  font-family: var(--head);
}
.home-pay-method.is-on,
.home-pay-method[aria-pressed="true"] {
  background: linear-gradient(120deg, rgba(255, 61, 139, 0.22), rgba(123, 77, 255, 0.28));
  border-color: #ff7ab8;
  box-shadow: 0 0 0 2px rgba(255, 61, 139, 0.4), 3px 3px 0 var(--ink, #0d0a1f);
}
.home-pay-method.is-on em,
.home-pay-method[aria-pressed="true"] em {
  color: var(--a1, #ff3d8b);
  font-size: 14px;
  font-weight: 900;
}
.home-pay-body {
  padding: 4px 22px 18px;
  display: grid;
  gap: 12px;
  border-top: 3px solid var(--ink, #0d0a1f);
}
.home-pay-steps {
  margin: 0;
  padding-left: 18px;
  color: var(--muted, #6b6690);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}
.home-pay-steps li {
  margin: 0 0 4px;
}
.home-pay-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 16px;
  border: 3px solid var(--ink, #0d0a1f);
  background: linear-gradient(120deg, #ff3d8b, #7b4dff);
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 5px 5px 0 var(--ink, #0d0a1f);
}
.home-pay-cta:hover {
  transform: translateY(-2px);
}
.home-pay-note {
  margin: 0;
  color: var(--muted, #6b6690);
  font-size: 11px;
  text-align: center;
  font-weight: 700;
}

html[data-theme="dark"] .home-pay {
  background: var(--card, #16122c);
  color: var(--text, #f3efff);
}
html[data-theme="dark"] .home-pay-head {
  background: var(--soft, #221c40);
}
html[data-theme="dark"] .home-pay-plan button:not(.is-on):not([aria-pressed="true"]),
html[data-theme="dark"] .home-pay-method:not(.is-on):not([aria-pressed="true"]) {
  background: var(--soft, #221c40);
  color: var(--text, #f3efff);
}
html[data-theme="dark"] .home-pay-plan button:not(.is-on):not([aria-pressed="true"]) .p,
html[data-theme="dark"] .home-pay-order strong,
html[data-theme="dark"] .home-pay-order b,
html[data-theme="dark"] .home-pay-method:not(.is-on):not([aria-pressed="true"]) em {
  color: var(--text, #f3efff);
}
html[data-theme="dark"] .home-pay-plan button.is-on,
html[data-theme="dark"] .home-pay-plan button[aria-pressed="true"] {
  background: linear-gradient(135deg, #ff3d8b, #7b4dff);
  color: #fff;
  border-color: #ff9ecd;
  box-shadow: 0 0 0 2px rgba(255, 125, 190, 0.55), 3px 3px 0 #05040c;
}
html[data-theme="dark"] .home-pay-plan button.is-on .t,
html[data-theme="dark"] .home-pay-plan button.is-on .p,
html[data-theme="dark"] .home-pay-plan button[aria-pressed="true"] .t,
html[data-theme="dark"] .home-pay-plan button[aria-pressed="true"] .p {
  color: #fff;
}
html[data-theme="dark"] .home-pay-plan button.is-on .p,
html[data-theme="dark"] .home-pay-plan button[aria-pressed="true"] .p {
  color: #ffe4f1;
}
html[data-theme="dark"] .home-pay-method.is-on,
html[data-theme="dark"] .home-pay-method[aria-pressed="true"] {
  background: linear-gradient(120deg, rgba(255, 61, 139, 0.28), rgba(123, 77, 255, 0.34));
  border-color: #ff9ecd;
  color: var(--text, #f3efff);
  box-shadow: 0 0 0 2px rgba(255, 125, 190, 0.4), 3px 3px 0 #05040c;
}
html[data-theme="dark"] .home-pay-method.is-on em,
html[data-theme="dark"] .home-pay-method[aria-pressed="true"] em {
  color: #ff8ec4;
}

@media (max-width: 860px) {
  .buy {
    grid-template-columns: 1fr;
  }
  .buy-left {
    padding: 22px 18px;
  }
  .home-pay-plan {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 420px) {
  .buy-perks {
    grid-template-columns: 1fr;
  }
  .home-pay-plan {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
