/* Faro licensing surfaces: homepage price plate, checkout, license result, admin. */
/* Reuses the site's instrument palette; only namespaced classes live here. */

[hidden] {
  display: none !important;
}

.pricing-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 56px;
}

.pricing-copy h2 {
  margin-top: 16px;
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.pricing-copy .section-lede {
  max-width: 32em;
  margin-top: 18px;
}

.lic-plate {
  position: relative;
  padding: 30px 30px 24px;
  border: 1px solid rgba(255, 207, 122, 0.24);
  border-radius: 20px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 207, 122, 0.09), transparent 58%),
    linear-gradient(165deg, rgba(10, 23, 39, 0.96), rgba(4, 10, 18, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 30px 70px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.lic-plate::before,
.lic-plate::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: rgba(255, 207, 122, 0.55);
  border-style: solid;
  pointer-events: none;
}

.lic-plate::before {
  top: 12px;
  left: 12px;
  border-width: 1px 0 0 1px;
}

.lic-plate::after {
  right: 12px;
  bottom: 12px;
  border-width: 0 1px 1px 0;
}

.lic-plate-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #8da2b7;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.lic-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
}

.lic-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.lic-plate h3 {
  margin: 22px 0 0;
  color: #f2f8ff;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 650;
  letter-spacing: -0.03em;
}

.lic-price {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  color: #fff4dc;
}

.lic-price b {
  font-size: clamp(56px, 7vw, 82px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.lic-price small {
  margin-top: 8px;
  color: #d8b97c;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.lic-price em {
  align-self: flex-end;
  margin: 0 0 8px 4px;
  color: #8da2b7;
  font-size: 12.5px;
  font-style: normal;
}

.lic-divider {
  height: 1px;
  margin: 24px 0 20px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 207, 122, 0.24) 0 5px,
    transparent 5px 10px
  );
}

.lic-features {
  display: grid;
  gap: 11px;
}

.lic-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #b9cde0;
  font-size: 13.5px;
  line-height: 1.55;
}

.lic-features .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--green);
}

.lic-serial {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(126, 190, 240, 0.1);
  color: #5f778d;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lic-cta {
  margin-top: 18px;
}

.lic-note {
  margin-top: 14px;
  color: #6f859b;
  font-size: 12.5px;
  line-height: 1.7;
}

/* ---------- Buy / checkout ---------- */

.buy-shell {
  position: relative;
  padding: 56px 0 90px;
  overflow: hidden;
}

.buy-shell::before {
  content: "";
  position: absolute;
  top: -220px;
  right: -160px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 207, 122, 0.1), transparent 62%);
  pointer-events: none;
}

.buy-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6f859b;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.buy-crumb a {
  color: #9fb6cc;
  text-decoration: none;
}

.buy-crumb a:hover {
  color: var(--cyan);
}

.buy-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: start;
  gap: 52px;
  margin-top: 30px;
}

.buy-copy h1 {
  margin-top: 18px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.buy-copy h1 span {
  color: var(--amber);
}

.buy-lede {
  max-width: 34em;
  margin-top: 20px;
  color: #93a7bd;
  font-size: 15px;
  line-height: 1.85;
}

.buy-points {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.buy-points li {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(126, 190, 240, 0.1);
}

.buy-points li:last-child {
  border-bottom: 1px solid rgba(126, 190, 240, 0.1);
}

.buy-point-num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(127, 227, 255, 0.18);
  border-radius: 9px;
  background: rgba(127, 227, 255, 0.05);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 10px;
}

.buy-points strong {
  display: block;
  color: #dcecfa;
  font-size: 14px;
  font-weight: 600;
}

.buy-points span {
  display: block;
  margin-top: 3px;
  color: #7f95aa;
  font-size: 12.5px;
  line-height: 1.65;
}

.checkout {
  position: relative;
  padding: 26px 26px 24px;
  border: 1px solid rgba(126, 190, 240, 0.18);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(13, 31, 51, 0.86), rgba(4, 10, 18, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 34px 80px rgba(0, 0, 0, 0.48);
  overflow: hidden;
}

.checkout::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  opacity: 0.75;
}

.checkout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(126, 190, 240, 0.1);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7891a8;
}

