:root{--ink:#171717;--muted:#747474;--orange:#ff681e;--line:#e9e9e9;--panel:#f6f6f6;--sans:-apple-system,BlinkMacSystemFont,"SF Pro Display","PingFang SC","Microsoft YaHei",sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:32px}body{margin:0;background:#fff;color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}button{border:0}a:focus-visible,button:focus-visible,[tabindex="0"]:focus-visible{outline:3px solid var(--orange);outline-offset:6px}img{display:block}p{margin:0}h1,h2,h3{margin:0;font-weight:650;letter-spacing:-.035em}.wrap{max-width:1360px;padding-left:80px;padding-right:80px;margin:0 auto}.skip{position:fixed;top:-100px;left:20px;background:var(--ink);color:#fff;padding:12px;z-index:9}.skip:focus{top:12px}.header{height:96px;display:flex;justify-content:space-between;align-items:center}.brand{display:inline-flex;align-items:center;gap:12px;font-size:26px;font-weight:700;letter-spacing:-.045em;white-space:nowrap}.brand img{border-radius:11px}.header nav{display:flex;gap:40px;font-size:15px}.header nav a{transition:color .2s}.header nav a:hover{color:var(--orange)}.hero{min-height:750px;display:grid;grid-template-columns:1.25fr 1fr;align-items:center;position:relative;padding-bottom:70px}.hero:after{content:"";position:absolute;bottom:0;left:80px;right:80px;height:1px;background:var(--line)}.hero-copy{position:relative;z-index:2;padding-bottom:16px}.hero h1{font-size:clamp(42px,4.6vw,66px);line-height:1.22;letter-spacing:-.055em;white-space:nowrap}.hero h1 span{color:var(--orange)}.hero-copy>p{font-size:20px;line-height:1.85;color:var(--muted);margin-top:32px}.hero-actions{display:flex;align-items:center;gap:34px;margin-top:46px}.button{display:inline-flex;justify-content:center;align-items:center;border-radius:40px;padding:17px 30px;background:var(--ink);color:white;font-size:16px;font-weight:600;transition:background .2s,box-shadow .2s}.button:hover{background:#333;box-shadow:0 6px 18px #00000016}.text-link{font-size:16px;color:#666}.text-link:hover{color:var(--ink)}.hero-visual{height:650px;position:relative;display:flex;align-items:center;justify-content:center;margin:0;flex-direction:column;padding-left:25px}.halo{position:absolute;width:460px;height:460px;border-radius:50%;background:#f4f4f4;top:110px;left:50%;transform:translateX(-48%)}.hero-visual figcaption{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:13px;color:var(--muted)}.phone{width:285px;height:584px;background:linear-gradient(100deg,#555,#111 15%,#111 75%,#666);padding:7px;border:1px solid #777;border-radius:46px;box-shadow:3px 3px 0 #777,7px 6px 0 #272727,14px 24px 25px -15px #0005;transform:rotate(7deg);position:relative;z-index:1}.phone:after{content:"";position:absolute;right:-6px;top:145px;height:64px;width:3px;border-radius:2px;background:#777}.phone-screen{height:100%;border-radius:39px;background:#f8f8f8;overflow:hidden;position:relative;display:flex;flex-direction:column}.phone-status{height:40px;min-height:40px;padding:10px 17px;display:flex;align-items:center;justify-content:space-between;font-size:10px;font-weight:600}.island{position:absolute;top:11px;left:50%;transform:translateX(-50%);width:83px;height:23px;background:#080808;border-radius:20px}.status-marks{font-size:9px;letter-spacing:1px}.phone-toolbar{display:flex;align-items:center;justify-content:space-between;padding:6px 13px 11px;background:white}.phone-brand{display:flex;align-items:center;gap:5px;font-size:11px;font-weight:700}.phone-tools{font-size:18px;color:#333;letter-spacing:4px}.desktop{position:relative;overflow:hidden;background:linear-gradient(150deg,#ffd386 0%,#ffad52 28%,#ff7c25 67%,#ef4f08 100%)}.hero-desktop{flex:1;min-height:0}.desktop-wave{position:absolute;inset:0;overflow:hidden}.desktop-wave:before{content:"";position:absolute;width:150%;height:115%;border-radius:50%;left:-55%;top:-22%;transform:rotate(25deg);background:linear-gradient(20deg,#ff5c09aa,#ffc165aa);box-shadow:20px 30px 70px #ffc36e99}.desktop-wave:after{content:"";position:absolute;width:190%;height:100%;border-radius:45%;left:-35%;top:60%;transform:rotate(-18deg);background:linear-gradient(150deg,#ff8b17,#f3510e);border-top:1px solid #ffca73}.window{position:absolute;border-radius:9px;background:#fffefaee;box-shadow:0 10px 25px #a63e1525;overflow:hidden;backdrop-filter:blur(15px)}.explorer{width:164px;height:153px;left:31px;top:45px}.window-top{height:23px;background:#eeece8b0;display:flex;align-items:center;gap:4px;padding:0 8px}.window-top i{display:block;width:6px;height:6px;border-radius:50%;background:#ff6e5e}.window-top i:nth-child(2){background:#f8bc4d}.window-top i:nth-child(3){background:#7fc46b}.window-lines{padding:17px 12px}.window-lines b{display:block;background:#d9d4ce;height:6px;width:45%;border-radius:3px;margin-bottom:13px}.window-lines b:nth-child(even){width:62%}.photo{width:128px;height:100px;top:110px;right:15px}.mountains{position:relative;margin:10px 15px;height:54px;overflow:hidden}.mountains:before,.mountains:after{content:"";position:absolute;width:55px;height:55px;background:#ffb768;transform:rotate(45deg);border-radius:8px;left:2px;top:30px}.mountains:after{left:40px;top:33px;background:#ff9b4b}.mountains span{position:absolute;right:6px;top:2px;width:13px;height:13px;border-radius:50%;background:#ffbb70}.desktop-dock{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:12px;background:#ffffff78;box-shadow:0 2px 9px #7e360914}.desktop-dock>i{width:25px;height:25px;border-radius:6px;box-shadow:0 1px 3px #0002;display:block}.app-folder{background:linear-gradient(0deg,#2599e9 80%,#82d4ff 80%);border:2px solid #fff}.app-safari{background:conic-gradient(from 40deg,#58ccff,#009bec,#5bd5fa);border:3px solid white;border-radius:50%!important}.app-note{background:linear-gradient(0deg,#fff 75%,#ffdc51 75%)}.mini-pointer{position:absolute;left:190px;bottom:76px;width:12px;height:17px;background:white;clip-path:polygon(0 0,0 100%,35% 70%,58% 100%,73% 93%,52% 63%,100% 63%);filter:drop-shadow(0 1px 1px #111)}.phone-control{height:28px;display:flex;align-items:center;justify-content:flex-end;gap:0;padding:2px 12px;background:#f3f3f3}.phone-control span{width:34px;text-align:center;font-size:17px;color:#555}.phone-control span+span{border-left:1px solid #ddd}.phone-keyboard{height:150px;min-height:150px;background:#d1d2d6;padding:7px 5px 10px}.mini-keyboard-tabs{display:flex;gap:4px;margin:0 0 7px}.mini-keyboard-tabs span{font-size:8px;flex:1;text-align:center;padding:4px 0;border-radius:4px;background:#f1f1f3}.mini-keyboard-tabs span:first-child{color:white;background:#ff681e}.letter-row{display:flex;gap:3px;justify-content:center;margin-bottom:6px}.letter-row span{display:grid;place-items:center;flex:1;max-width:26px;height:23px;background:#fff;border-radius:4px;font-size:11px;box-shadow:0 1px 0 #999}.letter-row.inset{padding:0 8px}.space-row{display:flex;gap:4px}.space-row span{font-size:9px;display:grid;place-items:center;min-width:35px;height:23px;background:#aeb1b8;border-radius:4px}.space-row .space{flex:1;background:white}.home-indicator{height:4px;width:80px;background:#161616;margin:10px auto 7px;border-radius:3px}.experience{padding-top:120px;padding-bottom:110px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:54px}h2{font-size:46px;line-height:1.28}.section-heading p{font-size:18px;color:var(--muted);line-height:1.8;padding-bottom:4px}.tabs{display:flex;gap:32px;border-bottom:1px solid var(--line);margin-bottom:36px}.tabs button{background:transparent;padding:0 20px 17px;font-size:18px;font-weight:600;color:#666;position:relative}.tabs button:first-child{padding-left:20px}.tabs button[aria-selected=true]{color:var(--orange)}.tabs button:after{content:"";position:absolute;bottom:-1px;left:0;right:0;height:3px;background:var(--orange);transform:scaleX(0);transition:transform .2s}.tabs button[aria-selected=true]:after{transform:scaleX(1)}.experience-layout{display:grid;grid-template-columns:1.55fr 1fr;gap:50px;align-items:center}.demo-stage{background:var(--panel);border-radius:20px;padding:50px 32px 16px;overflow:hidden}.landscape-phone{height:290px;position:relative;background:linear-gradient(120deg,#999,#191919 14%,#111 80%,#666);padding:7px;border-radius:36px;box-shadow:2px 2px 0 #777,0 10px 16px -12px #0009}.landscape-phone:before{position:absolute;top:-3px;left:70px;width:50px;height:2px;content:"";background:#888;border-radius:2px}.landscape-island{position:absolute;top:50%;transform:translateY(-50%);left:15px;width:13px;height:61px;border-radius:15px;background:black;z-index:5}.demo-display{height:100%;border-radius:29px;overflow:hidden;position:relative;display:flex;flex-direction:column}.demo-desktop{flex:1;min-height:0}.desktop-menubar{position:absolute;top:0;left:0;right:0;height:21px;background:#ffffff96;display:flex;align-items:center;gap:15px;font-size:9px;padding:0 22px}.desktop-menu-brand{font-weight:700}.demo-window{left:15%;top:20%;width:64%;height:63%;border-radius:7px;transition:transform .5s ease}.demo-window .window-top{height:22px}.demo-window .window-top span{font-size:8px;color:#666;margin-left:10px}.demo-window-content{display:flex;height:calc(100% - 22px)}.side-lines{background:#ebe9e499;width:25%;padding:20px 10px}.side-lines i{display:block;width:80%;height:4px;background:#d2d0ca;border-radius:2px;margin-bottom:12px}.side-lines i:nth-child(2){background:#f9bd92;width:100%}.work-content{flex:1;padding:20px 18px}.work-label{font-size:12px;font-weight:600;color:#5e5550}.work-lines{margin-top:17px}.work-lines i{display:block;width:87%;height:4px;margin-bottom:10px;border-radius:2px;background:#dedbd5}.work-lines i:last-child{width:55%}.touch-contacts{position:absolute;left:62%;top:55%;display:flex;gap:12px;z-index:2}.touch-contacts i{width:27px;height:27px;background:#ffffff77;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 6px #ffffff30;animation:scroll-contact 3.8s ease-in-out infinite}.touch-contacts i:before{content:"";position:absolute;top:-23px;margin-left:7px;width:6px;height:20px;background:linear-gradient(#fff,#ffffff00);border-radius:3px}.touch-contacts i:after{content:"";position:absolute;width:8px;height:8px;border-left:3px solid white;border-top:3px solid white;transform:rotate(45deg);margin-top:-24px;margin-left:5px}.demo-pointer{position:absolute;width:14px;height:20px;background:white;clip-path:polygon(0 0,0 100%,35% 70%,58% 100%,73% 93%,52% 63%,100% 63%);filter:drop-shadow(0 1px 1px #333);left:45%;top:60%}.demo-dock{display:flex;gap:10px;position:absolute;bottom:8px;right:10px;background:#29292999;backdrop-filter:blur(12px);padding:5px 8px;color:white;border-radius:6px;font-size:14px}.demo-dock span+span{border-left:1px solid #ffffff30;padding-left:9px}.demo-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:28px;font-size:13px;color:var(--muted)}.replay{display:grid;place-items:center;background:none;width:32px;height:32px;border-radius:50%}.replay:hover{background:#e9e9e9}.replay svg{width:20px;height:20px}.experience-copy h3{font-size:29px;line-height:1.45;letter-spacing:-.025em}.experience-copy>p{font-size:18px;line-height:1.9;color:var(--muted);margin-top:22px}.experience-copy ul{list-style:none;padding:0;margin:36px 0 0}.experience-copy li{border-top:1px solid var(--line);padding:17px 0;font-size:15px;line-height:1.7;color:#666}.keyboard-demo{background:#d1d2d6;padding:7px 15px 12px;flex-shrink:0;height:151px}.keyboard-demo[hidden]{display:none}.shortcut-tabs{display:flex;gap:5px;margin-bottom:7px}.shortcut-tabs span{font-size:10px;padding:5px 0;text-align:center;flex:1;border-radius:4px;background:#fff}.shortcut-tabs .active{background:var(--orange);color:#fff}.shortcut-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.shortcut-grid button{height:40px;border-radius:5px;background:white;font-size:17px;box-shadow:0 1px 0 #a4a6ab;font-family:var(--sans)}.shortcut-grid button:hover{background:#fff1e7}.shortcut-grid button:active{background:#ffd8be}.demo-stage[data-active=keyboard] .demo-window{transform:scale(.8);transform-origin:50% 0}.demo-stage[data-active=keyboard] .touch-contacts,.demo-stage[data-active=keyboard] .demo-dock{display:none}.demo-stage[data-active=direct] .touch-contacts{left:45%;top:48%}.demo-stage[data-active=direct] .touch-contacts i{animation:tap-contact 3s ease infinite}.demo-stage[data-active=direct] .touch-contacts i:before,.demo-stage[data-active=direct] .touch-contacts i:after,.demo-stage[data-active=direct] .touch-contacts i:nth-child(2),.demo-stage[data-active=direct] .demo-pointer{display:none}.demo-stage.replaying .touch-contacts{animation:replay .4s ease}.refinements{padding-top:35px;padding-bottom:120px}.refinements h2{margin-bottom:58px}.detail-columns{display:grid;grid-template-columns:repeat(3,1fr)}.detail-columns article{padding:0 38px}.detail-columns article:first-child{padding-left:0}.detail-columns article:last-child{padding-right:0}.detail-columns article+article{border-left:1px solid #ddd}.detail-columns h3{font-size:26px;line-height:1.5;margin-bottom:20px}.detail-columns p{font-size:18px;line-height:1.85;color:#666}.detail-columns p.detail-extra{font-size:14px;margin-top:18px;color:#747474;line-height:1.8}.open-source{background:var(--ink);color:white;padding:80px 0 85px}.source-layout{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:80px}.source-layout h2{font-size:43px;line-height:1.35}.source-layout p{font-size:19px;line-height:1.85;color:#cecece}.source-link{font-size:18px;background:none;padding:0 0 4px;border-bottom:1px solid #bbb;color:#fff;margin-top:28px}.source-link:hover{color:#ff9865;border-color:#ff9865}.footer{min-height:128px;display:flex;align-items:center;justify-content:space-between;gap:20px}.footer .brand{font-size:23px}.footer p{font-size:14px;color:#777}dialog{border:none;border-radius:22px;padding:34px;width:min(600px,calc(100% - 32px));max-height:85dvh;overflow-y:auto;color:var(--ink);box-shadow:0 30px 90px #0003}dialog::backdrop{background:#0005;backdrop-filter:blur(5px)}.dialog-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}.dialog-header h2{font-size:26px;line-height:1.5}.close-dialog{font-size:26px;line-height:1;width:32px;height:32px;flex-shrink:0;border-radius:50%;background:#f2f2f2}.close-dialog:hover{background:#e6e6e6}dialog>p{font-size:16px;line-height:1.9;color:#666;margin-bottom:18px}.source-pending{background:#f6f6f6;padding:18px 20px;border-radius:12px;margin-top:24px}.source-pending strong{font-size:16px;font-weight:600}.source-pending p{font-size:14px;line-height:1.8;color:#777;margin-top:8px}.legal-links{display:flex;flex-wrap:wrap;gap:20px;margin-top:26px;font-size:14px}.legal-links a{text-decoration:underline;text-underline-offset:4px}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,16px);background:#171717;color:white;border-radius:30px;padding:13px 22px;font-size:14px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:10;white-space:nowrap}.toast.visible{opacity:1;transform:translate(-50%,0)}@keyframes scroll-contact{0%,18%,100%{transform:translateY(8px);opacity:.6}50%,65%{transform:translateY(-18px);opacity:1}}@keyframes tap-contact{0%,100%{transform:scale(.9);opacity:.5}40%,65%{transform:scale(1.1);opacity:1}}@keyframes replay{0%{opacity:0}100%{opacity:1}}
@media(min-width:1450px){.hero{min-height:810px}.hero h1{font-size:70px}.hero-visual{height:680px}.phone{width:300px;height:616px}.halo{width:490px;height:490px}.hero-visual figcaption{bottom:0}}@media(max-width:1100px){.wrap{padding-left:44px;padding-right:44px}.hero:after{left:44px;right:44px}.hero h1{font-size:48px}.hero-visual{padding-left:0}.phone{width:258px;height:534px}.halo{width:360px;height:360px;top:140px}.hero{min-height:690px}.hero-visual{height:600px}.hero-copy>p{font-size:17px}.hero-actions{gap:22px}.section-heading h2,h2{font-size:38px}.section-heading p{font-size:16px}.experience-layout{gap:30px;grid-template-columns:1.4fr 1fr}.demo-stage{padding:40px 22px 14px}.landscape-phone{height:240px}.experience-copy h3{font-size:24px}.experience-copy>p{font-size:16px}.experience-copy ul{margin-top:22px}.experience-copy li{font-size:14px}.demo-window-content .work-content{padding:12px}.work-label{font-size:10px}.detail-columns article{padding:0 24px}.detail-columns h3{font-size:23px}.detail-columns p{font-size:16px}.source-layout{gap:50px}.source-layout h2{font-size:35px}.source-layout p{font-size:17px}.phone-keyboard{height:142px;min-height:142px}}@media(max-width:780px){.wrap{padding-left:24px;padding-right:24px}.header{height:80px}.brand{font-size:23px}.brand img{width:34px;height:34px}.header nav{gap:22px;font-size:14px}.header nav a:nth-child(2){display:none}.hero{display:flex;flex-direction:column;align-items:stretch;min-height:0;padding-top:46px;padding-bottom:45px}.hero:after{left:24px;right:24px}.hero h1{font-size:clamp(35px,6.2vw,48px);letter-spacing:-.05em}.hero-copy>p{font-size:16px;line-height:1.85;margin-top:24px}.hero-actions{margin-top:30px;gap:26px}.button{font-size:14px;padding:15px 24px}.text-link{font-size:14px}.hero-visual{height:575px;margin-top:34px;width:100%;padding-bottom:28px}.phone{height:520px;width:252px}.halo{width:360px;height:360px;top:90px}.hero-visual figcaption{font-size:12px;bottom:0}.hero-copy{padding-bottom:0}.experience{padding-top:70px;padding-bottom:68px}.section-heading{display:block;margin-bottom:34px}h2,.section-heading h2{font-size:34px;line-height:1.3}.section-heading p{margin-top:22px;font-size:16px}.section-heading p br{display:none}.tabs{gap:12px;margin-bottom:26px}.tabs button{font-size:16px;padding:0 16px 15px}.experience-layout{grid-template-columns:1fr;gap:30px}.demo-stage{padding:32px 20px 12px}.landscape-phone{height:clamp(200px,44vw,300px);border-radius:29px;padding:6px}.demo-display{border-radius:23px}.landscape-island{left:12px;width:10px;height:46px}.demo-window{width:67%;top:22%;left:16%}.desktop-menubar{font-size:8px;height:18px}.demo-bottom{margin-top:18px;font-size:12px}.experience-copy h3{font-size:26px}.experience-copy>p{font-size:17px;margin-top:14px}.experience-copy ul{margin-top:24px}.experience-copy li{padding:14px 0;font-size:15px}.refinements{padding-top:22px;padding-bottom:70px}.refinements h2{margin-bottom:32px}.detail-columns{display:block}.detail-columns article,.detail-columns article:first-child,.detail-columns article:last-child{padding:26px 0}.detail-columns article+article{border-left:none;border-top:1px solid var(--line)}.detail-columns article:first-child{padding-top:0}.detail-columns h3{font-size:24px;margin-bottom:12px}.detail-columns p{font-size:17px}.detail-columns p.detail-extra{margin-top:9px;font-size:14px}.open-source{padding:54px 0}.source-layout{grid-template-columns:1fr;gap:28px}.source-layout h2{font-size:33px}.source-layout p{font-size:16px}.source-link{font-size:16px;margin-top:22px}.footer{padding-top:28px;padding-bottom:28px;min-height:120px;flex-wrap:wrap;gap:18px}.footer .brand{font-size:21px}.footer .brand img{width:32px;height:32px}.footer p{font-size:12px}.keyboard-demo{height:129px;padding:6px 17px 8px}.shortcut-grid button{height:30px;font-size:14px}.shortcut-tabs span{font-size:9px;padding:4px 0}.demo-stage[data-active=keyboard] .demo-window{display:none}.demo-stage[data-active=keyboard] .demo-pointer{display:none}dialog{padding:24px}.dialog-header h2{font-size:23px}.toast{font-size:12px;max-width:calc(100% - 24px);white-space:normal;text-align:center}}@media(max-width:360px){.phone{width:240px;height:500px}.wrap{padding-left:18px;padding-right:18px}.header nav{gap:15px}.brand{font-size:20px}.hero h1{font-size:33px}.hero-actions{gap:18px}.halo{width:290px;height:290px}.demo-stage{padding-left:12px;padding-right:12px}.tabs{gap:5px}.tabs button{padding-left:12px;padding-right:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

/* Native workspace showcase. */
.workspace{padding-top:12px;padding-bottom:112px}.workspace .section-heading{margin-bottom:38px}
.workspace-showcase{background:#f3f3f3;border-radius:28px;padding:26px 30px 18px}
.workspace-tabs{display:flex;gap:8px;margin-bottom:22px}.workspace-tabs button{font-size:16px;font-weight:550;padding:11px 20px;border-radius:24px;background:transparent;color:#707070;transition:background .15s,color .15s}.workspace-tabs button[aria-selected=true]{background:#fff;color:var(--ink);box-shadow:0 2px 8px #00000008}
.workspace-panel{height:330px;border-radius:16px;overflow:hidden;background:#202124;color:#e9e9e9}.workspace-panel[hidden]{display:none}
.workspace-toolbar{display:flex;gap:24px;align-items:center;height:54px;padding:0 22px;background:#292a2d;color:#9fa0a4;font-size:14px}.preview-tab{padding:9px 14px;border-radius:8px;background:#3a3b3e;color:#fff}.preview-add{margin-left:auto;font-size:24px}.terminal-content{padding:22px 28px;font:16px/1.85 ui-monospace,SFMono-Regular,Menlo,monospace}.terminal-content p{min-height:1.85em}.terminal-user{color:#eab99d}.terminal-path{color:#a9c6e7}.terminal-prompt,.terminal-success{color:#9ccca8}.terminal-muted{color:#96999f}.terminal-caret{display:inline-block;vertical-align:middle;width:8px;height:17px;background:#ddd}.terminal-shortcuts{display:flex;gap:10px;padding:0 26px 20px}.terminal-shortcuts span{font:14px ui-monospace,SFMono-Regular,Menlo,monospace;background:#38393d;padding:8px 15px;border-radius:7px;color:#ddd}
.windows-preview{display:flex;background:#fff;color:var(--ink);gap:10px;padding:12px}.split-session{flex:1;min-width:0;border:1px solid #e6e6e6;border-radius:10px;overflow:hidden}.session-label{display:flex;justify-content:space-between;gap:8px;padding:13px 15px;font-size:14px;background:#fafafa}.session-label span:last-child{color:#8b8b8b}.split-divider{align-self:center;width:3px;height:35px;border-radius:3px;background:#d4d4d4}.split-desktop{height:100%;padding:36px 25px;background:linear-gradient(140deg,#e9935b,#f5c195 60%,#f7dcc5)}.split-app{width:90%;height:150px;border-radius:9px;background:#fff;box-shadow:0 8px 25px #0002}.split-app .window-top{height:26px}.split-lines{padding:15px}.split-lines i{display:block;height:8px;margin-bottom:12px;background:#ededed;border-radius:3px}.split-lines i:nth-child(2){width:60%}.split-lines i:nth-child(3){width:80%}.split-terminal{height:100%;padding:30px 20px;background:#202124;color:#ddd;font:15px/1.8 ui-monospace,SFMono-Regular,Menlo,monospace}
.files-preview{background:#fff;color:var(--ink)}.files-preview .workspace-toolbar{background:#fafafa;color:#999;border-bottom:1px solid #eee}.files-preview .preview-tab{background:#ececec;color:#333}.file-list{padding:10px 26px}.file-list>div{display:flex;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid #efefef;font-size:16px}.file-symbol{font-size:31px;line-height:1;color:#a4866c}.file-list small{display:block;color:#888;font-size:13px;margin-top:5px}.file-list>div>span:last-child{margin-left:auto;color:#888;font-size:14px}.workspace-caption{font-size:13px;text-align:center;color:#818181;margin-top:16px;line-height:1.7}.workspace-notes{display:grid;grid-template-columns:1fr 1fr;gap:64px;margin-top:34px}.workspace-notes h3{font-size:23px;margin-bottom:13px}.workspace-notes p{font-size:17px;line-height:1.85;color:#747474}
.detail-columns{row-gap:42px}.detail-columns article:nth-child(3n+1){padding-left:0;border-left:0}.detail-columns article:nth-child(3n){padding-right:0}
@media(max-width:780px){.workspace{padding-top:8px;padding-bottom:72px}.workspace-showcase{padding:16px 14px 14px;border-radius:22px}.workspace-tabs{gap:0;justify-content:space-between;margin-bottom:16px}.workspace-tabs button{font-size:14px;padding:10px 13px}.workspace-panel{height:316px;border-radius:12px}.workspace-toolbar{padding:0 14px;gap:16px;font-size:13px}.terminal-content{padding:18px 16px;font-size:13px;line-height:2}.terminal-shortcuts{padding:8px 15px 18px;gap:7px}.terminal-shortcuts span{font-size:12px;padding:8px 11px}.workspace-caption{font-size:12px}.workspace-notes{grid-template-columns:1fr;gap:28px;margin-top:28px}.workspace-notes h3{font-size:22px}.workspace-notes p{font-size:16px}.windows-preview{padding:8px;gap:6px}.session-label{flex-direction:column;padding:12px;font-size:13px}.split-desktop{padding:45px 12px}.split-app{width:100%;height:125px}.split-terminal{font-size:11px;padding:24px 12px;overflow-wrap:anywhere}.detail-columns{row-gap:0}.detail-columns article:nth-child(n){padding:26px 0;border-left:0}.detail-columns article+article{border-top:1px solid var(--line)}.detail-columns article:first-child{padding-top:0}}

.source-actions{display:flex;flex-wrap:wrap;align-items:center;gap:26px}.source-actions .source-link{display:inline-block}

/* Duo device frames contain the supplied, unmodified screenshots. */
.hero{grid-template-columns:1fr 1.15fr;gap:30px}.hero h1{font-size:clamp(40px,4.1vw,60px)}
.duo-device{position:relative;padding:8px;border:1px solid #6d6d70;border-radius:28px;background:#171719;box-shadow:0 1px 0 2px #c5c5c7,0 3px 0 3px #3c3c3e,0 22px 35px #0002;overflow:hidden}.duo-device>img{display:block;width:100%;height:auto;border-radius:20px;background:#000}
.duo-hero{height:610px;padding:0;display:block}.duo-halo{position:absolute;width:105%;height:75%;border-radius:50%;background:#f4f4f4;top:80px;left:0}.duo-hero-wide{position:absolute;top:105px;right:0;width:100%;transform:rotate(-6deg)}.duo-hero-wide:after{content:"";position:absolute;left:50%;top:9px;bottom:9px;width:1px;background:#0001;box-shadow:0 0 8px #0001;pointer-events:none}.duo-hero-portrait{position:absolute;width:32%;left:-8px;bottom:65px;transform:rotate(6deg);padding:5px;border-radius:19px;box-shadow:0 1px 0 2px #b7b7ba,0 3px 0 3px #3c3c3e,0 16px 30px #0003}.duo-hero-portrait>img{border-radius:13px}.duo-hero figcaption{bottom:6px;font-size:13px}
.screenshot-stage{padding:28px 32px 16px;min-height:600px;display:flex;flex-direction:column;justify-content:center}.experience-device{width:min(100%,340px);margin:auto;padding:6px;border-radius:24px;box-shadow:0 1px 0 1px #a1a1a4,0 3px 0 2px #444,0 12px 24px #0002}.experience-device>img{border-radius:17px}.screenshot-stage .demo-bottom{width:100%;margin-top:22px}.screenshot-stage .replay{width:40px;height:40px}.screenshot-stage .replay svg{width:20px;height:20px}
.terminal-real{display:flex;align-items:center;justify-content:center;gap:60px;height:400px;padding:24px 48px;background:#202124}.terminal-real[hidden]{display:none}.terminal-real-copy{max-width:460px}.terminal-real-copy h3{font-size:30px;line-height:1.45}.terminal-real-copy p{font-size:18px;line-height:1.9;color:#b2b3b8;margin-top:18px}.terminal-real-copy>span{display:block;font-size:13px;color:#8e9097;margin-top:28px}.terminal-real-device{width:230px;flex-shrink:0;padding:5px;border-radius:20px;box-shadow:0 1px 0 1px #7c7d80,0 10px 28px #0004}.terminal-real-device>img{border-radius:14px}
#screenshot-dialog{width:min(900px,calc(100% - 32px));padding:22px;background:#f6f6f6}#screenshot-dialog .dialog-header{align-items:center;margin-bottom:16px}#screenshot-dialog h2{font-size:20px}#expanded-screenshot{display:block;max-width:100%;max-height:calc(85dvh - 110px);width:auto;height:auto;margin:0 auto;border-radius:10px}.close-screenshot{font-size:26px;line-height:1;width:44px;height:44px;flex-shrink:0;border-radius:50%;background:#e6e6e6}
@media(max-width:1100px) and (min-width:781px){.duo-hero{height:530px}.duo-hero-wide{top:110px}.duo-hero-portrait{bottom:70px}.hero h1{font-size:clamp(38px,4.1vw,48px)}.terminal-real{gap:32px;padding:24px 32px}.terminal-real-copy h3{font-size:26px}.terminal-real-copy p{font-size:16px}}
@media(max-width:780px){.hero{gap:0;display:flex;flex-direction:column}.hero h1{font-size:clamp(32px,6.2vw,48px)}.duo-hero{height:440px;padding:0;margin-top:26px}.duo-halo{width:100%;height:80%;top:24px}.duo-hero-wide{width:92%;top:44px;right:0;padding:6px;border-radius:22px;transform:rotate(-5deg)}.duo-hero-wide>img{border-radius:15px}.duo-hero-portrait{width:34%;left:5px;bottom:44px;padding:4px;border-radius:16px}.duo-hero-portrait>img{border-radius:11px}.duo-hero figcaption{bottom:0;font-size:12px}.screenshot-stage{min-height:0;padding:26px 20px 12px}.experience-device{width:min(100%,288px);padding:5px;border-radius:20px}.experience-device>img{border-radius:14px}.screenshot-stage .demo-bottom{margin-top:18px;font-size:12px}.terminal-real{height:auto;min-height:400px;padding:28px 24px;gap:24px;flex-direction:column;align-items:stretch}.terminal-real-copy h3{font-size:23px}.terminal-real-copy p{font-size:16px;margin-top:12px}.terminal-real-copy>span{font-size:12px;margin-top:16px}.terminal-real-device{width:min(100%,240px);margin:0 auto}.workspace-showcase .terminal-real{padding:24px 20px}.terminal-real-device>img{border-radius:14px}}
@media(max-width:400px){.duo-hero{height:340px}.duo-hero-portrait{bottom:30px}.duo-hero-wide{top:30px}.duo-hero figcaption{font-size:11px}}

@media(max-width:780px){.workspace-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}.workspace-tabs button{font-size:14px;padding:10px 3px;white-space:nowrap}.window-real .terminal-real-copy h3,.menu-real .terminal-real-copy h3{font-size:23px}}

.files-real{background:#ececee;color:var(--ink)}.files-real .terminal-real-copy p{color:#747474}.files-real .terminal-real-copy>span{color:#818181}

.window-gallery{display:flex;flex-direction:column;align-items:center;gap:12px;flex-shrink:0}.window-examples{display:flex;gap:6px;padding:4px;border-radius:22px;background:#ffffff0d}.window-examples button{background:transparent;color:#b2b3b8;font-size:13px;padding:7px 12px;border-radius:18px;white-space:nowrap}.window-examples button[aria-pressed=true]{background:#fff;color:#202124}.window-gallery .terminal-real-device{width:200px;margin:0}.window-screenshot{cursor:zoom-in}.window-examples button:focus-visible,.window-screenshot:focus-visible{outline:2px solid #ff934f;outline-offset:4px}
@media(max-width:780px){.window-gallery .terminal-real-device{width:min(100%,240px)}.window-examples button{font-size:14px}}

.header-tools{display:flex;align-items:center;gap:26px}.language-switch{display:flex;align-items:center;gap:9px;white-space:nowrap;padding-left:22px;border-left:1px solid var(--line);font-size:13px}.language-switch a{color:var(--muted);padding:8px 0}.language-switch a[aria-current=page]{color:var(--ink);font-weight:650}.language-switch span{color:#c2c2c2}.language-switch a:hover{color:var(--orange)}
html:lang(en) .hero h1{letter-spacing:-.045em}html:lang(en) .section-heading h2{letter-spacing:-.035em}html:lang(en) .workspace-tabs button{padding-left:16px;padding-right:16px}
@media(max-width:780px){.header-tools{gap:0}.header-tools>nav{display:none}.language-switch{padding-left:14px;gap:7px}html:lang(en) .hero h1{white-space:normal}html:lang(en) .workspace-tabs button{font-size:13px;padding-left:3px;padding-right:3px}}

/* Official Apple Duo PNGs, unmodified; screenshots fit their matching screen apertures. */
.duo-device,.duo-hero-portrait,.experience-device,.terminal-real-device{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible;aspect-ratio:1574/2194}
.duo-device:after{content:"";position:absolute;inset:0;z-index:1;background:url("assets/bezel/duo-outer-portrait.png") center/100% 100% no-repeat;pointer-events:none;width:auto;height:auto;box-shadow:none}
.duo-device>img,.duo-hero-portrait>img,.experience-device>img,.terminal-real-device>img{position:absolute;left:5.59085%;top:3.69189%;width:88.81830%;height:92.61623%;object-fit:contain;background:#000;border-radius:7.5% / 5.2%}
.duo-hero-wide{aspect-ratio:3093/2247}
.duo-hero-wide:after{inset:0;background-image:url("assets/bezel/duo-inner-landscape.png");width:auto;height:auto;box-shadow:none}
.duo-hero-wide>img{left:3.87973%;top:5.34045%;width:92.24054%;height:89.31909%;border-radius:5% / 7.1%}
@media(max-width:780px){.duo-hero-wide,.duo-hero-portrait,.experience-device,.terminal-real-device{padding:0;border-radius:0}.duo-hero-wide>img{border-radius:5% / 7.1%}.duo-hero-portrait>img,.experience-device>img,.terminal-real-device>img{border-radius:7.5% / 5.2%}}
