/* Mobile interpretation of the supplied reference. Desktop rules stay intact. */
@media (max-width:740px){
  :root{
    --fp-font-h1:30px;--fp-font-h2:24px;--fp-font-h3:18px;
    --fp-font-body:16px;--fp-font-help:14px;--fp-font-card:16px;--fp-font-min:13px;
    --fp-brand-primary:#2860e6;--fp-brand-hover:#204ec2;--fp-brand-tint:#eef2ff;
    --fp-brand-link:#2455cd;--rd-bg:#f8faff;--rd-surface:#fff;--rd-soft:#f3f5fc;
    --rd-line:#e4e9f3;--fp-mobile-band:#1b48bc;
  }
  html[data-theme="dark"]{
    --fp-brand-primary:#315fce;--fp-brand-hover:#2852b6;--fp-brand-link:#a9c3ff;
    --fp-brand-tint:#202e4c;--rd-bg:#171a22;--rd-surface:#202530;
    --rd-soft:#272e3d;--rd-line:#374258;--fp-mobile-band:#163783;
  }
  html{scroll-padding-top:155px}
  body{background:var(--rd-bg);color:var(--fp-text-primary)}
  /* Two compact header rows keep search, account and support in reach. */
  .fp-shared-header .fc-bar.rd-bar{display:grid;grid-template-columns:auto minmax(0,1fr);width:calc(100% - 32px);gap:10px 12px;padding:10px 0;min-height:0;align-items:center}
  .fp-shared-header .fc-brand{grid-area:1/1;min-width:0;flex-basis:auto;justify-self:start;gap:5px}
  .fp-shared-header .fc-brand strong{font-size:22px}
  .fp-shared-header .fc-brand-mark{width:30px;height:30px}
  .fp-shared-header .fc-actions{grid-area:1/2;justify-self:end;margin:0;gap:7px;min-width:0}
  .fp-shared-header .fc-icon,.fp-shared-header .fc-actions .fc-theme{width:38px!important;height:40px!important;min-width:38px!important;border-radius:9px}
  .fp-shared-header .fp-header-contact{max-width:116px;gap:0}
  .fp-shared-header .fc-login{min-width:100px;min-height:40px;padding:9px 10px;border-radius:8px}
  .fp-shared-header .fp-header-support{min-height:27px;font-size:var(--fp-font-min);gap:4px}
  .fp-shared-header .fc-primary{grid-area:2/1;min-width:0;justify-self:stretch}
  .fp-shared-header .fc-catalog>summary{min-height:46px;padding:8px;border-radius:9px;justify-content:center}
  .fp-shared-header .rd-header-search{grid-area:2/2;margin:0;min-width:0;max-width:none;width:100%}
  .fp-shared-header .rd-header-search input{height:46px;border-radius:9px;padding-inline-start:12px;padding-inline-end:39px;font-size:var(--fp-font-card)!important}
  .fp-shared-header .rd-header-search input::placeholder{font-size:var(--fp-font-min)!important}
  .fp-shared-header .rd-header-search>button{top:5px;left:3px}
  .fp-shared-header .fp-search-panel{inset-inline-start:auto;inset-inline-end:0}
  /* An airy, right-aligned hero with the owner's full artwork below it. */
  .rd-home .rd-container{width:calc(100% - 32px);margin-inline:16px}
  .rd-home .fp-home-hero{padding:28px 16px 20px;background:var(--rd-bg)}
  .rd-home .fp-home-hero .rd-slide{gap:26px}
  .rd-home .fp-home-hero .rd-slide-copy{text-align:right;width:100%}
  .rd-home .fp-home-hero .rd-kicker{margin-bottom:10px;font-size:var(--fp-font-help)!important}
  .rd-home .fp-home-hero .rd-slide-copy h1{margin:0 0 18px;letter-spacing:-.5px}
  .rd-home .fp-home-hero .rd-slide-copy>p{margin:0 0 22px;font-size:var(--fp-font-body)!important;line-height:1.9!important}
  .rd-home .fp-home-hero .rd-hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .rd-home .fp-home-hero .rd-hero-actions .rd-button{min-height:52px;border-radius:8px;padding:12px 8px;font-size:var(--fp-font-help)!important;gap:6px;box-shadow:none}
  .rd-home .fp-home-hero .rd-hero-art.fp-premium-hero-art{width:100%;max-width:560px;margin:0 auto}
  .rd-home .fp-premium-hero-image{border-radius:16px;box-shadow:none}
  .rd-home .fp-trust-strip{padding:18px 0;margin-block:0 24px;gap:18px 12px}
  .rd-home .fp-trust-strip>div{gap:8px;align-items:flex-start}
  .rd-home .fp-trust-strip .fp-feature-icon{width:32px;height:36px;flex-basis:32px;border-radius:9px}
  .rd-home .fp-trust-strip strong{font-size:var(--fp-font-help)!important;line-height:1.6!important}
  .rd-home .fp-trust-strip small{margin-top:4px;font-size:var(--fp-font-help)!important;line-height:1.8}
  /* Wrapped category pills and generous, single-row native select controls. */
  .rd-home .rd-quick{background:var(--rd-surface);padding:24px 20px;margin-block:0 40px;border-radius:12px;border:1px solid var(--rd-line);box-shadow:none}
  .rd-home .rd-quick-heading{margin-bottom:18px}
  .rd-home .rd-quick-heading h2{margin-bottom:8px}
  .rd-home .rd-quick-heading p{font-size:var(--fp-font-help)!important}
  .rd-home .rd-category-tabs{flex-wrap:wrap;justify-content:center;gap:8px;overflow:visible;padding:0;margin-bottom:22px}
  .rd-home .rd-category-tabs button{background:var(--rd-soft);border:0;border-radius:999px;min-height:40px;padding:8px 13px;white-space:normal;font-size:var(--fp-font-help)!important;line-height:1.6;box-shadow:none}
  .rd-home .rd-category-tabs button>svg{display:none}
  .rd-home .rd-category-tabs button.is-active{background:var(--fp-brand-primary);color:#fff}
  .rd-home .rd-quick-form{display:grid;grid-template-columns:1fr;gap:12px}
  .rd-home .rd-quick-form>label{display:grid;grid-template-columns:84px minmax(0,1fr);align-items:center;gap:8px;background:var(--rd-soft);border:1px solid transparent;border-radius:8px;padding:8px 12px;min-height:64px}
  .rd-home .rd-quick-form>label:focus-within{border-color:var(--fp-brand-link);outline:2px solid var(--fp-brand-tint)}
  .rd-home .fp-field-label{font-size:var(--fp-font-help)!important;line-height:1.7}
  .rd-home .fp-field-label>svg{display:none}
  .rd-home .rd-quick-form select{min-width:0;width:100%;height:auto;min-height:46px;padding:8px 4px;border:0;border-radius:4px;background:transparent;box-shadow:none;font-size:var(--fp-font-card)!important;line-height:1.8}
  .rd-home .rd-quick-checkout{padding-top:10px;gap:16px}
  .rd-home .rd-quick-checkout .fp-quick-total{gap:8px;align-items:center;justify-content:space-between;flex-direction:row;flex-wrap:wrap}
  .rd-home .rd-quick-checkout #rd-quick-price{font-size:var(--fp-font-h2)!important}
  .rd-home .rd-quick-checkout .rd-button{min-height:56px;width:100%;border-radius:7px;box-shadow:none;font-size:var(--fp-font-card)!important}
  .rd-home .rd-quick-note{margin-top:16px;font-size:var(--fp-font-help)!important;line-height:1.9!important}
  .rd-home .fp-quick-rules{padding-top:14px;margin-top:16px}
  .rd-home .fp-quick-rules :is(summary,li,a){font-size:var(--fp-font-help)!important}
  /* A fingertip-sized native horizontal product strip; no loading skeleton. */
  .rd-home #pricing{margin-block:42px}
  .rd-home #pricing .rd-product-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:84%;gap:16px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:2px;padding:4px 2px 18px;margin-top:22px;scrollbar-width:thin;scrollbar-color:var(--rd-line) transparent}
  .rd-home #pricing .rd-product-card{min-width:0;background:var(--rd-surface);border:1px solid var(--rd-line);border-radius:22px;padding:14px;scroll-snap-align:start;box-shadow:0 8px 18px #17233806}
  .rd-home #pricing .rd-card-poster{width:100%;min-height:154px;aspect-ratio:1.6;border-radius:16px}
  .rd-home #pricing .rd-card-info{padding:18px 0 2px}
  .rd-home #pricing .rd-card-info h3{margin:0 0 10px;line-height:1.8!important}
  .rd-home #pricing .rd-card-info>div{padding-top:10px;gap:8px;align-items:center}
  .rd-home #pricing .rd-card-info>div strong{font-size:var(--fp-font-h3)!important;white-space:nowrap}
  .rd-home #pricing .rd-card-info>div>a{width:38px;height:38px;display:grid;place-items:center;background:var(--fp-brand-tint);border-radius:50%}
  .rd-home .fp-brand-section{margin-bottom:40px}
  .rd-home .fp-brand-grid{gap:12px}
  .rd-home .fp-brand-grid>a{background:var(--rd-surface);border:1px solid var(--rd-line);border-radius:15px;box-shadow:none;padding:20px 12px}
  /* White service cards on the reference's solid blue band. */
  .rd-home #services{background:var(--fp-mobile-band);padding-block:42px}
  .rd-home #services .rd-section-heading{margin-bottom:24px}
  .rd-home #services .rd-section-heading :is(h2,p){color:#fff}
  .rd-home #services .fp-service-cards{grid-template-columns:1fr;gap:18px}
  .rd-home #services .fp-service-card{background:#fff;border:0;border-radius:12px;padding:0;box-shadow:none;min-height:0}
  .rd-home #services .fp-service-cover{display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;direction:ltr;background:#fff;padding:20px 18px 8px;gap:12px}
  .rd-home #services .fp-service-cover img{width:112px;height:80px;object-fit:contain;aspect-ratio:auto;border-radius:8px}
  .rd-home #services .fp-service-cover-copy{padding:0;text-align:right;direction:rtl;min-width:0}
  .rd-home #services .fp-service-cover h3{color:#14151b;font-size:var(--fp-font-card)!important;line-height:1.7!important;margin-bottom:7px}
  .rd-home #services .fp-service-cover p{color:#4b5563;font-size:var(--fp-font-help)!important;line-height:1.8;min-height:0}
  .rd-home #services .fp-service-body{padding:18px 20px 0;min-height:0;gap:14px}
  .rd-home #services .fp-service-products{gap:8px;justify-content:flex-start}
  .rd-home #services .fp-service-products a{font-size:var(--fp-font-help)!important;min-height:36px;padding:6px 9px;background:#f6f7fb;color:#4b5563;border:0;border-radius:6px;line-height:1.8}
  .rd-home #services .fp-service-extra{margin:0}
  .rd-home #services .fp-service-extra summary{min-height:40px;color:#2455cd;font-size:var(--fp-font-help)!important}
  .rd-home #services .rd-service-more{margin-top:2px;min-height:54px;color:#2455cd;padding-block:14px}
  .rd-home .rd-feature-row{gap:24px 12px;margin-top:32px}
  .rd-home .rd-feature-row>div{padding-inline:8px}
  .rd-home .rd-feature-row small{color:#fff;font-size:var(--fp-font-help)!important}
  .rd-home .fp-why-section,.rd-home :is(.rd-how,.rd-guides,.rd-faq){margin-block:42px}
  .rd-home .fp-why-grid{gap:14px}
  .rd-home .fp-why-grid article{background:var(--fp-brand-tint);padding:24px 20px;border:0;border-radius:12px}
  .rd-home .fp-why-grid article p{line-height:1.9!important}
  .rd-home .rd-how li{padding:24px 20px;background:var(--rd-surface);border:1px solid var(--rd-line);border-radius:14px}
  .rd-home .rd-guide-grid>a{border-radius:16px;background:var(--rd-surface);border:1px solid var(--rd-line);overflow:hidden}
  .rd-home .rd-faq details{padding:0 16px;margin-bottom:10px;border:1px solid var(--rd-line);border-radius:10px;background:var(--rd-surface)}
  .rd-home .rd-faq summary{min-height:64px;align-items:center;padding-block:15px;gap:12px;line-height:1.9}
  .rd-home .rd-faq details p{padding-bottom:18px;line-height:1.9!important}
  .rd-home .rd-final{padding:26px 20px;border-radius:12px;background:var(--fp-brand-tint)}
  .rd-home .rd-final .rd-button{min-height:52px;border-radius:8px}
  .rd-home .rd-footer{padding-top:32px}
  .rd-home .rd-footer>.fp-footer-grid{gap:26px 16px}
  .rd-home .rd-footer nav a{line-height:2!important}
  .fp-page-controls{padding:20px 16px 24px;background:var(--rd-bg)}
  .rd-home :is(a,button,summary,select):focus-visible{outline:3px solid var(--fp-brand-link);outline-offset:3px}
}
@media (max-width:359px){
  .fp-shared-header .fc-bar.rd-bar{column-gap:8px}
  .fp-shared-header .fc-brand strong{font-size:20px}
  .fp-shared-header .fc-brand-mark{width:26px;height:26px}
  .fp-shared-header .fc-actions{gap:4px}
  .fp-shared-header .fc-icon,.fp-shared-header .fc-actions .fc-theme{width:32px!important;min-width:32px!important}
  .fp-shared-header .fc-login{min-width:90px;padding-inline:7px}
  .rd-home .rd-quick{padding-inline:16px}
  .rd-home .rd-quick-form>label{grid-template-columns:70px minmax(0,1fr);padding-inline:9px}
  .rd-home #services .fp-service-cover{grid-template-columns:84px minmax(0,1fr);padding-inline:16px;gap:10px}
  .rd-home #services .fp-service-cover img{width:84px;height:70px}
  .rd-home .fp-home-hero .rd-hero-actions .rd-button{padding-inline:5px;font-size:var(--fp-font-min)!important;gap:4px}
}