.checkout-head strong {
  color: #cfe4f6;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.checkout-step {
  margin-top: 22px;
}

.checkout-step + .checkout-step {
  margin-top: 18px;
}

.step-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 9px;
  color: #9fb6cc;
  font-size: 12px;
  font-weight: 600;
}

.step-label span {
  color: #5f778d;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
}

.checkout input[type="email"] {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(126, 190, 240, 0.2);
  border-radius: 11px;
  background: rgba(2, 8, 15, 0.72);
  color: #eaf5ff;
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.checkout input[type="email"]::placeholder {
  color: #5c7288;
}

.checkout input[type="email"]:focus {
  border-color: rgba(127, 227, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(127, 227, 255, 0.1);
}

.checkout input[type="email"]:disabled {
  opacity: 0.6;
}

.pay-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pay-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(126, 190, 240, 0.16);
  border-radius: 11px;
  background: rgba(2, 8, 15, 0.5);
  color: #b9cde0;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease);
}

.pay-tab svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.pay-tab[aria-selected="true"] {
  border-color: rgba(127, 227, 255, 0.5);
  background: rgba(127, 227, 255, 0.08);
  color: #eaf8ff;
}

.pay-tab:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pay-tab small {
  display: block;
  margin-top: 2px;
  color: #6f859b;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.qr-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 236px;
  padding: 18px;
  border: 1px dashed rgba(126, 190, 240, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(rgba(127, 227, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 227, 255, 0.025) 1px, transparent 1px),
    rgba(2, 8, 15, 0.42);
  background-size: 28px 28px;
}

.qr-placeholder {
  max-width: 24em;
  color: #6f859b;
  font-size: 12.5px;
  line-height: 1.75;
  text-align: center;
}

.qr-placeholder strong {
  display: block;
  margin-bottom: 6px;
  color: #a9c3d9;
  font-size: 13px;
  font-weight: 600;
}

.qr-paper {
  width: 220px;
  height: 220px;
  padding: 12px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.qr-paper svg {
  width: 100%;
  height: 100%;
  display: block;
}

.qr-mock {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.qr-mock code {
  font-size: 12px;
}

.order-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  color: #6f859b;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
}

.order-state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #d8b97c;
}

.order-state::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: lic-pulse 1.6s ease-in-out infinite;
}

@keyframes lic-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.checkout-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

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

.checkout-message {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.65;
  color: #ffb4a8;
}

.checkout-message.ok {
  color: var(--green);
}

.checkout-fine {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(126, 190, 240, 0.09);
  color: #5f778d;
  font-size: 11.5px;
  line-height: 1.75;
}

.lic-unavailable {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 207, 122, 0.24);
  border-radius: 11px;
  background: rgba(255, 207, 122, 0.06);
  color: #d8c08d;
  font-size: 12.5px;
  line-height: 1.7;
}

/* ---------- Success ---------- */

.license-success {
  display: grid;
  gap: 16px;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(84, 224, 176, 0.12);
  color: var(--green);
  box-shadow: inset 0 0 0 1px rgba(84, 224, 176, 0.35), 0 0 30px rgba(84, 224, 176, 0.16);
}

.success-mark svg {
  width: 24px;
  height: 24px;
}

.success-title {
  color: #eafbf4;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.success-note {
  color: #93a7bd;
  font-size: 12.5px;
  line-height: 1.75;
}

.key-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(84, 224, 176, 0.3);
  border-radius: 12px;
  background: rgba(84, 224, 176, 0.06);
}

.key-box code {
  border: 0;
  background: transparent;
  padding: 0;
  color: #f2fffb;
  font-size: 16px;
  letter-spacing: 0.04em;
  word-break: break-all;
}

.key-box .btn {
  flex: none;
}

.success-steps {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  color: #9fb6cc;
  font-size: 12.5px;
  line-height: 1.7;
}

