.pricing { padding-block: clamp(25px, 3.8vw, 49px) clamp(28px, 4.3vw, 56px); }
.pricing .intro h1 { font-size: clamp(2.35rem, 5.4vw, 4.65rem); }
.pricing .intro p { margin-top: 11px; }
.pricing-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: end;
  gap: 12px 21px;
  margin: 22px auto;
}
.pricing-control { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; text-align: left; }
.pricing-control > label, .pricing-control legend { color: var(--muted); font-size: .84rem; font-weight: 700; }
.pricing-control legend { margin-bottom: 6px; padding: 0; }
.pricing-control select,
.checkout-fields input {
  min-height: 44px;
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #25192e;
  color: inherit;
  font: inherit;
}
.pricing-control select { min-width: 172px; }
.billing-switch { display: flex; min-height: 44px; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: #211528; }
.billing-switch label { position: relative; display: grid; place-items: center; min-width: 82px; border-radius: 5px; color: var(--muted); cursor: pointer; }
.billing-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.billing-switch label:has(:checked) { background: #583969; color: #fff; font-weight: 700; }
.billing-switch label:has(:focus-visible), .pricing-control select:focus-visible, .checkout-fields input:focus-visible {
  outline: 2px solid var(--lavender);
  outline-offset: 2px;
}
.plans, .quote-panel { max-width: 1100px; margin-inline: auto; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 22px); }
.plan {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: clamp(16px, 2.3vw, 26px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(155deg, #3b2946, #24182c 75%);
}
.plan.featured { border-color: var(--green); background: linear-gradient(150deg, #3c3742, #271a2e 74%); box-shadow: 0 0 22px #a9e85c13; }
.plan-title { display: flex; min-height: 27px; flex-wrap: wrap; align-items: center; gap: 6px 9px; }
.plan h2 { color: var(--lavender); font-size: clamp(1.15rem, 2.25vw, 1.55rem); letter-spacing: -.035em; }
.plan-badge { padding: 3px 7px; border-radius: 4px; background: var(--green); color: #19220e; font-size: .73rem; font-weight: 800; }
.plan-price { font: 700 clamp(1.85rem, 3.5vw, 2.85rem)/1.1 'Plus Jakarta Sans', system-ui, sans-serif; letter-spacing: -.05em; }
.plan-period { font: 600 .91rem/1.2 'DM Sans', system-ui, sans-serif; letter-spacing: 0; color: var(--muted); white-space: nowrap; }
.plan-savings { color: var(--green); font-size: .83rem; font-weight: 700; }
.plan-copy { display: grid; align-content: start; gap: 5px; }
.plan-copy p, .quote-panel p { color: var(--muted); font-size: .93rem; line-height: 1.46; }
.plan-copy strong { font-size: .94rem; }
.plan .button { width: 100%; margin-top: auto; }
.pricing-note { margin-top: 14px; color: var(--muted); font-size: .84rem; text-align: center; }
.pricing .actions { margin-top: 14px; }
.quote-panel { padding: clamp(18px, 3vw, 34px); border: 1px solid var(--line); border-radius: 12px; background: #302138; text-align: center; }
.quote-panel p { margin: 7px auto 16px; }
[hidden] { display: none !important; }
.pricing-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pricing-comparison {
  width: min(100%, 710px);
  margin: 12px auto 0;
  padding: 0 clamp(9px, 2vw, 19px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #25192e;
  font-size: clamp(.78rem, 1.5vw, .93rem);
}
.pricing-comparison summary { padding-block: 12px; cursor: pointer; color: var(--lavender); font-weight: 700; }
.pricing-comparison table { width: 100%; border-collapse: collapse; }
.pricing-comparison :is(th, td) { padding: 8px 3px; border-top: 1px solid var(--line); text-align: center; white-space: nowrap; }
.pricing-comparison th:first-child { text-align: left; }
.pricing-comparison :is(thead th, tbody td):nth-child(3) { color: var(--green); font-weight: 700; }
.pricing-comparison a { text-decoration: underline; text-underline-offset: 3px; }
.pricing-comparison p { margin: 8px 0 12px; color: var(--muted); }

.checkout-page { --green: #a9e85c; }
.checkout-page :is(h1, h2, h3) { text-wrap: balance; }
.checkout-main { padding-block: clamp(24px, 4vw, 49px) 60px; }
.checkout-main h1 { font-size: clamp(2rem, 4.9vw, 3.65rem); line-height: 1.08; }
.checkout-main h2 { font-size: clamp(1.2rem, 2.4vw, 1.65rem); letter-spacing: -.03em; }
.checkout-main p { margin: 0; }
.checkout-back { display: inline-block; margin-bottom: 19px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; gap: clamp(16px, 3vw, 34px); margin-top: 20px; }
.checkout-form, .checkout-panel, .checkout-review { padding: clamp(16px, 2.8vw, 30px); border: 1px solid var(--line); border-radius: 12px; background: #251a2f; }
.checkout-form { display: grid; gap: 21px; }
.checkout-fields, .checkout-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.checkout-field { display: grid; grid-template-rows: auto auto; align-content: start; gap: 5px; font-weight: 700; }
.checkout-fields input { background: #1b1321; font-weight: 400; }
.checkout-field input::placeholder { color: #b5a4bd; }
.checkout-choices { min-width: 0; margin: 0; padding: 0; border: 0; }
.checkout-choices legend { margin-bottom: 4px; padding: 0; color: var(--lavender); font-size: 1.22rem; font-weight: 700; }
.checkout-page .checkout-count { margin-bottom: 10px; color: var(--muted); }
.checkout-option { display: flex; align-items: center; gap: 9px; min-height: 47px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; cursor: pointer; }
.checkout-option:has(:checked) { border-color: var(--green); background: #30402b65; }
.checkout-option:has(:disabled) { opacity: .63; cursor: default; }
.checkout-option input { margin: 0; accent-color: var(--green); }
.checkout-panel { display: grid; gap: 14px; }
.checkout-panel .plan-price { font-size: 2.3rem; }
.checkout-meta, .checkout-notice, .checkout-included { color: var(--muted); font-size: .93rem; line-height: 1.52; }
.checkout-included { margin: 0; padding-left: 21px; }
.checkout-summary-section { margin-top: 18px; }
.checkout-summary-section p { margin-top: 8px; }
.checkout-summary-section dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 7px 13px; }
.checkout-summary-section dt { color: var(--muted); }
.checkout-summary-section dd { margin: 0; overflow-wrap: anywhere; }
.checkout-review .checkout-notice { margin: 18px 0; padding: 12px; border: 1px solid var(--line); border-radius: 7px; background: #211528; }
.checkout-error { color: #ffc2cc; }
.checkout-page .button { font: inherit; font-weight: 700; }
.checkout-page button:disabled { cursor: default; opacity: .65; }
@media (max-width: 800px) { .checkout-layout { grid-template-columns: 1fr; } }
@media (max-width: 660px) {
  .plans { grid-template-columns: 1fr; }
  .pricing-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pricing-control { min-width: 0; }
  .pricing-control select { min-width: 0; font-size: 1rem; }
  .billing-switch label { flex: 1; min-width: 0; min-height: 44px; }
  .pricing-comparison :is(th, td) { white-space: normal; }
  .checkout-fields input { font-size: 1rem; }
}
@media (max-width: 430px) {
  .pricing-controls, .checkout-fields, .checkout-options { grid-template-columns: 1fr; }
}
