.pro-main {
  width: min(100% - 40px, 960px);
  padding-block: var(--s5) var(--s10);
}
.pro-main > .breadcrumbs { margin-bottom: clamp(20px, 4vw, 38px); }
.pro-section { margin-bottom: clamp(32px, 6vw, 64px); }
.pro-section h2 {
  margin: 0 0 var(--s2);
  font: 700 clamp(24px, 4vw, 34px)/1.15 var(--ui);
  letter-spacing: -.035em;
}
.pro-section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2) var(--s4);
  margin-bottom: clamp(14px, 3vw, 24px);
}
.pro-section-heading h1 {
  margin: 0;
  font: 740 clamp(28px, 5.6vw, 56px)/1.08 var(--ui);
  letter-spacing: -.05em;
}
.pro-test-tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}
.pro-plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s3);
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.pro-plan {
  display: grid;
  align-content: start;
  align-items: stretch;
  gap: var(--s2);
  min-width: 0;
  padding: clamp(14px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-stage);
  background: var(--surface);
  transition: background-color 140ms ease, border-color 140ms ease;
  --plan-detail: var(--muted);
  --plan-price: var(--ink);
}
.pro-plans[data-checkout] .pro-plan { cursor: pointer; }
.pro-plans[data-checkout] .pro-plan:hover { border-color: var(--brand); }
.pro-plans[data-checkout] .pro-plan:has(input:checked) {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--on-brand);
  --plan-detail: var(--on-brand);
  --plan-price: var(--on-brand);
}
.pro-plans[data-checkout] .pro-plan:has(input:disabled) { cursor: default; }
.pro-plan:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 3px; }
.pro-plan-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s1) var(--s2);
  font-size: clamp(14px, 2vw, 18px);
  line-height: 1.25;
}
.pro-plans:not([data-checkout]) input { display: none; }
.pro-plan-heading input {
  appearance: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: none;
  margin: 0;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  color: var(--brand);
  cursor: inherit;
}
.pro-plan-heading input:checked { color: var(--on-brand); }
.pro-plan-heading input:checked::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.pro-plan-heading input:focus-visible { outline: none; }
.pro-price, .pro-regular-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 var(--s2);
  color: var(--plan-detail);
}
.pro-price {
  margin-top: var(--s2);
  font-size: 14px;
}
.pro-price strong {
  color: var(--plan-price);
  font-size: clamp(34px, 6.2vw, 62px);
  font-weight: 740;
  line-height: 1;
  letter-spacing: -.065em;
  font-variant-numeric: lining-nums tabular-nums;
}
.pro-regular-price { font-size: 13px; }
.pro-regular-price del { font-weight: 650; }
.pro-plan .pro-note { margin-top: var(--s2); color: var(--plan-detail); }
.pro-checkout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s2) var(--s5);
  padding-block: var(--s4);
  border-bottom: 1px solid var(--line);
}
.pro-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--s2);
  flex: none;
}
#pro-purchase {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: var(--s3);
  min-height: 48px;
}
#pro-purchase svg { flex: none; }
#pro-selected-price {
  padding-inline-start: var(--s3);
  border-inline-start: 1px solid rgb(255 255 255 / .5);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.pro-status, .pro-note { margin: 0; color: var(--muted); font-size: 13px; }
.pro-status[data-error] { color: var(--accent); }
.pro-plans + .pro-note { margin-top: var(--s5); }
.pro-checkout-details .pro-note { margin-top: var(--s1); }
.pro-compare-intro { margin: 0 0 var(--s4); color: var(--muted); font-size: 15px; }
.pro-compare {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-stage);
  background: var(--surface);
  font-size: 14px;
}
.pro-compare th, .pro-compare td {
  padding: var(--s3) clamp(8px, 2vw, 20px);
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.pro-compare th:first-child { text-align: start; }
.pro-compare thead th {
  width: 20%;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}
.pro-compare thead th:first-child { width: 60%; }
.pro-compare tbody th { font-weight: 500; }
.pro-compare td { text-align: center; font-weight: 650; }
.pro-compare tr > :last-child:not([colspan]) {
  background: color-mix(in srgb, var(--brand-soft) 50%, var(--surface));
  color: var(--brand);
}
.pro-compare tbody:last-child tr:last-child > * { border-bottom: 0; }
.pro-compare .pro-tool-group th {
  padding-block: 0;
  background: var(--brand-soft);
}
.pro-tool-group a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-weight: 700;
  text-decoration-color: var(--brand);
}
.pro-tool-group a:hover { color: var(--brand); }
.pro-feature-icon { font-size: 19px; font-weight: 700; line-height: 1; }
.pro-feature-yes { color: var(--brand); }
.pro-feature-no { color: var(--muted); }
.pro-screen-reader {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.pro-compare-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0 var(--s4);
  padding-top: var(--s2);
}
.pro-tool-link { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; font-weight: 650; }
.pro-game-section {
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-stage);
  background: var(--surface);
}
.pro-game-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pro-game-benefits > div { padding-top: var(--s4); border-top: 1px solid var(--line); }
.pro-game-benefits > div:first-child { padding-inline-end: var(--s5); }
.pro-game-benefits > div + div { padding-inline-start: var(--s5); }
.pro-game-benefits h3 { margin: 0 0 var(--s2); font-size: 15px; }
.pro-game-benefits p { margin: 0; color: var(--muted); font-size: 14px; }
.pro-main .footer { font-size: 13px; }

@media (max-width: 580px) {
  .pro-main { width: min(100% - 28px, 960px); }
  .pro-checkout { flex-direction: column-reverse; align-items: stretch; }
  .pro-actions { justify-content: stretch; }
  #pro-purchase { flex: 1 1 auto; }
  .pro-plans { gap: var(--s2); }
  .pro-plan .pro-note { font-size: 12px; }
  .pro-price { display: grid; gap: var(--s1); }
  .pro-price strong { font-size: clamp(30px, 9vw, 44px); }
  .pro-compare { font-size: 13px; }
  .pro-compare thead th { width: 22%; }
  .pro-compare thead th:first-child { width: 56%; }
  .pro-game-benefits { grid-template-columns: 1fr; }
  .pro-game-benefits > div:first-child { padding-inline-end: 0; }
  .pro-game-benefits > div + div { padding-inline-start: 0; }
}
@media (forced-colors: active) {
  .pro-plan-heading input { appearance: auto; }
  .pro-plans[data-checkout] .pro-plan:has(input:checked) { border-color: Highlight; }
}
