/* Desktop-only live product. Mobile continues to use the original screenshot. */
@media(min-width:769px){
 .landing.has-demo{--demo-space:360px;min-height:max(100svh,820px)}
 .has-demo .scene picture{display:block;width:100%;height:100%}
 .has-demo .scene{background:#79b4cf}
 .has-demo .intro{padding-top:calc(var(--demo-space) + 40px);transition:padding-top .48s cubic-bezier(.2,.8,.2,1)}
 .demo{--accent:#ff982f;position:absolute;top:0;left:50%;transform:translateX(-50%);width:min(600px,calc(100vw - 64px));z-index:3;color:#f7f7f8;font-size:14px;line-height:1.35;color-scheme:dark;--shell-height:340px}
 .demo button,.demo input,.demo select{font:inherit;color:inherit}
 .demo button{cursor:pointer;border:0}
 .demo button:disabled{cursor:default;opacity:.45}
 .demo button:focus-visible,.demo input:focus-visible,.demo select:focus-visible,.demo canvas:focus-visible{outline:2px solid #ffb46b;outline-offset:4px}
 .demo button:active{transform:scale(.96)}
 .demo-shell{position:relative;width:100%;height:var(--shell-height);margin:auto;border-radius:0 0 44px 44px;background:linear-gradient(180deg,#000 0,#000 24px,#101416d9 110px,#26303770 100%);backdrop-filter:blur(30px) saturate(1.25);-webkit-backdrop-filter:blur(30px) saturate(1.25);box-shadow:0 22px 48px #18344330,inset 0 -1px 1px #ffffff60;overflow:hidden;isolation:isolate;transition:width .48s cubic-bezier(.22,.82,.24,1),height .48s cubic-bezier(.22,.82,.24,1),border-radius .48s;will-change:width,height}
 .demo-shell::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse 85% 82% at 50% -8%,#000 16%,#000d 45%,transparent 100%)}
 .demo[data-expanded="false"] .demo-shell{width:196px;height:34px;border-radius:0 0 10px 10px;background:#000;backdrop-filter:none;box-shadow:none}
 .demo-crown{height:34px;display:flex;align-items:center;justify-content:center;gap:35px;width:100%;background:transparent;color:#fff9;font-size:11px!important;position:relative;z-index:2}
 .demo[data-expanded="true"] .demo-crown{cursor:default;color:#ffffff50;pointer-events:none}
 .demo-crown .compact-status{color:var(--accent);font-variant-numeric:tabular-nums}
 .demo-nav{height:64px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:4px 24px 12px}
 .demo-icon{display:grid;place-items:center;width:32px;height:32px;background:transparent;position:relative;flex-shrink:0;border-radius:10px}
 .demo-icon::before{content:"";display:block;width:25px;height:25px;background:#ddd;mask:var(--icon) center/contain no-repeat;-webkit-mask:var(--icon) center/contain no-repeat;transition:background .18s,transform .28s}
 .demo-icon:hover::before{background:white;transform:translateY(-1px)}
 .demo-icon[aria-selected="true"]::before{background:var(--accent);mask-image:var(--selected-icon);-webkit-mask-image:var(--selected-icon)}
 .demo-icon[data-awake="true"]:not([aria-selected="true"])::before{background:#fff;filter:drop-shadow(0 0 5px #ffffffa0)}
 .demo-icon.replay{animation:demo-wiggle .35s ease-in-out}
 .demo-segment{display:flex;flex:1;min-width:0;height:42px;padding:4px;background:linear-gradient(#ffffff28,#ffffff19);border-radius:25px;box-shadow:inset 0 1px 1px #ffffff33,inset 0 -1px 1px #ffffff19;backdrop-filter:blur(16px)}
 .demo-segment button{width:50%;min-width:0;border-radius:22px;background:transparent;font-weight:650;font-size:16px;white-space:nowrap;transition:background .22s,color .22s}
 .demo-segment button[aria-selected="true"]{background:#080909;color:#fff;box-shadow:0 1px 1px #0003}
 .demo-segment button[aria-selected="false"]{color:#e5e5e7}
 .demo-content{position:relative;height:calc(var(--shell-height) - 116px);overflow:hidden;opacity:1;transform:translateY(0) scale(1);transform-origin:top center;transition:opacity .16s ease .09s,transform .32s cubic-bezier(.2,.8,.2,1) .05s}
 .demo[data-expanded="false"] .demo-content,.demo[data-expanded="false"] .demo-nav{opacity:0;pointer-events:none;transform:translateY(-5px) scale(.985);transition:opacity .1s ease,transform .2s ease}
 .demo[data-expanded="false"] .demo-nav{visibility:hidden}
 .demo-page{height:100%;overflow:auto;overscroll-behavior:contain;padding:4px 20px 18px;scrollbar-width:thin;scrollbar-color:#ffffff30 transparent}
 .demo-page>h2,.demo-heading h2{font-size:19px;line-height:1.2;letter-spacing:-.025em;margin:0;font-weight:650}
 .demo-heading{display:flex;justify-content:space-between;align-items:center;margin:3px 0 15px;gap:12px}
 .demo-heading .quiet{font-size:12px;color:#fff9}
 .demo .plain{background:transparent;color:#d6d9dd;padding:4px 6px;border-radius:7px}
 .demo .plain:hover{background:#ffffff12;color:#fff}
 .demo .soft{border-radius:12px;background:#ffffff16;padding:8px 13px;font-weight:550;font-size:12px}
 .demo .orange{background:var(--accent);color:#17130c}
 .demo .tiny{font-size:11px;color:#ccd1d5;line-height:1.45}
 .demo .empty{height:145px;display:grid;place-content:center;text-align:center;color:#d3d6d9;gap:10px}
 .demo .empty p{margin:0}
 .demo-collapse{position:absolute;bottom:4px;left:calc(50% - 22px);width:44px;height:15px;background:transparent;color:#fff7;display:grid;place-items:center;font-size:15px;z-index:2}
 .demo[data-expanded="false"] .demo-collapse{display:none}
 .demo-help{display:flex;align-items:center;justify-content:center;gap:8px;color:#294958;margin:17px 0 0;font-size:11px}
 .demo-help button{background:#ffffff40;border-radius:20px;padding:6px 10px;color:#244451;font-size:11px;backdrop-filter:blur(10px)}
 .demo[data-expanded="false"] .demo-help{margin-top:13px}
 .demo-notice{position:absolute;left:50%;top:calc(100% + 8px);transform:translateX(-50%);padding:8px 14px;max-width:100%;width:max-content;border-radius:14px;background:#14232dec;color:#fff;font-size:12px;box-shadow:0 8px 30px #0002;text-align:center;pointer-events:none}
 .demo-notice:empty{display:none}
 .demo-todo{display:grid;grid-template-columns:135px minmax(0,1fr);gap:20px;height:100%}
 .demo-list-summary{display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:8px 5px}
 .list-symbol{width:36px;height:36px;border-radius:50%;background:#ff982f;display:grid;place-items:center;font-size:24px;margin-bottom:23px;color:white}
 .demo-count{font-size:39px;font-weight:650;letter-spacing:-.06em;line-height:1.1;font-variant-numeric:tabular-nums}
 .list-name{font-size:16px;font-weight:600;color:var(--accent);margin-top:6px}
 .list-source{font-size:12px;color:#b4bcc0;margin-top:1px}
 .list-actions{margin-top:auto;display:flex;gap:15px;color:var(--accent)}
 .list-actions button{font-size:23px;background:transparent;padding:4px;color:var(--accent)}
 .demo-tasks{overflow:auto;padding-top:4px;scrollbar-width:thin;overscroll-behavior:contain}
 .task-row{display:flex;align-items:center;gap:12px;min-height:43px;border-radius:9px;padding:2px 3px;position:relative}
 .task-row:hover{background:#ffffff08}
 .task-check{width:24px;height:24px;border-radius:50%;border:1.5px solid #b8c1c5!important;background:transparent;flex-shrink:0;display:grid;place-items:center;font-size:15px}
 .task-row.done .task-check{background:var(--accent);border-color:var(--accent)!important;color:#17130c}
 .task-row input{background:transparent;border:0;width:100%;min-width:0;outline-offset:1px;color:#edf0f1;font-size:15px;height:35px;text-overflow:ellipsis}
 .task-row.done input{text-decoration:line-through;color:#a7b1b8}
 .task-row .task-remove{opacity:0;font-size:18px;padding:3px;background:transparent;color:#b2bdc5}
 .task-row:hover .task-remove,.task-row:focus-within .task-remove{opacity:1}
 .task-row.dragging{opacity:.35}
 .new-task input::placeholder{color:#ffffff55}
 .demo-panel-menu{position:absolute;z-index:10;right:23px;top:93px;min-width:190px;background:#26333af5;border:1px solid #ffffff20;padding:5px;border-radius:13px;box-shadow:0 10px 30px #0004;backdrop-filter:blur(25px)}
 .demo-panel-menu button{display:block;width:100%;padding:9px 11px;text-align:left;background:transparent;border-radius:8px;font-size:12px}
 .demo-panel-menu button:hover{background:#ffffff18}
 .demo-timer{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;gap:16px}
 .timer-digits{font-size:65px;line-height:1;font-weight:300;letter-spacing:-.045em;font-variant-numeric:tabular-nums;color:#fafafa}
 .timer-digits.running{color:var(--accent)}
 .timer-presets{display:flex;gap:8px;align-items:center}
 .timer-presets button{padding:7px 12px;border-radius:12px;background:#ffffff0a;font-size:12px}
 .timer-presets button[aria-pressed="true"]{background:#ff982f29;color:#ffad5b}
 .timer-presets input{width:57px;text-align:center;border:0;border-radius:10px;background:#ffffff12;padding:7px;font-size:12px}
 .timer-actions{display:flex;gap:8px;min-height:34px}
 .awake-main{display:flex;justify-content:center;align-items:center;gap:30px;padding:18px 0 23px}
 .awake-time{font-size:49px;font-weight:350;letter-spacing:-.04em;min-width:145px;text-align:right;font-variant-numeric:tabular-nums}
 .physical-switch{position:relative;display:flex;width:171px;height:64px;padding:7px;border-radius:35px;background:linear-gradient(#111,#252726);box-shadow:inset 0 0 0 2px #000a,inset 0 2px 1px #ffffff35,0 5px 7px #0004;isolation:isolate}
 .physical-switch::before{content:"";position:absolute;inset:4px;border-radius:32px;background:linear-gradient(#3c3e3c,#151715);box-shadow:inset 0 1px 1px #ffffff50,inset 0 -1px 2px #000c;z-index:-1}
 .physical-switch::after{content:"";position:absolute;inset:-8px;z-index:-2;border-radius:42px;background:radial-gradient(ellipse at 90% 30%,#ffe28fbb, #ff9c18a0 20%,#ff5c0560 45%,transparent 75%);filter:blur(12px);opacity:0;transition:opacity .45s}
 .physical-switch.on::after{opacity:1}
 .physical-switch button{width:50%;background:transparent;border-radius:26px;font-weight:700;font-size:15px;text-shadow:0 1px 2px #0008;color:#878b8d}
 .physical-switch button[aria-pressed="true"]{color:white;background:linear-gradient(#ffffff04,#00000008)}
 .physical-switch.on button[data-power="on"]{color:#ffb363;text-shadow:0 0 14px #ff8a35aa}
 .awake-options{display:flex;align-items:center;justify-content:center;gap:12px;color:#b1b7bd}
 .awake-options button{background:transparent;padding:8px 13px;border-radius:15px;font-size:14px}
 .awake-options button[aria-pressed="true"]{background:#ff982f20;color:#ffab53}
 .awake-status{text-align:center;margin:12px 0 0;color:#bfc6ca;font-size:11px}
 .demo-agents{display:flex;flex-direction:column;gap:9px}
 .agent-card{background:#ffffff0b;border-radius:19px;padding:12px 14px}
 .agent-quota{display:grid;grid-template-columns:1fr 85px 85px;align-items:center;gap:12px}
 .agent-mark{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:600}
 .agent-avatar{width:32px;height:32px;border-radius:8px;display:block;object-fit:contain;flex-shrink:0;background:transparent}
 .quota{text-align:center;font-size:22px;font-weight:650;line-height:1.1;font-variant-numeric:tabular-nums}
 .quota small{display:block;color:#bbc1c6;font-size:11px;font-weight:550;margin-top:4px}
 .agent-thread{border-top:1px solid #ffffff14;margin-top:12px;padding-top:10px;font-size:12px;line-height:1.5}
 .agent-thread p{margin:3px 0 7px;color:#d3dbe0;font-size:12px}
 .agent-thread strong{font-size:12px;font-weight:600}
 .thread-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:9px}
 .thread-actions>span{color:#c5cdd3;font-size:12px;min-width:0;overflow-wrap:anywhere}
 .approval-buttons{display:flex;gap:8px;margin-left:auto;flex-shrink:0}
 .demo .approval-button{position:relative;isolation:isolate;display:grid;place-items:center;min-width:76px;height:40px;flex-shrink:0;border-radius:999px;padding:0 20px;background:linear-gradient(145deg,#ffffff24,#ffffff0c);color:#fff;font-family:ui-rounded,"SF Pro Rounded",-apple-system,BlinkMacSystemFont,sans-serif;font-size:13px;font-weight:650;line-height:1;backdrop-filter:blur(16px) saturate(1.35);-webkit-backdrop-filter:blur(16px) saturate(1.35);box-shadow:inset 0 1px 1px #ffffff70,inset 1px 0 1px #ffffff20,inset 0 -1px 1px #ffffff18,0 3px 8px #0002;transition:transform .18s ease,background .18s ease}
 .demo .approval-allow{background:var(--accent);color:#fff;box-shadow:inset 0 1px 1px #ffe3b7b0,inset 1px 0 1px #ffffff35,inset 0 -1px 1px #a84e0820,0 3px 8px #0002}
 .demo .approval-button:hover{filter:brightness(1.12)}
 .thread-resolved{color:#ffbd7d;font-size:11px}
 .demo-games{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
 .game-tile{padding:8px 7px 10px;background:#ffffff0c;border-radius:19px;display:flex;flex-direction:column;align-items:center;gap:9px;min-width:0;transition:background .18s,transform .18s}
 .game-tile:hover{background:#ffffff19;transform:translateY(-2px)}
 .game-thumb{width:80px;height:80px;max-width:100%;display:grid;place-items:center;border-radius:17px;overflow:hidden}
 .game-thumb svg{width:100%;height:100%}
 .game-tile strong{font-size:10px;line-height:1.2;white-space:nowrap;font-weight:650;letter-spacing:0}
 .game-heading{display:flex;align-items:center;gap:12px;margin:0 0 10px}
 .game-heading strong{font-size:15px}.game-heading .game-score{margin-left:auto;color:#d8dde0;font-size:12px;font-variant-numeric:tabular-nums}
 .game-heading button{font-size:18px;background:#ffffff10;width:30px;height:30px;border-radius:50%}
 .game-canvas{display:block;width:100%;height:auto;aspect-ratio:600/270;touch-action:none;border-radius:16px}
 .game-hint{min-height:16px;margin:10px 0 8px;text-align:center;color:#c8d0d6;font-size:11px}
 .game-controls{display:flex;justify-content:center;gap:8px}
 .game-controls button{min-width:32px;background:#ffffff12;border-radius:10px;padding:7px 9px;font-size:13px}
 .game-controls .color-key{width:27px;height:27px;min-width:27px;padding:0;border:2px solid #ffffff30}
 .clip-tools{display:flex;align-items:center;gap:7px}.clip-tools button{font-size:11px}
 .clip-entry{display:flex;gap:8px;margin-bottom:10px}
 .clip-entry textarea{background:#ffffff0c;border:1px solid #ffffff1a;border-radius:12px;padding:10px 12px;resize:vertical;min-height:44px;max-height:95px;flex:1;min-width:0;font:12px/1.4 inherit;color:#edf0f3}
 .clip-entry textarea:focus{outline:2px solid #ffb46b;outline-offset:2px}
 .clip-entry textarea::placeholder{color:#aeb9c1}
 .clip-entry button{align-self:center}
 .clips-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .clip-card{position:relative;border-radius:14px;padding:12px;background:#ffffff0d;min-height:80px;display:flex;flex-direction:column;gap:9px;align-items:flex-start;overflow:hidden}
 .clip-card p{font-size:12px;line-height:1.5;margin:0;max-height:70px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}
 .clip-card img{max-width:100%;height:70px;object-fit:contain;border-radius:8px}
 .clip-card small{font-size:10px;color:#abb6be}
 .clip-card button{font-size:11px;background:#ffffff12;border-radius:8px;padding:4px 8px}
 .clip-card .remove-clip{position:absolute;right:6px;top:4px;background:transparent;font-size:16px;color:#b3bdc4}
 .demo-player{display:flex;flex-direction:column;justify-content:center;height:100%;gap:18px}
 .track{display:flex;gap:16px;align-items:center}.track-cover{width:64px;height:64px;background:radial-gradient(circle at 25% 15%,#ffbb6b,transparent 65%),linear-gradient(135deg,#8b6274,#274d63);border-radius:14px;display:grid;place-items:center;font-size:27px}.track strong{font-size:19px}.track p{margin:5px 0 0;color:#bac4cc;font-size:12px}
 .player-controls{display:flex;gap:22px;align-items:center;justify-content:center}.player-controls button{background:transparent;font-size:29px;width:40px;height:40px}.player-volume{display:flex;gap:15px;align-items:center;color:#bdc6cc;font-size:11px}.player-volume input{width:100%;accent-color:var(--accent)}
 .demo-update{display:flex;align-items:center;gap:10px;padding:8px 11px;margin:8px auto 0;width:100%;height:38px;border-radius:24px;background:#26333ab0;backdrop-filter:blur(22px);box-shadow:0 4px 10px #0001;color:#fff;font-size:12px}
 .demo-update strong{margin-right:auto;font-size:12px;font-weight:550}.demo-update button{font-size:11px;background:transparent;color:#d7dee2}.demo-update button:last-child{background:#ffffffdf;color:#15232c;padding:6px 14px;border-radius:20px;backdrop-filter:blur(8px)}
 .demo-update[hidden]{display:none}
 .demo-update .update-symbol{color:#4edb7d;font-size:20px}
 @keyframes demo-wiggle{0%,100%{transform:rotate(0)}25%{transform:rotate(-12deg) scale(.94)}65%{transform:rotate(9deg)}}
 @media(prefers-reduced-motion:reduce){.demo *,.has-demo .intro{animation:none!important;transition:none!important;will-change:auto!important}}
}
/* Measurements follow HomePageLayout and the app's SwiftUI components. */
@media(min-width:769px){
 .demo{--shell-height:360px}
 .demo-optics{position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:-2;background:transparent}
 .demo-shell{border-radius:0 0 48px 48px;background:linear-gradient(180deg,#000 0,#000 32px,#0a0d0ff0 76px,#12171bd0 140px,#1d29384d 100%);-webkit-backdrop-filter:blur(12px) saturate(1.15);backdrop-filter:blur(12px) saturate(1.15)}
 .demo-shell::before{background:radial-gradient(ellipse 100% 85% at 50% -7%,#000 12%,#000c 45%,transparent 100%)}
 .demo-crown{height:37px}
 .demo-nav{height:68px;padding:4px 29px 17px;gap:13px;position:relative;z-index:3}
 .demo-icon{width:34px;height:34px}.demo-icon::before{width:25px;height:25px}
 .demo-segment{height:46px;flex:1;max-width:276px;background:linear-gradient(#ffffff33,#ffffff28);padding:4px;box-shadow:inset 0 1px 1px #ffffff38,inset 0 -1px 1px #ffffff28}
 .demo-segment button{font-size:17px}
 .demo-content{height:calc(var(--shell-height) - 123px);z-index:3}
 .demo-page{padding:6px 24px 17px}
 .demo-heading{margin:2px 8px 12px}.demo-heading h2{font-size:18px}
 .demo-todo{grid-template-columns:135px minmax(0,1fr);gap:20px}
 .demo-list-summary{padding:6px 9px 7px;gap:3px}
 .list-symbol{width:36px;height:36px;margin-bottom:auto;background:#ff982f;font-size:24px}
 .demo-count{font-size:39px;margin-top:27px}
 .list-name{font-size:16px}.list-source{font-size:12px}.list-actions{margin-top:auto}
 .task-row{min-height:43px}.task-row input{font-size:16px}.task-check{width:25px;height:25px}
 .focus-setup{padding:13px 8px 0;display:flex;flex-direction:column;gap:15px}
 .focus-ruler{height:103px;position:relative;cursor:ew-resize;touch-action:none;outline-offset:2px!important}
 .ruler-viewport{position:absolute;inset:0;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 20%,#000 80%,transparent)}
 .ruler-track{display:flex;width:max-content;position:absolute;top:0;left:50%;transform:translateX(calc((.5 - var(--minute))*13px));pointer-events:none}
 .ruler-tick{display:flex;align-items:center;flex-direction:column;width:13px;flex-shrink:0;gap:5px;color:var(--accent)}
 .ruler-tick b{height:18px;font-weight:600;font-size:13px;line-height:18px}
 .ruler-tick i{width:3px;height:36px;border-radius:2px;background:#ff982f60;display:block}
 .ruler-tick.major i{width:4px;height:44px;background:#ff982fa3}
 .ruler-pointer{position:absolute;left:50%;top:23px;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:5px;pointer-events:none}
 .ruler-pointer i{width:4px;height:48px;border-radius:3px;background:var(--accent)}
 .ruler-pointer span{width:9px;height:9px;background:var(--accent);transform:rotate(45deg);border-radius:2px}
 .focus-start-row{display:flex;align-items:flex-end;justify-content:space-between;padding:0 5px}
 .focus-start{background:linear-gradient(#ffb44b,#f88b20);padding:11px 24px;border-radius:28px;font-size:17px!important;font-weight:650;box-shadow:inset 0 1px 1px #ffe9bf80,0 3px 8px #0003;color:#fff!important;backdrop-filter:blur(12px)}
 .timer-digits.selection{font-size:52px;color:var(--accent);font-weight:300;letter-spacing:-.04em}
 .demo-timer{gap:24px}.timer-digits{font-size:64px;color:var(--accent);font-weight:300}
 .timer-actions{gap:28px}.timer-actions .soft{background:#ffffff14;border-radius:13px;font-size:16px;padding:10px 16px}.timer-actions .timer-pause{color:var(--accent);background:#ff982f18}
 .awake-main{gap:29px;padding:12px 0 15px}.awake-time{font-size:49px;width:198px;min-width:0}
 .physical-switch{width:171px;height:64px;flex-shrink:0}.awake-options{gap:6px}.awake-options button{font-size:17px;padding:9px 15px}.awake-options>span{font-size:17px}.awake-status{font-size:10px;color:#aeb9bf;margin-top:8px}
 .demo-agents{gap:8px}.agent-card{border-radius:22px;padding:10px 13px;background:#ffffff06}.agent-quota{grid-template-columns:1fr 90px 90px;gap:14px;min-height:43px}.agent-avatar{width:32px;height:32px}.quota{font-size:24px}.quota small{font-size:13px}.agent-thread{margin-top:9px;padding-top:8px}.agent-thread strong{font-weight:550}.agent-thread p{font-size:13px;line-height:1.4}.agent-mark{font-size:12px}
 .demo-games{gap:12px}.game-tile{padding:8px 5px 11px;gap:10px;border-radius:20px}.game-thumb{width:81px;height:81px;border-radius:17px}.game-tile strong{font-size:12px}
 .demo-help{font-size:11px;gap:9px;margin-top:14px}.demo-help span{color:#294958}.demo-help button{color:#294958}
}
@media(min-width:769px){.has-demo .intro,.has-demo footer{position:relative;z-index:2}}
@media(min-width:769px){.demo{left:0;right:0;margin:0 auto;transform:none}}
@media(min-width:769px){
 .demo-shell{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
 .demo-optics{z-index:0;background:#1d293807;backdrop-filter:blur(4px) saturate(1.08);-webkit-backdrop-filter:blur(4px) saturate(1.08)}
 .demo-shell::before{z-index:1;background:linear-gradient(180deg,#000 0,#000 31px,#080c10ed 70px,#10171b99 128px,#16212d24 225px,#16212d04 100%)}
 .demo-crown,.demo-collapse{z-index:4}.demo-segment{backdrop-filter:none;-webkit-backdrop-filter:none}
 .demo[data-expanded="false"] .demo-optics{display:none}
}
@media(min-width:769px){
 .demo-shell{clip-path:inset(0 round 0 0 48px 48px)}
 .demo[data-expanded="false"] .demo-shell{clip-path:inset(0 round 0 0 10px 10px)}
}
@media(min-width:769px){
 .todo-done{height:130px;display:grid;place-content:center;justify-items:center;gap:9px;color:#c5cbd0}
 .todo-done>span{width:42px;height:42px;border-radius:50%;border:2px solid #ff982f;color:var(--accent);display:grid;place-items:center;font-size:25px;font-weight:300}
 .todo-done p{margin:0;font-size:14px}.clip-tools [data-action="clip-editor"]{font-size:22px;color:var(--accent)}
}
/* Curved shoulders join the notch to the display bezel. */
@media(min-width:769px){
 .demo-shoulders{position:absolute;left:50%;top:0;width:100%;height:40px;transform:translateX(-50%);pointer-events:none;transition:width .48s cubic-bezier(.22,.82,.24,1);z-index:5}
 .demo-shoulders::before,.demo-shoulders::after{content:"";position:absolute;top:0;width:40px;height:40px}
 .demo-shoulders::before{right:100%;background:radial-gradient(circle at bottom left,transparent 39.5px,#000 40px)}
 .demo-shoulders::after{left:100%;background:radial-gradient(circle at bottom right,transparent 39.5px,#000 40px)}
 /* Compact hardware shape: shoulders end near the top, well above the
    bottom corners. Large expanded shoulders otherwise leave pointed tails. */
 .demo[data-expanded="false"] .demo-shoulders{width:196px;height:7px}
 .demo[data-expanded="false"] .demo-shoulders::before,
 .demo[data-expanded="false"] .demo-shoulders::after{width:7px;height:7px}
 .demo[data-expanded="false"] .demo-shoulders::before{background:radial-gradient(circle at bottom left,transparent 6.5px,#000 7px)}
 .demo[data-expanded="false"] .demo-shoulders::after{background:radial-gradient(circle at bottom right,transparent 6.5px,#000 7px)}
 @media(prefers-reduced-motion:reduce){.demo-shoulders{transition:none}}
}
@media(min-width:769px){
 .focus-start,.demo-help button,.demo-update button{backdrop-filter:none;-webkit-backdrop-filter:none}
}
@media(min-width:769px){.demo-optics{border-radius:48px}}
/* Physical display bezel. The interactive surface meets the black top edge. */
@media(min-width:769px){
 body{--display-bezel:14px;background:#050505;padding:var(--display-bezel)}
 .landing.has-demo{min-height:max(calc(100svh - 2 * var(--display-bezel)),792px);border-radius:28px 28px 12px 12px;box-shadow:0 0 0 1px #ffffff0c}
}
/* Match the native Focus control: rounded 15pt semibold label, tinted glass. */
@media(min-width:769px){
 .demo .focus-start{position:relative;isolation:isolate;overflow:hidden;border-radius:999px;padding:12px 27px;min-height:46px;background:transparent;color:#fff!important;font-family:ui-rounded,"SF Pro Rounded",-apple-system,BlinkMacSystemFont,sans-serif;font-size:15px!important;font-weight:650;line-height:20px;letter-spacing:0;box-shadow:0 3px 8px #00000015;transition:transform .18s ease,box-shadow .18s ease}
 .demo .focus-start::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(150deg,#ffa945ed 0%,#ff982ff2 55%,#ff9e36ed 100%);backdrop-filter:blur(14px) saturate(1.35);-webkit-backdrop-filter:blur(14px) saturate(1.35);box-shadow:inset 0 1px 1px #ffe2acb3,inset 1px 0 1px #ffd28b5c,inset 0 -1px 1px #f27f2026}
 .demo .focus-start::after{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(165deg,#ffffff17,transparent 42%,transparent 76%,#ffffff08);pointer-events:none}
 .demo .focus-start:hover{box-shadow:0 4px 12px #00000020}
 .demo .focus-start:active{transform:scale(.97);box-shadow:0 1px 3px #00000015}
}
