/* Mobile-first usability layer. Loaded last, so it keeps the current visual design
   while improving touch targets, type sizes, keyboard navigation and safe areas. */
.skip-link{position:fixed;z-index:10020;top:8px;left:12px;padding:12px 18px;border-radius:12px;background:#fff;color:#17452c;font:700 15px/1.3 Inter,Manrope,sans-serif;box-shadow:0 8px 32px #092d2055;transform:translateY(-160%)}
.skip-link:focus{transform:translateY(0);outline:3px solid #8dd27f;outline-offset:2px}
html{scroll-padding-top:84px;-webkit-text-size-adjust:100%}
body{overflow-wrap:break-word}
button,a,input,select,textarea,summary{-webkit-tap-highlight-color:rgba(112,181,74,.18)}
a:focus-visible,[role="button"]:focus-visible,summary:focus-visible,[tabindex="0"]:focus-visible{outline:3px solid #9bdb72;outline-offset:3px}
.hero-autoplay-toggle{display:grid;place-items:center;width:40px;height:40px;min-width:40px;border-radius:12px;border:1px solid #e1f4d06c;background:#ffffff18;color:#fff;cursor:pointer}
.hero-autoplay-toggle:hover,.hero-autoplay-toggle[aria-pressed="true"]{background:#ffffff36}
.hero-autoplay-toggle:focus-visible{outline:3px solid #e1ffc1;outline-offset:3px}
@media(max-width:1100px){
 .header .main-nav{max-height:min(72dvh,560px);overflow-y:auto;overscroll-behavior:contain;padding-bottom:calc(18px + env(safe-area-inset-bottom,0px))}
 .header .main-nav .nav-link{min-height:48px;font-size:16px;line-height:1.35}
 .header .mobile-menu{min-width:44px;min-height:44px}
}
@media(max-width:720px){
 html{scroll-padding-top:67px}
 .container{width:calc(100% - 32px)}
 .header-inner{min-height:62px;gap:12px}
 .header .icon-btn{width:44px;height:44px;min-width:44px}
 .header .brand{min-width:0;flex-shrink:1;line-height:1.2}
 .header .header-actions{gap:7px}
 .header .main-nav{top:100%}
 .btn,.btn-sm,.seo-button{min-height:44px;font-size:14px;line-height:1.3}
 .page-intro h1{font-size:clamp(26px,6.6vw,34px);line-height:1.15}
 .page-intro p{font-size:14px;line-height:1.6}
 .section-h h2,.section-title{line-height:1.19;overflow-wrap:normal}
 .back-navigation .btn{min-height:44px;font-size:13px}
 .product-card-link,.catalog-page .product-card-link{font-size:13px;min-height:27px;align-items:center}
 .note-strip,.catalog-products .note-strip,.method-page .note-strip,.configure-page .note-strip{font-size:13px;line-height:1.5}
 .method-card p,.method-page .method-card p{font-size:13px;line-height:1.55;-webkit-line-clamp:3}
 .method-page .method-card h3{font-size:16px;line-height:1.28}
 .method-page .method-link{font-size:13px}
 .config-section-toggle{min-height:55px;padding-block:11px}
 .config-section-toggle b{font-size:15px}
 .config-section-toggle small{font-size:13px;line-height:1.4}
 .configure-page .option{min-height:63px;padding:11px;border-radius:12px}
 .configure-page .option b{font-size:14px;line-height:1.35}
 .configure-page .option small,.configure-page .option-delta{font-size:12px;line-height:1.4}
 .mobile-pricebar.config-pricebar{gap:12px;padding:11px 16px calc(11px + env(safe-area-inset-bottom,0px))}
 .config-pricebar .mobile-price-copy small{font-size:12px}
 .mobile-pricebar.config-pricebar .btn{min-height:46px;padding-inline:15px;font-size:14px}
 .configure-page{padding-bottom:calc(105px + env(safe-area-inset-bottom,0px))}
 .progress-step span:last-child{font-size:11px;line-height:1.3}
 .progress-step .step-index{width:25px;height:25px;font-size:11px}
 .hero .hero-copy>p{font-size:15px;line-height:1.65}
 .hero .hero-cta .btn{min-height:46px;padding:10px 15px;font-size:14px}
 .hero .trustline{font-size:12px;line-height:1.45;gap:9px 13px}
 .hero-price-top{font-size:12px}
 .hero-price>span{font-size:12px}
 .hero-carousel-arrow{width:44px;height:44px}
 .hero-carousel-dot{position:relative;width:26px;height:34px;min-width:26px;min-height:34px;background:transparent!important}
 .hero-carousel-dot.active{width:32px}
 .hero-carousel-dot::after{content:"";position:absolute;top:50%;left:50%;width:8px;height:8px;border-radius:99px;background:#d6f0cd88;transform:translate(-50%,-50%);transition:width .24s ease,background .24s ease}
 .hero-carousel-dot.active::after{width:25px;background:#ebffc7}
 .hero-carousel-dots{gap:3px}
 .hero-carousel-count{font-size:12px;white-space:nowrap}
 .hero-autoplay-toggle{display:none} /* Mobile carousel moves only on intentional interaction. */
 .home-editorial-heading p{font-size:14px;line-height:1.65}
 .home-products-wrap .product-card h3{font-size:16px}
 .home-products-wrap .product-card p{font-size:13px;line-height:1.5;min-height:0}
 .home-products-wrap .product-card-pricing small{font-size:12px;line-height:1.4}
 .home-products-wrap .product-card-link{font-size:13px}
 .home-process-step h3{font-size:14px}
 .home-process-step p{font-size:12px;line-height:1.5}
 .home-design-copy>p,.home-reorder-copy p{font-size:14px;line-height:1.65}
 .home-feature h3{font-size:13px}
 .home-feature p{font-size:12px;line-height:1.5}
 .home-design-benefits span{font-size:12px}
 .home-process-cta{min-height:44px;font-size:13px!important}
 .product-image-badge{font-size:10px}
 .product-card-pricing small{font-size:12px}
 .pen-model-info b{font-size:14px}
 .pen-model-info .option-delta{font-size:12px}
 .pen-model-zoom{min-width:44px;min-height:44px;width:44px;height:44px}
 .pen-model-picker-intro b{font-size:14px}
 .pen-model-picker-intro span{font-size:12px}
 .pen-viewer-close,.pen-viewer-footer button:not(.pen-viewer-choose){min-width:44px;min-height:44px}
 .pen-viewer-choose{min-height:46px;font-size:14px}
 .pen-viewer-help{font-size:12px;line-height:1.5}
 .template-card-body b{font-size:14px;line-height:1.35}
 .template-card-body small{font-size:12px;line-height:1.4}
 .editor-stage-foot,.mobile-inspector-note{font-size:12px;line-height:1.5}
 .tool-btn{min-height:48px;font-size:11px}
 .tool-pane .tool-action{min-height:44px;font-size:14px}
 .editor-top .btn-sm{min-height:40px;font-size:12px}
 .face-tab{min-height:40px;font-size:13px}
 .mobile-context-sheet{max-height:min(76dvh,680px)}
 .mobile-inspector-title button{width:44px;height:44px}
 .mobile-inspector-fields label{font-size:12px;line-height:1.5}
 .mobile-inspector-fields textarea,.mobile-inspector-fields select,.mobile-inspector-fields input[type=number]{min-height:44px;font-size:16px}
 .mobile-inspector-fields textarea{min-height:70px}
 .mobile-file-action{min-height:44px;font-size:13px}
 .mobile-context-sheet .mini-buttons button{min-height:44px;font-size:13px}
 .mobile-swatches button,.bg-recommended-dot{min-width:36px;min-height:36px}
 .bg-control-label{font-size:12px;line-height:1.4}
 .bg-wheel{height:44px;width:44px}
 .bg-current-hex{font-size:12px}
 input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),select,textarea{font-size:max(16px,1em)}
 .footer p,.footer a{line-height:1.65}
}
@media(max-width:390px){
 .container{width:calc(100% - 26px)}
 .header .brand{font-size:14px}
 .hero .hero-cta .btn{font-size:13px;padding-inline:11px}
 .hero-carousel-bar{gap:7px}
 .hero-carousel-controls{gap:5px}
 .hero-carousel-dot{width:24px;min-width:24px}
 .hero-carousel-dot.active{width:29px}
 .mobile-pricebar.config-pricebar{padding-inline:10px;gap:8px}
 .mobile-pricebar.config-pricebar .btn{padding-inline:11px;font-size:13px}
}
@media(max-width:720px){
 /* SEO product landing pages share the same mobile readability and touch rules. */
 .seo-product-page .seo-hero-intro{font-size:15px;line-height:1.65}
 .seo-hero-trust{font-size:12px;line-height:1.45}
 .seo-button{font-size:14px;min-height:46px}
 .seo-section-heading>p,.seo-option-card p,.seo-detail-card p,
 .seo-faq-grid>div:first-child>p:not(.seo-kicker),.seo-faq-list details p,
 .seo-design-bridge p:not(.seo-kicker){font-size:14px;line-height:1.65}
 .seo-option-card h3{font-size:13px;line-height:1.35}
 .seo-option-card strong{font-size:15px;line-height:1.45}
 .seo-use-grid div{font-size:13px;line-height:1.5}
 .seo-related-card small{font-size:13px;line-height:1.4}
 .seo-design-steps p{font-size:13px!important}
 .seo-faq-list summary{min-height:54px;line-height:1.45}
 .seo-mobile-menu summary,.seo-header-account{min-width:44px;min-height:44px}
 .seo-mobile-nav a{min-height:44px;font-size:15px}
 .seo-footer-grid p,.seo-footer-grid a,.seo-footer-bottom{font-size:12px;line-height:1.6}
 .seo-mobile-cta{font-size:15px;min-height:58px;padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));gap:12px}
 .seo-footer{padding-bottom:calc(92px + env(safe-area-inset-bottom,0px))}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 .hero-carousel-dot::after,.product-card,.hero-slide.active,.btn{animation:none!important;transition:none!important;transform:none!important}
}
/* Contrast fixes from the mobile Lighthouse audit. Preserve brighter accents
   inside dark promotional panels, but darken fine print on light surfaces. */
.home-products-section .eyebrow,
.home-design-section .eyebrow,
.home-templates-section .eyebrow,
.home-last-cta .eyebrow{color:#236834}
.home-products-wrap .product-card p,
.section-h p{color:#455d4c}
.home-products-wrap .product-card-pricing small,
.product-card-pricing small,
.home-features-section .home-feature p,
.template-card-body small{color:#47624c}
/* Preview typography is decorative, not an outline heading. */
.template-preview .template-preview-title{display:block;margin:0;font:700 25px/1.05 Georgia,serif;letter-spacing:-1px}
.cart-thumb .template-preview .template-preview-title{font-size:9px}
.template-canvas .template-preview .template-preview-title{font-size:17px;letter-spacing:-.5px}
.admin-template-thumb .template-preview .template-preview-title{font-size:13px}
.footer h3{color:#f6ffff;font:800 13px Manrope,sans-serif;margin:0 0 15px}
/* The initial hero is the mobile LCP element. It should paint immediately,
   without the entrance fade reserved for later carousel slides. */
@media(max-width:680px){.hero-slide:first-child.active{animation:none}}
/* Previous-order editing is a new copy, highlighted in the configurator. */
.account-order-card .section-h{align-items:center;gap:16px}
.account-order-card .section-h h3{font:800 16px Manrope,sans-serif;margin:5px 0 7px}
.account-order-items{margin-top:19px;border-top:1px solid #e3ebde}
.account-order-item{display:flex;align-items:center;justify-content:space-between;gap:17px;padding:16px 0;border-bottom:1px solid #e3ebde;flex-wrap:wrap}
.account-order-item-info{display:flex;align-items:center;gap:12px;min-width:160px;flex:1}
.account-order-item-info>div{display:grid;gap:5px}
.account-order-item-info strong{font:800 14px Manrope,sans-serif;color:#244e35}
.account-order-item-info small{font:500 12px/1.5 Inter,sans-serif;color:#536e59}
.account-order-item-number{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#eaf5e5;color:#387d47;font:800 12px Manrope,sans-serif}
.account-order-item-actions{display:flex;gap:8px;flex-wrap:wrap}
.account-order-item-actions .btn{min-height:42px}
.order-history-notice{position:relative;max-width:960px;margin:18px auto;border:1px solid #a5cba0;background:#eff9e9;color:#245332;border-radius:13px;padding:15px 52px 15px 18px;font:600 14px/1.5 Inter,sans-serif}
.order-history-notice button{position:absolute;right:12px;top:9px;min-width:34px;min-height:34px;border:0;background:transparent;color:inherit;font-size:23px;cursor:pointer}
@media(max-width:720px){.account-order-item-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}.account-order-item-actions .btn{padding-inline:8px;font-size:12px}}
