/* The same live preview stays mounted as its device frame changes. */
.home-view .hero{padding:64px 0 20px;align-items:center}
.home-view .hero h1{font-size:clamp(52px,6vw,80px)}
.home-view .hero-intro{justify-self:end}.home-view .landing-actions{margin:0}
.home-view .device-story{height:290svh;position:relative;padding:0;margin:0}
.device-sticky{position:sticky;top:0;height:100svh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:26px;padding:24px 0 70px;box-sizing:border-box}
.device-platform{position:relative;width:38px;height:38px;flex:0 0 38px}
.device-platform img,.device-platform svg{position:absolute;width:100%;height:100%;object-fit:contain;opacity:0;transform:translateY(8px);transition:opacity .35s,transform .35s;color:#3b9b70}
[data-device="pc"] [data-platform="pc"],[data-device="mac"] [data-platform="mac"],[data-device="tablet"] [data-platform="tablet"]{opacity:1;transform:none}
.device-assembly{position:relative;width:92%;max-width:1050px;transition:width .65s cubic-bezier(.2,.7,.2,1);flex:none}
.home-view .device-story .product-stage{position:relative;padding:13px 13px 20px;border:1px solid #273143;border-radius:16px;background:#17202e;box-shadow:0 24px 50px -32px #101b3560;overflow:hidden;animation:none;aspect-ratio:auto;transition:padding .65s,border-radius .65s,background .65s}
.home-view .device-story .product-window{width:100%;height:clamp(300px,61svh,610px);position:relative;inset:auto;transform:none;border-radius:4px;overflow:hidden;transition:height .65s,border-radius .65s}
.home-view .device-story .product-app-body{height:calc(100% - 42px);min-height:0;overflow:hidden;grid-template-columns:155px minmax(0,1fr)}
.home-view .device-story .product-workspace{min-height:0;height:100%;overflow:hidden}
.home-view .device-story .demo-scene{overflow:auto;overscroll-behavior:auto}
.home-view .device-story .product-sidebar{overflow-y:auto;padding-bottom:15px;min-height:0}
.home-view .device-story .preview-credit{display:none}
.device-stand{position:absolute;top:100%;left:50%;width:160px;height:66px;transform:translateX(-50%);background:linear-gradient(90deg,#b3bbc6,#e1e5ec 48%,#b6beca);clip-path:polygon(30% 0,70% 0,74% 75%,100% 90%,100% 100%,0 100%,0 90%,26% 75%);transition:opacity .4s,transform .6s;z-index:-1}
.device-keyboard{position:absolute;top:calc(100% - 2px);left:-5%;width:110%;height:19px;background:linear-gradient(#e1e5eb,#aeb7c3);border-radius:2px 2px 45% 45%;box-shadow:0 12px 20px -9px #101b3540;opacity:0;transform:translateY(8px);transition:opacity .4s,transform .6s}
.device-keyboard:after{content:'';position:absolute;left:43%;width:14%;height:5px;background:#929dac;border-radius:0 0 8px 8px}
.device-notch{position:absolute;top:8px;left:calc(50% - 40px);width:80px;height:20px;border-radius:0 0 9px 9px;background:#17202e;opacity:0;transition:opacity .3s;z-index:4;pointer-events:none}
[data-device="mac"] .device-assembly{width:84%}
.home-view [data-device="mac"] .product-stage{padding:9px;border-radius:13px 13px 4px 4px}
[data-device="mac"] .device-notch,[data-device="mac"] .device-keyboard{opacity:1;transform:none}
[data-device="mac"] .device-stand,[data-device="tablet"] .device-stand{opacity:0;transform:translateX(-50%) translateY(-20px)}
[data-device="tablet"] .device-assembly{width:72%;max-width:860px}
.home-view [data-device="tablet"] .product-stage{padding:15px 22px;border-radius:30px;background:#202b3c}
.home-view [data-device="tablet"] .product-window{height:clamp(300px,57svh,570px);border-radius:12px}
.home-view [data-device="tablet"] .product-stage:after{content:'';position:absolute;left:9px;top:50%;width:4px;height:4px;border-radius:50%;background:#58687c}
.home-view .work-mode-grid article{padding:32px}.home-view .work-mode-grid h3{margin-bottom:20px}
.home-view .section-heading{margin-bottom:32px}
@media(max-width:760px){.home-view .hero{padding:36px 0 0;gap:26px}.home-view .hero-intro{justify-self:start}.device-sticky{gap:22px;padding-bottom:60px}.device-assembly{width:96%}[data-device="mac"] .device-assembly{width:90%}[data-device="tablet"] .device-assembly{width:86%}.home-view .device-story .product-stage{padding:8px 8px 14px;border-radius:12px}.home-view .device-story .product-window{height:clamp(280px,60svh,520px)}.home-view .device-story .product-app-body{display:flex;flex-direction:column}.home-view .device-story .product-sidebar{flex-shrink:0;overflow-x:auto;overflow-y:hidden;padding:7px;display:flex;height:42px;min-height:42px}.home-view .device-story .product-workspace{flex:1;width:100%}.home-view .device-story .demo-scene{padding:10px;inset:0}.home-view [data-device="tablet"] .product-stage{padding:12px;border-radius:24px}.home-view [data-device="tablet"] .product-window{height:clamp(280px,58svh,500px)}.device-stand{height:50px;width:110px}.device-notch{width:58px;left:calc(50% - 29px);height:15px}.device-platform{width:30px;height:30px;flex-basis:30px}}
@media(prefers-reduced-motion:reduce){.device-assembly,.device-platform img,.device-platform svg,.home-view .device-story .product-stage,.home-view .device-story .product-window,.device-stand,.device-keyboard,.device-notch{transition:none}}
@media(max-height:500px) and (min-width:761px){.device-sticky{padding:12px 0 42px;gap:12px}.device-platform{height:24px;width:24px;flex-basis:24px}.home-view .device-story .product-window{height:62svh;min-height:0}.device-stand{height:35px}}
/* Begin with the app; introduce the hardware and copy on scroll. */
.home-view .device-story{height:350svh}
.device-sticky{display:block;padding:0}
.device-assembly{position:absolute;left:50%;top:48%;width:92%;transform:translate(-50%,-50%);transition:width .85s cubic-bezier(.22,.68,.2,1),left .85s cubic-bezier(.22,.68,.2,1),top .85s cubic-bezier(.22,.68,.2,1)}
.home-view [data-device="window"] .product-stage{padding:0;border:1px solid #cad4e4;border-radius:8px;background:#e9eef6}
.home-view [data-device="window"] .product-window{border-radius:7px}
[data-device="window"] .device-stand{opacity:0;transform:translateX(-50%) translateY(-20px)}
.device-copy{position:absolute;left:0;top:48%;width:27%;transform:translate(-22px,-50%);opacity:0;transition:opacity .6s,transform .85s cubic-bezier(.22,.68,.2,1);pointer-events:none}
.device-story:not([data-device="window"]) .device-copy{opacity:1;transform:translate(0,-50%)}
.device-copy .device-platform{margin-bottom:26px}
.device-descriptions{display:grid}
.device-descriptions>div{grid-area:1/1;opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .4s,transform .6s,visibility .4s}
[data-device="pc"] [data-describe="pc"],[data-device="mac"] [data-describe="mac"],[data-device="tablet"] [data-describe="tablet"]{opacity:1;visibility:visible;transform:none}
.home-view .device-copy h2{font-size:clamp(28px,3vw,42px);letter-spacing:-.045em;font-weight:500;line-height:1.12;color:#101b35;margin:0 0 20px}
.home-view .device-copy p{font-size:14px;line-height:1.75;color:#63718a;margin:0;max-width:255px}
[data-device="pc"] .device-assembly{width:64%;left:68%}
[data-device="mac"] .device-assembly{width:60%;left:68%}
[data-device="tablet"] .device-assembly{width:54%;left:68%}
.home-view .device-story:not([data-device="window"]) .product-window{height:clamp(300px,49svh,480px)}
.home-view [data-device="tablet"] .product-window{height:clamp(300px,45svh,450px)}
@media(max-width:900px) and (min-width:761px){.home-view .device-story:not([data-device="window"]) .product-app-body{grid-template-columns:115px minmax(0,1fr)}.home-view .device-story .product-sidebar .preview-nav{font-size:9px;padding-inline:4px}.home-view .device-copy h2{font-size:30px}.home-view .device-copy p{font-size:13px}}
@media(max-width:760px){.home-view .device-story{height:330svh}.device-assembly{width:96%;top:50%}.device-copy{top:24px;width:100%;transform:translateY(10px);display:flex;gap:18px;align-items:flex-start}.device-story:not([data-device="window"]) .device-copy{transform:none}.device-copy .device-platform{flex:0 0 27px;margin:3px 0 0}.device-descriptions{flex:1}.home-view .device-copy h2{font-size:27px;margin-bottom:9px}.home-view .device-copy p{font-size:13px;max-width:280px;line-height:1.6}[data-device="pc"] .device-assembly{width:91%;left:53%;top:60%}[data-device="mac"] .device-assembly{width:85%;left:53%;top:60%}[data-device="tablet"] .device-assembly{width:81%;left:53%;top:60%}.home-view .device-story:not([data-device="window"]) .product-window{height:clamp(240px,46svh,470px)}.home-view [data-device="tablet"] .product-window{height:clamp(240px,44svh,450px)}}
@media(prefers-reduced-motion:reduce){.device-assembly,.device-copy,.device-descriptions>div{transition:none}}
@media(max-height:500px) and (min-width:761px){.home-view .device-story:not([data-device="window"]) .product-window{height:62svh;min-height:0}.device-copy .device-platform{margin-bottom:16px}.home-view .device-copy h2{font-size:28px}}
/* Keep hardware proportions when the right-hand column becomes narrower. */
.device-assembly{container-type:inline-size}
.home-view .device-story[data-device="pc"] .product-window,.home-view .device-story[data-device="mac"] .product-window{height:56cqw;min-height:0}
.home-view .device-story[data-device="tablet"] .product-window{height:68cqw;min-height:0}
@media(max-width:760px){.device-copy{top:24svh}[data-device="pc"] .device-assembly,[data-device="mac"] .device-assembly,[data-device="tablet"] .device-assembly{top:57%}}
