/* Pricing: the license on the left, the ticket on the right. The ticket is the page's one hero. */
.price-hero { padding-top: calc(var(--bar-h) + clamp(84px, 13vh, 150px)); padding-bottom: var(--sp-section); }
.price-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.price-copy .lede { margin-top: 22px; }

.ticket { position: relative; padding: 26px 28px 24px; overflow: hidden; isolation: isolate; }
.ticket::before { /* the planet's edge, low in the ticket */
  content: ""; position: absolute; left: 50%; top: 91%; width: 1400px; height: 1400px; margin-left: -700px; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, #050507 99.2%, transparent 99.8%);
  box-shadow: 0 -1px 0 rgba(207, 238, 255, 0.5), 0 -8px 26px rgba(74, 168, 255, 0.26), 0 -46px 130px rgba(23, 71, 255, 0.2);
}
.ticket-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ticket-price { margin-top: 40px; font-size: clamp(3.4rem, 2rem + 5vw, 5.4rem); font-weight: 620; font-stretch: 120%; letter-spacing: -0.045em; line-height: 0.95; color: var(--text-1); }
.ticket-price .slot { font-size: 12.5px; letter-spacing: 0; white-space: normal; line-height: 1.6; vertical-align: middle; }
.ticket-note { margin-top: 10px; font-size: 14.5px; color: var(--text-2); }
.ticket-buy { margin-top: 28px; width: 100%; }
.ticket-buy[aria-disabled="true"] { cursor: default; }
.ticket-slot { margin-top: 12px; }
.ticket-slot .slot { white-space: normal; line-height: 1.6; font-size: 12px; }
.ticket-list { margin-top: 26px; display: grid; }
.ticket-list li { position: relative; padding: 11px 0 11px 26px; border-top: 1px solid var(--line-1); font-size: 15px; color: var(--text-1); }
.ticket-list li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 12px; height: 7px; border-left: 1.7px solid var(--ok); border-bottom: 1.7px solid var(--ok); transform: rotate(-45deg) scale(0.82); transform-origin: 50% 50%; }
.ticket-fine { margin-top: 6px; padding-top: 16px; padding-bottom: 74px; border-top: 1px solid var(--line-1); }

.others-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px clamp(32px, 6vw, 96px); align-items: start; }
.others-grid .lede { margin-top: 22px; }

/* Questions: each one opens down and closes back up (340 ms out, 220 ms in). */
.qa { border-top: 1px solid var(--line-1); }
.qa details { border-bottom: 1px solid var(--line-1); overflow: hidden; }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem); font-weight: 560; letter-spacing: -0.014em; color: var(--text-1); transition: color var(--d-2) var(--ease-standard); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 13px; height: 13px; background: linear-gradient(currentColor, currentColor) 50% 50% / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) 50% 50% / 1.5px 100% no-repeat; color: var(--text-3); transition: transform var(--spring-snappy-ms) var(--spring-snappy), color var(--d-2) var(--ease-standard); }
.qa summary:hover::after { color: var(--text-1); }
.qa details.is-open summary::after { transform: rotate(45deg); }
.qa-a { padding: 0 44px 22px 0; }
.qa-a p { font-size: 15.5px; line-height: 1.62; color: var(--text-2); max-width: 40em; text-wrap: pretty; }

@media (max-width: 919px) {
  .price-grid, .others-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 759px) {
  .ticket { padding: 22px 20px 20px; }
  .qa-a { padding-right: 0; }
}

/* After you buy: three numbered steps. Shared by the pricing page and the thank-you page (partials/after-buy.html). */
.steps { counter-reset: step; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--line-1); }
.steps > li { counter-increment: step; position: relative; min-width: 0; padding: 24px 0 26px 52px; border-bottom: 1px solid var(--line-1); }
.steps > li::before { content: counter(step); position: absolute; left: 0; top: 22px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text-1); background: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.step-title { font-size: clamp(1.08rem, 1rem + 0.3vw, 1.24rem); font-weight: 600; letter-spacing: -0.016em; color: var(--text-1); }
.step-title kbd { font-size: 0.86em; }
.steps p { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: var(--text-2); max-width: 40em; text-wrap: pretty; }
.steps .codebox, .steps pre.code { margin-top: 14px; }
.steps p.step-fine { font-size: 14px; color: var(--text-3); }

/* The thank-you page: one column, the planet's edge under it. */
.thanks-hero { position: relative; overflow: hidden; isolation: isolate; --limb-h: 34vh; padding: calc(var(--bar-h) + clamp(84px, 13vh, 150px)) 0 clamp(200px, 24vw, 300px); }
.thanks-wrap { max-width: 760px; }
.thanks-wrap .lede { margin-top: 22px; margin-bottom: 40px; }
.thanks-help { margin-top: 28px; }
.thanks-hero .limb { position: absolute; left: 0; right: 0; bottom: 0; }
@media (max-width: 759px) { .steps > li { padding-left: 44px; } }
.thanks .menubar a.btn.primary { display: none; } /* they just bought it */

/* Arriving from Polar's dark checkout: the page fades up from black (520 ms, expo-out), so the handoff reads as one
   dark transition rather than a jump. */
body.thanks main { animation: thanks-in 520ms cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes thanks-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { body.thanks main { animation: none; } }
