/* One feature per slide. Native scrolling; no autoplay or overlay controls. */
.device-page{--paper:#fff;--serif:"New York Medium",ui-serif,"Iowan Old Style",Georgia,serif;--gutter:max(32px,calc((100vw - 1184px)/2));--card-width:min(1064px,calc(100vw - 136px));--slide-height:clamp(500px,calc(100svh - 232px),700px);background:#fff;min-height:100svh;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text",system-ui,sans-serif}
.device-page:before,.device-page:after{display:none}
.device-page header,.device-page main,.device-page footer{position:relative;width:100%;max-width:none;margin:0}
.device-page header{height:88px;padding:0 var(--gutter);flex-shrink:0}
.device-page main{padding-top:8px}
.gallery-track{display:flex;gap:24px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:var(--gutter);scrollbar-width:none;list-style:none;margin:0;padding:0 calc(100vw - var(--gutter) - var(--card-width)) 0 var(--gutter)}
.gallery-track::-webkit-scrollbar{display:none}
.feature-slide{flex:0 0 var(--card-width);height:var(--slide-height);position:relative;isolation:isolate;overflow:hidden;border-radius:28px;background:#e7ece3;scroll-snap-align:start}
.paint{position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 15% 20%,#f5f4e8 0,transparent 60%),radial-gradient(ellipse at 90% 80%,#cbdac8 0,transparent 65%)}
.paint:after{content:"";position:absolute;inset:-20%;background:url('/assets/alfie-simple/wash.png') center/140% auto no-repeat;opacity:.32;transform:rotate(-28deg)}
.restaurant .paint,.email .paint{background:radial-gradient(ellipse at 10% 10%,#faf3e5 0,transparent 70%),radial-gradient(ellipse at 90% 70%,#e8d5b7 0,transparent 60%)}
.shopping .paint,.dictation .paint{background:radial-gradient(ellipse at 10% 10%,#f0f4f6 0,transparent 70%),radial-gradient(ellipse at 90% 70%,#cddde5 0,transparent 60%)}
.live .paint{background:radial-gradient(ellipse at 10% 10%,#f6edf0 0,transparent 70%),radial-gradient(ellipse at 90% 70%,#e4d1da 0,transparent 60%)}
.feature-slide h1,.feature-slide h2{position:absolute;left:64px;top:50%;transform:translateY(-50%);max-width:520px;font-size:56px;line-height:1.08;letter-spacing:-2px;font-weight:400}
.screen{position:absolute;right:88px;top:40px;height:calc(100% - 80px);display:block;outline-offset:5px;border-radius:30px}
.screen img{display:block;max-width:none;width:auto;height:100%;object-fit:contain;border:1px solid #182f3a18;border-radius:30px;box-shadow:0 24px 48px #213b3226,0 2px 5px #213b3210}
.screen:focus-visible,.gallery-track:focus-visible{outline:3px solid #448462;outline-offset:4px}
.mac-page .feature-slide h1,.mac-page .feature-slide h2{max-width:38%;font-size:48px;left:48px}
.mac-page .screen{right:40px;top:32px;height:calc(100% - 64px);width:52%;border-radius:12px;display:flex;justify-content:flex-end;align-items:center}
.screen picture{display:block;height:100%}
.mac-page .screen picture{height:auto;max-height:100%}
.mac-page .screen img{width:auto;height:auto;max-width:100%;max-height:calc(var(--slide-height) - 64px);border-radius:12px}
.download-row{height:72px;margin-inline:var(--gutter);display:flex;justify-content:center;align-items:center}
.app-store,.app-store img{display:block;width:auto;height:44px}
.device-page .download{background:var(--ink);color:#fff;gap:24px;min-height:44px;padding:12px 20px}
.device-page .download:hover{background:#294959}
.device-page footer{margin-top:auto;min-height:64px;padding:16px var(--gutter);gap:24px;border:0;color:var(--muted);font-size:11px}
.device-page footer .attribution{margin-left:auto}
.device-page footer>span[id]{position:absolute}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.setup-page main{max-width:840px;margin:0 auto;padding:40px}
.setup-page h1{font-size:44px;letter-spacing:-1px}
.back-link{font-size:13px}
.setup-content{padding:32px 0 48px;font-size:14px;line-height:1.8}
.setup-content a{text-decoration:underline;text-underline-offset:3px}
.setup-content p+p{margin-top:16px}.setup-content h2{font-size:28px;line-height:1.25;letter-spacing:-.4px;margin-bottom:12px}
.setup-links{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:12px}
.install{padding-top:28px;margin-top:28px;border-top:1px solid var(--line);scroll-margin-top:25px}
.install ol{padding-left:22px}.install li+li{margin-top:8px}.download-detail,.release-detail{color:var(--muted)}.release-detail{font-size:12px}
@media(min-width:761px) and (max-height:800px){.feature-slide h1,.feature-slide h2{font-size:50px}.mac-page .feature-slide h1,.mac-page .feature-slide h2{font-size:44px}}
@media(max-width:760px){
 .device-page{--gutter:20px;--card-width:calc(100vw - 52px);--slide-height:min(calc(128px + min(340px,calc(100vw - 100px)) * 2.17413),calc(100svh - 152px));--shot-height:calc(var(--slide-height) - 128px)}
 .device-page header{height:64px}.device-page header .brand span{font-size:36px}
 .device-page main{padding-top:8px}.gallery-track{gap:12px}.feature-slide{border-radius:22px}
 .feature-slide h1,.feature-slide h2,.mac-page .feature-slide h1,.mac-page .feature-slide h2{left:26px;top:20px;transform:none;font-size:clamp(26px,7.6vw,30px);line-height:1.08;letter-spacing:-1px;max-width:calc(100% - 45px)}
 .screen{left:50%;right:auto;top:108px;transform:translateX(-50%);width:auto;height:var(--shot-height);border-radius:26px}
 .screen img{width:auto;height:100%;border-radius:26px;box-shadow:0 16px 30px #213b3220}
 .mac-page{--detail-height:var(--slide-height)}
 .mac-page .feature-slide:has(picture){height:var(--detail-height)}
 .mac-page .screen{left:auto;right:24px;top:136px;transform:none;width:calc(100% - 48px);height:auto}
 .mac-page .screen:has(picture){left:50%;right:auto;top:108px;transform:translateX(-50%);width:auto;height:var(--shot-height)}
 .mac-page .screen img{width:100%;height:auto;max-height:none}
 .mac-page .screen picture,.mac-page .screen picture img{width:auto;height:100%;max-width:none;max-height:none}
 .download-row{height:76px}.app-store,.app-store img{height:44px}
 .device-page footer{padding-block:16px;gap:18px;font-size:10px}.device-page footer .attribution{margin-left:auto}
 .setup-page main{padding:28px 24px}.setup-page h1{font-size:34px}.setup-content{padding-top:24px}
}
@media(prefers-contrast:more){.paint:after{display:none}}
@media(min-width:761px) and (max-width:1100px){
 .device-page{--slide-height:750px}
 .feature-slide h1,.feature-slide h2,.mac-page .feature-slide h1,.mac-page .feature-slide h2{left:44px;top:36px;transform:none;max-width:calc(100% - 88px);font-size:40px;letter-spacing:-1.4px}
 .screen{height:540px;top:166px;right:calc(50% - 124px)}
 .mac-page{--slide-height:calc(240px + (100vw - 224px) * .875);--detail-height:750px}
 .mac-page .feature-slide:has(picture){height:var(--detail-height)}
 .mac-page .screen{width:calc(100% - 88px);right:44px;top:196px;height:auto}
 .mac-page .screen:has(picture){width:auto;height:540px;right:calc(50% - 124px);top:166px}
 .mac-page .screen picture,.mac-page .screen picture img{width:auto;height:100%;max-height:none}
}@media(max-width:760px){.mac-page .feature-slide{height:var(--detail-height)}.mac-page .feature-slide:not(:has(picture)) .screen{top:50%;transform:translateY(-50%)}}

/* Voice is a conversation, with companion surfaces on iPhone. */
.voice-companions{position:absolute;left:64px;bottom:40px;display:flex;gap:26px;align-items:flex-end}
.voice-companions figure{margin:0;text-align:center}.voice-companions figcaption{font-size:12px;margin-top:10px;color:#52605c}
.watch-display{width:95px;height:115px;border:5px solid #b7bcb8;border-radius:26px;background:#192c25;box-shadow:0 10px 25px #213b3226;display:flex;align-items:center;flex-direction:column;padding:9px;color:white;position:relative}.watch-display:after{content:"";position:absolute;right:-8px;top:26px;width:5px;height:17px;border-radius:3px;background:#9ea59e}
.watch-display>span,.carplay-display span{font-size:10px}.watch-display img{width:35px;height:35px;margin:5px}.watch-display small,.carplay-display small{font-size:9px}.watch-display b{font-weight:400;font-size:13px;line-height:17px;margin-top:5px;background:#b84f4e;width:18px;border-radius:50%}
.carplay-display{width:188px;height:118px;border:5px solid #505a55;border-radius:15px;background:#192c25;color:white;display:flex;box-shadow:0 10px 25px #213b3226;overflow:hidden}.carplay-display aside{width:25px;background:#2b4035;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.carplay-display i{width:10px;height:10px;border-radius:3px;background:#b6cfab}.carplay-display>div{flex:1;display:flex;flex-direction:column;align-items:center;padding:6px}.carplay-display img{width:40px;height:40px;margin:3px}.carplay-display b{font-size:12px;line-height:20px;font-weight:400}
@media(min-width:1101px){.iphone-page .live h2{top:34%;}.iphone-page .live .screen{right:60px}}
@media(max-width:760px){
 .voice-companions{left:20px;right:20px;bottom:24px;gap:22px;justify-content:center}.watch-display{width:75px;height:94px;border-radius:22px;padding:5px}.watch-display img{width:28px;height:28px;margin:3px}.watch-display b{display:none}.carplay-display{width:150px;height:94px}.carplay-display img{width:29px;height:29px}.carplay-display b{line-height:16px}.voice-companions figcaption{font-size:11px;margin-top:7px}
 .iphone-page .live .screen{height:calc(var(--shot-height) - 132px)}
}
@media(min-width:761px) and (max-width:1100px){.voice-companions{left:44px;bottom:32px}.iphone-page .live .screen{right:44px}}

/* Native document crop plus a crisp, illustrative recording panel. */
.dictation-document{position:relative;display:block;width:100%;aspect-ratio:1080/580;overflow:hidden;border-radius:12px;box-shadow:0 24px 48px #213b3226}
.mac-page .dictation-document>img{width:100%;height:auto;max-height:none;border:0;border-radius:0;box-shadow:none}
.dictation-panel{position:absolute;left:50%;bottom:40px;transform:translateX(-50%);display:flex;align-items:center;gap:20px;width:min(480px,calc(100% - 64px));height:80px;padding:0 22px;border:1px solid #ffffff38;border-radius:999px;background:linear-gradient(160deg,#8e9692ed,#747d79f5);box-shadow:0 12px 30px #213b322b,0 2px 6px #213b3226,inset 0 1px 0 #ffffff25;backdrop-filter:blur(18px);color:#fff}
.dictation-logo{width:40px;height:40px;flex-shrink:0}.dictation-wave{min-width:0;flex:1;height:38px;fill:#ffffffe0}.dictation-time{font-size:20px;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}.dictation-close{width:22px;height:22px;flex-shrink:0;fill:none;stroke:#ffffffe0;stroke-width:1.8;stroke-linecap:round}
@media(max-width:760px){.dictation-panel{bottom:24px;width:calc(100% - 40px);height:60px;padding:0 14px;gap:12px}.dictation-logo{width:28px;height:28px}.dictation-wave{height:28px}.dictation-time{font-size:14px}.dictation-close{width:18px;height:18px}}
@media(min-width:761px){.mac-page .dictation .screen{margin-top:-16px}}
