/* =========================================================
   Checkout, payment, success, about and legal pages
   ========================================================= */

/* ============ Checkout common ============ */

.checkout-steps {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checkout-steps li {
  position: relative;
  min-width: 120px;
  padding: 14px 20px 0 0;
  border-top: 1px solid var(--line);
}

.checkout-steps li::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d6d1c5;
}

.checkout-steps li.is-active::before {
  background: var(--accent-strong);
  box-shadow: 0 0 0 5px rgba(255, 201, 74, 0.2);
}

.checkout-steps li.is-done::before {
  background: var(--green);
}

.checkout-steps span {
  display: block;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
}

.checkout-steps strong {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.checkout-steps small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
}

.checkout-steps li.is-active strong {
  color: var(--ink);
}

/* ============ Order page ============ */

.order-page {
  padding: 28px 0 72px;
  background: var(--paper);
}

.page-order .breadcrumbs {
  color: var(--muted);
}

.page-order .breadcrumbs [aria-current="page"] {
  color: var(--ink);
}

.order-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
  margin-top: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.order-head h1 {
  max-width: 660px;
  margin-top: 16px;
  font-size: clamp(34px, 3.9vw, 52px);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.055em;
}

.order-head > div > p:last-child {
  max-width: 560px;
  margin-top: 15px;
  color: var(--body);
  font-size: 13px;
  line-height: 1.8;
}

.order-head > div > p strong {
  color: var(--ink);
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 354px;
  align-items: start;
  gap: 26px;
  margin-top: 28px;
}

.order-fields {
  min-width: 0;
}

.form-card {
  margin-bottom: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.form-card__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}

.form-card__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
}

.form-card__head h2 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.form-card__head p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.field--textarea {
  margin-top: 22px;
}

.field__label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #333b4b;
  font-size: 11.5px;
  font-weight: 600;
}

.field__label i {
  color: var(--coral);
  font-size: 9px;
  font-style: normal;
}

.field__label em {
  color: var(--muted);
  font-size: 9px;
  font-style: normal;
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: 0;
  color: var(--ink);
  background: #fcfbf8;
  font-size: 12.5px;
  transition: border-color 0.2s ease, background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.field input,
.field select {
  height: 47px;
  padding: 0 13px;
}

.field textarea {
  min-height: 124px;
  padding: 12px 13px;
  line-height: 1.75;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #aaa79f;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #cfc9bd;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(11, 18, 32, 0.05);
}

.field [aria-invalid="true"] {
  border-color: #d9543d;
  background: #fff8f5;
}

.field__help {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.select-wrap {
  position: relative;
  display: block;
}

.select-wrap select {
  appearance: none;
  padding-right: 38px;
  cursor: pointer;
}

.select-wrap > .icon {
  position: absolute;
  top: 50%;
  right: 13px;
  width: 14px;
  height: 14px;
  color: var(--muted);
  pointer-events: none;
  transform: translateY(-50%);
}

.segmented {
  display: flex;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #f4f1ea;
}

.segmented label {
  flex: 1;
  cursor: pointer;
}

.segmented input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.segmented span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 33px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 10.5px;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.segmented input:checked + span {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 1px 4px rgba(16, 24, 40, 0.08);
  font-weight: 600;
}

.segmented input:focus-visible + span {
  outline: 2px solid rgba(47, 107, 255, 0.5);
}

.option-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.option-card {
  display: block;
  cursor: pointer;
}

.option-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.option-card__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fcfbf8;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.option-card__body strong {
  font-size: 11.5px;
  font-weight: 600;
}

.option-card__body small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.option-card input:checked + .option-card__body {
  border-color: var(--ink);
  background: #f7f4e9;
  box-shadow: inset 0 0 0 1px var(--ink);
}

.option-card input:focus-visible + .option-card__body {
  outline: 2px solid rgba(47, 107, 255, 0.5);
  outline-offset: 2px;
}

.field__counter {
  position: absolute;
  right: 10px;
  bottom: 8px;
  padding: 2px 5px;
  border-radius: 3px;
  color: var(--muted);
  background: #fcfbf8;
  font-family: var(--font-mono);
  font-size: 8px;
  pointer-events: none;
}

.form-card--consent {
  padding: 20px 24px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.consent > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.consent__box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 1px;
  border: 1px solid #bcb5a8;
  border-radius: 4px;
  color: transparent;
  background: #fcfbf8;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.consent__box .icon {
  width: 11px;
  height: 11px;
}

.consent > input:checked + .consent__box {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.consent > input:focus-visible + .consent__box {
  outline: 2px solid rgba(47, 107, 255, 0.5);
  outline-offset: 2px;
}

.consent__text {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.75;
}

.consent__text a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.order-aside {
  position: sticky;
  top: 100px;
}

.summary-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 24px 60px rgba(11, 18, 32, 0.16);
}

.summary-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--product-accent), transparent 78%), transparent 68%);
  pointer-events: none;
}

.summary-card__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.summary-card__head > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.summary-card__head span {
  color: rgba(255, 255, 255, 0.28);
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
}

.summary-card__head strong {
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.summary-card__secure {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.4) !important;
  font-family: var(--font-sans) !important;
  font-size: 8px !important;
  letter-spacing: 0 !important;
  white-space: nowrap;
}

.summary-card__secure .icon {
  width: 10px;
  height: 10px;
  color: #7fe7b0;
}

.summary-product {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-product__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 11px;
  color: var(--product-accent);
  background: var(--product-soft);
}