.success-steps li {
  display: flex;
  gap: 9px;
}

.success-steps b {
  color: #d8b97c;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  padding-top: 2px;
}

/* ---------- How-to steps ---------- */

.buy-how {
  margin-top: 72px;
}

.buy-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.how-card {
  position: relative;
  padding: 22px 20px;
  border: 1px solid rgba(126, 190, 240, 0.12);
  border-radius: 15px;
  background: rgba(6, 16, 27, 0.52);
}

.how-card span {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
}

.how-card strong {
  display: block;
  margin-top: 10px;
  color: #dcecfa;
  font-size: 15px;
  font-weight: 600;
}

.how-card p {
  margin-top: 7px;
  color: #7f95aa;
  font-size: 12.5px;
  line-height: 1.75;
}

.buy-faq {
  margin-top: 56px;
  border-top: 1px solid rgba(126, 190, 240, 0.14);
}

.buy-faq details {
  border-bottom: 1px solid rgba(126, 190, 240, 0.1);
}

.buy-faq summary {
  padding: 18px 4px;
  color: #d7e7f6;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.buy-faq .answer {
  padding: 0 4px 20px;
  color: #93a7bd;
  font-size: 13.5px;
  line-height: 1.85;
}

.lic-footnote {
  margin-top: 22px;
  color: #5f778d;
  font-size: 11.5px;
  line-height: 1.8;
}

/* ---------- Admin ---------- */

.admin-shell {
  padding: 46px 0 90px;
}

.admin-intro {
  max-width: 620px;
}

.admin-intro h1 {
  margin-top: 12px;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.045em;
}

.admin-intro p {
  margin-top: 14px;
  color: #93a7bd;
  font-size: 13.5px;
  line-height: 1.8;
}

.admin-nav-tag {
  color: #7891a8;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
}

.admin-card {
  margin-top: 26px;
  padding: 22px;
  border: 1px solid rgba(126, 190, 240, 0.16);
  border-radius: 16px;
  background: rgba(6, 16, 27, 0.7);
}

.admin-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.admin-card-head strong {
  color: #eaf5ff;
  font-size: 15px;
  font-weight: 600;
}

.admin-card-head span {
  color: #5f778d;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
}

.admin-help {
  margin-top: 8px;
  color: #7f95aa;
  font-size: 12.5px;
  line-height: 1.75;
}

.admin-help code {
  font-size: 11px;
}

.admin-token {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.admin-bar {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 26px;
}

.admin-bar .admin-summary {
  flex: 1;
  margin-top: 0;
}

.admin-bar .btn {
  flex: none;
}

.admin-toolbar {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.admin-field {
  display: grid;
  gap: 6px;
}

.admin-field span {
  color: #7891a8;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-field input,
.admin-field select {
  min-width: 180px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid rgba(126, 190, 240, 0.2);
  border-radius: 8px;
  background: rgba(2, 8, 15, 0.72);
  color: #eaf5ff;
  font-family: var(--font);
  font-size: 12.5px;
  outline: none;
}

.admin-field-wide input {
  min-width: 320px;
}

.admin-field input:focus,
.admin-field select:focus {
  border-color: rgba(127, 227, 255, 0.5);
}

.admin-panel {
  margin-top: 18px;
}

.admin-result {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(84, 224, 176, 0.3);
  border-radius: 11px;
  background: rgba(84, 224, 176, 0.06);
  color: #9fb6cc;
  font-size: 12px;
}

.admin-result strong {
  color: #eafbf4;
  font-size: 13px;
}

.admin-result code {
  color: #f2fffb;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.admin-result .btn {
  margin-left: auto;
}

.admin-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
}

.admin-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.admin-chip-good {
  background: rgba(84, 224, 176, 0.1);
  color: var(--green);
}

.admin-chip-warn {
  background: rgba(255, 207, 122, 0.1);
  color: #ffcf7a;
}

.admin-chip-bad {
  background: rgba(255, 138, 122, 0.1);
  color: #ff8a7a;
}

.admin-detail {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(126, 190, 240, 0.12);
  border-radius: 12px;
  background: rgba(2, 8, 15, 0.4);
}

.admin-detail-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.admin-detail-head strong {
  color: #dcecfa;
  font-size: 13px;
}

.admin-detail-head span {
  color: #6f859b;
  font-family: var(--mono);
  font-size: 10px;
}

.admin-detail .admin-table-wrap {
  margin-top: 12px;
}

.admin-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cyan);
  font-size: 11px;
  cursor: pointer;
}

