/* Shared type scale. Loaded last so earlier mobile and product styles cannot
   silently reintroduce tiny text. Layout and interaction rules stay separate. */
/* Design tokens: the only numeric typography values live here. */
:root{
 --fp-font-h1:40px;--fp-font-h2:28px;--fp-font-h3:19px;
 --fp-font-card:16px;--fp-font-body:15px;--fp-font-help:14px;--fp-font-min:13px;
 --fp-weight-h1:900;--fp-weight-h2:800;--fp-weight-h3:800;
 --fp-weight-card:700;--fp-weight-body:400;
 --fp-leading-h1:1.5;--fp-leading-heading:1.6;--fp-leading-body:1.8;--fp-leading-tight:1;
 --fp-text-primary:#14151b;--fp-text-secondary:#4b5563;--fp-text-on-dark:#d9e5f5;
 --rd-ink:var(--fp-text-primary);--rd-muted:var(--fp-text-secondary);--fc-ink:var(--fp-text-primary);--fc-muted:var(--fp-text-secondary)
}
html[data-theme="dark"]{--fp-text-primary:#f4f6fc;--fp-text-secondary:#bac5d8}
@media(max-width:740px){:root{--fp-font-h1:28px;--fp-font-h2:22px;--fp-font-h3:17px}}
body{font-size:var(--fp-font-body);font-weight:var(--fp-weight-body);line-height:var(--fp-leading-body);color:var(--fp-text-primary)}
body :is(button,input,select,textarea){font-family:inherit}
body :is(p,li,dd,dt){line-height:var(--fp-leading-body)}
body p{max-inline-size:65ch;font-size:var(--fp-font-body)}
body :is(h1,h2,h3,h4,h5,h6){line-height:var(--fp-leading-heading);font-weight:var(--fp-weight-card)}
body :is(h1,h2){font-size:var(--fp-font-h2)}
body h3{font-size:var(--fp-font-card);font-weight:var(--fp-weight-card)}
body :is(h4,h5,h6){font-size:var(--fp-font-body);font-weight:var(--fp-weight-card)}
body small{font-size:var(--fp-font-help);line-height:var(--fp-leading-body)}
body .fp-fx-note,body .rd-guide-grid>a>b{font-size:var(--fp-font-help)!important;line-height:var(--fp-leading-body)!important}
body :is(input,select,textarea){font-size:var(--fp-font-body)}

/* Shared header, account menu and live-search surface. */
.fp-shared-header :is(.fc-catalog-label,.rd-mobile-label,.fc-login,.fp-guide-nav,.fc-nav-link),
.fp-shared-header .fc-catalog>summary{font-size:var(--fp-font-help)!important;line-height:var(--fp-leading-body)}
.fp-shared-header .fc-count{font-size:var(--fp-font-min)!important;min-width:23px;height:23px;line-height:var(--fp-leading-tight)}
.fp-shared-header .rd-chevron{display:block;align-self:center;flex:0 0 16px;width:16px;height:16px;translate:none;line-height:var(--fp-leading-tight)}
.fp-shared-header .rd-header-search input{font-size:var(--fp-font-body)!important}
.fp-shared-header .rd-header-search input::placeholder{font-size:var(--fp-font-help);color:var(--rd-muted);opacity:1}
.fp-shared-header :is(.rd-mega-tabs button,.rd-mega-tabs>a,.rd-menu-products bdi,.rd-mega-foot,
 .sx-account-links a,.sx-theme-row,.sx-logout,.sx-account-title small,.sx-wallet){font-size:var(--fp-font-help)!important;line-height:var(--fp-leading-body)}
.fp-shared-header :is(.rd-menu-products small,.fc-menu-group small){font-size:var(--fp-font-help)!important;color:var(--rd-muted);line-height:var(--fp-leading-body)}
.fp-shared-header .rd-mega-panels h2{font-size:var(--fp-font-card);line-height:var(--fp-leading-heading);font-weight:var(--fp-weight-card)}
.fp-shared-header .rd-mega-panels p{font-size:var(--fp-font-body)!important;line-height:var(--fp-leading-body)}
.fp-search-host{--fp-muted:var(--fp-text-secondary)}
html[data-theme="dark"] .fp-search-host{--fp-muted:var(--fp-text-secondary)}
.fp-search-host :is(.fp-search-heading,.fp-search-meta,.fp-search-footer){font-size:var(--fp-font-help)!important;line-height:var(--fp-leading-body)}
.fp-search-host :is(.fp-search-copy strong,.fp-search-empty-copy strong){font-size:var(--fp-font-body)!important;font-weight:var(--fp-weight-card);line-height:var(--fp-leading-heading)}
.fp-search-host .fp-search-empty-copy p{font-size:var(--fp-font-body)!important;line-height:var(--fp-leading-body)}

/* Consistent home, catalog and reading hierarchy. */
.rd-home .fp-home-hero .rd-slide-copy h1{font-size:var(--fp-font-h1)!important;font-weight:var(--fp-weight-h2);line-height:var(--fp-leading-heading)!important}
.rd-home .fp-home-hero .rd-slide-copy>p{font-size:var(--fp-font-body);line-height:var(--fp-leading-body);max-width:65ch}
.rd-home .rd-kicker{font-size:var(--fp-font-help);line-height:var(--fp-leading-body)}
body :is(.rd-section-heading h1,.rd-section-heading h2,.rd-quick-heading h2,.fp-brand-section h2,
 .rd-final h2,.fp-detail-copy h2,.fp-reviews-head h2,.fp-cart-title h1,.fp-checkout-title h1,
 .fp-product-heading h1,.app-main h1){font-size:var(--fp-font-h2)!important;line-height:var(--fp-leading-heading)!important;font-weight:var(--fp-weight-card)!important}
body :is(.rd-section-heading p,.rd-how li p,.rd-guide-grid p,.rd-faq details p,.rd-final p,
 .rd-quick-note,.rd-store-help p,.fp-product-subtitle,.fp-detail-copy p,.rd-terms p,
 .rd-home .rd-footer .fp-footer-about p){font-size:var(--fp-font-body)!important;line-height:var(--fp-leading-body)!important;max-inline-size:65ch}
body :is(.rd-quick-heading p,.rd-quick-form>label,.fp-field-label,.rd-result-count,.rd-guide-grid small,
 .rd-guide-grid>a>span,.fp-breadcrumb,.rd-feature-row small,.rd-card-info p,.rd-card-info>div,
 .rd-card-hover>span,.rd-card-hover em,.rd-payment-note){font-size:var(--fp-font-help)!important;line-height:var(--fp-leading-body)}
body :is(.rd-button,.rd-text-link,.rd-faq summary,.rd-category-tabs button,.rd-category-tabs>a){font-size:var(--fp-font-body)!important;line-height:var(--fp-leading-body)}
body :is(.rd-card-info h3,.rd-how h3,.rd-guide-grid h3,.rd-store-help h2,.rd-feature-row strong,
 .rd-card-poster>strong,.rd-card-hover>b){font-size:var(--fp-font-card)!important;font-weight:var(--fp-weight-card)!important;line-height:var(--fp-leading-heading)!important}
body .rd-card-info>div>span{font-size:var(--fp-font-help)!important;line-height:var(--fp-leading-body)}
body .rd-card-info>div strong{font-size:var(--fp-font-h2);font-weight:var(--fp-weight-card)}
body .rd-card-poster>small{font-size:var(--fp-font-min)!important;letter-spacing:0;line-height:var(--fp-leading-body)}
.rd-home .fp-home-hero .rd-floating-card bdi{font-size:var(--fp-font-help)!important;font-weight:var(--fp-weight-card);line-height:var(--fp-leading-heading)}
.rd-home .rd-quick-checkout>.fp-quick-total{font-size:var(--fp-font-min)!important;line-height:var(--fp-leading-body)}
.rd-home .fp-quick-total>span{font-size:var(--fp-font-body)!important;line-height:var(--fp-leading-body)}
.rd-home .rd-quick-checkout #rd-quick-price{font-weight:var(--fp-weight-card)}

/* Brand shortcuts retain their grid, with a clear Persian/English/price order. */
.rd-home .fp-brand-grid>a{gap:8px;padding:20px 8px;text-align:center}
.rd-home .fp-brand-grid .fp-brand-name{font-size:var(--fp-font-body)!important;font-weight:var(--fp-weight-card);line-height:var(--fp-leading-heading);color:var(--rd-ink)}
.rd-home .fp-brand-grid .fp-brand-en{font-size:var(--fp-font-min);line-height:var(--fp-leading-body);font-weight:var(--fp-weight-body);color:var(--rd-muted);direction:ltr;unicode-bidi:isolate;overflow-wrap:anywhere}
.rd-home .fp-brand-grid .fp-brand-price{font-size:var(--fp-font-help);line-height:var(--fp-leading-body);font-weight:var(--fp-weight-body);color:var(--rd-muted);margin:0;white-space:normal}
.rd-home .fp-brand-other{display:grid;place-items:center}
.rd-home .fp-brand-other svg{width:30px;height:30px}

/* Service collections remain white in both themes, so their text stays dark. */
.rd-home #services .fp-service-cover h3{font-size:var(--fp-font-card)!important;font-weight:var(--fp-weight-card);line-height:var(--fp-leading-heading);color:var(--fp-text-primary)}
.rd-home #services .fp-service-cover p{font-size:var(--fp-font-help)!important;line-height:var(--fp-leading-body);color:var(--fp-text-secondary)}
.rd-home #services :is(.fp-service-products a,.fp-service-extra summary,.rd-service-more){font-size:var(--fp-font-help)!important;line-height:var(--fp-leading-body)}
.rd-home #services .fp-service-products a{color:var(--fp-text-secondary)}
.rd-home #services .fp-service-extra summary{color:var(--fp-text-secondary)}
.rd-home #services .rd-service-more{color:#2455cd}

/* Footer helpers and the explicitly inactive Enamad placeholder. */
.rd-home .rd-footer :is(nav h2,.fp-footer-trust h2){font-size:var(--fp-font-body)!important;line-height:var(--fp-leading-heading);font-weight:var(--fp-weight-card)}
.rd-home .rd-footer :is(p,nav a,nav>span,small,.fp-footer-bottom,.fp-zarinpal-badge){font-size:var(--fp-font-help);line-height:var(--fp-leading-body)}
.rd-home .fp-enamad-pending :is(p,strong,span){font-size:var(--fp-font-min)!important;line-height:var(--fp-leading-body)}

/* Product options, catalog and checkout share the same readable controls. */
body :is(.rd-store-sidebar a,.rd-store-sidebar>strong,.rd-store-home small,.fp-section-label,
 .fp-purchase-eyebrow,.fp-eyebrow,.rd-summary-list>div,.rd-region,.rd-region strong,.rd-region small,
 .fp-section-label small,.sx-region-note,.sx-custom small,.sx-custom summary,.sx-custom label,
 .sx-gift-steps,.fp-plan-card small,.fp-old-price,.fp-price-offer-label,.fp-consult-button,
 .fp-tab,.rd-terms summary,.rd-terms a,.fp-flash,.fp-cart-meta,.fp-cart-line small,
 .fp-checkout-steps,.fp-checkout-flash,.fp-cart-title>div>span,.fp-checkout-title>div>span,
 .sx-side a,.sx-stat span,.sx-stat small,.sx-surface label,.sx-kv,.sx-surface p){font-size:var(--fp-font-help)!important;line-height:var(--fp-leading-body)}
body :is(.fp-plan-card strong,.fp-segment,.fp-add-cart,.fp-cart-info h2,.fp-cart-summary h2,
 .fp-checkout-card h2,.fp-checkout-summary h2){font-size:var(--fp-font-body)!important;font-weight:var(--fp-weight-card)!important;line-height:var(--fp-leading-heading)}
body :is(.rd-region small,.sx-region-note,.fp-plan-card small,.rd-summary-list,.rd-terms p){color:var(--rd-muted)}
body .rd-summary-panel .fp-price-block>div>span{font-size:var(--fp-font-body)!important}
body :is(.fp-fx-notice,.rd-summary-panel .fp-fx-notice){font-size:var(--fp-font-help)!important;line-height:var(--fp-leading-body)!important}
body:is(.fp-cart-page,.fp-checkout-page){--co-muted:var(--fp-text-secondary)}
html[data-theme="dark"] :is(.fp-cart-page,.fp-checkout-page){--co-muted:var(--fp-text-secondary)}
body :is(.fp-cart-actions a,.fp-cart-qty button,.fp-cart-controls .remove){font-size:var(--fp-font-help)!important;line-height:var(--fp-leading-body)}
body :is(.fp-cart-info p,.fp-cart-summary p,.fp-checkout-card p){font-size:var(--fp-font-body);line-height:var(--fp-leading-body)}
body .rd-product-page table,.rd-product-page table{font-size:var(--fp-font-help)!important;line-height:var(--fp-leading-body)}
.rd-product-page :is(.fp-stage-top,.fp-stage-bottom,.fp-stage-category){font-size:var(--fp-font-min)!important;color:#d9e5f5;line-height:var(--fp-leading-body)}
.rd-product-page .fp-stage-copy p{font-size:var(--fp-font-help)!important;color:#d9e5f5;line-height:var(--fp-leading-body)}
.rd-product-page .fp-stage-copy h2{font-size:var(--fp-font-h2)!important;font-weight:var(--fp-weight-card);line-height:var(--fp-leading-heading)}
.rd-product-page .fp-score-card small{font-size:var(--fp-font-help)!important}

/* The support launcher remains in document flow on phones; only text changes. */
html .fp-support-widget.fp-support-widget{font-size:var(--fp-font-help);line-height:var(--fp-leading-body);--fp-support-muted:var(--fp-text-secondary);--fp-support-placeholder:var(--fp-text-secondary)}
html[data-theme="dark"] .fp-support-widget.fp-support-widget{--fp-support-muted:var(--fp-text-secondary);--fp-support-placeholder:var(--fp-text-secondary)}
.fp-support-widget :is(small,span,p,a,button,strong,em,time){font-size:var(--fp-font-min)!important;line-height:var(--fp-leading-body)}
.fp-support-widget :is(.fp-support-heading>strong,.fp-support-welcome p){font-size:var(--fp-font-body)!important;line-height:var(--fp-leading-heading);font-weight:var(--fp-weight-card)}
.fp-support-widget :is(input,textarea,.fp-support-bubble){font-size:var(--fp-font-body)!important;line-height:var(--fp-leading-body)}
.fp-support-widget :is(.fp-support-submit,.fp-support-launcher){font-size:var(--fp-font-help)!important}
.fp-support-widget .fp-support-presence{color:#fff}

@media(max-width:740px){
 body :is(h1,h2){font-size:var(--fp-font-h2)}
 .rd-home .fp-home-hero .rd-slide-copy h1{font-size:var(--fp-font-h1)!important}
 body :is(.rd-section-heading h1,.rd-section-heading h2,.rd-quick-heading h2,.fp-brand-section h2,
  .rd-final h2,.fp-detail-copy h2,.fp-reviews-head h2,.fp-cart-title h1,.fp-checkout-title h1,
  .fp-product-heading h1,.app-main h1){font-size:var(--fp-font-h2)!important}
 body :is(.rd-card-info h3,.rd-how h3,.rd-guide-grid h3,.rd-store-help h2,.rd-feature-row strong,
  .rd-card-poster>strong,.rd-card-hover>b){font-size:var(--fp-font-body)!important}
 .rd-home .fp-home-hero .rd-hero-actions .rd-button{font-size:var(--fp-font-help)!important;white-space:normal}
 .rd-home .fp-home-hero .rd-floating-card bdi{font-size:var(--fp-font-min)!important;overflow-wrap:anywhere}
 .rd-home .fp-home-hero .rd-floating-card{height:auto;min-height:96px}
 .rd-home .fp-home-hero .rd-hero-art{height:126px}
 .rd-home .fp-brand-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .rd-home .fp-brand-grid>a{padding:18px 10px}
 .rd-home .fp-brand-grid .fp-brand-name{font-size:var(--fp-font-body)!important}
 .rd-home #services .fp-service-cover h3{font-size:var(--fp-font-body)!important}
 .rd-home .rd-quick-checkout .fp-quick-total{flex-wrap:wrap;gap:5px 10px}
 .rd-home .rd-footer :is(nav a,nav>span){font-size:var(--fp-font-help)}
 .fp-shared-header .rd-chevron{display:none}
 .fp-shared-header .fc-brand{min-width:0}
}

/* Remaining shared promotional and product helper text. */
body .sx-promo-copy small{font-size:var(--fp-font-min)!important;line-height:var(--fp-leading-body)!important;letter-spacing:0}
body .sx-promo-copy>span{font-size:var(--fp-font-help)!important;line-height:var(--fp-leading-body)!important;color:#fff}
body .sx-promo-copy>strong{font-size:var(--fp-font-h2)!important;line-height:var(--fp-leading-heading)!important;font-weight:var(--fp-weight-card)}
body :is(.rd-kicker,.rd-store-help>a,.fp-availability,.fp-plan-card em,.rd-option-help){font-size:var(--fp-font-help)!important;line-height:var(--fp-leading-body)!important}
body .rd-product-page .fp-section-label small,.rd-product-page .fp-section-label small{font-size:var(--fp-font-help)!important;line-height:var(--fp-leading-body)!important}
.rd-product-page .fp-availability{color:#08704f!important}
html[data-theme="dark"] .rd-product-page .fp-availability{color:#75e4b6!important}
.rd-product-page .fp-eyebrow{color:var(--fp-brand-link)!important}
.rd-product-page .fp-review-login p{font-size:var(--fp-font-body)!important;line-height:var(--fp-leading-body)!important;color:var(--rd-muted)}
.rd-product-page .fp-review-login h3{font-size:var(--fp-font-card)!important;line-height:var(--fp-leading-heading);font-weight:var(--fp-weight-card)}
.rd-product-page .fp-submit-review{background:var(--fp-brand-primary)!important;color:#fff!important}
.rd-product-page .fp-submit-review:hover{background:var(--fp-brand-hover)!important;color:#fff!important}
.rd-product-page .fp-submit-review:focus-visible{outline:3px solid var(--fp-brand-link);outline-offset:3px}
html .fp-support-widget .fp-support-launcher{background:var(--fp-brand-primary)!important;color:#fff}
html .fp-support-widget .fp-support-launcher:hover{background:var(--fp-brand-hover)!important}
.rd-product-page .fp-footer :is(p,a,small){font-size:var(--fp-font-help)!important;line-height:var(--fp-leading-body)!important;color:var(--rd-muted)}
.rd-product-page .fp-footer a:hover{color:var(--fp-brand-link)}
.rd-product-page .fp-footer-brand strong{font-size:var(--fp-font-card)!important;font-weight:var(--fp-weight-card)}
body .app-foot :is(p,a){font-size:var(--fp-font-help)!important;line-height:var(--fp-leading-body);color:var(--rd-muted)!important}
body .app-foot a{color:var(--fp-brand-link)!important}
body .fp-checkout-steps .active,
body :is(.fp-cart-title,.fp-checkout-title)>div>span{color:var(--fp-brand-link)!important}
.fp-shared-header .fc-brand small{font-size:var(--fp-font-min)!important;line-height:var(--fp-leading-heading)}

/* Answer boxes share the surrounding page's contrast tokens. */
body .fp-geo-box{color:var(--rd-ink)}
body .fp-geo-box :is(p,dd,summary){font-size:var(--fp-font-body)!important;line-height:var(--fp-leading-body)!important}
body .fp-geo-box :is(.fp-geo-kicker,dt,.fp-geo-note,.fp-geo-note a,.fp-geo-links a){font-size:var(--fp-font-help)!important;line-height:var(--fp-leading-body)!important}
body .fp-geo-box :is(p,dt,.fp-geo-note){color:var(--rd-muted)!important}
body .fp-geo-box :is(a,.fp-geo-kicker){color:var(--fp-brand-link)!important}
body .fp-geo-box :is(h2,h3){color:var(--rd-ink);font-size:var(--fp-font-h2)!important;font-weight:var(--fp-weight-card);line-height:var(--fp-leading-heading)!important}
body .fp-price-catalog :is(th,td,a),body .fp-catalog-table :is(th,td,a),
.rd-product-page .fp-compare-wrap :is(th,td,a),.rd-product-page table :is(th,td,a){font-size:var(--fp-font-help)!important;line-height:var(--fp-leading-body)!important}

/* Static editorial pages use an explicit body namespace; no article layout
   dimensions or table scrolling behavior are changed. */
body.fp-guide-article{--accent:var(--fp-brand-link);--muted:var(--fp-text-secondary);font-size:var(--fp-font-body);line-height:var(--fp-leading-body)}
html[data-theme="dark"] body.fp-guide-article{--muted:var(--fp-text-secondary)}
.fp-guide-article :is(.article-nav small,.brand small){font-size:var(--fp-font-min)!important;line-height:var(--fp-leading-body)}
.fp-guide-article :is(.article-nav nav,.header nav a,.crumbs,.crumbs a,.crumbs span,
 .meta,.eyebrow,.editorial-label,.toc a,.category,.note,.footer,.footer a,.footer p){font-size:var(--fp-font-help)!important;line-height:var(--fp-leading-body)!important}
.fp-guide-article .hero h1{font-size:var(--fp-font-h1)!important;line-height:var(--fp-leading-heading)!important;font-weight:var(--fp-weight-h2)!important}
.fp-guide-article :is(.article,.related) h2{font-size:var(--fp-font-h2)!important;line-height:var(--fp-leading-heading)!important;font-weight:var(--fp-weight-card)}
.fp-guide-article :is(.article h3,.guide-card h2,.guide-card h3){font-size:var(--fp-font-card)!important;line-height:var(--fp-leading-heading)!important;font-weight:var(--fp-weight-card)}
.fp-guide-article :is(.lead,.section p,.section li,.answer p,.guide-card p){font-size:var(--fp-font-body)!important;line-height:var(--fp-leading-body)!important;max-inline-size:65ch}
.fp-guide-article :is(table,th,td,caption,.sources,.sources li,.product-links a,.button,.guide-card a){font-size:var(--fp-font-help)!important;line-height:var(--fp-leading-body)!important}
.fp-guide-article :is(.lead,.meta,.crumbs,.editorial-label,.note,.footer,.guide-card p,.toc a){color:var(--muted)}

/* Guide library helper labels and cards follow the same scale. */
html[data-theme] body.guide-library{--g-muted:var(--fp-text-secondary);--g-blue:var(--fp-brand-link);line-height:var(--fp-leading-body)}
html[data-theme="dark"] body.guide-library{--g-muted:var(--fp-text-secondary)}
.guide-library :is(.g-crumbs,.g-eyebrow,.g-count,.g-filters button,.g-category,.g-tags li,
 .g-product,.g-text-link,.g-read,.g-source-note,.g-footer,.g-footer p,.g-footer a){font-size:var(--fp-font-help)!important;line-height:var(--fp-leading-body)!important}
.guide-library .g-hero h1{font-size:var(--fp-font-h1)!important;font-weight:var(--fp-weight-h2);line-height:var(--fp-leading-heading)!important}
.guide-library :is(.g-section-heading h2,.g-help h2,.g-checklist h2){font-size:var(--fp-font-h2)!important;font-weight:var(--fp-weight-card);line-height:var(--fp-leading-heading)!important}
.guide-library :is(.g-card h3,.g-ready h3,.g-checklist h3){font-size:var(--fp-font-card)!important;font-weight:var(--fp-weight-card);line-height:var(--fp-leading-heading)!important}
.guide-library :is(.g-lead,.g-card>p,.g-ready>p:not(.g-eyebrow),.g-checklist p,.g-help p){font-size:var(--fp-font-body)!important;line-height:var(--fp-leading-body)!important;max-inline-size:65ch}
.guide-library .g-button{font-size:var(--fp-font-body)!important;line-height:var(--fp-leading-body)}
/* Older static guide headers keep their existing geometry. */
.fc-guides-page .fc-header :is(.fc-brand small,.fc-catalog-label,.rd-mobile-label,.fc-login,
 .fc-nav-link,.rd-mega-tabs button,.rd-mega-tabs>a,.rd-menu-products bdi,.rd-menu-products small,
 .rd-mega-foot){font-size:var(--fp-font-help)!important;line-height:var(--fp-leading-body)!important}
.fc-guides-page .fc-header .fc-brand small{font-size:var(--fp-font-min)!important}
.fc-guides-page .fc-header .rd-mega-panels p{font-size:var(--fp-font-body)!important;line-height:var(--fp-leading-body)!important}
.fc-guides-page .fc-header .rd-header-search input{font-size:var(--fp-font-body)!important}
.fc-guides-page .fc-header .rd-header-search input::placeholder{font-size:var(--fp-font-help)!important;color:var(--rd-muted);opacity:1}
@media(max-width:740px){
 body .sx-promo-copy>strong{font-size:var(--fp-font-h2)!important}
 body .fp-geo-box :is(h2,h3){font-size:var(--fp-font-h2)!important}
 .fp-guide-article .hero h1,.guide-library .g-hero h1{font-size:var(--fp-font-h1)!important}
 .fp-guide-article :is(.article,.related) h2,
 .guide-library :is(.g-section-heading h2,.g-help h2,.g-checklist h2){font-size:var(--fp-font-h2)!important}
 .fp-guide-article :is(.article h3,.guide-card h2,.guide-card h3),
 .guide-library :is(.g-card h3,.g-ready h3,.g-checklist h3){font-size:var(--fp-font-body)!important}
}

/* Final shared hierarchy. H1/H2/H3 each use one responsive token everywhere;
   compact titles inside cards are the deliberate card-title exception. */
body{--rd-ink:var(--fp-text-primary);--rd-muted:var(--fp-text-secondary);--fc-ink:var(--fp-text-primary);--fc-muted:var(--fp-text-secondary)}
html[data-theme] body.rd-home{--rd-ink:var(--fp-text-primary);--rd-muted:var(--fp-text-secondary)}
html body h1,.rd-home .fp-home-hero .rd-slide-copy h1,
body :is(.rd-section-heading h1,.fp-cart-title h1,.fp-checkout-title h1,.fp-product-heading h1,.app-main h1),
.fp-guide-article .hero h1,.guide-library .g-hero h1{
 font-size:var(--fp-font-h1)!important;font-weight:var(--fp-weight-h1)!important;line-height:var(--fp-leading-h1)!important;color:var(--fp-text-primary)
}
html body h2,
body :is(.rd-section-heading h2,.rd-quick-heading h2,.fp-brand-section h2,.rd-final h2,.fp-detail-copy h2,.fp-reviews-head h2),
.fp-guide-article :is(.article,.related) h2,
.guide-library :is(.g-section-heading h2,.g-help h2,.g-checklist h2),body .fp-geo-box h2{
 font-size:var(--fp-font-h2)!important;font-weight:var(--fp-weight-h2)!important;line-height:var(--fp-leading-heading)!important;color:var(--fp-text-primary)
}
html body h3,.fp-guide-article .article h3,body .fp-geo-box h3,
.rd-product-page .fp-review-login h3,.guide-library .g-ready h3{
 font-size:var(--fp-font-h3)!important;font-weight:var(--fp-weight-h3)!important;line-height:var(--fp-leading-heading)!important;color:var(--fp-text-primary)
}
body :is(.rd-card-info h3,.rd-guide-grid h3,.rd-how h3,.rd-card-poster>strong,.rd-card-hover>b,
 .rd-feature-row strong,.fp-plan-card strong,.fp-cart-info h2,.fp-checkout-card h2,.fp-cart-summary h2,.fp-checkout-summary h2),
.rd-home #services .fp-service-cover h3,.rd-home .fp-brand-grid .fp-brand-name,
.rd-home .rd-footer :is(nav h2,.fp-footer-trust h2),
.fp-guide-article :is(.guide-card h2,.guide-card h3),
.guide-library :is(.g-card h3,.g-checklist h3),.fp-why-grid article h3{
 font-size:var(--fp-font-card)!important;font-weight:var(--fp-weight-card)!important;line-height:var(--fp-leading-heading)!important
}
body :is(p,li,dd,dt,input,select,textarea){font-weight:var(--fp-weight-body)!important}
body :is(strong,b){font-weight:var(--fp-weight-card)}
body :is(.rd-section-heading p,.rd-how li p,.rd-guide-grid p,.rd-faq details p,.rd-final p,
 .rd-quick-note,.rd-store-help p,.fp-product-subtitle,.fp-detail-copy p,.rd-terms p,
 .fp-review-login p,.fp-cart-info p,.fp-cart-summary p,.fp-checkout-card p),
.rd-home .fp-home-hero .rd-slide-copy>p,
.fp-guide-article :is(.lead,.section p,.section li,.answer p,.guide-card p),
.guide-library :is(.g-lead,.g-card>p,.g-ready>p:not(.g-eyebrow),.g-checklist p,.g-help p){
 font-size:var(--fp-font-body)!important;font-weight:var(--fp-weight-body)!important;line-height:var(--fp-leading-body)!important;color:var(--fp-text-primary)
}
body :is(.rd-quick-heading p,.fp-field-label,.rd-result-count,.rd-card-info p,.rd-card-info>div>span,
 .fp-section-label,.fp-section-label small,.fp-plan-card small,.rd-option-help,.rd-region small,
 .fp-breadcrumb,.rd-payment-note,.fp-geo-note,.fp-geo-facts dt,.fp-brand-en,.fp-brand-price),
.rd-home .fp-trust-strip small,.fp-why-grid article p,
.fp-quick-rules :is(ol,li,p),.fp-support-phone,.fp-support-phone :is(span,small){
 font-size:var(--fp-font-help)!important;font-weight:var(--fp-weight-body)!important;line-height:var(--fp-leading-body)!important;color:var(--fp-text-secondary)
}
.fp-quick-rules summary{
 font-size:var(--fp-font-body)!important;font-weight:var(--fp-weight-card)!important;line-height:var(--fp-leading-body)!important;color:var(--fp-text-primary)
}
.fp-support-phone a{font-size:var(--fp-font-help)!important;font-weight:var(--fp-weight-card)!important;line-height:var(--fp-leading-body)!important;color:var(--fp-brand-link)}
.rd-home .rd-quick-checkout #rd-quick-price,
body .rd-card-info>div strong,.rd-summary-panel .fp-price-block strong{
 font-size:var(--fp-font-h2)!important;font-weight:var(--fp-weight-h2)!important;line-height:var(--fp-leading-heading)!important;color:var(--fp-text-primary)
}
.rd-home .fp-quick-total>span,.rd-summary-panel .fp-price-block>div>span{
 font-size:var(--fp-font-card)!important;font-weight:var(--fp-weight-body)!important;line-height:var(--fp-leading-body)!important;color:var(--fp-text-secondary)
}
.rd-home .rd-quick-checkout>.fp-quick-total{
 font-size:var(--fp-font-min)!important;font-weight:var(--fp-weight-body)!important;line-height:var(--fp-leading-body)!important;color:var(--fp-text-secondary)
}
/* White cards and dark artwork retain their own legible foreground tokens. */
.rd-home #services .fp-service-card{--fp-text-primary:#14151b;--fp-text-secondary:#4b5563}
.rd-home .rd-service-section .rd-section-heading h2{color:#fff}
.rd-home .rd-service-section .rd-section-heading p{color:#fff}
.rd-product-page .fp-stage-copy h2{color:#fff;font-size:var(--fp-font-h2)!important;font-weight:var(--fp-weight-h2)!important;line-height:var(--fp-leading-heading)!important}
.rd-product-page .fp-stage-copy p{color:var(--fp-text-on-dark)}
.rd-home .fp-home-hero .rd-floating-card bdi{font-size:var(--fp-font-min)!important;font-weight:var(--fp-weight-card)!important;line-height:var(--fp-leading-heading)!important}
html[data-theme] body.guide-library{--g-ink:var(--fp-text-primary);--g-muted:var(--fp-text-secondary)}
body.fp-guide-article{--ink:var(--fp-text-primary);--muted:var(--fp-text-secondary)}
.rd-home .fp-trust-strip strong{font-size:var(--fp-font-card)!important;font-weight:var(--fp-weight-card)!important;line-height:var(--fp-leading-heading)!important;color:var(--fp-text-primary)}
.fp-shared-header :is(a,button,summary),.fc-guides-page .fc-header :is(a,button,summary){font-weight:var(--fp-weight-card)}
.fp-search-host{--fp-ink:var(--fp-text-primary);--fp-muted:var(--fp-text-secondary)}
html[data-theme="dark"] .fp-search-host{--fp-ink:var(--fp-text-primary);--fp-muted:var(--fp-text-secondary)}
html .fp-support-widget.fp-support-widget{--fp-support-text:var(--fp-text-primary);--fp-support-muted:var(--fp-text-secondary);--fp-support-placeholder:var(--fp-text-secondary)}

/* Process headings are section subheadings; benefit cards keep the compact title. */
.rd-home .rd-how h3{font-size:var(--fp-font-h3)!important;font-weight:var(--fp-weight-h3)!important;line-height:var(--fp-leading-heading)!important}

/* Fixed-toman ChatGPT offer and comparison-table annotations. The special
   offer artwork keeps its existing light text on the dark green surface. */
.rd-product-page :is(#fixed-toman-note,#ready-delivery-note,#ready-delivery-note strong){
 font-size:var(--fp-font-help)!important;line-height:var(--fp-leading-body)!important
}
.rd-product-page #fixed-toman-note{font-weight:var(--fp-weight-body)!important;color:var(--fp-text-secondary)}
.rd-product-page #ready-delivery-note{font-weight:var(--fp-weight-body)!important;color:var(--fp-text-primary)}
.rd-product-page #ready-delivery-note strong{font-weight:var(--fp-weight-card)!important}
.rd-product-page .fp-ready-cover :is(.fp-ready-badge,.fp-ready-identity,.fp-ready-cover-delivery,del){
 font-size:var(--fp-font-help)!important;font-weight:var(--fp-weight-body)!important;line-height:var(--fp-leading-body)!important
}
.rd-product-page .fp-ready-cover a{
 font-size:var(--fp-font-body)!important;font-weight:var(--fp-weight-card)!important;line-height:var(--fp-leading-body)!important
}
.rd-product-page .fp-compare-wrap small{
 font-size:var(--fp-font-min)!important;font-weight:var(--fp-weight-card)!important;line-height:var(--fp-leading-body)!important
}
.rd-product-page table del{
 font-size:var(--fp-font-help)!important;font-weight:var(--fp-weight-body)!important;line-height:var(--fp-leading-body)!important;opacity:1!important;color:var(--fp-text-secondary)!important
}
.rd-product-page #price-offer-label{color:var(--fp-brand-link)!important}
.rd-product-page .fp-compare-wrap :is(th.highlight,td.highlight){color:var(--fp-text-primary)!important}