.summary-product__icon .icon {
  width: 20px;
  height: 20px;
}

.summary-product > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.summary-product strong {
  font-size: 13px;
  font-weight: 600;
}

.summary-product small {
  color: rgba(255, 255, 255, 0.34);
  font-size: 9.5px;
}

.summary-list {
  margin-top: 18px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-list > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
}

.summary-list dt {
  color: rgba(255, 255, 255, 0.32);
  font-size: 9.5px;
}

.summary-list dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 9.5px;
  text-align: right;
}

.summary-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-total > span {
  padding-bottom: 4px;
  color: rgba(255, 255, 255, 0.36);
  font-size: 10px;
}

.summary-total strong {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 31px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.06em;
}

.summary-total strong small {
  margin-left: 2px;
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0;
}

.summary-note {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 8.5px;
}

.summary-note .icon {
  width: 11px;
  height: 11px;
  color: #7fe7b0;
}

.summary-submit {
  margin-top: 20px;
  height: 47px;
  font-size: 12.5px;
}

.summary-submit.is-loading {
  pointer-events: none;
  opacity: 0.82;
}

.btn-spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(11, 18, 32, 0.25);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.is-loading .btn-spinner {
  display: block;
}

.is-loading > .icon {
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.summary-disclaimer {
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.22);
  font-size: 7.5px;
  line-height: 1.6;
  text-align: center;
}

.summary-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.summary-trust li {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.27);
  font-size: 7.5px;
}

.summary-trust .icon {
  width: 10px;
  height: 10px;
  color: rgba(255, 201, 74, 0.6);
}

.order-error {
  margin-top: 14px;
  padding: 9px 11px;
  border: 1px solid rgba(232, 91, 63, 0.45);
  border-radius: 7px;
  color: #ffc7bc;
  background: rgba(232, 91, 63, 0.12);
  font-size: 9.5px;
  line-height: 1.6;
}

.order-support {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.5);
}

.order-support__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 7px;
  color: var(--ink);
  background: var(--paper-2);
}

.order-support__icon .icon {
  width: 14px;
  height: 14px;
}

.order-support strong {
  font-size: 10.5px;
}

.order-support p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
}

.order-footnote {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 8.5px;
}

.order-footnote p {
  display: flex;
  align-items: center;
  gap: 5px;
}

.order-footnote .icon {
  width: 11px;
  height: 11px;
}

.order-footnote a:hover {
  color: var(--ink);
}

/* ============ Payment page ============ */

.pay-page {
  padding: 32px 0 58px;
  background: radial-gradient(circle at 50% 0, #fffdf6 0, var(--paper) 42%), var(--paper);
}

.checkout-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.checkout-top h1 {
  margin-top: 13px;
  font-size: clamp(27px, 3vw, 39px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.checkout-top > div > p:last-child {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11.5px;
}

.checkout-top > div > p strong {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.checkout-steps--compact {
  transform: translateY(6px);
}

.checkout-steps--compact li {
  min-width: 104px;
}

.checkout-steps--compact li.is-done span {
  color: var(--green);
}

.pay-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  align-items: start;
  gap: 20px;
  margin-top: 24px;
}

.pay-main {
  padding: clamp(22px, 3.5vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 20px 60px rgba(16, 24, 40, 0.055);
}

.pay-main__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.pay-method {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pay-method__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  color: #10a65d;
  background: #e8f8ef;
}

.pay-method__logo .icon {
  width: 20px;
  height: 20px;
}

.pay-method > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.pay-method strong {
  font-size: 12px;
  font-weight: 650;
}

.pay-method small {
  color: var(--muted);
  font-size: 8px;
}

.pay-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 8.5px;
}

.pay-status__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 0 4px rgba(255, 201, 74, 0.16);
}

.pay-status.is-paid {
  color: var(--green);
  border-color: rgba(15, 138, 106, 0.24);
  background: #f1fbf7;
}

.pay-status.is-paid .pay-status__dot {
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(15, 138, 106, 0.12);
}

.inline-notice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 16px;
  padding: 11px 13px;
  border-radius: 8px;
  font-size: 9.5px;
  line-height: 1.65;
}

.inline-notice--warn {
  border: 1px solid rgba(183, 121, 31, 0.24);
  color: #6f521b;
  background: #fff9ec;
}

.inline-notice > span {
  padding-top: 1px;
}

.inline-notice .icon {
  width: 14px;
  height: 14px;
}

.inline-notice strong {
  display: block;
  font-size: 10px;
}

.inline-notice p {
  margin-top: 2px;
  opacity: 0.76;
}

.pay-amount {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 0 8px;
  text-align: center;
}

.pay-amount > span {
  color: var(--muted);
  font-size: 10px;
}

.pay-amount strong {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: clamp(35px, 4vw, 49px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.06em;
}

.pay-amount small {
  margin-top: 7px;
  color: var(--muted);
  font-size: 8.5px;
}

.pay-qr-wrap {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 0.88fr);
  align-items: stretch;
  gap: 20px;
  margin-top: 13px;
}

.pay-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fdfcf9;
}

.pay-qr-card__brand {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.pay-qr-card__brand svg {
  width: 28px;
  height: 28px;
}

.pay-qr-card__brand > div {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pay-qr-card__brand strong {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
}

.pay-qr-card__brand small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 5.5px;
  letter-spacing: 0.07em;
}

.pay-qr-card__brand > span {
  margin-left: auto;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
}

.pay-qr {
  position: relative;
  width: min(100%, 236px);
  margin-top: 15px;
  padding: 9px;
  border-radius: 9px;
  background: var(--white);
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
}

.pay-qr::before,
.pay-qr::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--ink);
  border-style: solid;
}

