.membership-page { max-width: 1010px; margin-inline: auto; }
.membership-page > .backlink { margin: 0 0 clamp(10px, 2.5vw, 28px); min-height: 44px; }
.membership-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0, .95fr); align-items: center; gap: clamp(24px, 7vw, 96px); }
.membership-intro { min-width: 0; padding-block: 12px; }
.membership-intro h1 { font-size: clamp(2.55rem, 4.75vw, 4.1rem); line-height: 1.04; letter-spacing: -.04em; }
.pro-intro-copy { max-width: 36ch; margin-block: 15px 22px; color: var(--muted); font-size: clamp(1rem,1.4vw,1.15rem); line-height: 1.5; }
.membership-intro .button { min-height: 46px; }
[data-act="pro-checkout"] { display: inline-grid; place-items: center; }
.checkout-ready, .checkout-busy { grid-area: 1 / 1; }
.checkout-ready { display: inline-flex; align-items: center; gap: 7px; }
.checkout-busy, [aria-busy="true"] > .checkout-ready { visibility: hidden; }
[aria-busy="true"] > .checkout-busy { visibility: visible; }
.plan-action [aria-busy="true"] { opacity: 1; background: #4a5052; cursor: progress; }
.pro-status, .pro-member-links, .pro-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
.pro-status { margin-bottom: 14px; font-weight: 600; }
.pro-billing-link, .pro-footer a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; text-decoration: underline; text-underline-offset: 3px; }
.rewind-preview { margin: 0; padding: clamp(18px,2.5vw,30px); background: white; border: 1px solid var(--line); border-radius: 12px; }
.rewind-heading, .rewind-dates, .rewind-outcome > div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.rewind-heading { flex-wrap: wrap; }
.rewind-heading h2 { font-size: 1.3rem; letter-spacing: -.025em; }
.rewind-heading span, .rewind-dates, .rewind-outcome small { font-size: .78rem; color: var(--muted); }
.rewind-preview p { color: var(--muted); font-size: .93rem; margin: 7px 0 15px; }
.rewind-chart { width: 100%; height: auto; overflow: visible; }
.rewind-chart path { stroke: #d9ddda; stroke-width: 1; stroke-dasharray: 2 3; }
.rewind-chart text { fill: #595f60; font: 11px system-ui,sans-serif; }
.rewind-line { fill: none; stroke: #303a41; stroke-width: 2.7; stroke-linejoin: round; }
.rewind-line.line-1 { stroke: #a64325; stroke-dasharray: 6 3; }
.rewind-dates { padding: 0 10% 8px 0; }
.rewind-outcome { margin: 0; }
.rewind-outcome > div { border-top: 1px solid var(--line); padding: 8px 0; font-size: .91rem; }
.rewind-outcome > div:last-child { padding-bottom: 0; }
.rewind-outcome dt { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.rewind-outcome dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.rewind-key { width: 14px; border-top: 2px solid #303a41; align-self: center; }
.rewind-key.key-1 { border-top: 2px dashed #a64325; }
.pro-features { padding-top: clamp(32px,5vw,64px); }
.pro-features h2 { font-size: 1.45rem; margin-bottom: 14px; }
.pro-features ul { list-style: none; padding: 0; margin: 0; }
.pro-features li { border-top: 1px solid var(--line); }
.pro-feature { width: 100%; text-align: start; display: grid; align-items: baseline; grid-template-columns: minmax(180px,.65fr) minmax(0,1.3fr); gap: 5px 22px; padding: 15px 0; }
.pro-feature strong { font-size: 1rem; }
.pro-feature-detail { max-width: 68ch; color: var(--muted); font-size: .94rem; line-height: 1.5; }
.pro-game-link strong { text-decoration: underline; text-underline-offset: 3px; }
.pro-game-link:hover strong { color: var(--focus); }
.pro-footer { border-top: 1px solid var(--line); padding-block: 8px; justify-content: space-between; font-size: .86rem; color: var(--muted); }
.pricing-page { max-width: 57rem; }
.pricing-page > .backlink { margin-bottom: .4rem; }
.pricing-intro { max-width: 38rem; margin: 0 auto clamp(1.5rem, 3vw, 2.35rem); text-align: center; }
.pricing-intro h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.04; }
.pricing-intro p { max-width: 47ch; margin: .75rem auto 0; color: var(--muted); font-size: 1.05rem; line-height: 1.5; text-wrap: pretty; }
.plan-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.85rem, 2vw, 1.4rem); }
.plan-card { display: flex; flex-direction: column; min-width: 0; padding: clamp(1.15rem, 2.6vw, 2rem); background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; }
.plan-pro { border-color: #bc5537; box-shadow: inset 0 .2rem 0 #bc5537; background: #fffaf5; }
.plan-heading { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.plan-heading h2 { font-size: 1.2rem; letter-spacing: -.02em; }
.plan-pro .plan-heading h2 { color: #9d3d25; }
.plan-art { width: clamp(4rem, 8vw, 6.5rem); height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .4rem; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .35rem; margin-top: .25rem; }
.plan-price strong { font-size: clamp(2.65rem, 4.6vw, 3.85rem); font-weight: 630; line-height: 1.05; letter-spacing: -.055em; font-variant-numeric: lining-nums; }
.plan-price span { color: var(--muted); font-size: .9rem; }
.plan-highlights { list-style: none; padding: 1rem 0 0; margin: 1.25rem 0 1.4rem; border-top: 1px solid var(--line); }
.plan-highlights li { display: flex; gap: .65rem; align-items: baseline; line-height: 1.5; }
.plan-highlights li + li { margin-top: .45rem; }
.plan-highlights li::before { content: ""; flex: 0 0 .5rem; height: .28rem; border: solid currentColor; border-width: 0 0 1.6px 1.6px; transform: translateY(-.17rem) rotate(-45deg); }
.plan-pro .plan-highlights li::before { color: #9d3d25; }
.plan-action { margin-top: auto; }
.plan-action .button { width: 100%; min-height: 46px; padding-block: .65rem; white-space: normal; text-align: center; }
.plan-action p:not(.form-error) { margin-top: .55rem; font-size: .82rem; line-height: 1.45; text-align: center; color: var(--muted); }
.plan-action .form-error { margin-bottom: .6rem; }
.plan-details { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; gap: clamp(1.5rem, 4vw, 3rem); margin-block: clamp(2rem, 5vw, 3.5rem); }
.plan-comparison h2 { margin-bottom: .9rem; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.plan-comparison table { width: 100%; border-collapse: collapse; font-size: .93rem; line-height: 1.4; font-variant-numeric: tabular-nums; }
.plan-comparison th, .plan-comparison td { padding: .65rem .35rem; border-bottom: 1px solid var(--line); text-align: center; }
.plan-comparison th:first-child { padding-left: 0; text-align: left; }
.plan-comparison thead { color: var(--muted); font-size: .83rem; }
.plan-comparison tbody th { font-weight: 480; }
.plan-comparison td { width: 18%; font-weight: 620; }
.plan-comparison td .ic { display: inline-block; vertical-align: middle; }
@media (max-width: 700px) {
  .membership-page > .backlink { margin-bottom: 2px; }
  .membership-hero { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .pro-feature { grid-template-columns: 1fr auto; }
  .pro-feature-detail { grid-column: 1 / -1; grid-row: 2; }
  .plan-details { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .pricing-intro { text-align: left; }
  .pricing-intro p { margin-left: 0; }
  .plan-cards { grid-template-columns: 1fr; }
  .plan-art { width: 5.25rem; }
}
@media (prefers-reduced-motion: reduce) {
  .plan-action .button { transition: none; }
  .plan-action .button:active { transform: none; }
}
