/* Two presentations of one demo, with a stable footprint while switching. */
.pos-hero .hero-actions-single{display:flex;justify-content:flex-start;margin-top:24px}
.pos-hero{padding:40px 0 12px}
.pos-hero .hero-grid{grid-template-columns:minmax(0,540px) minmax(0,1fr);gap:40px}
.pos-hero h1{font-size:clamp(34px,3.4vw,49px);max-width:540px;line-height:1.12}
.pos-hero .pos-hero-lead{font-size:17px;max-width:460px}
.pos-hero .hero-description{font-size:12px;max-width:440px}
.hero-solutions{display:grid;gap:10px;margin:23px 0 0;max-width:475px}
.hero-solutions>button{display:flex;align-items:center;gap:14px;width:100%;min-height:76px;padding:14px 17px;text-align:left;border:1px solid #e6ddd1;border-radius:15px;background:#ffffffa8;color:#615e56;cursor:pointer;box-shadow:0 4px 12px #412c1003;transition:background .2s,border-color .2s,box-shadow .2s}
.hero-solutions>button:hover{border-color:#dbac88;background:#fffaf4}
.hero-solutions>button[aria-selected=true]{border-color:#d76b32;background:linear-gradient(115deg,#fff1e1,#fffaf4);color:#963d16;box-shadow:0 6px 22px #ce6b1912,inset 3px 0 #d76b32}
.solution-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:11px;background:#f1eee8;color:#7b746b}
[aria-selected=true]>.solution-icon{background:#fbe2c8;color:#b34b1d}
.solution-icon>.icon{width:22px;height:22px}
.hero-solutions button>span:nth-child(2){flex:1;min-width:0}.hero-solutions small{display:block;font-size:8px;font-weight:750;letter-spacing:.13em;margin-bottom:4px;opacity:.8}.hero-solutions strong{display:block;font-size:13px;line-height:1.5;font-weight:750}.hero-solutions i{font-style:normal;font-size:20px;opacity:.55}
.hero-solutions-stage{display:grid;min-width:0;isolation:isolate;position:relative;scroll-margin-top:120px}
.hero-solutions-stage:before{content:'';position:absolute;inset:7% -3% 10%;z-index:-1;background:radial-gradient(ellipse,#ffdfbd70,transparent 68%);pointer-events:none}
.hero-solution-panel{grid-area:1/1;min-width:0;align-self:center;animation:solution-reveal .28s ease-out}
.hero-terminal-panel{width:100%;max-width:390px;justify-self:start}
.live-experience .hero-solution-panel[hidden]{display:block!important;visibility:hidden;pointer-events:none;animation:none}
.hero-terminal-panel>.live-terminal{max-width:390px;margin:0 auto;filter:drop-shadow(0 24px 22px #3d271c24)}
.hero-terminal-panel .live-paper-window,.hero-terminal-panel .live-paper-window.has-receipt{height:106px;width:72%;transition:none}
.hero-terminal-panel .live-paper-window.has-receipt .live-paper{max-height:106px}
.hero-terminal-panel .live-paper{padding:12px 13px 17px;min-height:85px}
.hero-terminal-panel .live-paper pre{font-size:8px}.hero-terminal-panel .live-receipt-brand{font-size:19px}
.hero-terminal-panel .live-printer{height:86px;border-radius:31px 31px 13px 13px}
.hero-terminal-panel .live-printer-label{top:20px;font-size:9px}.hero-terminal-panel .live-printer-slot{height:10px;bottom:15px}
.hero-terminal-panel .live-terminal-body{padding:12px 10px 0;border-radius:17px 17px 30px 30px}
.hero-terminal-panel .live-terminal-screen{min-height:340px}
.hero-terminal-panel .live-pos-header{padding:15px 14px}.hero-terminal-panel .live-pos-header b{font-size:23px}
.hero-terminal-panel .live-pos-tabs button{min-height:46px;font-size:10px;gap:5px}
.hero-terminal-panel .live-pos-panel{height:265px;padding:12px}.hero-terminal-panel .live-pos-empty{padding:45px 10px}
.hero-terminal-panel .live-terminal-signature{padding:10px 0 12px;font-size:11px}
.hero-terminal-note{text-align:center;font-size:12px;line-height:1.8;color:#766a5d;margin:24px auto 0!important}.hero-terminal-note strong{color:#49443b;font-weight:650}.hero-terminal-panel>.hp-footnote{text-align:center}
.hero-solutions-stage .hero-pos{animation:none}.hero-solutions-stage .hero-pos:before{display:none}
.hero-solutions-stage .hp-caption{margin-bottom:12px}
.hero-solutions-stage .hp-footnote{max-width:100%}
@keyframes solution-reveal{from{opacity:.35;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1180px){.pos-hero .hero-grid{gap:27px;grid-template-columns:minmax(0,.9fr) minmax(0,1fr)}.hero-solutions>button{padding:12px;gap:11px}.hero-solutions strong{font-size:12px}.pos-hero h1{font-size:37px}}
@media(max-width:980px){.pos-hero .hero-grid{grid-template-columns:minmax(0,1fr);gap:26px}.hero-solutions-stage{width:100%;max-width:700px;justify-self:center}.hero-terminal-panel{max-width:none;justify-self:stretch}.hero-solutions{grid-template-columns:1fr 1fr;max-width:690px}.hero-solutions>button{align-items:flex-start;min-height:94px}.hero-solutions i{display:none}.pos-hero h1{font-size:clamp(34px,5.4vw,50px);max-width:680px}.hero-terminal-panel>.live-terminal{max-width:390px}}
@media(max-width:600px){.pos-hero{padding:24px 0 0}.pos-hero .hero-grid{gap:22px}.pos-hero h1{font-size:clamp(30px,8vw,42px)}.pos-hero .pos-hero-lead{font-size:15px}.hero-solutions{grid-template-columns:1fr;gap:8px;margin-top:20px}.hero-solutions>button{min-height:70px;padding:12px 14px;align-items:center;border-radius:12px}.hero-solutions i{display:block}.hero-solutions strong{font-size:12px}.hero-solutions small{font-size:7px}.solution-icon{width:36px;height:36px}.hero-terminal-panel>.live-terminal{max-width:360px}.hero-terminal-panel .live-pos-panel{height:280px;padding:10px}.hero-terminal-panel .live-pos-tabs button{min-height:48px;font-size:9px}.hero-terminal-panel .live-pos-header{padding:14px 10px;gap:5px}.hero-terminal-panel .live-pos-header b{font-size:21px}.hero-terminal-panel .live-terminal-body{padding:10px 6px 0}.hero-terminal-panel .live-paper-window,.hero-terminal-panel .live-paper-window.has-receipt{height:90px}.hero-terminal-panel .live-paper-window.has-receipt .live-paper{max-height:90px}.hero-terminal-note{margin-top:20px!important;font-size:11px}.hero-solutions-stage{scroll-margin-top:100px}}
@media(prefers-reduced-motion:reduce){.hero-solution-panel,.hero-solutions>button{animation:none!important;transition:none!important}}

/* Slim integrated Android POS housing; hero terminal presentation only. */
.hero-terminal-panel>.live-terminal{filter:drop-shadow(0 17px 17px #26303524)}
.hero-terminal-panel .live-paper-window{margin-bottom:-5px;z-index:3;mask-image:none}
.hero-terminal-panel .live-printer{height:58px;border:1px solid #b85520;border-top-color:#efa469;border-radius:20px 20px 7px 7px;background:linear-gradient(105deg,#e78b48 0%,#ee8a40 12%,#e77b2e 65%,#d66825 100%);box-shadow:inset 0 1px 0 #ffd1a366,inset 1px 0 1px #ffc18b40,inset -2px 0 3px #8b3c141b;z-index:2}
.hero-terminal-panel .live-printer:before{content:'';position:absolute;left:7%;right:7%;top:12px;height:1px;background:linear-gradient(90deg,transparent,#ffe4c65c 25%,#ffe4c620 75%,transparent);pointer-events:none}
.hero-terminal-panel .live-printer:after{content:'';position:absolute;left:5px;right:5px;bottom:8px;height:1px;background:#9c4d252b;box-shadow:0 1px #f8aa6b38;pointer-events:none}
.hero-terminal-panel .live-printer-slot{top:4px;bottom:auto;left:13%;right:13%;height:5px;border-radius:2px;background:linear-gradient(#141a1c,#303439);border-bottom:1px solid #f9b27a;box-shadow:inset 0 1px 2px #0009,0 -1px #b65b282e}
.hero-terminal-panel .live-printer-label{top:23px;left:20px;font-size:8px;font-weight:750;letter-spacing:1.5px;color:#713716}
.hero-terminal-panel .live-printer-label i{font-size:6px;font-weight:550;letter-spacing:.7px;opacity:.75}
.hero-terminal-panel .live-printer-led{right:20px;top:26px;width:3px;height:3px;background:#ffe0a1;box-shadow:0 0 2px #ffe0a17a}
.hero-terminal-panel .live-terminal-body{padding:6px 5px 0;border:1px solid #373d41;border-top-color:#5b6267;border-radius:11px 11px 20px 20px;margin-top:-7px;background:linear-gradient(100deg,#3c4247 0%,#272d31 2%,#20262a 15%,#23292d 96%,#42494e 100%);box-shadow:inset 1px 0 #818a9124,inset -1px 0 #11191e80,0 3px 0 -1px #141c21,0 6px 8px -5px #15212855;z-index:4}
.hero-terminal-panel .live-terminal-body:after{content:'';position:absolute;inset:0;border:1px solid #a2acb014;border-radius:inherit;pointer-events:none}
.hero-terminal-panel .live-terminal-screen{position:relative;border:1px solid #0c1318;border-radius:7px 7px 11px 11px;box-shadow:0 -1px 0 #a8b3ba20,0 1px 0 #69778032}
.hero-terminal-panel .live-terminal-screen:after{content:'';position:absolute;inset:0;z-index:2;border-radius:inherit;box-shadow:inset 1px 0 #d9edf324,inset -1px 0 #d9edf30d,inset 0 1px #e3f0f12b;pointer-events:none}
.hero-terminal-panel .live-terminal-signature{padding:3px 0 4px;font-size:8px;line-height:12px;letter-spacing:1.1px;color:#929b9f}
.hero-terminal-panel .live-terminal-signature span{color:#cd8452}
@media(max-width:600px){
 .hero-terminal-panel .live-printer{height:54px;border-radius:17px 17px 6px 6px}
 .hero-terminal-panel .live-printer-label{top:21px;left:16px;font-size:7px}
 .hero-terminal-panel .live-printer-led{top:24px;right:16px}
 .hero-terminal-panel .live-terminal-body{padding:5px 4px 0;border-radius:10px 10px 17px 17px}
 .hero-terminal-panel .live-terminal-screen{border-radius:6px 6px 9px 9px}
 .hero-terminal-panel .live-terminal-signature{font-size:7px;padding:3px 0;line-height:11px}
}

/* Proportions: 1.40 × the previous total box height, 0.91 × its width.
   Baselines include the existing receipt window and negative housing overlaps.
   Only the flexible screen area absorbs the extra height; chrome stays thin. */
.hero-terminal-panel>.live-terminal{
 --pos-previous-height:572.984375px;
 display:flex;flex-direction:column;
 width:91%;max-width:354.9px;
 height:calc(var(--pos-previous-height) * 1.4);
}
.hero-terminal-panel .live-paper-window,
.hero-terminal-panel .live-printer{flex:0 0 auto}
.hero-terminal-panel .live-terminal-body{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}
.hero-terminal-panel .live-terminal-screen{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}
.hero-terminal-panel .live-pos-header,
.hero-terminal-panel .live-pos-tabs,
.hero-terminal-panel .live-terminal-signature{flex:0 0 auto}
.hero-terminal-panel .live-pos-panel{height:auto;min-height:0;flex:1 1 auto}
@media(max-width:600px){
 .hero-terminal-panel>.live-terminal{--pos-previous-height:562.984375px;max-width:327.6px}
}
@media(max-width:480px){
 .hero-terminal-panel>.live-terminal{--pos-previous-height:561.390625px}
}

/* Homepage only: the existing receiving devices and a persistent Bella phone. */
[data-home-demo]{width:100%;max-width:1700px}
[data-home-demo] > :is(.home-story,.live-phone-section,.live-result){max-width:1320px;margin-inline:auto}
[data-home-demo] .pos-hero{width:100%;max-width:none;margin-inline:0;padding-top:30px}
[data-home-demo] .pos-hero .hero-grid{grid-template-columns:clamp(300px,22vw,350px) minmax(0,1fr);gap:32px}
.hero-device-group{--hero-device-gap:32px;display:grid;grid-template-columns:minmax(0,1fr) 350px;align-items:center;gap:var(--hero-device-gap);min-width:0}
.hero-device-group .hero-solutions-stage{width:100%;max-width:none}
.hero-device-group .hero-terminal-panel{justify-self:center}
.hero-bella{min-width:0;scroll-margin-top:120px;position:relative}
.hero-bella:before{content:'←';position:absolute;left:calc(-1 * var(--hero-device-gap) / 2 - 11px);top:55%;width:22px;text-align:center;color:#bd9779;font-size:22px;line-height:1;pointer-events:none}
.hero-bella-intro{margin-bottom:14px}
.hero-bella-live{display:flex;align-items:center;gap:8px;color:#58695d;font-size:9px;font-weight:750;letter-spacing:.1em;margin-bottom:9px!important}
.hero-bella-live i{flex:none;width:6px;height:6px;border-radius:50%;background:#4c9875;box-shadow:0 0 0 4px #4c987512}
.hero-bella-intro h2{font-size:clamp(23px,1.65vw,27px);font-weight:750;line-height:1.2;letter-spacing:-.035em;margin:0 0 9px}
.hero-bella-intro h2>span{color:var(--sw-orange)}
.hero-bella-intro>p:last-child{font-size:12px;line-height:1.7;color:#6c6c66;max-width:390px}
.hero-bella .live-device-wrap:not(.is-fullscreen) .live-phone-device{padding:30px 7px 7px;border-radius:40px}
.hero-bella .live-device-wrap:not(.is-fullscreen) .live-phone-viewport{height:610px;min-height:0;max-height:none;border-radius:32px}
.hero-bella .live-device-wrap:not(.is-fullscreen) .live-phone-island{height:19px;top:6px;width:78px}
.hero-bella .live-phone-toolbar{padding-inline:3px}
.hero-bella .live-phone-toolbar button{min-height:44px}
.hero-bella-link{margin-top:20px!important;text-align:center;font-size:11px;color:var(--sw-muted);line-height:1.6}
.hero-bella-link a{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px}
.hero-bella-link .icon{width:16px;height:16px;color:var(--sw-orange)}
[data-home-demo] .live-autostart{padding:28px 18px}
[data-home-demo] .live-autostart .live-start-mark{width:52px;height:52px;margin-bottom:0;border-radius:16px}
[data-home-demo] .live-autostart p{font-size:12px}
.home-bella-secondary{min-width:0}
/* Homepage register: 25% more display height; retain widths and mobile sizing. */
@media(min-width:981px){
 [data-home-demo] [data-workspace-register] .hp-desktop{height:465px}
}
@media(min-width:1600px){
 [data-home-demo] [data-workspace-register] .hp-desktop{height:506.25px}
}
@media(min-width:1400px){
 .hero-device-group .hp-restaurant-pos .hp-register-body{grid-template-columns:minmax(0,1fr) minmax(170px,.75fr);gap:10px;padding:12px}
}
@media(min-width:1600px){
 [data-home-demo] .pos-hero .hero-grid{gap:40px}
 .hero-device-group{--hero-device-gap:48px;grid-template-columns:minmax(0,1fr) 380px}
}
@media(max-width:1399px){
 [data-home-demo] .pos-hero .hero-grid{grid-template-columns:minmax(0,1fr);gap:28px}
 [data-home-demo] .pos-hero .hero-copy{max-width:690px}
 .hero-device-group{width:100%;max-width:1100px;justify-self:center}
}
@media(min-width:861px) and (max-width:1100px){
 .hero-device-group .hp-restaurant-pos .hp-register-body{grid-template-columns:minmax(0,1fr) 150px;padding:10px;gap:8px}
 .hero-device-group .hp-restaurant-pos .hp-products{grid-template-columns:repeat(2,minmax(0,1fr))}
 .hero-device-group .hp-restaurant-pos .hp-products button{min-height:78px}
}
@media(max-width:860px){
 .hero-device-group{grid-template-columns:minmax(0,1fr);gap:24px;max-width:700px}
 .hero-bella{grid-row:1;width:100%;max-width:390px;justify-self:center;padding-inline:6px}
 .hero-bella:before{display:none}
 .hero-bella .live-device-wrap:not(.is-fullscreen) .live-phone-viewport{height:650px;max-height:85svh;min-height:480px}
 .hero-device-group .hero-solutions-stage{grid-row:2}
}
@media(max-width:600px){[data-home-demo] .pos-hero{padding-top:24px}}

/* The homepage's lower phone is a compact seasonal design gallery. */
.home-design-gallery.live-phone-section{padding:64px 0 32px;min-width:0;position:relative}
.home-design-gallery .live-heading{max-width:760px;margin:0 auto 24px}
.home-design-gallery .live-heading h2{font-size:clamp(32px,4vw,50px);line-height:1.12;letter-spacing:-.045em;margin:0 0 14px}
.home-design-gallery .live-heading>p:last-child{max-width:650px;font-size:15px;line-height:1.65}
.home-design-gallery .live-moods-wrap{position:relative;min-width:0;margin:0 auto 24px;max-width:960px}
.home-design-gallery .live-moods{min-height:0;max-width:none;margin:0;gap:8px}
.home-design-gallery .live-mood{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 1 150px;min-height:46px;padding:10px 15px;border-radius:12px}
.home-design-gallery .live-mood-symbol{font-size:20px;line-height:1;margin:0;flex:none}
.home-design-gallery .live-mood-name{font-size:11px;line-height:1.3;text-align:left}
.home-design-gallery .live-mood:hover{transform:translateY(-2px)}
.home-design-gallery .live-mood:focus-visible{outline:2px solid var(--sw-orange);outline-offset:3px}
.home-design-gallery .live-phone-stage{grid-template-columns:minmax(0,420px);justify-content:center;gap:0;padding:0 12px;background:radial-gradient(ellipse at 50% 45%,#ffdbc355,transparent 65%)}
.home-design-gallery .live-device-wrap:not(.is-fullscreen) .live-phone-viewport{height:clamp(480px,66svh,660px);max-height:none;min-height:0}
/* Keep transport announcements accessible without explanatory copy or layout gaps. */
.home-design-gallery :is(.home-design-announcement,[data-live-status]){position:absolute;width:1px;height:1px;padding:0;margin:-1px!important;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:600px){
 .home-design-gallery.live-phone-section{padding:44px 0 24px}
 .home-design-gallery .live-heading{margin-bottom:20px}
 .home-design-gallery .live-heading>p:last-child{font-size:13px;max-width:360px}
 .home-design-gallery .live-moods-wrap{margin-bottom:20px}
 .home-design-gallery .live-moods{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#dca984 #f4e9de;padding:4px 3px 10px;scroll-padding-inline:3px}
 .home-design-gallery .live-mood{flex:0 0 auto;max-width:none;min-height:46px;padding:10px 16px;scroll-snap-align:start}
 .home-design-gallery .live-moods-wrap:after{content:'';position:absolute;right:0;top:0;bottom:10px;width:14px;background:linear-gradient(90deg,transparent,var(--sw-bg,#faf9f6));pointer-events:none}
 .home-design-gallery .live-phone-stage{padding-inline:10px}
}