.pay-qr::before {
  top: -3px;
  left: -3px;
  border-width: 2px 0 0 2px;
  border-radius: 4px 0 0;
}

.pay-qr::after {
  right: -3px;
  bottom: -3px;
  border-width: 0 2px 2px 0;
  border-radius: 0 0 4px;
}

.pay-qr img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 3px;
}

.pay-qr__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  aspect-ratio: 1;
  color: var(--muted);
  background: var(--paper);
  font-size: 9px;
}

.pay-qr__fallback .icon {
  width: 28px;
  height: 28px;
}

.pay-qr__badge {
  position: absolute;
  right: 50%;
  bottom: -11px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border: 2px solid var(--white);
  border-radius: 50%;
  color: #0ca45a;
  background: #e8f8ef;
  transform: translateX(50%);
}

.pay-qr__badge .icon {
  width: 13px;
  height: 13px;
}

.pay-qr__hint {
  margin-top: 16px;
  color: var(--ink);
  font-size: 9px;
  font-weight: 550;
  text-align: center;
}

.pay-qr__footer {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 6.5px;
}

.pay-qr__footer span {
  display: flex;
  align-items: center;
  gap: 3px;
}

.pay-qr__footer .icon {
  width: 8px;
  height: 8px;
  color: var(--green);
}

.pay-side-note {
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
}

.pay-side-note h2 {
  margin-top: 14px;
  font-size: 24px;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -0.05em;
}

.pay-side-note > p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--body);
  font-size: 10.5px;
  line-height: 1.8;
}

.pay-side-note ul {
  margin-top: 17px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}

.pay-side-note li {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 0;
  color: var(--muted);
  font-size: 9px;
}

.pay-side-note li .icon {
  width: 11px;
  height: 11px;
  color: var(--green);
}

.mock-pay {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
  padding: 13px 15px;
  border: 1px dashed #d6b45d;
  border-radius: 9px;
  background: #fffaf0;
}

.mock-pay__label {
  flex: 0 0 auto;
  color: #7b5a10;
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.04em;
}

.mock-pay__label span {
  display: inline-block;
  margin-right: 4px;
  padding: 1px 4px;
  border-radius: 2px;
  color: var(--white);
  background: #b98b1e;
  font-size: 6px;
}

.mock-pay p {
  flex: 1;
  color: #7b642d;
  font-size: 8.5px;
  line-height: 1.6;
}

.mock-pay .btn {
  flex: 0 0 auto;
  height: 38px;
  padding: 0 14px;
  font-size: 10px;
}

.pay-actions {
  display: flex;
  gap: 9px;
  margin-top: 22px;
}

.pay-actions .btn {
  height: 46px;
  font-size: 12px;
}

.pay-actions .btn--accent {
  flex: 1;
}

.pay-actions .btn--ghost {
  color: var(--muted);
}

.pay-tip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 8px;
  text-align: center;
}

.pay-tip .icon {
  width: 11px;
  height: 11px;
}

.pay-tip.is-warn {
  color: #a05e14;
}

.pay-summary {
  position: sticky;
  top: 100px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
  box-shadow: 0 24px 60px rgba(11, 18, 32, 0.16);
}

.pay-summary__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.pay-summary__head > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pay-summary__head span {
  color: rgba(255, 255, 255, 0.27);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.pay-summary__head strong {
  font-size: 16px;
  font-weight: 650;
}

.pay-countdown {
  color: var(--accent) !important;
  font-family: var(--font-mono);
  font-size: 12px !important;
  letter-spacing: 0.02em !important;
}

.pay-countdown.is-expired {
  color: #ff9b87 !important;
}

.pay-summary__product {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pay-summary__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 9px;
}

.pay-summary__icon .icon {
  width: 18px;
  height: 18px;
}

.pay-summary__product > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pay-summary__product strong {
  font-size: 12px;
  font-weight: 600;
}

.pay-summary__product small {
  color: rgba(255, 255, 255, 0.32);
  font-size: 8.5px;
}

.pay-summary__list {
  margin-top: 8px;
}

.pay-summary__list > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
}

.pay-summary__list dt {
  color: rgba(255, 255, 255, 0.3);
  font-size: 8.5px;
}

.pay-summary__list dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-family: var(--font-mono);
  font-size: 7.5px;
  text-align: right;
  word-break: break-all;
}

.pay-summary__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.pay-summary__total span {
  color: rgba(255, 255, 255, 0.36);
  font-size: 9px;
}

.pay-summary__total strong {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.pay-summary__steps {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pay-summary__steps li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 7px 0;
}

.pay-summary__steps li > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-mono);
  font-size: 6.5px;
}

.pay-summary__steps li.is-done > span {
  color: var(--ink);
  border-color: var(--accent);
  background: var(--accent);
}

.pay-summary__steps li.is-active > span {
  color: var(--ink);
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 201, 74, 0.1);
}

.pay-summary__steps li > div {
  display: flex;
  flex-direction: column;
}

.pay-summary__steps strong {
  font-size: 8.5px;
  font-weight: 500;
}

.pay-summary__steps small {
  color: rgba(255, 255, 255, 0.24);
  font-size: 7px;
}

.pay-summary__help {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.24);
  font-size: 7.5px;
  line-height: 1.7;
}

.pay-legal {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 7.5px;
}

