:root{--yellow:#f1d640;--yellow-dark:#d8b600;--blue:#415caa;--blue-deep:#123b87;--red:#d43130;--ink:#17223b;--gray:#525252;--cream:#fff7e6;--white:#fff;--line:#e9e2d7;--success:#2f9148;--shadow:0 18px 50px rgba(35,45,73,.10);--radius:22px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:linear-gradient(180deg,#fffdf8 0,#fff7e6 100%);color:var(--ink);font-family:Lato,"Segoe UI",sans-serif;line-height:1.55;overflow-x:hidden}
button,input,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}img{display:block;max-width:100%}
a{color:inherit}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.site-header{width:min(1240px,calc(100% - 40px));min-height:84px;margin:18px auto 0;padding:10px 14px 10px 22px;display:flex;align-items:center;justify-content:space-between;gap:24px;background:rgba(255,255,255,.92);border:1px solid rgba(233,226,215,.8);border-radius:18px;box-shadow:0 8px 30px rgba(35,45,73,.07);position:relative;z-index:10;backdrop-filter:blur(12px)}
.brand-link img{width:138px;height:58px;object-fit:contain}.site-header nav,.portal-header nav{display:flex;align-items:center;gap:28px}.site-header nav a,.site-header nav button{min-height:44px;padding:10px 2px;background:none;border:0;text-decoration:none;color:var(--ink);font-weight:700;position:relative}.site-header nav .active:after{content:"";position:absolute;left:0;right:0;bottom:2px;height:3px;background:var(--yellow);border-radius:3px}
.button{min-height:46px;padding:11px 22px;border:1px solid transparent;border-radius:9px;font-weight:800;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.button:hover{transform:translateY(-2px)}.button:disabled{cursor:not-allowed;opacity:.52;transform:none}.button-primary{background:var(--yellow);color:#121212;box-shadow:0 8px 18px rgba(241,214,64,.25)}.button-primary:hover{background:#ffdc35;box-shadow:0 11px 23px rgba(241,214,64,.34)}.button-secondary{background:var(--white);border-color:var(--blue);color:var(--blue-deep)}.button-tertiary{background:#fff2f1;border-color:#f2c1bf;color:#a72827}.button-block{width:100%}.button-arrow{display:inline-flex;align-items:center;justify-content:center;gap:28px}
.marketing-home{width:min(1240px,calc(100% - 40px));margin:14px auto 70px}.hero{min-height:590px;padding:64px 46px;display:grid;grid-template-columns:minmax(340px,.88fr) minmax(470px,1.32fr);align-items:center;gap:28px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;position:relative}.hero:before{content:"";position:absolute;left:-100px;top:-140px;width:340px;height:340px;border-radius:50%;background:rgba(241,214,64,.11)}
.hero-copy{position:relative;z-index:2;max-width:520px}.eyebrow,.section-label{margin:0 0 12px;color:var(--blue-deep);font-size:.83rem;font-weight:900;letter-spacing:.075em;text-transform:uppercase}.eyebrow span,.auth-card h2 span{color:var(--yellow-dark)}h1,h2,h3,p{margin-top:0}.hero h1{margin-bottom:0;color:var(--blue-deep);font-size:clamp(3rem,5vw,5rem);line-height:.94;letter-spacing:-.045em}.script-line{margin:8px 0 22px;color:var(--red);font-family:"Segoe Script","Brush Script MT",cursive;font-size:clamp(1.45rem,2.2vw,2.05rem);font-weight:700;line-height:1.18}.hero-lead{max-width:410px;margin-bottom:28px;color:#2f3749;font-size:1.08rem}
.hero-media{margin:0;position:relative;align-self:stretch;min-height:455px}.hero-media img{width:100%;height:100%;min-height:455px;object-fit:cover;object-position:66% center;border-radius:18px}.hero-media:after{content:"";position:absolute;inset:0;border-radius:18px;background:linear-gradient(90deg,#fff 0,rgba(255,255,255,.7) 6%,transparent 28%);pointer-events:none}.paint-stroke{position:absolute;z-index:1;left:-42px;top:85px;width:180px;transform:rotate(-11deg)}.paint-stroke i,.mini-strokes i{display:block;height:13px;margin:3px 0;border-radius:100% 15%}.paint-stroke i:nth-child(1),.mini-strokes i:nth-child(1){background:var(--yellow)}.paint-stroke i:nth-child(2),.mini-strokes i:nth-child(2){background:var(--blue)}.paint-stroke i:nth-child(3),.mini-strokes i:nth-child(3){background:var(--red)}
.trust-strip{margin-top:-34px;margin-inline:32px;padding:23px 26px;display:grid;grid-template-columns:repeat(3,1fr);position:relative;z-index:3;background:rgba(255,255,255,.97);border:1px solid var(--line);border-radius:18px;box-shadow:0 10px 28px rgba(35,45,73,.08)}.trust-strip article{display:flex;align-items:center;justify-content:center;gap:15px;padding:6px 28px;border-right:1px solid var(--line)}.trust-strip article:last-child{border:0}.trust-strip p{margin:0}.trust-icon{width:52px;height:52px;display:grid;place-items:center;flex:none;border:2px solid var(--blue);border-radius:50%;color:var(--blue-deep);font-size:1.45rem;font-weight:900}
.content-card{margin-top:26px;background:rgba(255,255,255,.94);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 10px 35px rgba(35,45,73,.06)}.brand-story{min-height:390px;display:grid;grid-template-columns:1.15fr 1fr;overflow:hidden}.brand-story>img{width:100%;height:100%;min-height:390px;object-fit:cover;object-position:center}.brand-story>div{padding:58px 60px;display:flex;flex-direction:column;justify-content:center}.brand-story h2,.home-cta h2{margin-bottom:0;color:var(--blue-deep);font-size:clamp(2rem,3vw,3.2rem);line-height:1.05}.brand-story>div>p:not(.eyebrow):not(.script-line){max-width:440px;color:var(--gray)}.mini-strokes{width:82px;margin-top:15px;transform:rotate(-7deg)}.mini-strokes i{height:6px;margin:2px}
.home-cta{padding:36px 46px;display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(112deg,#fff 0,#fff8df 100%)}
.portal-view{width:min(1180px,calc(100% - 40px));margin:44px auto 70px}.auth-view{min-height:620px;display:grid;place-items:center}.auth-view[hidden],.portal-view[hidden]{display:none}.auth-card{width:min(100%,470px);padding:40px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);text-align:center}.auth-logo{width:130px;height:76px;margin:0 auto 16px;object-fit:contain}.auth-card h2{margin-bottom:6px;color:var(--blue-deep);font-size:1.8rem}.auth-card>p:not(.section-label):not(.auth-note){color:var(--gray)}form{text-align:left}label{display:block;margin:14px 0 6px;color:#25314c;font-size:.88rem;font-weight:800}.input-shell{min-height:48px;padding:0 12px;display:flex;align-items:center;gap:10px;border:1px solid #d8dce5;border-radius:8px;background:#fff}.input-shell:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px rgba(65,92,170,.13)}.input-shell input{width:100%;min-width:0;border:0;outline:0;background:transparent}.input-shell button{min-height:40px;padding:5px;border:0;background:none;color:var(--blue-deep);font-size:.78rem;font-weight:800}.form-message{min-height:24px;margin:10px 0 6px;color:var(--red);font-size:.9rem}.auth-note{margin:22px 0 0;padding-top:18px;border-top:1px solid var(--line);color:var(--blue-deep);font-size:.9rem}.password-rules{padding:0;margin:16px 0;list-style:none;text-align:left}.password-rules li{margin:7px 0;color:var(--gray);font-size:.87rem}.password-rules li:before{content:"○";margin-right:9px;color:#9da3ae;font-weight:900}.password-rules li.is-valid:before{content:"✓";color:var(--success)}.password-rules li.is-valid{color:#245b31}
.portal-shell{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.portal-header{padding:28px 34px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line)}.portal-header h2{margin-bottom:0;color:var(--blue-deep)}.portal-header p{margin-bottom:0}.portal-panel{padding:32px 34px}.portal-panel[hidden]{display:none}.panel-heading{margin-bottom:24px;display:flex;align-items:end;justify-content:space-between;gap:24px}.panel-heading h3,.confirmation h3{margin-bottom:5px;color:var(--blue-deep);font-size:1.65rem}.panel-heading p{margin-bottom:0;color:var(--gray)}.search-field{margin:0}.search-field input,textarea{width:100%;min-height:46px;padding:10px 14px;border:1px solid #d8dce5;border-radius:8px;background:#fff;color:var(--ink)}.search-field input{min-width:270px}.search-field input:focus,textarea:focus{outline:0;border-color:var(--blue);box-shadow:0 0 0 3px rgba(65,92,170,.13)}
.products-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.product-card{min-width:0;padding:20px;display:flex;flex-direction:column;gap:16px;border:1px solid var(--line);border-radius:13px;background:linear-gradient(145deg,#fff,#fffaf0);box-shadow:0 6px 18px rgba(35,45,73,.05)}.product-card:before{content:"";width:38px;height:5px;border-radius:4px;background:linear-gradient(90deg,var(--yellow) 33%,var(--blue) 33% 66%,var(--red) 66%)}.product-card h4{margin:0;color:var(--blue-deep);font-size:1.02rem}.product-card small{color:var(--gray)}.quantity{margin-top:auto;display:grid;grid-template-columns:44px minmax(42px,1fr) 44px;align-items:center;text-align:center;border:1px solid #d8dce5;border-radius:8px;overflow:hidden;background:#fff}.quantity input{min-width:0;width:100%;min-height:44px;border:0;border-inline:1px solid #d8dce5;background:#fff;color:var(--blue-deep);font:inherit;font-weight:800;text-align:center}.quantity input:focus{outline:2px solid var(--blue);outline-offset:-2px}.quantity input.invalid{outline:2px solid var(--red);outline-offset:-2px;background:#fff5f5;color:var(--red)}.quantity button{min-height:44px;border:0;background:#f7f8fb;color:var(--blue-deep);font-size:1.2rem;font-weight:900}.quantity button:hover{background:#edf1fb}.selection-bar{margin:28px -34px -32px;padding:18px 34px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--blue-deep);color:#fff}.selection-bar div{display:flex;flex-direction:column}.selection-bar span{font-size:.9rem;opacity:.85}
.cart-items{border-top:1px solid var(--line)}.cart-row{padding:16px 4px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:20px;border-bottom:1px solid var(--line)}.cart-copy small{display:block;color:var(--gray)}.cart-row .quantity{width:160px}.panel-actions{margin-top:24px;display:flex;justify-content:flex-end;gap:12px}.panel-actions.centered{justify-content:center}.confirmation{padding-block:64px;text-align:center}.success-mark{width:72px;height:72px;margin:0 auto 18px;display:grid;place-items:center;border-radius:50%;background:var(--success);color:#fff;font-size:2.5rem;box-shadow:0 0 0 12px #edf8ef}.reference-box{width:min(100%,450px);margin:24px auto;padding:16px;border:1px solid var(--line);border-radius:10px;background:#fffaf0}.reference-box span,.reference-box strong{display:block}.reference-box strong{color:var(--blue-deep);word-break:break-all}.orders-list{display:grid;gap:10px}.order-row{padding:18px 20px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;border:1px solid var(--line);border-radius:11px}.order-row p{margin:5px 0 0;color:var(--gray);font-size:.91rem}.status-badge{padding:6px 11px;border-radius:999px;background:#fff3ca;color:#7a5f00;font-size:.8rem;white-space:nowrap}.status-success{background:#e5f5e8;color:#216b33}.status-danger{background:#ffe8e6;color:#a82b29}.status-active{background:#e8eefc;color:#254b9a}
footer{padding:42px 20px;text-align:center;background:#fff;border-top:1px solid var(--line);color:var(--gray)}footer img{width:120px;margin:0 auto 12px}footer p{margin-bottom:5px}footer a{color:var(--blue-deep);font-weight:700}
:focus-visible{outline:3px solid rgba(65,92,170,.42);outline-offset:3px}.reveal{animation:soft-reveal .55s ease both}@keyframes soft-reveal{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.hero>*{min-width:0}.hero-media{width:100%;min-width:0;overflow:hidden}
.hero-media{min-height:0;display:flex;align-items:center}.hero-media img{height:auto;min-height:0;object-fit:contain;object-position:center;border-radius:0}.hero-media:after{display:none}
.brand-link img{width:76px;height:76px}.auth-logo{width:116px;height:116px;margin-bottom:8px}footer img{width:96px;height:96px;object-fit:contain;margin-bottom:6px}
@media(max-width:1024px){.site-header nav{gap:14px}.hero{grid-template-columns:1fr 1.12fr;padding:48px 34px}.trust-strip{margin-inline:18px}.trust-strip article{padding-inline:12px}.brand-story>div{padding:42px}.products-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:780px){.site-header{width:calc(100% - 24px);flex-wrap:wrap;padding:10px 14px}.brand-link img{width:112px}.site-header nav{order:3;width:100%;justify-content:space-between;overflow-x:auto}.site-header nav a,.site-header nav button{font-size:.85rem;white-space:nowrap}.marketing-home,.portal-view{width:calc(100% - 24px)}.hero{min-height:auto;padding:40px 26px;grid-template-columns:1fr}.hero-copy{max-width:590px}.hero-media,.hero-media img{min-height:360px}.trust-strip{margin:16px 0 0;grid-template-columns:1fr}.trust-strip article{justify-content:flex-start;border-right:0;border-bottom:1px solid var(--line)}.trust-strip article:last-child{border-bottom:0}.brand-story{grid-template-columns:1fr}.brand-story>img{min-height:300px;max-height:390px}.home-cta,.portal-header,.panel-heading{align-items:flex-start;flex-direction:column}.portal-header nav{width:100%;gap:8px;flex-wrap:wrap}.portal-panel{padding:26px 20px}.selection-bar{margin:24px -20px -26px;padding:16px 20px}.search-field,.search-field input{width:100%;min-width:0}.products-grid{grid-template-columns:1fr 1fr}.auth-card{padding:30px 24px}}
@media(max-width:700px){.site-header nav{flex-basis:100%;gap:0}.site-header nav a,.site-header nav button{flex:1 1 auto;text-align:center}.site-header .header-action{margin-left:auto}.brand-link img{width:68px;height:68px}.hero-copy,.hero-media,.brand-story{max-width:100%}.script-line{overflow-wrap:anywhere}.products-grid{grid-template-columns:1fr}.portal-header nav .button{flex:1 1 30%}}
@media(max-width:780px){.hero-media,.hero-media img{min-height:0}}
@media(max-width:520px){.header-action{padding-inline:14px}.hero{padding:34px 20px}.hero h1{font-size:3rem}.hero-media,.hero-media img{min-height:280px}.paint-stroke{left:-10px;top:35px;width:120px}.brand-story>div{padding:34px 24px}.home-cta{padding:30px 24px}.products-grid{grid-template-columns:1fr}.selection-bar{align-items:stretch;flex-direction:column}.selection-bar .button{width:100%}.panel-actions{align-items:stretch;flex-direction:column-reverse}.panel-actions .button{width:100%}.cart-row{grid-template-columns:1fr}.cart-row .quantity{width:100%}.order-row{grid-template-columns:1fr}.status-badge{justify-self:start}.portal-header nav .button{flex:1 1 46%;padding-inline:10px}.site-header nav{gap:18px}.site-header nav a,.site-header nav button{font-size:.8rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.reveal{animation:none}.button{transition:none}}
