/* Two linked tab rows and one centered, cyclic device preview. */
:root{--price-red:#c6493e}html[data-theme=dark]{--price-red:#f38b7c}.price strong{color:var(--price-red)}
.device-select-tabs{display:flex;justify-content:center;gap:5px;margin:0 auto 18px;padding:5px;border:1px solid var(--line);background:var(--surface);border-radius:999px;width:max-content}.device-select-tabs button{padding:10px 32px;border-radius:999px;background:transparent;color:var(--muted);font-size:13px}.device-select-tabs button[aria-selected=true]{background:var(--ink);color:var(--bg)}.page-select-tabs{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin:0 auto 23px}.page-select-tabs button{padding:8px 14px;border-radius:999px;font-size:11px;background:transparent;color:var(--muted);border:1px solid transparent}.page-select-tabs button[aria-selected=true]{background:var(--surface);border-color:var(--line);color:var(--ink)}.device-select-tabs button:hover:not([aria-selected=true]),.page-select-tabs button:hover:not([aria-selected=true]){color:var(--ink);background:var(--soft)}
.preview-stage{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;align-items:center;justify-items:center;gap:24px;min-height:615px;outline:none;position:relative}.preview-stage:before{content:"";position:absolute;inset:10% 15%;border-radius:50%;background:radial-gradient(ellipse,color-mix(in srgb,var(--ink) 4%,transparent),transparent 70%);pointer-events:none}.preview-arrow{width:45px;height:45px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--ink);z-index:1;transition:transform .18s}.preview-arrow:hover{transform:scale(1.06)}.preview-arrow:active{transform:scale(.96)}.preview-arrow svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.device-screen{display:flex;align-items:center;justify-content:center;position:relative;min-width:0;max-width:100%;padding:7px;border:1px solid var(--line);border-radius:18px;background:var(--surface);box-shadow:0 25px 70px #00000012;cursor:zoom-in;z-index:1}.device-screen img{display:block;max-width:100%;max-height:600px;width:auto;height:auto;border-radius:11px}.device-screen.phone-frame{padding:7px;border-radius:37px;background:#25262a;border-color:#46474a;max-width:285px}.device-screen.phone-frame img{border-radius:30px;max-height:600px}.device-screen.android-frame{border-radius:29px}.device-screen.android-frame img{border-radius:22px}.preview-enlarge-hint{position:absolute;right:15px;bottom:15px;padding:6px 10px;border-radius:30px;border:1px solid var(--line);font-size:9px;background:var(--surface);color:var(--ink);opacity:0;transition:opacity .18s}.device-screen:hover .preview-enlarge-hint,.device-screen:focus-visible .preview-enlarge-hint{opacity:1}.preview-caption{display:flex;justify-content:center;align-items:center;gap:18px;min-height:40px;margin-top:16px;color:var(--muted);font-size:11px}.preview-caption #preview-count{font-variant-numeric:tabular-nums;color:var(--ink);padding-left:18px;border-left:1px solid var(--line)}.device-select-tabs button:focus-visible,.page-select-tabs button:focus-visible,.preview-arrow:focus-visible,.device-screen:focus-visible,.preview-stage:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
@media(max-width:1100px){.preview-stage{min-height:540px;gap:18px}.device-screen img{max-height:525px}.device-screen.phone-frame img{max-height:525px}.device-screen.phone-frame{max-width:250px}}
@media(max-width:760px){.device-select-tabs button{padding:9px 23px;font-size:12px}.device-select-tabs{margin-bottom:15px}.page-select-tabs{gap:4px;margin-bottom:18px}.page-select-tabs button{font-size:10px;padding:7px 10px}.preview-stage{grid-template-columns:30px minmax(0,1fr) 30px;gap:9px;min-height:430px}.preview-arrow{width:29px;height:29px}.preview-arrow svg{width:14px;height:14px}.device-screen{padding:4px;border-radius:11px}.device-screen img{border-radius:7px;max-height:420px}.device-screen.phone-frame{padding:5px;max-width:200px;border-radius:28px}.device-screen.phone-frame img{max-height:420px;border-radius:23px}.device-screen.android-frame{border-radius:22px}.device-screen.android-frame img{border-radius:17px}.preview-caption{font-size:10px;gap:12px;margin-top:10px}.preview-caption #preview-count{padding-left:12px}.platform-footnote{font-size:9px;line-height:2}.preview-enlarge-hint{display:none}}
@media(prefers-reduced-motion:reduce){.preview-arrow,.preview-enlarge-hint{transition:none}}

/* Independent translate/scale do not override section reveal transforms. */
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .interactive-card{position:relative;isolation:isolate;transition:translate .32s cubic-bezier(.2,.8,.2,1),scale .32s cubic-bezier(.2,.8,.2,1),box-shadow .32s,border-color .32s;}
 .interactive-card:after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:radial-gradient(360px circle at var(--card-glow-x,50%) var(--card-glow-y,50%),color-mix(in srgb,var(--gold) 13%,transparent),transparent 70%);opacity:0;transition:opacity .3s;z-index:-1;}
 .interactive-card.is-pointer-active{translate:0 -5px;scale:1.012;border-color:color-mix(in srgb,var(--gold) 30%,var(--line));box-shadow:0 16px 40px #0000000d;}
 .interactive-card.is-pointer-active:after{opacity:1;}
}
@media(prefers-reduced-motion:reduce){.interactive-card{translate:none!important;scale:none!important;transition:none!important}.interactive-card:after{display:none}}

#device-preview-image{opacity:1;transform:translateX(0);transition:opacity .12s ease,transform .12s ease;}
#device-preview-image.is-preview-leaving{opacity:0;transform:translateX(12px);}
#device-preview-image.is-preview-entering{animation:preview-slide-in .48s cubic-bezier(.16,.75,.25,1) both;}
@keyframes preview-slide-in{from{opacity:0;transform:translateX(-32px)}to{opacity:1;transform:translateX(0)}}
#preview-expand[aria-busy=true]{cursor:progress}.ink-particle-layer{position:fixed;inset:0;z-index:90;width:100%;height:100%;pointer-events:none;opacity:.65}
@media(hover:hover) and (pointer:fine){html.pen-cursor,html.pen-cursor body,html.pen-cursor a,html.pen-cursor button,html.pen-cursor summary,html.pen-cursor [role=tab]{cursor:url('assets/pen-cursor-light.svg') 4 29,auto}html.pen-cursor[data-theme=dark],html.pen-cursor[data-theme=dark] body,html.pen-cursor[data-theme=dark] a,html.pen-cursor[data-theme=dark] button,html.pen-cursor[data-theme=dark] summary,html.pen-cursor[data-theme=dark] [role=tab]{cursor:url('assets/pen-cursor-dark.svg') 4 29,auto}html.pen-cursor input,html.pen-cursor textarea,html.pen-cursor [contenteditable=true]{cursor:text}}
@media(prefers-reduced-motion:reduce){#device-preview-image{animation:none!important;transition:none!important;transform:none!important}.ink-particle-layer{display:none}}

@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.motion-ready .interactive-card.reveal{transition:opacity .85s ease,transform .85s cubic-bezier(.2,.7,.3,1),filter .85s ease,translate .32s cubic-bezier(.2,.8,.2,1),scale .32s cubic-bezier(.2,.8,.2,1),box-shadow .32s,border-color .32s}.interactive-card.is-pointer-active{transition-delay:0ms}}

@media(hover:none),(pointer:coarse){.ink-particle-layer{display:none}}
/* A platform owns the frame geometry; page screenshots only change inside it. */
.device-screen.desktop-frame{width:100%;aspect-ratio:19/12;overflow:hidden;background:var(--surface)}
.device-screen.desktop-frame img{width:100%;height:100%;max-height:none;min-height:0;object-fit:contain;flex:none}
.device-screen.phone-frame{width:min(285px,100%);aspect-ratio:1206/2622;overflow:hidden}
.device-screen.phone-frame img{width:100%;height:100%;max-height:none;min-height:0;object-fit:contain;flex:none}
@media(max-width:1100px){.device-screen.phone-frame{width:min(250px,100%)}}
@media(max-width:760px){.device-screen.phone-frame{width:min(200px,100%)}}

@media(hover:hover) and (pointer:fine){.text-interactive h2,.text-interactive h3{transition:color .28s ease,translate .28s ease,text-shadow .28s ease}.text-interactive:hover h2,.text-interactive:hover h3{color:color-mix(in srgb,var(--ink) 90%,var(--gold));translate:3px 0;text-shadow:0 0 24px color-mix(in srgb,var(--gold) 10%,transparent)}}
@media(prefers-reduced-motion:reduce){.text-interactive h2,.text-interactive h3,.story-manifesto>p{transition:none!important;translate:none!important}}

.hero-copy .launch-status{display:inline-flex;align-items:center;gap:10px;color:#f0cd7c;border:1px solid #d8be7f47;border-radius:999px;background:#f4b51b08;padding:5px 12px;margin-bottom:17px;font-size:11px;letter-spacing:.8px}.launch-status span{padding-left:10px;border-left:1px solid #d8be7f47;color:#c8c7bf;font-size:10px}.release-notice{display:inline-block;margin-top:8px;font-size:12px;color:var(--muted)}@media(max-width:760px){.hero-copy .launch-status{font-size:10px;padding:4px 10px;margin-bottom:14px}.launch-status span{font-size:9px}.release-notice{font-size:11px}}

/* Keep release status distinct from the hero kicker on every width. */
.hero-copy .launch-status{display:flex;width:fit-content;max-width:100%;margin:0 0 25px;white-space:nowrap}.hero-copy .hero-kicker{display:flex;width:fit-content;max-width:100%;margin-top:0}@media(max-width:760px){.hero-copy .launch-status{margin-bottom:18px}.hero-copy .hero-kicker{font-size:10px;letter-spacing:1.3px}}

/* Native screenshots stay intact; the website composes modal context as separate layers. */
.device-screen.desktop-frame{display:block}
.preview-scene{position:relative;display:grid;grid-template: minmax(0,1fr)/minmax(0,1fr);place-items:center;overflow:hidden;isolation:isolate;background:var(--surface);border-radius:11px}
.device-screen.desktop-frame>.preview-scene{position:absolute;inset:7px}
.device-screen .preview-scene>.scene-main,.preview-scene>.context-background{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;min-height:0;object-fit:contain;border-radius:0;margin:0}
.preview-scene>.context-background{object-fit:cover;z-index:0}
.preview-scene>.context-shade{position:absolute;inset:0;z-index:1;background:#f6f5f066;backdrop-filter:blur(1.4px)}
.preview-scene>.context-background[hidden],.preview-scene>.context-shade[hidden]{display:none}
.device-screen .preview-scene.has-context>.scene-main,.dialog-scene.has-context>.scene-main{position:relative;inset:auto;grid-area:1/1;width:auto;height:auto;max-width:var(--modal-width,80%);max-height:84%;object-fit:contain;border-radius:8px;z-index:2;box-shadow:0 18px 65px #15161a38,0 1px 5px #15161a18}
html[data-theme=dark] .preview-scene>.context-shade{background:#181a204d}
/* Size the phone around its screen, rather than letterboxing a screen inside a fixed outer ratio. */
.device-screen.phone-frame{display:block;aspect-ratio:auto;padding:5px;border:1px solid #66686d;border-radius:37px;background:#222328;overflow:visible}
.device-screen.phone-frame>.preview-scene{position:relative;width:100%;height:auto;aspect-ratio:1206/2622;border-radius:31px}
.device-screen.phone-frame .scene-main{object-fit:contain;border-radius:0;object-position:top}
.device-screen.phone-frame:not(.android-frame):after{content:"";position:absolute;z-index:4;top:calc(5px + 1.25%);left:50%;translate:-50% 0;width:28%;height:3.3%;border-radius:999px;background:#08090b;pointer-events:none}
.device-screen.android-frame{border-radius:29px}
.device-screen.android-frame>.preview-scene{aspect-ratio:1080/2274;border-radius:23px}
.device-screen.android-frame .scene-main,.dialog-scene.is-android-scene>.scene-main{width:100%;height:auto;max-width:none;max-height:none;object-fit:initial;object-position:top}
.dialog-scene{width:min(88vw,calc(77vh * var(--scene-ratio,1.583333)));aspect-ratio:var(--scene-ratio,1.583333);height:auto;margin:auto;border-radius:10px}
.dialog-scene>.scene-main{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;border-radius:0}
@media(max-width:760px){.device-screen.desktop-frame>.preview-scene{inset:4px;border-radius:7px}.device-screen.phone-frame{padding:4px;border-radius:30px}.device-screen.phone-frame>.preview-scene{border-radius:25px}.device-screen.phone-frame:not(.android-frame):after{top:calc(4px + 1.25%)}.device-screen.android-frame{border-radius:24px}.device-screen.android-frame>.preview-scene{border-radius:19px}.dialog-scene{width:min(85vw,calc(77vh * var(--scene-ratio,1.583333)))}.device-screen .preview-scene.has-context>.scene-main{border-radius:4px;box-shadow:0 6px 22px #15161a38}}

.device-screen.phone-frame>.preview-scene{background:#f8f7f4}