.pay-legal p:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  white-space: nowrap;
}

.pay-legal a:hover {
  color: var(--ink);
}

/* ============ PayHub payment page ============ */

.payhub-mobile-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 13px 15px;
  border: 1px solid rgba(183, 121, 31, 0.24);
  border-radius: 10px;
  color: #6f521b;
  background: #fff9ec;
}

.payhub-mobile-banner__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #fff1c9;
}

.payhub-mobile-banner__icon .icon {
  width: 17px;
  height: 17px;
}

.payhub-mobile-banner > div {
  flex: 1;
}

.payhub-mobile-banner strong {
  display: block;
  font-size: 10.5px;
}

.payhub-mobile-banner p {
  margin-top: 2px;
  color: #8c6f34;
  font-size: 9px;
  line-height: 1.65;
}

.payhub-mobile-banner .copy-button {
  flex: 0 0 auto;
  color: #6f521b;
  border-color: rgba(183, 121, 31, 0.25);
  background: #fffdf7;
}

.payhub-method-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 10px;
}

.payhub-method-tabs.is-single {
  grid-template-columns: 1fr;
}

.payhub-method-tab {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--ink);
  background: #fcfbf8;
  text-align: left;
  transition: border-color 0.25s ease, background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.payhub-method-tab:hover {
  border-color: #c8c1b4;
  background: var(--white);
}

.payhub-method-tab.is-active {
  border-color: var(--ink);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.payhub-method-tab__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 750;
}

.payhub-method-tab__icon--wechat {
  color: #0e9f62;
  background: #e8f8ef;
}

.payhub-method-tab__icon--wechat .icon {
  width: 19px;
  height: 19px;
}

.payhub-method-tab__icon--alipay {
  color: #1677ff;
  background: #eaf3ff;
}

.payhub-method-tab > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.payhub-method-tab strong {
  font-size: 11.5px;
  font-weight: 650;
}

.payhub-method-tab small {
  color: var(--muted);
  font-size: 8px;
}

.payhub-method-tab__arrow {
  display: flex;
  margin-left: auto;
  color: var(--muted);
}

.payhub-method-tab__arrow .icon {
  width: 13px;
  height: 13px;
}

.payhub-stage {
  margin-top: 15px;
}

.payhub-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 270px;
  padding: 30px 20px;
  border: 1px dashed var(--line);
  border-radius: 13px;
  background: #fdfcf9;
  text-align: center;
}

.payhub-state__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper-2);
}

.payhub-state__mark .icon {
  width: 23px;
  height: 23px;
}

.payhub-state h2 {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.payhub-state p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
}

.payhub-spinner {
  display: block;
  width: 24px;
  height: 24px;
  border-color: rgba(11, 18, 32, 0.15);
  border-top-color: var(--ink);
}

.payhub-wechat {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 16px;
}

.payhub-qr-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fdfcf9;
}

.payhub-qr-card__head {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.05em;
}

.payhub-qr-card__head span:last-child {
  color: var(--ink);
  font-size: 12px;
}

.payhub-qr {
  position: relative;
  width: min(100%, 238px);
  margin-top: 17px;
  padding: 8px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 5px 18px rgba(16, 24, 40, 0.07);
}

.payhub-qr img {
  width: 100%;
  aspect-ratio: 1;
}

.payhub-qr .pay-qr__badge {
  bottom: -10px;
}

.payhub-qr__hint {
  margin-top: 17px;
  font-size: 9.5px;
  font-weight: 550;
  text-align: center;
}

.payhub-qr__meta {
  margin-top: 5px;
  color: var(--muted);
  font-size: 8px;
}

.payhub-qr__meta [data-payhub-countdown] {
  color: var(--ink);
  font-family: var(--font-mono);
}

.payhub-qr__meta [data-payhub-countdown].is-expired {
  color: var(--coral);
}