.admin-link:hover {
  text-decoration: underline;
}

.admin-tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.admin-tool {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(126, 190, 240, 0.12);
  border-radius: 14px;
  background: rgba(6, 16, 27, 0.52);
}

.admin-tool h2 {
  font-size: 15px;
  font-weight: 600;
  color: #dcecfa;
}

.admin-tool p {
  color: #7f95aa;
  font-size: 12.5px;
  line-height: 1.75;
}

.admin-tool .btn {
  justify-self: start;
}

.admin-pre {
  padding: 12px;
  border: 1px solid rgba(126, 190, 240, 0.12);
  border-radius: 9px;
  background: rgba(2, 8, 15, 0.7);
  color: #9fb6cc;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.admin-token input {
  flex: 1;
  height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(126, 190, 240, 0.2);
  border-radius: 9px;
  background: rgba(2, 8, 15, 0.72);
  color: #eaf5ff;
  outline: none;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.admin-tabs button {
  padding: 8px 14px;
  border: 1px solid rgba(126, 190, 240, 0.16);
  border-radius: 999px;
  background: transparent;
  color: #9fb6cc;
  font-size: 12px;
  cursor: pointer;
}

.admin-tabs button[aria-selected="true"] {
  border-color: rgba(127, 227, 255, 0.45);
  background: rgba(127, 227, 255, 0.08);
  color: #eaf8ff;
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.admin-stat {
  padding: 12px;
  border: 1px solid rgba(126, 190, 240, 0.1);
  border-radius: 10px;
  background: rgba(2, 8, 15, 0.4);
}

.admin-stat span {
  display: block;
  color: #6f859b;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.admin-stat strong {
  display: block;
  margin-top: 5px;
  color: #eaf5ff;
  font-size: 20px;
  font-weight: 600;
}

.admin-table-wrap {
  margin-top: 18px;
  overflow: auto;
  border: 1px solid rgba(126, 190, 240, 0.1);
  border-radius: 12px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.admin-table th,
.admin-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(126, 190, 240, 0.08);
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

.admin-table th {
  color: #6f859b;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-table td {
  color: #b9cde0;
}

.admin-table tr:last-child td {
  border-bottom: 0;
}

.admin-table code {
  font-size: 10.5px;
}

.admin-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.admin-actions button {
  padding: 5px 9px;
  border: 1px solid rgba(126, 190, 240, 0.18);
  border-radius: 7px;
  background: rgba(127, 227, 255, 0.05);
  color: #b9cde0;
  font-size: 11px;
  cursor: pointer;
}

.admin-actions button:hover {
  border-color: rgba(127, 227, 255, 0.45);
  color: #eaf8ff;
}

.admin-msg {
  margin-top: 12px;
  color: #d8b97c;
  font-size: 12px;
}

.admin-msg.ok {
  color: var(--green);
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .buy-grid,
  .pricing-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .buy-copy h1 {
    font-size: clamp(36px, 7vw, 52px);
  }

  .lic-plate {
    max-width: 560px;
  }

  .buy-how-grid {
    grid-template-columns: 1fr;
  }

  .admin-summary {
    grid-template-columns: repeat(3, 1fr);
  }

  .admin-tools-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .buy-shell {
    padding: 38px 0 62px;
  }

  .checkout {
    padding: 20px 18px;
  }

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

  .qr-stage {
    min-height: 210px;
  }

  .qr-paper {
    width: 190px;
    height: 190px;
  }

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

  .admin-summary {
    grid-template-columns: repeat(2, 1fr);
  }
}
