.purchase { --quiet: #505356; --rule: #c9c6bf; --white-paper: #faf9f5; --focus: #985a18; }
.purchase-wrap { width: min(1160px, 100%); margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }
.purchase-mast { border-bottom: 1px solid var(--line); }
.purchase-mast-inner, .purchase-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.purchase-mast-inner { min-height: 72px; }
.purchase .brand small { margin-top: 3px; font-size: 11px; }
.account-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--quiet); font-size: .9rem; }
.purchase-intro { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding: 40px 0 30px; border-bottom: 1px solid var(--rule); }
.purchase-intro h1 { margin: 0; font-size: clamp(40px, 5vw, 66px); font-weight: 640; letter-spacing: -.04em; line-height: 1.02; }
.purchase-intro p { margin: 8px 0 0; color: var(--quiet); font-size: 1.06rem; }
.trial-invite { max-width: 275px; }
.trial-invite a { display: inline-flex; align-items: center; gap: .75rem; font-weight: 650; text-decoration-thickness: 1px; }
.trial-invite p { margin: 2px 0 0; font-size: .86rem; line-height: 1.45; }
.direction-arrow { display: inline-block; width: 15px; height: 1.5px; background: currentColor; position: relative; }
.direction-arrow::after { content: ''; position: absolute; width: 7px; height: 7px; inset: 50% 0 auto auto; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: translateY(-50%) rotate(45deg); }