.payhub-side-tip {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.payhub-side-tip h2 {
  margin-top: 12px;
  font-size: 21px;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.payhub-side-tip > p:not(.eyebrow) {
  margin-top: 10px;
  color: var(--body);
  font-size: 10px;
  line-height: 1.8;
}

.payhub-side-tip .btn {
  margin-top: 16px;
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.payhub-alipay {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 16px;
}

.payhub-alipay__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 28px;
  border: 1px solid #d5e4fa;
  border-radius: 14px;
  background: #f6faff;
}

.payhub-alipay__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: #fff;
  background: #1677ff;
  font-size: 22px;
  font-weight: 700;
}

.payhub-alipay__card .eyebrow {
  margin-top: 18px;
}

.payhub-alipay__card h2 {
  margin-top: 8px;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -0.04em;
}

.payhub-alipay__card > p:not(.eyebrow):not(.payhub-alipay__note) {
  margin-top: 9px;
  color: var(--body);
  font-size: 10.5px;
  line-height: 1.8;
}

.payhub-alipay__card .btn {
  margin-top: 20px;
}

.payhub-alipay__note {
  margin-top: 9px;
  color: var(--muted);
  font-size: 8px;
}

.payhub-error {
  margin-top: 13px;
  padding: 10px 12px;
  border: 1px solid rgba(232, 91, 63, 0.28);
  border-radius: 8px;
  color: #9d3b2a;
  background: #fff5f2;
  font-size: 9.5px;
  line-height: 1.7;
}

.payhub-main .inline-notice {
  margin-top: 13px;
}

.payhub-main .pay-actions {
  margin-top: 18px;
}

.payhub-main .pay-tip {
  justify-content: flex-start;
  color: var(--muted);
  font-size: 8px;
}

@media (max-width: 1100px) {
  .payhub-wechat,
  .payhub-alipay {
    grid-template-columns: 1fr;
  }

  .payhub-side-tip {
    display: none;
  }
}

@media (max-width: 680px) {
  .payhub-mobile-banner {
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 11px;
  }

  .payhub-mobile-banner > div {
    flex: 1 1 calc(100% - 48px);
  }

  .payhub-mobile-banner .copy-button {
    width: 100%;
    justify-content: center;
  }

  .payhub-method-tabs {
    gap: 6px;
  }

  .payhub-method-tab {
    align-items: flex-start;
    padding: 9px;
  }

  .payhub-method-tab__icon {
    width: 29px;
    height: 29px;
    border-radius: 7px;
    font-size: 11px;
  }

  .payhub-method-tab__icon--wechat .icon {
    width: 15px;
    height: 15px;
  }

  .payhub-method-tab strong {
    font-size: 10px;
  }

  .payhub-method-tab small {
    font-size: 7px;
  }

  .payhub-method-tab__arrow {
    display: none;
  }

  .payhub-state {
    min-height: 220px;
    padding: 24px 15px;
  }

  .payhub-state h2 {
    font-size: 16px;
  }

  .payhub-wechat,
  .payhub-alipay {
    gap: 10px;
  }

  .payhub-qr-card {
    padding: 14px;
  }

  .payhub-qr {
    width: min(100%, 216px);
  }

  .payhub-alipay__card {
    padding: 21px;
  }

  .payhub-alipay__card h2 {
    font-size: 22px;
  }

  .payhub-main .pay-actions {
    flex-direction: column;
  }

  .payhub-main .pay-actions .btn {
    width: 100%;
  }
}

/* ============ Success page ============ */

.success-page {
  padding: 44px 0 66px;
  background: radial-gradient(circle at 50% 0, #fffdf4, var(--paper) 46%), var(--paper);
}

.success-shell {
  max-width: 850px;
  margin-inline: auto;
}

.success-head {
  text-align: center;
}

.success-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  border: 1px solid rgba(15, 138, 106, 0.24);
  border-radius: 50%;
  color: var(--green);
  background: #eaf8f2;
  box-shadow: 0 0 0 10px rgba(15, 138, 106, 0.045);
}

.success-check .icon {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

.success-check.is-refunded {
  color: #8a641b;
  border-color: rgba(183, 121, 31, 0.24);
  background: #fff9ec;
  box-shadow: 0 0 0 10px rgba(183, 121, 31, 0.04);
}

.success-refund-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(183, 121, 31, 0.22);
  border-radius: 8px;
  color: #72551c;
  background: #fff9ec;
}

.success-refund-note > span {
  padding-top: 1px;
}

.success-refund-note .icon {
  width: 14px;
  height: 14px;
}

.success-refund-note strong {
  display: block;
  font-size: 10px;
}

.success-refund-note p {
  margin-top: 2px;
  font-size: 9px;
  line-height: 1.7;
}

.paid-stamp.is-refunded {
  color: rgba(183, 121, 31, 0.7);
  border-color: rgba(183, 121, 31, 0.34);
}

.success-head .eyebrow {
  justify-content: center;
}

.success-head h1 {
  margin-top: 16px;
  font-size: clamp(37px, 4.8vw, 58px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.06em;
}

.success-head > p:last-child {
  max-width: 570px;
  margin: 18px auto 0;
  color: var(--body);
  font-size: 12.5px;
  line-height: 1.85;
}

.order-ticket {
  position: relative;
  overflow: hidden;
  margin-top: 36px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 25px 70px rgba(16, 24, 40, 0.08);
}

.order-ticket::before,
.order-ticket::after {
  content: "";
  position: absolute;
  top: 52%;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
}

.order-ticket::before {
  left: -12px;
}

.order-ticket::after {
  right: -12px;
}

.order-ticket__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
}

.order-ticket__head > span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.copy-button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
  font-size: 8.5px;
  font-weight: 550;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.copy-button:hover {
  border-color: var(--ink);
  background: var(--white);
}

.copy-button .icon {
  width: 11px;
  height: 11px;
}

.order-ticket__number {
  display: block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: clamp(27px, 4.5vw, 48px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.035em;
  text-align: center;
  word-break: break-all;
}

.order-ticket__hint {
  margin-top: 6px;
  color: var(--muted);
  font-size: 9px;
  text-align: center;
}

.order-ticket__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 26px;
  margin-top: 24px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

.order-ticket__meta > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.order-ticket__meta dt {
  color: var(--muted);
  font-size: 9px;
}

.order-ticket__meta dd {
  margin: 0;
  font-size: 9.5px;
  font-weight: 550;
  text-align: right;
  overflow-wrap: anywhere;
}

.order-ticket__meta dd.is-accent {
  color: var(--green);
  font-family: var(--font-mono);
  font-weight: 500;
}

.order-ticket__note {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding: 12px;
  border-radius: 7px;
  background: var(--paper);
}

.order-ticket__note span {
  color: var(--muted);
  font-size: 8.5px;
}

.order-ticket__note p {
  color: var(--body);
  font-size: 9.5px;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
}

.paid-stamp {
  position: absolute;
  right: 34px;
  top: 78px;
  padding: 5px 9px;
  border: 1.5px solid rgba(15, 138, 106, 0.38);
  border-radius: 3px;
  color: rgba(15, 138, 106, 0.62);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  transform: rotate(-8deg);
}

.success-next {
  margin-top: 42px;
}

.success-next > .eyebrow {
  justify-content: center;
}

.next-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.next-steps li {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.5);
}

.next-steps__num {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
}

.next-steps li strong {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 650;
}

.next-steps li p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
}

