/* Subscription choices use the existing catalogue without a featured default. */
.plans-section {
  --pricing-ink: #172b31;
  --pricing-muted: #4e615b;
  --pricing-rule: #8a9b99;
  --pricing-option: #fafbf6;
  --pricing-option-hover: #e5eff0;
  --pricing-link: #255b6c;
  padding-block: 72px;
  color: var(--pricing-ink);
}
.plans-section .plans-heading { display: block; margin: 0 0 28px; }
.plans-section .plans-heading > div { display: block; }
.plans-section .plans-heading h2 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.15; letter-spacing: -.035em; margin: 0 0 20px; }
.plans-section .plans-heading .eyebrow { margin: 0 0 18px; color: var(--pricing-muted); }
.plans-section .subtle-text { color: var(--pricing-muted); }
.plans-section .section-intro { max-width: 65ch; font-size: 16px; line-height: 1.6; color: var(--pricing-muted); margin: 0; }
.pricing-eyebrow { color: #4e615b; font-size: 12px; font-weight: 650; letter-spacing: .1em; line-height: 1.5; margin: 0 0 14px; }
.subscription-includes { padding-bottom: 28px; }
.subscription-includes ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; list-style: none; padding: 0; margin: 0 0 18px; }
.subscription-includes li { position: relative; padding-left: 24px; font-size: 16px; line-height: 1.5; }
.subscription-includes li::before { content: '+'; position: absolute; left: 0; color: var(--pricing-link); }
.subscription-includes p { max-width: 75ch; margin: 0; font-size: 14px; line-height: 1.6; color: var(--pricing-muted); }
.subscription-includes a, .checkout-notice a { text-decoration: underline; text-underline-offset: 3px; }
.plans-section .trial-panel { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 30px 32px; margin: 0 0 32px; border: 1px solid #516c76; border-radius: 6px; background: #17272f; color: #f0efeb; }
.trial-panel .trial-content { min-width: 0; }
.trial-panel .pricing-eyebrow { color: #c5e7ef; }
.trial-panel .trial-content h3 { font-size: 26px; line-height: 1.25; letter-spacing: -.025em; margin: 0 0 14px; }
.trial-panel .trial-content > p:last-child { max-width: 62ch; font-size: 14px; line-height: 1.6; color: #b6c3c8; margin: 0; }
.trial-panel > .button { flex: 0 0 auto; max-width: 100%; }
.pricing-support { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin: 0 0 28px; padding-block: 12px; border-bottom: 1px solid var(--pricing-rule); }
.pricing-support > p { margin: 0; color: var(--pricing-muted); font-size: 14px; line-height: 1.6; }
.pricing-support-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.pricing-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 16px 32px; margin: 32px 0 18px; }
.pricing-heading h3 { font-size: 22px; line-height: 1.3; letter-spacing: -.02em; margin: 0; }
.plans-section .pricing-heading > p { max-width: 34ch; font-size: 14px; line-height: 1.6; margin: 0; color: var(--pricing-muted); }
.tariff-list { border-top: 1px solid var(--pricing-rule); }
.tariff-option { display: grid; grid-template-columns: minmax(0, 1fr) minmax(130px, .7fr) minmax(210px, auto); gap: 24px; align-items: center; min-width: 0; padding: 22px 24px; border-bottom: 1px solid var(--pricing-rule); background: var(--pricing-option); }
.tariff-option h4 { font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; margin: 0 0 5px; overflow-wrap: anywhere; }
.tariff-name > p, .tariff-total > p:last-child { font-size: 14px; line-height: 1.6; color: var(--pricing-muted); margin: 0; }
.tariff-price { color: var(--pricing-ink); font-size: 30px; line-height: 1.2; font-variant-numeric: tabular-nums; letter-spacing: -.025em; margin: 0 0 5px; overflow-wrap: anywhere; }
.tariff-price > span { font-size: .75em; }
.tariff-select { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 12px 16px; border: 1px solid var(--pricing-rule); border-radius: 4px; color: var(--pricing-link); font-size: 15px; font-weight: 650; line-height: 1.4; transition: background .2s; }
.tariff-select:hover { background: var(--pricing-option-hover); }
.tariff-select > span { flex-shrink: 0; font-size: 22px; line-height: 1; }
.pricing-payment-details { margin-top: 28px; border-bottom: 1px solid var(--pricing-rule); }
.pricing-payment-details > summary { padding: 16px 0; min-height: 48px; cursor: pointer; font-size: 16px; line-height: 1.5; }
.pricing-online { padding: 14px 0 30px; }
.pricing-online h3 { font-size: 22px; line-height: 1.3; margin: 0 0 16px; letter-spacing: -.02em; }
.pricing-online p { font-size: 14px; line-height: 1.6; color: var(--pricing-muted); margin: 0 0 16px; max-width: 65ch; }
.pricing-contact { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 48px; padding-block: 10px; color: var(--pricing-link); font-size: 16px; line-height: 1.5; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.plans-section :focus-visible, .subscribe-contact-section :focus-visible, .payment-order-summary :focus-visible { outline-color: #276176; }

/* The chosen term stays next to the account and checkout form. */
.subscribe-hero { padding-block: 36px 40px; }
.subscribe-back { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; color: #b6c3c8; margin-bottom: 24px; }
.subscribe-back:hover { color: #f0efeb; }
.subscribe-hero .eyebrow { margin-bottom: 18px; }
.subscribe-hero h1 { max-width: 20ch; font-size: clamp(36px, 4.7vw, 62px); line-height: 1.13; letter-spacing: -.035em; margin: 0 0 20px; }
.subscribe-hero > p:last-child { max-width: 65ch; color: #b6c3c8; font-size: 16px; line-height: 1.6; margin: 0; }
.subscribe-contact-section { background: #f0efeb; color: #172b31; padding-block: 40px 56px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: 40px; margin-bottom: 32px; }
.subscribe-summary { min-width: 0; padding: 30px; border: 1px solid #819795; border-radius: 6px; background: #e5ece9; color: #172b31; }
.subscribe-summary h2 { font-size: 30px; line-height: 1.2; letter-spacing: -.025em; margin: 0 0 8px; overflow-wrap: anywhere; }
.subscribe-duration { color: #4e615b; font-size: 16px; line-height: 1.5; margin: 0 0 24px; }
.subscribe-price { font-size: 48px; line-height: 1.1; letter-spacing: -.035em; margin: 0 0 12px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.subscribe-price > span { font-size: .7em; }
.subscribe-price-caption, .subscribe-summary-note { font-size: 14px; line-height: 1.6; color: #4e615b; margin: 0; }
.subscribe-summary-note { margin-top: 8px; }
.subscribe-includes { border-top: 1px solid #819795; margin-top: 24px; }
.subscribe-includes summary { padding-block: 16px 4px; min-height: 44px; cursor: pointer; font-size: 16px; line-height: 1.5; }
.subscribe-includes ul { padding-left: 20px; margin: 18px 0; font-size: 16px; line-height: 1.6; }
.subscribe-includes p, .subscribe-includes > a { font-size: 14px; line-height: 1.6; color: #4e615b; }
.subscribe-includes > a { display: inline-flex; align-items: center; min-height: 44px; color: #255b6c; text-decoration: underline; text-underline-offset: 3px; }
.checkout-panel { min-width: 0; padding: 30px; border: 1px solid #819795; border-radius: 6px; background: #fafbf6; }
.checkout-panel h2, .checkout-panel h3 { font-size: 27px; line-height: 1.25; letter-spacing: -.025em; margin: 0 0 18px; }
.checkout-account-label { font-size: 14px; line-height: 1.6; color: #4e615b; margin: 24px 0 4px; }
.checkout-panel .checkout-account { color: #172b31; font-size: clamp(22px, 2.5vw, 30px); line-height: 1.3; letter-spacing: -.02em; overflow-wrap: anywhere; margin: 0 0 8px; }
.checkout-panel .checkout-hint { color: #4e615b; font-size: 14px; line-height: 1.6; margin: 8px 0 22px; }
.checkout-panel .checkout-privacy { color: #4e615b; font-size: 14px; line-height: 1.6; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid #aebebb; }
.checkout-panel .checkout-privacy a, .offer-choice a { color: #255b6c; text-decoration: underline; text-underline-offset: 3px; }
.checkout-panel label { color: #172b31; font-size: 16px; line-height: 1.5; margin: 0 0 8px; }
.checkout-panel input:not([type=hidden]):not([type=checkbox]) { background: #fff; color: #172b31; border-color: #6b827f; font-size: 18px; min-height: 52px; min-width: 0; }
.checkout-panel input::placeholder { color: #5b6c68; }
.checkout-panel .watch-login-form #watch-code::placeholder { font-size: 16px; letter-spacing: 0; }
.checkout-panel .checkout-submit { width: 100%; min-height: 52px; background: #203e48; color: #f0efeb; border-color: #203e48; font-size: 16px; padding-inline: 20px; margin-top: 12px; }
.checkout-panel .checkout-submit:hover { background: #2d515e; }
.checkout-form .offer-choice { display: flex; align-items: flex-start; gap: 14px; margin: 24px 0 12px; font-size: 14px; line-height: 1.6; cursor: pointer; }
.offer-choice input[type=checkbox] { flex: 0 0 22px; width: 22px; height: 22px; min-height: 22px; padding: 0; margin: 1px 0 0; accent-color: #255b6c; cursor: pointer; }
.checkout-notice { padding: 18px 22px; border: 1px solid #aa9662; border-radius: 4px; background: #f4edda; color: #574b28; font-size: 16px; line-height: 1.6; margin: 0 0 28px; }
.checkout-panel .notice.error { color: #82321c; background: #fff0e9; border-color: #b96c51; font-size: 16px; line-height: 1.6; }
.subscribe-first-time { display: block; margin: 0 0 28px; padding: 0 0 28px; border-bottom: 1px solid #aebebb; }
.subscribe-first-time h2 { font-size: 23px; }
.subscribe-first-time p { color: #4e615b; font-size: 14px; line-height: 1.6; margin: 0 0 20px; }
.subscribe-first-time > .button { min-height: 48px; background: #d7e9ed; border-color: #758f97; color: #172b31; font-size: 15px; width: 100%; }
.subscribe-first-time > .button:hover { background: #c5e7ef; }
.checkout-process { border-top: 1px solid #819795; border-bottom: 1px solid #819795; }
.checkout-process > summary { cursor: pointer; padding-block: 18px; min-height: 48px; font-size: 16px; line-height: 1.5; }
.checkout-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 10px 0 28px; padding-left: 24px; }
.checkout-steps li { padding-left: 4px; }
.checkout-steps h3, .checkout-support h2, .checkout-support h3 { font-size: 22px; line-height: 1.3; letter-spacing: -.02em; margin: 0 0 14px; }
.checkout-steps p, .checkout-support p { font-size: 14px; line-height: 1.6; color: #4e615b; max-width: 65ch; margin: 0; }
.checkout-support { padding-top: 28px; margin-top: 28px; border-top: 1px solid #aebebb; }
.checkout-support-links { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 16px; }
.checkout-support-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; color: #255b6c; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.subscribe-closing-note { color: #4e615b; font-size: 14px; line-height: 1.6; margin: 28px 0 0; max-width: 65ch; }

/* Account status and pending orders precede renewal choices. */
.account-section { padding-top: 48px; }
.account-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; margin-bottom: 28px; }
.account-heading > div { min-width: 0; }
.account-heading .eyebrow { margin-bottom: 12px; }
.account-heading .compact-title { margin: 0; }
.account-section .subscription { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .4fr); align-items: center; gap: 36px; padding: 32px; background: #1c282e; border-color: #526269; }
.account-section .subscription h2 { font-size: clamp(24px, 2.7vw, 34px); line-height: 1.3; letter-spacing: -.025em; margin: 0 0 12px; }
.account-section .subscription p { font-size: 16px; line-height: 1.6; color: #b6c3c8; max-width: 65ch; margin: 12px 0 0; }
.account-section .subscription .status { color: #c5e7ef; font-size: 16px; margin: 0 0 16px; }
.account-section .subscription .status.expired { color: #f1c39d; }
.account-section .subscription .subscription-time { font-size: 14px; }
.subscription-actions { display: grid; gap: 14px; }
.subscription-actions .button { width: 100%; }
.subscription-actions .text-link { min-height: 44px; font-size: 14px; text-align: center; justify-content: center; }
.account-orders { padding-block: 48px; border-bottom: 1px solid #526269; }
.account-section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px 40px; }
.account-section-heading h2 { font-size: 28px; line-height: 1.3; letter-spacing: -.025em; margin: 0; }
.account-section-heading > p { max-width: 42ch; color: #b6c3c8; font-size: 14px; line-height: 1.6; margin: 0; }
.account-orders-note, .account-empty { color: #b6c3c8; max-width: 65ch; font-size: 16px; line-height: 1.6; margin: 24px 0; }
.order-list { display: grid; gap: 0; border-top: 1px solid #526269; }
.order-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 4px; border-bottom: 1px solid #526269; color: #f0efeb; font-size: 16px; line-height: 1.5; }
.order-row:hover { background: #1c282e; }
.order-row-plan { display: grid; gap: 6px; min-width: 0; }
.order-row-plan strong { font-weight: 600; overflow-wrap: anywhere; }
.order-row-plan > span { color: #b6c3c8; font-size: 14px; }
.order-row-status { display: flex; gap: 24px; align-items: center; color: #c5e7ef; }
.order-row-status > span { font-size: 22px; }
.account-page .account-plans { --pricing-ink: #f0efeb; --pricing-muted: #b6c3c8; --pricing-rule: #526269; --pricing-option: #1c282e; --pricing-option-hover: #273941; --pricing-link: #c5e7ef; padding-block: 48px 32px; }
.account-plans :focus-visible { outline-color: #c5e7ef; }
.account-access-details { border-bottom: 1px solid #526269; margin-bottom: 24px; }
.account-access-details > summary { padding-block: 18px; cursor: pointer; min-height: 48px; font-size: 16px; line-height: 1.5; }
.account-access-details > p { max-width: 65ch; color: #b6c3c8; font-size: 14px; line-height: 1.6; }
.account-access-details > a { font-size: 16px; min-height: 44px; margin-bottom: 24px; }

/* Payment state and actions are still selected and verified by the server. */
.payment-page { padding: 36px 0 64px; }
.payment-page > .compact-title { margin-bottom: 28px; }
.payment-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.payment-status-panel { min-width: 0; padding: 32px; background: #1c282e; border-color: #526269; }
.payment-state-mark { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #a1bcc4; border-radius: 50%; color: #c5e7ef; font-size: 28px; margin-bottom: 24px; }
.payment-state-success { color: #c4ead0; border-color: #b4d8bd; }
.payment-status-panel h2 { font-size: 30px; line-height: 1.25; letter-spacing: -.025em; margin: 0 0 20px; }
.payment-message, .payment-until { color: #b6c3c8; font-size: 16px; line-height: 1.6; }
.payment-until strong { color: #c4ead0; font-weight: 650; }
.payment-actions { display: grid; gap: 14px; margin-top: 28px; }
.payment-actions .button { width: 100%; }
.payment-status-note { color: #b6c3c8; font-size: 14px; line-height: 1.6; margin: 24px 0 0; }
.payment-order-summary { min-width: 0; padding: 30px; border: 1px solid #819795; border-radius: 6px; background: #e5ece9; color: #172b31; }
.payment-order-summary > h2 { font-size: 28px; line-height: 1.25; letter-spacing: -.025em; margin: 0 0 14px; }
.payment-summary-note { color: #4e615b; font-size: 14px; line-height: 1.6; margin: 0 0 24px; }
.payment-order-details { border-top: 1px solid #819795; border-bottom: 1px solid #819795; }
.payment-order-details summary { cursor: pointer; min-height: 48px; padding-block: 16px; font-size: 16px; line-height: 1.5; }
.payment-order-details dl { margin: 0 0 20px; }
.payment-order-details dl > div { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid #aebebb; font-size: 14px; line-height: 1.6; }
.payment-order-details dt { color: #4e615b; }
.payment-order-details dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.payment-order-id { font-size: 14px; line-height: 1.6; color: #4e615b; margin: 20px 0; }
.payment-order-id > span { display: block; color: #172b31; overflow-wrap: anywhere; margin-top: 6px; }
.payment-order-summary .checkout-support { border: 0; padding: 0; margin-top: 24px; }
.service-page > p { color: #b6c3c8; font-size: 16px; line-height: 1.6; }
.service-page label, .service-page .button { font-size: 16px; }
.service-page .notice.error { color: #f1c3b5; }
.service-page > .button { min-height: 48px; }

@media (max-width: 1000px) {
  .plans-section .trial-panel { align-items: flex-start; flex-direction: column; gap: 24px; }
  .checkout-grid { gap: 24px; }
  .checkout-panel, .subscribe-summary, .payment-status-panel, .payment-order-summary { padding: 24px; }
  .account-section .subscription { grid-template-columns: 1fr; gap: 24px; }
  .subscription-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
  .subscription-actions .button { width: auto; }
}
@media (max-width: 760px) {
  .plans-section { padding-block: 48px; }
  .subscription-includes ul { grid-template-columns: 1fr; }
  .plans-section .trial-panel { padding: 24px; }
  .pricing-heading, .account-section-heading { display: block; }
  .plans-section .pricing-heading > p, .account-section-heading > p { max-width: none; margin-top: 12px; }
  .tariff-option { grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 20px; }
  .tariff-total { text-align: right; }
  .tariff-select { grid-column: 1 / -1; }
  .checkout-grid, .checkout-steps, .payment-layout { grid-template-columns: 1fr; gap: 24px; }
  .subscribe-hero { padding-block: 24px 32px; }
  .subscribe-contact-section { padding-block: 28px 40px; }
  .subscribe-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; }
  .subscribe-summary > .pricing-eyebrow, .subscribe-summary > h2, .subscribe-duration { grid-column: 1; }
  .subscribe-summary > h2 { font-size: 26px; }
  .subscribe-summary .subscribe-price { grid-column: 2; grid-row: 2; font-size: 38px; align-self: baseline; text-align: right; }
  .subscribe-price-caption { grid-column: 2; grid-row: 3; align-self: start; text-align: right; max-width: 15ch; }
  .subscribe-duration { margin-bottom: 8px; }
  .subscribe-summary-note, .subscribe-includes { grid-column: 1 / -1; }
  .subscribe-includes { margin-top: 20px; }
  .subscribe-back { margin-bottom: 20px; }
  .checkout-steps { gap: 24px; padding-right: 4px; }
  .checkout-panel h2, .checkout-panel h3 { font-size: 25px; }
  .account-section { padding-top: 32px; }
  .account-section .subscription { padding: 24px; }
  .account-orders { padding-block: 36px; }
  .account-page .account-plans { padding-top: 36px; }
  .order-row { align-items: flex-start; flex-direction: column; gap: 14px; }
  .order-row-status { width: 100%; justify-content: space-between; }
  .payment-page { padding-top: 24px; }
  .payment-status-panel h2 { font-size: 27px; }
}
@media (max-width: 420px) {
  .trial-panel .trial-content h3 { font-size: 24px; }
  .trial-panel > .button { width: 100%; padding-inline: 16px; }
  .tariff-option, .checkout-panel, .subscribe-summary, .payment-status-panel, .payment-order-summary { padding: 20px; }
  .tariff-option h4 { font-size: 20px; }
  .tariff-price { font-size: 27px; }
  .subscribe-summary { display: block; }
  .subscribe-summary .subscribe-price { text-align: left; font-size: 40px; margin-top: 20px; }
  .subscribe-price-caption { text-align: left; max-width: none; }
  .checkout-panel .checkout-submit { padding-inline: 14px; gap: 12px; }
  .checkout-panel .watch-login-form #watch-code::placeholder { font-size: 16px; }
  .subscription-actions { display: grid; }
  .subscription-actions .button { width: 100%; }
  .payment-order-details dl > div { display: block; }
  .payment-order-details dd { text-align: left; margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .tariff-select { transition: none; }
}
