/* Fluid frames, illustrated role entry and focused account forms. */
:root{--page-gutter:clamp(24px,3.25vw,104px)}
.entry{max-width:none;padding-inline:var(--page-gutter)}
.entry-header{height:112px}
.entry main{max-width:none;padding:0}
.entry-hero{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:clamp(32px,4vw,104px);padding:48px 0 36px}
.entry-copy h1{font-size:clamp(48px,4.1vw,92px);letter-spacing:-.052em;line-height:1.035}
.intro{font-size:clamp(16px,1.05vw,20px);max-width:31em}
.entry-scene{min-height:clamp(430px,31vw,690px);background:#fff1df}
.entry-scene>img{object-fit:contain}
.entry-copy>.intro{margin-bottom:0}
.entry-section{margin:44px 0 26px}
.entry-section h2{font-size:clamp(30px,2.15vw,48px);letter-spacing:-.04em}
.entry-section>p{font-size:16px}
.journey{padding:20px 12px;margin-bottom:0}
.journey>span{font-size:14px;padding-inline:24px}.journey strong{font-size:16px}
.portal-grid{gap:clamp(20px,2vw,42px)}
.portal-card{padding:0;overflow:hidden;border-radius:26px;display:flex;flex-direction:column;box-shadow:0 10px 30px #34251f06}
.role-art{height:clamp(190px,16vw,370px);background:#fff1df;border-bottom:1px solid #ead5ba;overflow:hidden}
.role-art img{width:100%;height:100%;object-fit:cover;display:block;object-position:center 53%}
.role-card-body{padding:clamp(24px,2vw,44px);display:flex;flex-direction:column;flex:1}
.card-top{margin-bottom:19px}.card-number{font-size:13px;letter-spacing:.8px;color:#725e50}
.portal-icon{background:#fff1df;border:1px solid #ead5ba;border-radius:13px}
.portal-card h3{font-size:clamp(25px,1.9vw,40px);line-height:1.14;max-width:13em;min-height:2.3em;letter-spacing:-.045em}
.portal-card p{font-size:16px;max-width:34em;min-height:3.4em;margin-bottom:27px}
.entry-button{font-size:16px;min-height:54px;border-radius:12px;margin-top:auto}
.entry-link{font-size:15px;min-height:50px}
.entry-footer{padding-block:34px;font-size:13px}
/* App frames share the same outer alignment as entry pages. */
#app>header,#app>.auth-header,#app>main{max-width:none;padding-inline:var(--page-gutter)}
#app>.demo-bar{padding-inline:var(--page-gutter)}
.content-width{max-width:none}
.shop-layout{grid-template-columns:minmax(0,1fr) clamp(320px,22vw,440px);gap:clamp(28px,2.5vw,60px)}
.product-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,210px),1fr));gap:20px}
.product-art{height:clamp(140px,10vw,200px)}
.product-info h3{font-size:16px}.product-info p{font-size:14px}
.basket-sidebar{position:sticky;top:24px;align-self:start}
.catalogue-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,480px),1fr))}
.store-orders,.application-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr))}
.content-width>.order-list{max-width:none}
.driver-width{max-width:none;margin:auto}
.driver-heading{display:flex;align-items:center;justify-content:space-between;gap:30px;overflow:hidden}
.driver-heading>div{max-width:780px}.driver-heading h1{max-width:none!important}
.driver-heading>img{display:block;width:clamp(200px,27vw,420px);height:200px;object-fit:cover;border-radius:16px;flex-shrink:0}
.driver-offers{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,480px),1fr));gap:26px;align-items:start}
.driver-offers>.empty{grid-column:1/-1}
.driver-offers>.driver-card:only-child{max-width:1050px;width:100%}
.driver-card .route-stops{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.driver-card .route-stop:first-child:after{display:none}
.driver-foot{justify-content:flex-start}
.checkout-layout{max-width:1500px;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
.tracking-layout{max-width:1700px}
@media(min-width:901px){.hero img{left:auto;right:0;width:72%;object-fit:contain;object-position:right center}}
/* Role navigation and account layout: expansive art, bounded text and inputs. */
.auth-header{gap:28px}
.role-switch{display:flex;align-items:center;gap:6px;padding:5px;background:#fff1df;border:1px solid #ead5ba;border-radius:30px;margin-left:auto}
.role-switch a{font-size:14px;font-weight:650;text-decoration:none;color:#725e50;padding:12px 20px;border-radius:24px;min-height:44px;text-align:center}
.role-switch a[aria-current]{background:#a33827;color:white;box-shadow:0 4px 12px #a3382720}
.auth-header>.all-roles{font-size:14px;white-space:nowrap}
#app>.auth-layout{display:grid;grid-template-columns:minmax(0,1.16fr) minmax(0,1fr);gap:clamp(30px,3.5vw,90px);margin:36px auto 64px;align-items:start;padding-top:0;padding-bottom:0}
.auth-story{position:static;border-radius:28px;border:1px solid #ead5ba;color:#34251f;background:#fff1df;box-shadow:0 18px 45px #34251f07}
.auth-story-copy{padding:clamp(28px,2.7vw,66px) clamp(28px,3vw,76px) 14px;position:relative;z-index:1}
.auth-story .eyebrow{color:#a33827;font-size:13px;letter-spacing:1.1px;margin:0}
.auth-story h1{font-size:clamp(38px,3.2vw,72px);line-height:1.07;letter-spacing:-.045em;margin:20px 0 18px;max-width:14em}
.auth-story p{color:#725e50;font-size:17px;line-height:1.65;max-width:35em;margin:0}
.auth-illustration{padding:0;background:#fff1df}
.auth-story .auth-illustration img{display:block;width:100%;height:auto;object-fit:contain;margin:0;max-height:none}
.role-notes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;margin:0;padding:24px clamp(24px,2vw,48px);gap:20px;background:#fffaf3;border-top:1px solid #ead5ba}
.role-notes li{font-size:14px;font-weight:600;line-height:1.5;color:#725e50}
.role-notes li>span{display:block;font-size:12px;color:#a33827;letter-spacing:1px;margin-bottom:9px}
.auth-flow{display:none}
.auth-form-area{padding:clamp(28px,3vw,65px);background:white;border:1px solid #ead5ba;border-radius:28px;min-height:650px;box-shadow:0 20px 55px #34251f07}
.auth-form-frame{max-width:560px;margin:auto}
.form-role{display:flex;gap:9px;align-items:center;color:#725e50;font-size:14px;font-weight:650;margin-bottom:22px}
.form-role svg{width:21px;color:#a33827}
.auth-tabs{background:#fff1df;border:1px solid #ead5ba;border-radius:12px;gap:4px;padding:5px;margin-bottom:32px;max-width:560px}
.auth-tabs a{flex:1;text-align:center;padding:12px 15px;min-height:46px;border-radius:8px;font-size:15px}
.auth-tabs a.active{background:#fff;color:#a33827;border:0;box-shadow:0 2px 8px #34251f10}
.auth-form-area h2{font-size:clamp(30px,2vw,43px);letter-spacing:-.045em;line-height:1.15}
.auth-intro{font-size:16px;line-height:1.7;margin-bottom:29px}
.auth-form-area input,.auth-form-area textarea{background:#fffaf3;min-height:54px;border-color:#ead5ba;border-radius:11px}
.auth-form-area label{margin-bottom:21px;font-size:14px}
.auth-form-area .primary{min-height:54px;font-size:16px;box-shadow:0 7px 18px #a3382720}
.auth-form-area .micro{border-top:1px solid #ead5ba;padding-top:20px;margin-top:24px;font-size:13px}
.auth-layout:has(.auth-story):not(:has(.auth-form-frame)) .auth-form-area{max-width:700px;width:100%;justify-self:end}
@media(min-width:1800px){
 .hero{height:390px}.hero-copy{padding:38px}.hero h1{font-size:52px;max-width:350px}.hero p{font-size:17px;max-width:380px}
 .auth-form-area{min-height:750px}.auth-form-frame{padding-top:5px}
 .page-heading h1{font-size:48px}.store-stats strong{font-size:46px}.store-stats>div{padding:28px 32px}
}
@media(max-width:1100px){
 .role-switch a{padding:10px 14px}.auth-header{gap:18px}.auth-header .brand-type small{display:none}
 #app>.auth-layout{gap:24px}.auth-form-area{padding:28px;min-height:610px}.auth-story-copy{padding:28px 28px 10px}
 .auth-story h1{font-size:39px}.auth-story p{font-size:16px}.role-notes{gap:13px;padding:22px}.role-notes li{font-size:13px}
 .entry-hero{gap:28px}.entry-copy h1{font-size:clamp(40px,4.5vw,50px)}.entry-scene{min-height:435px}
 .portal-card h3{font-size:26px}.portal-card p{font-size:16px;min-height:5em}
}
@media(max-width:900px){
 .shop-layout{display:block}.basket-sidebar{display:none}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .auth-header>.all-roles{display:none}.role-switch{margin-left:auto}.auth-story h1{font-size:34px}
 .role-notes{grid-template-columns:1fr;gap:13px}.role-notes li>span{display:inline;margin-right:12px}
 .auth-story .auth-illustration img{height:260px}.auth-form-area{padding:26px}
 .driver-heading>img{width:230px;height:170px}.driver-card .route-stops{display:block}
}
@media(max-width:740px){
 :root{--page-gutter:22px}.entry-header{height:90px}.entry-hero{grid-template-columns:1fr;gap:26px;padding-top:30px}
 .entry-copy h1{font-size:46px}.intro{font-size:16px}.entry-scene{min-height:295px}
 .entry-section{margin:33px 0 22px}.entry-section h2{font-size:30px}.entry-section>p{font-size:15px}
 .journey{padding:5px 17px}.journey>span{padding:13px 0;font-size:13px}.journey strong{font-size:14px}
 .portal-grid{grid-template-columns:1fr;gap:24px}.role-art{height:210px}.role-card-body{padding:24px}
 .portal-card h3{min-height:0;font-size:29px;max-width:none}.portal-card p{min-height:0;margin-bottom:23px}
 .entry-footer{font-size:13px}
 #app>.auth-header{display:flex;flex-wrap:wrap;gap:20px;padding-block:21px;border-bottom:1px solid #ead5ba}
 .auth-header>.brand{flex:1}.auth-header>.all-roles{display:flex;max-width:none!important;font-size:13px!important}
 .auth-header>.role-switch{order:2;flex-basis:100%;width:100%;margin:0;justify-content:center;padding:4px;border-radius:12px;gap:4px}
 .role-switch a{flex:1;padding:11px 9px;min-height:44px;border-radius:9px;font-size:14px}
 #app>.auth-layout{display:block;margin:24px auto 44px}.auth-story{position:static;border-radius:20px;margin-bottom:24px}
 .auth-story-copy{padding:23px 23px 12px}.auth-story .eyebrow{font-size:12px}.auth-story h1{font-size:31px;margin:12px 0 0;max-width:none}
 .auth-story p,.role-notes,.auth-flow{display:none}
 .auth-illustration{padding:0 12px}.auth-story .auth-illustration img{height:150px;object-fit:contain;margin:0;display:block}
 .auth-form-area{padding:25px 22px;min-height:0;border-radius:20px;margin:0;max-width:none}
 .form-role{font-size:13px;margin-bottom:19px}.auth-tabs{margin-bottom:25px}.auth-tabs a{font-size:14px;padding:11px 9px}
 .auth-form-area h2{font-size:29px}.auth-intro{font-size:16px}.auth-form-area .micro{font-size:13px}
 .driver-heading>img{display:none}.driver-heading{display:block}.driver-width>.page-heading{padding:24px}
 .driver-offers{display:block}.driver-foot{font-size:13px}.driver-card .route-stops{display:block}
 .catalogue-list,.store-orders,.application-grid{grid-template-columns:1fr}
}
@media(max-width:650px){
 #app>header{padding-inline:18px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .product-info h3{font-size:15px}.product-info p{font-size:13px}.product-art{height:125px}
 .store-stats span{font-size:13px}.store-stats>div{padding:16px 10px}.store-stats strong{font-size:29px}
 .categories{margin-right:0}.driver-heading h1{font-size:32px}.auth-header .brand-type>b{font-size:25px}
}
@media(max-width:370px){
 :root{--page-gutter:16px}.entry-copy h1{font-size:40px}.auth-form-area{padding:23px 18px}
 .auth-story-copy{padding:21px 20px 10px}.auth-story h1{font-size:28px}.auth-story .auth-illustration img{height:125px}
 .role-card-body{padding:23px}.role-art{height:190px}.role-switch a{font-size:13px;padding-inline:5px}
 .auth-header .brand-type>b{font-size:24px}.auth-header .brand-icon{width:35px;height:35px}
 .signup-item{padding:13px}.signup-item .item-fields{grid-template-columns:1fr}
}

/* Catalogue illustrations and stable tracks for filtered results. */
.product-grid{align-items:start}
.product-grid>.product{max-width:280px;width:100%;height:100%;display:flex;flex-direction:column}
.product-grid>.empty{grid-column:1/-1}
.product-art{display:block;background:#fffaf3;flex-shrink:0}
.product-art>img{display:block;width:100%;height:100%;object-fit:contain;padding:4px}
.product-art>span{display:grid;place-items:center;height:100%}
.product-art>span>svg{width:58px;height:58px;color:#725e50}
.product-info{display:flex;flex-direction:column;flex:1}
.product-bottom{margin-top:auto}
.mini-product{overflow:hidden;background:#fffaf3}
.mini-product>img{display:block;width:100%;height:100%;object-fit:contain}
.mini-product>span>svg{width:25px;height:25px;color:#725e50}
@media(max-width:650px){.product-art{height:145px}.product-grid>.product{max-width:280px}}


.customer-password-toggle{margin:0 0 16px;min-height:44px}.role-customer .auth-form-area{min-width:0}@media(max-width:760px){.role-customer.auth-layout{display:flex;flex-direction:column}.role-customer .auth-form-area{order:0;width:100%}.role-customer .auth-story{display:none}.role-customer .auth-form-frame{padding-top:8px}.role-customer .auth-intro{margin-bottom:20px}}

/* Driver account: put the form before marketing artwork on phones. */
@media(max-width:760px){.auth-layout.role-driver .auth-story{display:none}.auth-layout.role-driver{display:block}.role-driver .auth-form-area{width:100%;min-width:0}}