.next-steps li p span {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 8.5px;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 30px;
}

.success-actions .btn {
  height: 44px;
  font-size: 11px;
}

.success-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  max-width: 640px;
  margin: 28px auto 0;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.45);
  font-size: 8.5px;
  line-height: 1.7;
}

.success-note > span {
  padding-top: 2px;
}

.success-note .icon {
  width: 13px;
  height: 13px;
}

.success-note strong {
  color: var(--ink);
}

.success-legal {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 7.5px;
}

.success-legal p:last-child {
  display: flex;
  gap: 6px;
}

.success-legal a:hover {
  color: var(--ink);
}

/* ============ About page ============ */

.about-page {
  background: var(--paper);
}

.about-hero {
  position: relative;
  overflow: hidden;
  padding: 68px 0 76px;
  color: var(--white);
  background: var(--ink);
}

.about-hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 92%);
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.about-hero::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -6%;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 201, 74, 0.13), transparent 66%);
}

.about-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}

.about-hero h1 {
  margin-top: 20px;
  font-size: clamp(39px, 4.5vw, 60px);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.about-hero__inner > div:first-child > p:not(.eyebrow) {
  max-width: 560px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 14px;
  line-height: 1.9;
}

.about-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-hero__meta span {
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.02em;
}

.about-hero__meta strong {
  margin-right: 5px;
  color: rgba(255, 255, 255, 0.66);
  font-weight: 500;
}

.about-id-card {
  position: relative;
  max-width: 330px;
  margin-left: auto;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transform: rotate(2deg);
}

.about-id-card__top,
.about-id-card__bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-mono);
  font-size: 6.5px;
  letter-spacing: 0.04em;
}

.about-id-card svg {
  width: 68px;
  height: 68px;
  margin-top: 34px;
}

.about-id-card > p {
  margin-top: 16px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.045em;
}

.about-id-card__lines {
  display: flex;
  gap: 3px;
  height: 22px;
  margin-top: 26px;
  opacity: 0.55;
}

.about-id-card__lines i {
  flex: 1;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.4) 0 1px,
    transparent 1px 3px
  );
}

.about-id-card__bottom {
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(44px, 8vw, 120px);
  align-items: start;
}

.about-copy > p {
  margin-bottom: 15px;
  color: var(--body);
  font-size: 14px;
  line-height: 1.95;
}

.about-copy > p:first-child {
  margin-top: 0;
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.about-signature__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  color: var(--ink);
  background: var(--accent);
  font-size: 16px;
  font-weight: 750;
}

.about-signature > div {
  display: flex;
  flex-direction: column;
}

.about-signature strong {
  font-size: 11px;
}

.about-signature small {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 7.5px;
}