.purchase-sheet { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(310px, .95fr); gap: clamp(24px, 4.7vw, 64px); align-items: start; margin: 28px 0 32px; }
.purchase-choices, .purchase-summary { min-width: 0; }
.purchase-choices { display: grid; align-content: start; gap: 26px; }
.purchase-choices fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.purchase-choices legend, .purchase .seat-quote label { padding: 0; margin: 0 0 10px; font-size: 1.1rem; font-weight: 650; line-height: 1.35; letter-spacing: -.015em; }
.purchase .buyer-switch label, .purchase .period-option { cursor: pointer; margin: 0; }
.buyer-switch { display: inline-flex; gap: 2px; border: 1px solid var(--rule); padding: 3px; background: var(--paper2); border-radius: 7px; }
.buyer-switch label { position: relative; }
.buyer-switch input { position: absolute; opacity: 0; inset: 0; margin: 0; width: 100%; height: 100%; cursor: pointer; }
.buyer-switch span { display: grid; place-items: center; min-width: 92px; min-height: 40px; border-radius: 4px; font-size: .94rem; font-weight: 600; }
.buyer-switch input:checked + span { background: var(--ink); color: var(--paper); }
.buyer-switch input:focus-visible + span, .period-option input:focus-visible + .option-inner { outline: 3px solid var(--focus); outline-offset: 3px; }
.period-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.period-option { position: relative; min-width: 0; }
.period-option input { position: absolute; z-index: 1; right: 14px; top: 17px; margin: 0; width: 17px; height: 17px; accent-color: var(--ink); cursor: pointer; }
.option-inner { display: flex; flex-direction: column; align-items: flex-start; height: 100%; padding: 15px clamp(12px, 1.6vw, 21px) 16px; border: 1px solid var(--rule); border-radius: 8px; background: var(--paper); }
.period-option input:checked + .option-inner { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--white-paper); }
.period-option:hover .option-inner { border-color: var(--ink); }
.option-name { font-size: .98rem; padding-right: 18px; font-weight: 650; }
.option-price { display: block; margin-top: 16px; line-height: 1.25; font-size: .94rem; font-variant-numeric: tabular-nums; }
.option-price strong { font-size: clamp(25px, 2.4vw, 34px); letter-spacing: -.035em; font-weight: 620; }
.option-price > span { color: var(--quiet); font-size: .8rem; }
.option-detail { font-size: .82rem; color: var(--quiet); line-height: 1.4; margin-top: 4px; }
.price-periods .period-option:last-child .option-detail { color: #79501f; font-weight: 550; }
.seat-quote { display: grid; align-items: center; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; border-top: 1px solid var(--rule); padding-top: 18px; }
.purchase .seat-quote label { margin: 0 0 3px; }
.seat-quote p { font-size: .85rem; line-height: 1.45; color: var(--quiet); margin: 0; max-width: 36ch; }
.seat-stepper { display: flex; align-items: center; border: 1px solid var(--rule); border-radius: 6px; background: var(--white-paper); }
.seat-stepper button { display: grid; place-items: center; min-width: 42px; min-height: 44px; background: transparent; color: var(--ink); border: 0; }
.seat-stepper button span { width: 12px; height: 2px; background: currentColor; position: relative; }
#quote-more span::before { content: ''; position: absolute; inset: 0; transform: rotate(90deg); background: currentColor; }
.purchase .seat-stepper input[type="number"] { appearance: textfield; width: 3.3em; border: 0; background: transparent; height: 42px; padding: 0 2px; text-align: center; font-variant-numeric: tabular-nums; }
.seat-stepper input::-webkit-inner-spin-button, .seat-stepper input::-webkit-outer-spin-button { appearance: none; }
.seat-quote .input-error { margin-top: 8px; grid-column: 1 / -1; color: #98341e; }

.purchase-summary { position: sticky; top: 20px; background: var(--ink); color: var(--paper); border-radius: 10px; padding: clamp(22px, 2.4vw, 32px); }
.summary-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.summary-head h2 { font-size: 1.02rem; font-weight: 560; margin: 0; color: #f0d3ac; }
.summary-head img { width: 29px; height: 29px; }
.summary-product { margin: 11px 0 0; font-size: clamp(23px, 2.2vw, 30px); font-weight: 610; line-height: 1.2; letter-spacing: -.024em; }
.summary-choice, .summary-note { font-size: .88rem; line-height: 1.45; color: #d7d6d1; }
.summary-choice { margin: 5px 0 16px; }
.summary-lines { border-block: 1px solid #55585a; padding: 7px 0; margin: 0; }
.summary-lines > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 4px 0; }
.summary-lines dt, .summary-lines dd { margin: 0; font-size: .87rem; line-height: 1.4; }
.summary-lines dt, .summary-total > span, #total-period { color: #d7d6d1; }
.summary-lines dd { font-variant-numeric: tabular-nums; text-align: right; overflow-wrap: anywhere; }
.summary-total { margin: 14px 0 17px; }
.summary-total > span { font-size: .84rem; }
.summary-total > div { line-height: 1.24; }
#total-price { font-size: clamp(27px, 2.6vw, 36px); font-weight: 630; letter-spacing: -.035em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
#total-period { font-size: .9rem; white-space: nowrap; }
.summary-cta { display: flex; min-height: 47px; align-items: center; justify-content: space-between; gap: .75rem; padding: 10px 16px; background: var(--paper); color: var(--ink); text-decoration: none; font-size: 1rem; font-weight: 650; border-radius: 5px; }
.summary-cta:hover { background: #f3d9b5; }
.purchase .summary-cta:focus-visible { outline-color: #ffd491; }
.summary-note { margin: 9px 0 0; font-size: .8rem; }
.purchase-disclosure { border-top: 1px solid var(--rule); }
.purchase-disclosure:last-of-type { border-bottom: 1px solid var(--rule); }
.purchase-disclosure summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; list-style: none; min-height: 52px; font-weight: 590; }
.purchase-disclosure summary::-webkit-details-marker { display: none; }
.purchase-disclosure summary::after { content: ''; width: 8px; height: 8px; margin-right: 3px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.purchase-disclosure[open] summary::after { transform: rotate(225deg); }
.disclosure-body, .history-content { padding-bottom: 14px; }
.disclosure-body p { max-width: 71ch; margin: 0 0 12px; color: var(--quiet); }
.history-content > #driftstatus:empty { display: none; }
.history-content > #driftstatus { margin: 0 0 12px; }
.purchase-footer { padding-block: 24px; color: var(--quiet); font-size: .83rem; flex-wrap: wrap; }
.purchase-footer div { display: flex; gap: 16px; }

@media (max-width: 750px) {
  .purchase-mast-inner { min-height: 58px; }
  .purchase .brand img { width: 32px; height: 32px; }
  .purchase .brand > span { font-size: 21px; }
  .purchase-intro { display: block; padding: 23px 0 17px; }
  .purchase-intro > div p { font-size: .97rem; margin-top: 5px; }
  .trial-invite { max-width: none; margin-top: 12px; }
  .trial-invite a { min-height: 30px; font-size: .92rem; }
  .trial-invite p { font-size: .8rem; margin: 0; }
  .purchase-sheet { grid-template-columns: minmax(0, 1fr); gap: 18px; margin: 18px 0 23px; }
  .purchase-choices { gap: 16px; }
  .purchase-choices legend, .purchase .seat-quote label { font-size: 1rem; margin-bottom: 6px; }
  .buyer-switch span { min-height: 37px; min-width: 83px; }
  .period-options { gap: 9px; }
  .option-inner { padding: 11px 12px; }
  .period-option input { top: 14px; right: 11px; width: 15px; height: 15px; }
  .option-price { margin-top: 8px; }
  .purchase-summary { position: static; padding: 16px 18px; }
  .summary-head img { width: 24px; height: 24px; }
  .summary-product { margin-top: 5px; font-size: 22px; }
  .summary-choice { margin: 3px 0 9px; }
  .summary-total { margin: 10px 0 12px; display: flex; align-items: baseline; justify-content: space-between; gap: 9px; flex-wrap: wrap; }
  .summary-total > div { text-align: right; }
  .summary-lines { padding: 2px 0; }
  .summary-cta { min-height: 44px; }
  .summary-note { margin-top: 7px; }
}
@media (max-width: 370px) {
  .purchase-wrap { padding-inline: 15px; }
  .option-price strong { font-size: 23px; }
  .seat-quote { grid-template-columns: 1fr; row-gap: 8px; }
  .seat-stepper { justify-self: start; }
}

.summary-payments { margin-top: 12px; }
.payment-label { font-size: .83rem; color: #d7d6d1; }
.method-list { display: grid; gap: 4px; margin-top: 3px; }
.method-current, .method-unavailable { display: flex; align-items: center; gap: 8px; font-size: .88rem; }
.method-current strong { font-weight: 550; }
.method-dot { width: 10px; height: 10px; border: 2px solid var(--ink); border-radius: 50%; outline: 1px solid #eabe83; background: #eabe83; }
.method-unavailable { color: #d7d6d1; padding-left: 18px; }
.method-unavailable small { font-size: .78rem; color: #d7d6d1; border-left: 1px solid #797b7b; padding-left: 8px; }
.summary-lines:not(:has(> div:not([hidden]))) { display: none; }

.purchase label.method-choice { display:flex; align-items:center; gap:8px; margin:0; font-size:.87rem; color:var(--paper); cursor:pointer; }
.method-choice input { margin:0; accent-color:#eabe83; width:15px; height:15px; }
.method-choice:has(:disabled) { color:#d7d6d1; cursor:default; }
.method-choice small { font-size:.78rem; color:#d7d6d1; }
