/* Aerenium sub-pages on the SHOWCASE system (features, download, pricing detail).
 * Loaded after /showcase.css and /showcase-pages.css. Page compositions live here, shared helpers in showcase-pages.css. */

.ap-shell { width: min(100% - 2 * var(--sc-gutter, 24px), var(--sc-wide, 2200px)); margin-inline: auto; }

/* ---------- features: capability bento ---------- */
.ap-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--sc-gap, 16px); margin-top: clamp(20px, 2vw, 36px); counter-reset: ap; }
.ap-card { position: relative; grid-column: span 4; display: flex; flex-direction: column; gap: 10px; padding: var(--sc-pad, 22px); border-radius: 20px; counter-increment: ap; min-width: 0; }
.ap-card::before { content: counter(ap, decimal-leading-zero); color: var(--accent-3, #E2A945); font-size: 13px; font-weight: 700; letter-spacing: .14em; }
.ap-card h2 { margin: 0; font-size: var(--sc-h3, 19px); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.ap-card > p { margin: 0; color: var(--text-1); opacity: .88; font-size: var(--sc-body, 15px) !important; line-height: 1.6; }
.ap-card .ap-proof { margin: auto 0 0; padding: 10px 0 0; border-top: 1px solid var(--sc-edge); color: var(--text-2); font-size: clamp(13px, .8vw, 15px) !important; line-height: 1.6; list-style: none; }
.ap-card--wide { grid-column: span 8; }
.ap-card--lead { grid-column: span 6; }
.ap-card--lead h2 { font-size: clamp(20px, 1.7vw, 30px); }

/* ---------- features: toolkit pills ---------- */
.ap-tools { margin-top: clamp(20px, 2vw, 36px); }
.ap-tools .domain-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-start; max-width: none; margin: 0; }
.ap-tools .domain-pill { min-height: 44px; padding: 9px 18px; font-size: clamp(14px, .9vw, 16px) !important; }
.ap-tools .pill-reveal-wrap { margin-top: 18px; max-width: 70ch; }

/* ---------- closing band ---------- */
.ap-final { text-align: center; padding: clamp(32px, 3.6vw, 68px) clamp(18px, 3vw, 56px); border-radius: 24px; }
.ap-final h2 { margin: 0 auto; max-width: 20ch; font-size: var(--sc-h2, 30px); font-weight: 580; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.ap-final p { margin: 14px auto 0; max-width: 56ch; color: var(--text-1); opacity: .88; font-size: var(--sc-body, 15px) !important; line-height: 1.6; }
.ap-final .sc-actions { justify-content: center; }

@media (max-width: 1100px) {
  .ap-card, .ap-card--lead { grid-column: span 6; }
  .ap-card--wide { grid-column: span 12; }
}
@media (max-width: 700px) {
  .ap-bento { grid-template-columns: minmax(0, 1fr); }
  .ap-card, .ap-card--lead, .ap-card--wide { grid-column: auto; }
}

/* ---------- download page (functional; keeps download-experience.css structure) ---------- */
.dl-wide .download-shell { width: min(100% - 2 * var(--sc-gutter, 24px), var(--sc-wide, 2200px)); }
.dl-wide .download-hero { padding: calc(var(--header, 64px) * 0) 0 0; border-bottom: 0; background: none; }
.dl-wide .download-hero.sc-hero { padding-block: calc(var(--header, 72px) + clamp(36px, 7vh, 120px)) clamp(36px, 7vh, 120px); min-height: 100vh; min-height: 100svh; }
.dl-wide .download-hero-grid { padding-block: clamp(36px, 6vh, 100px); grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: clamp(32px, 6vw, 140px); align-items: center; }
.dl-wide .download-intro { max-width: none; }
.dl-wide .download-intro h1 { max-width: 12ch; font-size: clamp(52px, 6.4vw, 168px); line-height: .96; letter-spacing: -.045em; }
.dl-wide .download-intro h1 em { font-family: inherit; font-weight: 600; background: linear-gradient(100deg, #F2E3B8, #E2A945 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dl-wide .download-lead { max-width: 54ch; font-size: clamp(17px, 1.3vw, 25px) !important; color: var(--text-1); opacity: .9; }
.dl-wide .download-kicker { font-size: 13px !important; }
.dl-wide .setup-card { max-width: 760px; margin-left: auto; padding: clamp(24px, 2vw, 44px); border-radius: 26px; background: var(--sc-glass); border-color: var(--sc-edge); }
.dl-wide .setup-card::after { background: rgba(226, 169, 69, .08); }
.dl-wide .setup-card .sc-glass-inner { display: contents; }
.dl-wide .setup-description, .dl-wide .setup-footnote { font-size: clamp(15px, 1vw, 18px) !important; }
.dl-wide .trust-strip { padding-block: clamp(14px, 1.4vw, 28px); }
.dl-wide .trust-strip-inner { padding: clamp(16px, 1.5vw, 26px) clamp(18px, 2vw, 40px); border-radius: 20px; background: var(--sc-glass); border: 1px solid rgba(224, 137, 74, .35); }
.dl-wide .other-downloads { padding-block: var(--sc-section-y, 56px); }
.dl-wide .section-heading h2, .dl-wide .download-help h2 { font-size: var(--sc-h2, 30px); letter-spacing: -.03em; }
.dl-wide .portable-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: var(--sc-gap, 14px); }
.dl-wide .portable-item { height: 100%; border-radius: 20px; background: var(--sc-glass); border-color: var(--sc-edge); }
.dl-wide .download-help { padding-block: var(--sc-section-y, 56px); }
.dl-wide .download-help-inner { padding: clamp(22px, 2.2vw, 42px); border-radius: 22px; background: var(--sc-glass); border: 1px solid var(--sc-edge); }
@media (max-width: 860px) {
  .dl-wide .download-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .dl-wide .download-intro h1 { max-width: none; font-size: clamp(44px, 14vw, 72px); }
  .dl-wide .setup-card { margin-left: 0; max-width: none; }
  .dl-wide .download-hero-grid { padding-block: 40px; }
  .dl-wide .download-hero.sc-hero { padding-block: calc(var(--header, 72px) + 24px) 40px; }
}

/* ---------- pricing detail: animated hero + plain wide plan and comparison layout ---------- */
.pd-hero .sc-hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.pd-hero .sc-title { max-width: 20ch; font-size: clamp(36px, 3.7vw, 96px); }
.pd-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--text-1); font-size: 14px; }
.pd-trust span::before, .pd-trust a::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 9px; border-radius: 50%; background: var(--accent-3, #E2A945); vertical-align: middle; }
.pd-hero .sc-note { border-left: 2px solid rgba(224, 137, 74, .56); padding-left: 16px; }
.pd-ladder-wrap { justify-self: end; width: min(100%, 640px); }
.pd-ladder { display: grid; gap: clamp(10px, 1vw, 18px); margin: 0; padding: 0; list-style: none; }
.pd-step { position: relative; display: flex; flex-direction: column; gap: 4px; padding: clamp(14px, 1.3vw, 26px) clamp(18px, 1.8vw, 36px); border: 1px solid var(--sc-edge); border-radius: 20px; background: var(--sc-glass); backdrop-filter: blur(10px); box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .06);
  margin-left: calc(var(--i, 0) * clamp(16px, 3vw, 64px)); animation: sc-float calc(8s + var(--i, 0) * 1.3s) ease-in-out infinite alternate; }
.pd-step:last-child { border-color: var(--sc-gold-edge); }
.pd-step b { font-size: clamp(20px, 1.7vw, 38px); font-weight: 600; letter-spacing: -.02em; }
.pd-step span { color: var(--text-2); font-size: clamp(14px, 1vw, 20px) !important; line-height: 1.5; }
.pd-step::before { content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 3px; border-radius: 3px; background: linear-gradient(var(--accent-4, #F2E3B8), var(--accent-3, #E2A945)); opacity: calc(.3 + var(--i, 0) * .23); }
.sc-calm .pd-step, html[data-tier="lite"] .pd-step { animation: none; }
@media (prefers-reduced-motion: reduce) { .pd-step { animation: none; } }

.pd-wide .pricing { padding-inline: var(--sc-gutter, 24px); }
.pd-wide .pricing-inner { max-width: var(--sc-wide, 2200px); }
.pd-wide .payways, .pd-wide .pfaq-grid, .pd-wide .credit-strip { max-width: min(100%, 1400px); }
.pd-wide .narrative-inner { max-width: min(100%, 1400px); }
@media (min-width: 1800px) {
  .pd-wide .plan { padding: 28px 24px 24px; }
  .pd-wide .compare-table th, .pd-wide .compare-table td { padding: 16px 18px; font-size: 16px; }
}
@media (max-width: 900px) {
  .pd-hero .sc-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .pd-ladder-wrap { justify-self: stretch; width: 100%; }
  .pd-step { margin-left: calc(var(--i, 0) * 12px); animation: none; }
}

/* ---------- pricing detail rework (as-hucj): one headline + one CTA, each plan once, shared billing terms once ---------- */
.pd-hero--solo .sc-hero-inner { grid-template-columns: minmax(0, 1fr); }
.pd-hero--solo .sc-hero-copy { max-width: min(100%, 980px); }
.pd-hero--solo.sc-hero--compact { min-height: 0; }
.pd-hero--solo.sc-hero--compact .sc-hero-inner { padding-block: clamp(28px, 5vh, 64px) clamp(36px, 6vh, 72px); }
.pd-hero--solo .sc-intro { max-width: 70ch; font-size: clamp(16px, 1.15vw, 21px); }
.pd-hero--solo .sc-actions { margin-top: 22px; }
.pd-hero--solo .sc-note { margin-top: 18px; }
.pd-billing, .pd-compare { border: 1px solid var(--border); border-radius: var(--r-lg, 16px); background: var(--bg-2, rgba(255, 255, 255, .03)); }
.pd-billing > summary, .pd-compare > summary { cursor: pointer; padding: 16px 22px; font-size: 17px; font-weight: 650; color: var(--text-1); list-style: none; }
.pd-billing > summary::-webkit-details-marker, .pd-compare > summary::-webkit-details-marker { display: none; }
.pd-billing > summary::after, .pd-compare > summary::after { content: '+'; float: right; color: var(--accent-4, #F2E3B8); font-weight: 700; }
.pd-billing[open] > summary::after, .pd-compare[open] > summary::after { content: '\2212'; }
.pd-billing > summary:focus-visible, .pd-compare > summary:focus-visible { outline: 2px solid var(--accent-3, #E2A945); outline-offset: 2px; border-radius: var(--r-lg, 16px); }
.pd-billing-body { display: grid; gap: 14px; padding: 0 22px 22px; }
.pd-billing .region-disclosure-shared { display: grid; gap: 8px; }
.pd-billing .payways { margin: 4px 0 0; }
.pd-billing-links { margin: 0; font-size: 14px; color: var(--text-3); }
.pd-compare .compare-wrap { padding: 0 8px 12px; }

/* ---------- pricing cards, calm pass (as-lc7i): price, one billing line, a few bullets, one button ---------- */
.pd-trust a { color: inherit; text-decoration: underline dotted var(--text-3); text-underline-offset: 4px; }
.pd-trust a:hover { color: var(--accent-4, #F2E3B8); text-decoration-color: currentColor; }
.pd-trust a:focus-visible { outline: 2px solid var(--accent-3, #E2A945); outline-offset: 3px; border-radius: 4px; }
.pd-wide .plan { padding: 24px 22px 22px; }
.pd-wide .plan.popular { padding: 24px 22px 22px; }
.pd-wide .plan-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 26px; }
.pd-wide .plan .plan-badge { position: static; transform: none; flex: none; white-space: nowrap; padding: 3px 10px; background: rgba(226, 169, 69, .14); color: var(--accent-4, #F2E3B8); border: 1px solid rgba(226, 169, 69, .32); box-shadow: none; }
.pd-wide .plan-name { font-size: 12px; }
.pd-wide .plan-price { margin: 12px 0 0; font-size: 30px; min-height: 0; }
.pd-wide .plan.popular .plan-price { font-size: 30px; }
.pd-wide .plan-inherit { margin-top: 14px; padding-top: 14px; }
.pd-wide .plan .region-disclosure-brief { margin: 10px 0 0; display: grid; gap: 4px; }
.pd-wide .plan .region-disclosure-brief p { margin: 0; line-height: 1.45; }
.pd-wide .plan .region-disclosure-line { font-size: 13.5px; color: var(--text-2); }
.pd-wide .plan .region-disclosure-trial { font-size: 13px; color: var(--accent-4, #F2E3B8); }
.pd-wide .plan .plan-tagline { font-size: 13.5px; line-height: 1.45; margin-top: 10px; }
.pd-wide .plan .plan-cta .btn { padding: 11px 16px; font-size: 14px; }
.pd-billing .region-disclosure-shared p { margin: 0; color: var(--text-2); font-size: 14px; line-height: 1.6; }
.pd-billing .payway-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.pd-billing .payway-actions > span { flex: 0 0 100%; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.pd-billing .payway-actions .btn { padding: 8px 16px; font-size: 13px; }

/* ---------- pricing alignment (as-y1oo): hero, toolbar and plan grid share the .sc-wide edges ---------- */
/* Pause motion sits in the hero action row beside the primary action, not floating alone under the copy. */
.pd-hero--solo .sc-actions { align-items: center; }
.pd-hero--solo .sc-actions .sc-motion { position: static; width: auto; padding-inline: 16px 18px; }
.pd-hero--solo .sc-actions .sc-motion [data-sc-motion-label] { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: nowrap; }
/* The segmented period control is flush with the grid's left edge; the charge notes end on its right edge. */
@media (max-width: 640px) { .pd-hero--solo .sc-actions .sc-motion { align-self: flex-start; } }
/* One shared row per part of a plan card (name, price, billed line, inherit eyebrow, features, action), so the
 * same part of every card sits on the same line. Cards without a billed line leave that row empty. */
/* The yearly saving label sits on the gold active segment: it takes the segment's dark ink, not gold-on-gold. */

/* ---------- pricing v2 (as-a73u): compact hero, tier list on the left, overview and action on the right ---------- */
/* Hero: a short band so the whole selector and the top of "Billing & trials" share the first screen. */
.pd-hero.pd-hero--tight.sc-hero--under-header { min-height: 0; }
.pd-hero.pd-hero--tight .sc-hero-inner { padding-block: clamp(20px, 3vh, 32px) clamp(10px, 1.5vh, 16px); }
.pd-hero.pd-hero--tight .sc-hero-copy { max-width: none; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); column-gap: clamp(24px, 4vw, 72px); row-gap: 8px; align-items: start; }
.pd-hero.pd-hero--tight .sc-title { grid-column: 1; grid-row: 1; max-width: none; font-size: clamp(26px, 2.2vw, 44px); line-height: 1.1; }
.pd-hero.pd-hero--tight .sc-intro { grid-column: 2; grid-row: 1; max-width: 64ch; margin: 0; font-size: 15px !important; line-height: 1.5; }
.pd-hero.pd-hero--tight .sc-actions { grid-column: 1; grid-row: 2; margin: 0; }
.pd-hero.pd-hero--tight .sc-note { grid-column: 2; grid-row: 2; max-width: 64ch; margin: 0; padding-left: 12px; font-size: 12.5px !important; line-height: 1.5; }
.pd-hero.pd-hero--tight .sc-actions .sc-motion { min-height: 36px; padding-block: 0; }

/* Selector: billing period and tier list in a left rail, the chosen tier's overview on the right. */
.pd-wide .pricing.pd-section { padding-top: 14px; padding-bottom: 8px; }
.pd-select { display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); grid-template-areas: "toggle overview" "rail panels"; column-gap: clamp(16px, 2vw, 28px); row-gap: 10px; align-items: stretch; }
.pd-toggle { grid-area: toggle; }
.pd-toggle .period-switch { display: flex; width: 100%; box-sizing: border-box; margin: 0; }
.pd-toggle .period-switch button { flex: 1 1 0; min-width: 0; padding-inline: 10px; }
/* The yearly saving label sits on the gold active segment: it takes the segment's dark ink, not gold-on-gold. */
.pd-toggle .period-switch button.active span { color: inherit !important; }
.pd-overview-label, .pd-rail-label { margin: 0; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.pd-overview-label { grid-area: overview; align-self: center; }
.pd-rail { grid-area: rail; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.pd-panels { grid-area: panels; display: grid; gap: 14px; min-width: 0; }
.pd-tiers { display: grid; gap: 8px; }
.pd-tier { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; box-sizing: border-box; min-height: 60px; padding: 10px 16px; text-align: left; font: inherit; color: var(--text-1); background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--r-md, 12px); cursor: pointer; transition: border-color .15s, background-color .15s; }
.pd-tier:hover { border-color: var(--border-accent); background: var(--bg-3); }
.pd-tier[aria-selected="true"] { border-color: var(--accent-3, #E2A945); background: linear-gradient(90deg, rgba(226, 169, 69, .14), rgba(226, 169, 69, .04)); box-shadow: inset 3px 0 0 var(--accent-3, #E2A945); }
.pd-tier:focus-visible { outline: 2px solid var(--accent-3, #E2A945); outline-offset: 2px; }
.pd-tier--small { min-height: 44px; padding-block: 6px; }
.pd-tier-main { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; }
.pd-tier-name { font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.pd-tier-badge { padding: 2px 8px; border: 1px solid rgba(226, 169, 69, .32); border-radius: 999px; background: rgba(226, 169, 69, .14); color: var(--accent-4, #F2E3B8); font-size: 10.5px; font-weight: 700; letter-spacing: .03em; white-space: nowrap; }
.pd-tier-price { flex: none; font-size: 16px; font-weight: 750; letter-spacing: -.01em; text-align: right; white-space: nowrap; }
.pd-tier-price small { margin-left: 3px; color: var(--text-3); font-size: 12px; font-weight: 500; }
.pd-tier-price--text { color: var(--text-2); font-size: 13px; font-weight: 600; }
.pd-rail .pd-trust { display: grid; gap: 4px; margin: 2px 0 0; font-size: 12.5px; color: var(--text-2); }

/* Overview: the selected plan card, laid out as identity and features on the left, billing and the action on the right. */
.pd-panels .plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 340px); grid-template-rows: auto auto auto 1fr; column-gap: clamp(20px, 3vw, 44px); align-content: start; box-sizing: border-box; padding: 16px 24px 18px; }
.pd-panels .plan:hover, .pd-panels .plan.popular:hover { transform: none; }
.pd-panels .plan > .plan-head { grid-column: 1; grid-row: 1; min-height: 0; justify-content: flex-start; gap: 12px; }
.pd-panels .plan > .plan-pricing { grid-column: 1; grid-row: 2; min-height: 0; }
.pd-panels .plan > .plan-inherit { grid-column: 1; grid-row: 3; }
.pd-panels .plan > .plan-features { grid-column: 1; grid-row: 4; align-self: start; gap: 8px; margin-block: 12px 0; }
.pd-panels .plan > .plan-features li { padding-left: 18px; font-size: 14px; line-height: 1.5; }
.pd-panels .plan > [data-aer-recurring-disclosure] { grid-column: 2; grid-row: 1 / span 3; align-self: start; margin: 0; }
.pd-panels .plan > .plan-cta { grid-column: 2; grid-row: 4; align-self: end; margin: 0; }
.pd-panels .plan-name { font-size: 14px; }
.pd-panels .plan .plan-price { margin-top: 8px; font-size: 30px; }
.pd-panels .plan .plan-tagline { margin-top: 8px; }
/* Action box: Subscribe or Top up, then the one button that runs the matching handler. */
.pd-action { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--border); border-radius: var(--r-md, 12px); background: var(--bg-1); }
.pd-action [hidden] { display: none !important; }
.pd-action .btn { box-sizing: border-box; min-height: 46px; padding-block: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.pd-mode { display: flex; padding: 3px; border: 1px solid var(--border); border-radius: var(--r-md, 12px); background: var(--bg-2); }
.pd-mode-btn { flex: 1 1 0; min-width: 0; padding: 7px 10px; border: 0; border-radius: 6px; background: transparent; color: var(--text-2); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background-color .15s, color .15s; }
.pd-mode-btn:hover { color: var(--text-1); }
.pd-mode-btn.active { background: linear-gradient(135deg, var(--accent-2, #C98F2B), var(--accent-4, #ECBE5E)); color: var(--bg-0); }
.pd-mode-btn:focus-visible { outline: 2px solid var(--accent-3, #E2A945); outline-offset: 2px; }
.pd-mode-note { margin: 0; color: var(--text-2); font-size: 13px; line-height: 1.45; }
html:not(.pd-js) .pd-mode, html:not(.pd-js) .pd-mode-note, html:not(.pd-js) .pd-tiers, html:not(.pd-js) .pd-rail-label, html:not(.pd-js) .pd-overview-label { display: none; }
html:not(.pd-js) .pd-select { grid-template-columns: minmax(0, 1fr); grid-template-areas: "toggle" "panels" "rail"; }
.pd-js .pd-panels .plan:not(.pd-open) { display: none; }

@media (max-width: 1024px) {
  .pd-panels .plan { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .pd-panels .plan > .plan-head, .pd-panels .plan > .plan-pricing, .pd-panels .plan > .plan-inherit, .pd-panels .plan > .plan-features, .pd-panels .plan > [data-aer-recurring-disclosure], .pd-panels .plan > .plan-cta { grid-column: 1; grid-row: auto; }
  .pd-panels .plan > [data-aer-recurring-disclosure] { margin-top: 10px; }
  .pd-panels .plan > .plan-cta { margin-top: 16px; }
}
@media (max-width: 760px) {
  .pd-hero.pd-hero--tight .sc-hero-copy { grid-template-columns: minmax(0, 1fr); row-gap: 10px; }
  .pd-hero.pd-hero--tight .sc-title, .pd-hero.pd-hero--tight .sc-intro, .pd-hero.pd-hero--tight .sc-actions, .pd-hero.pd-hero--tight .sc-note { grid-column: 1; grid-row: auto; }
  .pd-hero.pd-hero--tight .sc-title { font-size: clamp(26px, 8vw, 34px); max-width: none; }
  .pd-select { grid-template-columns: minmax(0, 1fr); grid-template-areas: "toggle" "rail" "overview" "panels"; }
  .pd-overview-label { align-self: start; margin-top: 6px; }
  .pd-tiers { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .pd-tier { min-height: 50px; padding-inline: 14px; }
  .pd-tier--small { min-height: 44px; }
  .pd-tier-badge { display: none; }
  .pd-panels .plan { padding: 16px 16px 18px; }
  .pd-panels .plan .plan-price { font-size: 28px; }
}

/* light scheme (as-yyxe) */
html[data-theme="light"] .pd-step { box-shadow: 0 22px 44px -30px rgba(17, 19, 24, .35); }

/* Light scheme (as-yyxe): the Download page's dark panels (download-experience.css), scoped to body:has(.sc-hero) so the release-note pages are untouched. */
html[data-theme="light"] body:has(.sc-hero) {
  --download-gold: #ECBE5E;
  --download-gold-strong: #F6D68A;
  --download-air: #365A92;
  --download-warn: #944F28;
  --download-panel: #FFFFFF;
}
html[data-theme="light"] body:has(.sc-hero) .download-main { background: radial-gradient(circle at 78% 12%, rgba(54, 90, 146, .06), transparent 31rem), var(--bg-0); }
html[data-theme="light"] body:has(.sc-hero) .download-kicker { border-color: rgba(54, 90, 146, .3); background: rgba(255, 255, 255, .86); }
html[data-theme="light"] body:has(.sc-hero) .setup-card { border-color: var(--border-strong); background: linear-gradient(145deg, rgba(54, 90, 146, .04), transparent 48%), var(--download-panel); box-shadow: 0 24px 60px rgba(17, 19, 24, .12); }
html[data-theme="light"] body:has(.sc-hero) .setup-badge { border-color: var(--border-strong); background: var(--bg-2); }
html[data-theme="light"] body:has(.sc-hero) .setup-icon { background: rgba(54, 90, 146, .08); }
html[data-theme="light"] body:has(.sc-hero) .setup-facts div { background: var(--bg-1); }
html[data-theme="light"] body:has(.sc-hero) .setup-button { color: #111318; }
html[data-theme="light"] body:has(.sc-hero) .portable-item { background: rgba(255, 255, 255, .86); }
html[data-theme="light"] body:has(.sc-hero) .tier-rich .portable-item:hover { border-color: rgba(54, 90, 146, .4); background: #FFFFFF; }
html[data-theme="light"] body:has(.sc-hero) .download-choices label { color: var(--text-2); }
html[data-theme="light"] body:has(.sc-hero) .download-choices select { border-color: var(--border-strong); color: var(--text-1); background: #FFFFFF; }
html[data-theme="light"] body:has(.sc-hero) .download-choices select:focus-visible { outline-color: var(--air); }
html[data-theme="light"] body:has(.sc-hero) .setup-package-details { border-top-color: var(--border); }
html[data-theme="light"] body:has(.sc-hero) .staged-release-note,
html[data-theme="light"] body:has(.sc-hero) .download-access { border-color: var(--border-strong); background: var(--bg-1); }
html[data-theme="light"] body:has(.sc-hero) .staged-release-note h2,
html[data-theme="light"] body:has(.sc-hero) .download-access h2,
html[data-theme="light"] body:has(.sc-hero) .download-terms a { color: var(--text-1); }
html[data-theme="light"] body:has(.sc-hero) .staged-release-note p,
html[data-theme="light"] body:has(.sc-hero) .empty-portable,
html[data-theme="light"] body:has(.sc-hero) .download-terms,
html[data-theme="light"] body:has(.sc-hero) .download-access p { color: var(--text-2); }
html[data-theme="light"] body:has(.sc-hero) .download-access[data-status='signedout'] .access-actions a:first-child { color: #111318; }
html[data-theme="light"] body:has(.sc-hero) .download-intro h1 em { color: var(--accent); }
html[data-theme="light"] body:has(.sc-hero) .setup-button[disabled] { border-color: var(--border-strong); color: var(--text-3); background: var(--bg-2); }
html[data-theme="light"] body:has(.sc-hero) .download-error { border-color: rgba(148, 79, 40, .4); background: rgba(148, 79, 40, .06); }
html[data-theme="light"] body:has(.sc-hero) .download-error strong,
html[data-theme="light"] body:has(.sc-hero) .retry-button { color: var(--download-warn); }
html[data-theme="light"] body:has(.sc-hero) .retry-button { border-color: rgba(148, 79, 40, .5); }
html[data-theme="light"] body:has(.sc-hero) .download-help { background: var(--bg-1); }
html[data-theme="light"] body:has(.sc-hero) .setup-status[data-status='available'],
html[data-theme="light"] body:has(.sc-hero) .copy-checksum[data-copied='true'] { color: var(--success); }
html[data-theme="light"] body:has(.sc-hero) .setup-status[data-status='unavailable'],
html[data-theme="light"] body:has(.sc-hero) .setup-status[data-status='error'] { color: var(--text-2); }
html[data-theme="light"] body:has(.sc-hero) .trust-strip h2 { color: var(--download-warn); }
html[data-theme="light"] body:has(.sc-hero) .checksum-line code { color: var(--text-2); }
html[data-theme="light"] body:has(.sc-hero) .copy-checksum { background: var(--bg-1); }