.about-principles {
  border-block: 1px solid var(--line);
  background: var(--paper-2);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.principle-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.principle-card__num {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
}

.principle-card h3 {
  margin-top: 30px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.principle-card p {
  margin-top: 8px;
  color: var(--body);
  font-size: 12px;
  line-height: 1.85;
}

.about-not {
  background: var(--paper);
}

.about-not__panel {
  padding: 30px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
}

.about-not__panel h2 {
  margin-top: 20px;
  font-size: 32px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -0.05em;
}

.about-not__panel ul {
  margin-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-not__panel li {
  display: flex;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.56);
  font-size: 10.5px;
  line-height: 1.7;
}

.about-not__panel li span {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 8px;
}

.about-split--reverse {
  align-items: center;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 25px;
}

/* ============ Legal page ============ */

.legal-page {
  padding: 46px 0 76px;
  background: var(--paper);
}

.legal-head {
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.legal-head h1 {
  margin-top: 14px;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.06em;
}

.legal-head__lead {
  max-width: 680px;
  margin-top: 15px;
  color: var(--body);
  font-size: 14px;
  line-height: 1.85;
}

.legal-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8.5px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(34px, 6vw, 86px);
  margin-top: 36px;
}

.legal-toc {
  position: sticky;
  top: 106px;
  align-self: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.45);
}

.legal-toc p {
  margin-bottom: 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
}

.legal-toc a {
  display: block;
  padding: 5px 0;
  color: var(--body);
  font-size: 10px;
  line-height: 1.5;
  transition: color 0.2s ease, transform 0.2s ease;
}

.legal-toc a:hover {
  color: var(--ink);
  transform: translateX(2px);
}

.legal-content {
  max-width: 760px;
}

.legal-entity {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 7px 12px;
  margin-bottom: 30px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  font-size: 10px;
}

.legal-entity span {
  color: var(--muted);
}

.legal-entity strong {
  font-weight: 550;
}

.legal-entity a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content section {
  margin-bottom: 30px;
  scroll-margin-top: 100px;
}

.legal-content h2 {
  display: flex;
  align-items: baseline;
  gap: 9px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.legal-content h2 span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 400;
}

.legal-content p {
  margin-top: 11px;
  color: var(--body);
  font-size: 12px;
  line-height: 1.95;
}

.legal-content ul {
  margin-top: 8px;
  padding-left: 18px;
  list-style: disc;
}

.legal-content li {
  margin-top: 5px;
  color: var(--body);
  font-size: 12px;
  line-height: 1.9;
}

.legal-content li::marker {
  color: var(--muted);
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-footnote {
  margin-top: 34px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-2);
}

.legal-footnote p {
  margin-top: 0;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.8;
}

/* ============ Message page ============ */

.message-page {
  padding: 60px 0 80px;
  background: var(--paper);
}

.message-panel {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
  overflow: hidden;
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.message-mark {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: 24px;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: clamp(70px, 13vw, 128px);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.1em;
}

.message-mark span:nth-child(2) {
  color: var(--accent-strong);
}

.message-mark--single {
  color: var(--accent-strong);
  font-family: var(--font-sans);
  font-size: clamp(80px, 14vw, 140px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.message-panel .eyebrow {
  justify-content: center;
}

.message-panel h1 {
  margin-top: 20px;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.message-panel > p:not(.eyebrow):not(.message-meta) {
  max-width: 500px;
  margin: 15px auto 0;
  color: var(--body);
  font-size: 13px;
  line-height: 1.85;
}

.message-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}

.message-meta {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 8.5px;
}

/* ============ Responsive ============ */

@media (max-width: 1100px) {
  .order-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
  }

  .order-head {
    gap: 28px;
  }

  .checkout-steps li {
    min-width: 104px;
    padding-right: 12px;
  }

  .pay-qr-wrap {
    grid-template-columns: 1fr;
  }

  .pay-side-note {
    display: none;
  }

  .pay-qr-card {
    max-width: 340px;
    margin-inline: auto;
    width: 100%;
  }
}

@media (max-width: 960px) {
  .order-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .order-head .checkout-steps {
    max-width: 500px;
  }

  .order-layout {
    grid-template-columns: 1fr;
  }

  .order-aside {
    position: static;
  }

  .summary-card {
    max-width: 100%;
  }

  .order-footnote {
    flex-direction: column;
    gap: 7px;
  }

  .checkout-top {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .checkout-steps--compact {
    transform: none;
  }

  .pay-layout {
    grid-template-columns: 1fr;
  }

  .pay-summary {
    position: static;
  }

  .pay-summary__steps {
    display: none;
  }

  .pay-summary__help {
    display: none;
  }

  .about-hero__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-id-card {
    max-width: 100%;
    margin-left: 0;
  }

  .about-split {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-split--reverse .about-not__panel {
    order: 2;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .legal-toc {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
    padding: 16px;
  }

  .legal-toc p {
    grid-column: 1 / -1;
    margin-bottom: 6px;
  }

  .next-steps {
    grid-template-columns: 1fr;
  }

  .success-actions .btn {
    flex: 1;
  }
}

@media (max-width: 680px) {
  .checkout-steps li {
    min-width: 0;
    flex: 1;
    padding-top: 10px;
    padding-right: 6px;
  }

  .checkout-steps span {
    font-size: 7px;
  }

  .checkout-steps strong {
    margin-top: 2px;
    font-size: 9px;
    white-space: normal;
  }

  .checkout-steps small {
    display: none;
  }

  .order-page {
    padding: 18px 0 48px;
  }

  .order-head {
    margin-top: 22px;
    padding-bottom: 24px;
  }

  .order-head h1 {
    margin-top: 12px;
    font-size: clamp(30px, 8.7vw, 40px);
  }

  .order-head > div > p:last-child {
    margin-top: 10px;
    font-size: 11px;
  }

  .order-layout {
    margin-top: 18px;
  }

  .form-card {
    padding: 19px;
    border-radius: 15px;
  }

  .form-card__head {
    gap: 10px;
    margin-bottom: 18px;
  }

  .form-card__num {
    width: 22px;
    height: 22px;
    font-size: 7px;
  }

  .form-card__head h2 {
    font-size: 15px;
  }

  .form-card__head p {
    font-size: 9.5px;
  }

  .field-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .field input,
  .field select {
    height: 45px;
    font-size: 12px;
  }

  .option-cards {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .option-card__body {
    min-height: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
  }

  .option-card__body br {
    display: none;
  }

  .option-card__body small {
    text-align: right;
  }

  .form-card--consent {
    padding: 16px 18px;
  }

  .consent__text {
    font-size: 9px;
  }

  .summary-card {
    padding: 21px;
  }

  .summary-total strong {
    font-size: 27px;
  }

  .order-support {
    display: none;
  }

  .summary-trust {
    gap: 7px;
  }

  .order-footnote {
    font-size: 7.5px;
  }

  .pay-page {
    padding: 18px 0 44px;
  }

  .checkout-top {
    padding-bottom: 20px;
  }

  .checkout-top h1 {
    margin-top: 10px;
    font-size: 25px;
  }

  .checkout-top > div > p:last-child {
    font-size: 9px;
    line-height: 1.7;
  }

  .pay-layout {
    margin-top: 16px;
  }

  .pay-main {
    padding: 18px;
    border-radius: 17px;
  }

  .pay-main__head {
    padding-bottom: 14px;
  }

  .pay-method__logo {
    width: 32px;
    height: 32px;
  }

  .pay-method strong {
    font-size: 10.5px;
  }

  .pay-method small {
    font-size: 7.5px;
  }

  .pay-status {
    font-size: 7.5px;
  }

  .pay-amount {
    padding: 18px 0 4px;
  }

  .pay-amount strong {
    font-size: 37px;
  }

  .pay-amount small {
    font-size: 7.5px;
  }

  .pay-qr-wrap {
    margin-top: 10px;
  }

  .pay-qr {
    width: min(100%, 220px);
  }

  .pay-qr-card {
    padding: 13px;
  }

  .mock-pay {
    display: block;
    padding: 12px;
  }

  .mock-pay p {
    margin: 5px 0 9px;
  }

  .mock-pay .btn {
    width: 100%;
  }

  .pay-actions {
    flex-direction: column;
    margin-top: 18px;
  }

  .pay-actions .btn {
    width: 100%;
  }

  .pay-summary {
    padding: 20px;
    border-radius: 17px;
  }

  .pay-summary__head strong {
    font-size: 14px;
  }

  .pay-summary__product {
    padding: 13px 0;
  }

  .pay-summary__total strong {
    font-size: 21px;
  }

  .pay-legal {
    flex-direction: column;
    gap: 6px;
    font-size: 7px;
  }

  .pay-legal p:last-child {
    white-space: normal;
  }

  .success-page {
    padding: 28px 0 50px;
  }

  .success-check {
    width: 52px;
    height: 52px;
  }

  .success-check .icon {
    width: 23px;
    height: 23px;
  }

  .success-head h1 {
    margin-top: 13px;
    font-size: 34px;
  }

  .success-head > p:last-child {
    margin-top: 12px;
    font-size: 11px;
  }

  .order-ticket {
    margin-top: 26px;
    padding: 21px;
    border-radius: 16px;
  }

  .order-ticket::before,
  .order-ticket::after {
    display: none;
  }

  .order-ticket__head {
    align-items: flex-start;
  }

  .order-ticket__head > span {
    max-width: 130px;
    font-size: 7px;
    line-height: 1.5;
  }

  .copy-button {
    font-size: 7.5px;
  }

  .order-ticket__number {
    margin-top: 19px;
    font-size: clamp(23px, 7.2vw, 34px);
    letter-spacing: 0.02em;
  }

  .order-ticket__meta {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 18px;
  }

  .order-ticket__meta > div {
    padding: 7px 0;
  }

  .order-ticket__note {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .paid-stamp {
    top: 80px;
    right: 18px;
    opacity: 0.6;
    font-size: 7px;
  }

  .success-next {
    margin-top: 32px;
  }

  .next-steps li {
    padding: 14px;
  }

  .success-actions {
    flex-direction: column;
    margin-top: 24px;
  }

  .success-actions .btn {
    width: 100%;
  }

  .success-note {
    margin-top: 20px;
    font-size: 7.5px;
  }

  .success-legal {
    flex-direction: column;
    gap: 6px;
    font-size: 7px;
  }

  .about-hero {
    padding: 42px 0 50px;
  }

  .about-hero h1 {
    font-size: 37px;
  }

  .about-hero__inner > div:first-child > p:not(.eyebrow) {
    margin-top: 16px;
    font-size: 12px;
  }

  .about-hero__meta {
    gap: 10px 16px;
    margin-top: 22px;
    padding-top: 14px;
  }

  .about-id-card {
    padding: 17px;
  }

  .about-id-card svg {
    width: 54px;
    height: 54px;
    margin-top: 22px;
  }

  .about-id-card > p {
    margin-top: 12px;
    font-size: 20px;
  }

  .about-id-card__lines {
    margin-top: 18px;
  }

  .about-copy > p {
    font-size: 12px;
  }

  .principle-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .principle-card {
    padding: 20px;
  }

  .principle-card h3 {
    margin-top: 18px;
    font-size: 16px;
  }

  .principle-card p {
    font-size: 11px;
  }

  .about-not__panel {
    padding: 22px;
  }

  .about-not__panel h2 {
    font-size: 27px;
  }

  .about-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .legal-page {
    padding: 28px 0 48px;
  }

  .legal-head {
    padding-bottom: 22px;
  }

  .legal-head h1 {
    font-size: 40px;
  }

  .legal-head__lead {
    font-size: 11.5px;
  }

  .legal-head__meta {
    gap: 8px 14px;
    font-size: 7.5px;
  }

  .legal-layout {
    margin-top: 20px;
  }

  .legal-toc {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .legal-toc a {
    font-size: 9px;
  }

  .legal-entity {
    grid-template-columns: 64px minmax(0, 1fr);
    font-size: 9px;
  }

  .legal-content h2 {
    font-size: 15px;
  }

  .legal-content p,
  .legal-content li {
    font-size: 11px;
  }

  .message-page {
    padding: 30px 0 50px;
  }

  .message-panel {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .message-mark {
    font-size: 70px;
  }

  .message-panel h1 {
    font-size: 29px;
  }

  .message-panel > p:not(.eyebrow):not(.message-meta) {
    font-size: 11px;
  }

  .message-actions {
    flex-direction: column;
  }

  .message-actions .btn {
    width: 100%;
  }
}

/* ============ Print ============ */

@media print {
  body {
    background: #fff;
  }

  .topbar,
  .site-header,
  .success-check,
  .success-head .eyebrow,
  .success-next,
  .success-actions,
  .success-note,
  .success-legal,
  .site-footer,
  .toast {
    display: none !important;
  }

  .success-page {
    padding: 0;
  }

  .success-head h1 {
    margin-top: 0;
    font-size: 26px;
  }

  .success-head > p:last-child {
    display: none;
  }

  .order-ticket {
    box-shadow: none;
    border: 1px solid #ccc;
    margin-top: 20px;
  }

  .copy-button {
    display: none;
  }

  .paid-stamp {
    opacity: 1;
  }
}
