/* The feature chapters share one composition and a fixed title axis. */
.product-chapter{position:relative;background:#fff;color:#111;scroll-margin-top:var(--nav-height)}
.product-inner{position:sticky;top:var(--nav-height);height:calc(100svh - var(--nav-height));width:100%;padding:82px 0 26px;background:inherit;overflow:auto}
.product-kicker{position:absolute;left:max(6vw,calc((100vw - 1560px)/2));top:24px;font-size:13px;color:#777;font-weight:400}
.showcase-layout{width:min(1360px,88vw);margin:auto;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(250px,.8fr);gap:clamp(45px,8vw,140px);min-height:100%;align-items:center}
.showcase-copy{min-width:0;padding-block:12px}
.showcase-copy h2{font-size:clamp(29px,3.2vw,49px);line-height:1.4;font-weight:600;max-width:19em;margin-bottom:24px;text-wrap:balance}
.showcase-copy p{font-size:clamp(14px,1.12vw,17px);line-height:1.95;color:#717176;margin-top:18px}
.showcase-copy p strong{color:#29292c;font-weight:500}
.showcase-visual{display:flex;align-items:center;flex-direction:column;gap:14px;min-width:0;position:relative}
.product-phone{margin:0;position:relative;width:min(340px,32svh);height:auto;aspect-ratio:1179/2556;border:5px solid #242424;border-radius:clamp(28px,3.5vw,44px);background:#fafafc;overflow:hidden;flex:none;box-shadow:0 18px 35px -26px #0008}
.product-phone>img{width:100%;height:100%;object-fit:cover;display:block}
.showcase-tabs{display:flex;gap:10px 22px;flex-wrap:wrap;margin:0 0 28px;border-bottom:1px solid #e5e5e7;padding-bottom:12px}
.showcase-tabs button{font-size:14px;padding:7px 0;color:#888;min-height:38px;position:relative}
.showcase-tabs button[aria-selected=true]{color:#111;font-weight:600}
.showcase-tabs button[aria-selected=true]:after{content:'';position:absolute;bottom:-13px;height:2px;background:currentColor;left:0;right:0}
.showcase-panels{display:grid;align-items:start}
.showcase-panels>article{grid-area:1/1;min-width:0}
.showcase-panels>article[hidden]{display:block!important;visibility:hidden;pointer-events:none}
.shot-picker{display:flex;justify-content:center;flex-wrap:wrap;gap:6px 13px;max-width:390px;min-height:32px}
.shot-picker button{font-size:11px;color:#888;min-height:32px;padding:5px 0;border-bottom:1px solid transparent}
.shot-picker button[aria-pressed=true]{color:inherit;border-bottom-color:currentColor}
.product-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px 6px;margin-top:28px}
.product-categories button{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;font-size:11px;color:#888;padding:6px;border-radius:12px;transition:background .2s,color .2s}
.product-categories button[aria-pressed=true]{background:#f4f4f6;color:#111}
.product-categories img{width:41px;height:41px;object-fit:contain}
.public-notes{margin-top:26px;display:grid;gap:10px}
.public-notes p{font-size:12px;line-height:1.8;margin:0}
.phone-instruction,.weekly-entry{font-size:12px;color:#737378;line-height:1.6;text-align:center;min-height:20px}
.weekly-entry{border-bottom:1px solid #bcbcc0;padding:2px 0 5px}
.event-hotspot{position:absolute;left:0;right:0;bottom:10%;height:37%;border-radius:12px}
.event-hotspot:focus-visible{outline-offset:-4px}
.core-detail{position:absolute;inset:0;background:#fafafc;z-index:2}
.core-detail-scroll{height:100%;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;touch-action:pan-y}
.core-detail-scroll img{display:block;width:100%;height:auto;max-width:none}
.detail-back{position:absolute;top:5.9%;left:2%;width:42px;height:42px;background:#fafafc;color:#222;font-family:sans-serif;font-size:32px;z-index:3;line-height:1}
.product-ai{background:#000;color:#fff;height:310svh}
.product-ai .product-inner{background:#000}
.product-ai .product-kicker{color:#aaa}
.product-ai .showcase-copy p{color:#b8b8c0}
.product-ai .showcase-tabs{border-color:#333}
.product-ai .showcase-tabs button[aria-selected=true]{color:#fff}
.product-ai .product-phone{background:#fafafc;border-color:#333}
.product-public{height:185svh}.product-mine{height:390svh}
.core-enhanced #explore>.product-inner,.core-enhanced #mine>.product-inner{position:fixed;top:var(--nav-height);left:0;z-index:4;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(var(--core-y,0px));}
.core-enhanced .product-chapter.core-visible>.product-inner{visibility:visible;opacity:var(--core-opacity,1)}
.core-enhanced .product-chapter.core-interactive>.product-inner{pointer-events:auto}
.product-phone.reading>img{height:auto;object-fit:initial}
.product-phone.reading{overflow:auto;scrollbar-width:thin;overscroll-behavior:contain;max-height:calc(100svh - 190px);height:calc(min(340px,32svh)*2.168);touch-action:pan-y}
@media(max-width:1000px){.showcase-layout{gap:35px;grid-template-columns:minmax(0,1.2fr) minmax(215px,.8fr)}.showcase-copy h2{font-size:31px}.showcase-tabs{gap:5px 15px}.showcase-tabs button{font-size:12px}.product-categories{grid-template-columns:repeat(4,minmax(0,1fr))}.product-phone{width:min(285px,31svh)}}
@media(max-width:700px){
.product-inner{padding:65px 22px 24px;overflow:auto}.product-kicker{left:22px;top:20px;font-size:11px}
.showcase-layout{width:100%;display:flex;flex-direction:column;gap:24px;min-height:0;align-items:stretch}
.showcase-copy{padding:0}.showcase-copy h2{font-size:29px;line-height:1.4;margin-bottom:18px}
.showcase-copy p{font-size:14px;line-height:1.85;margin-top:14px}.showcase-tabs{gap:6px 16px;margin-bottom:23px;padding-bottom:9px}.showcase-tabs button{font-size:12px;min-height:30px;padding:5px 0}.showcase-tabs button[aria-selected=true]:after{bottom:-10px}
.showcase-visual{gap:10px;padding-bottom:10px}.product-phone{width:min(245px,37vw);min-width:180px;border-width:4px;border-radius:29px}.product-phone.reading{height:440px;max-height:60svh}
.product-categories{gap:6px;margin-top:20px}.product-categories img{width:35px;height:35px}.product-categories button{font-size:10px;padding:4px 1px}
.public-notes{margin-top:18px;gap:8px}.public-notes p{font-size:11px;margin:0}.phone-instruction,.weekly-entry{font-size:11px}.shot-picker button{font-size:10px}
.product-public{height:200svh}.product-mine{height:230svh}.product-ai{height:210svh}
}
@media(prefers-reduced-motion:reduce){.product-public,.product-mine,.product-ai{height:auto}.product-inner{position:relative;top:0;height:auto;min-height:calc(100svh - var(--nav-height));overflow:visible}.product-phone.reading{height:600px}}
.core-enhanced #explore.core-visible>.product-inner,.core-enhanced #mine.core-visible>.product-inner{visibility:visible;opacity:var(--core-opacity,1)}
.core-enhanced #explore.core-interactive>.product-inner,.core-enhanced #mine.core-interactive>.product-inner{pointer-events:auto}

.core-enhanced #mine.core-exiting>.product-inner{position:absolute;top:auto;bottom:0;transform:none}
.notice-entry{padding:0;font-size:inherit;min-height:24px;color:#29292c;font-weight:500;border-bottom:1px solid #bcbcc0}
/* The document already supplies scroll-padding for the header. */
.product-chapter{scroll-margin-top:0}


/* A chapter label stays anchored while the compact-screen content is read. */
.product-kicker{position:sticky;top:-54px;left:auto;width:fit-content;max-width:88vw;margin:-54px 0 34px max(6vw,calc((100vw - 1560px)/2));height:20px;line-height:20px;font-size:14px;font-weight:500;z-index:5;background:inherit}
@media(max-width:700px){
 .product-kicker{top:-47px;margin:-47px 0 27px 0;max-width:100%;font-size:12px}
 .showcase-panels{display:block}
 .showcase-panels>article[hidden]{display:none!important}
}
/* Sticky inset is relative to the scroller's padded content origin. */
/* A long screenshot scrolls inside the same device geometry as a still screen. */
.product-phone{--phone-width:min(340px,32svh)}
.product-phone,.product-phone.reading{width:var(--phone-width);height:calc(var(--phone-width)*2556/1179);max-height:none}
@media(max-width:1000px){.product-phone{--phone-width:min(285px,31svh)}}
@media(max-width:700px){.product-phone{--phone-width:max(180px,min(245px,37vw))}}
/* Give fixed section labels an opaque reading margin so scrolled text never crosses them. */
.product-inner{overflow-x:hidden}
.product-kicker::before{content:'';position:absolute;top:-28px;left:calc(-1 * max(6vw,calc((100vw - 1560px)/2)));width:100vw;height:64px;background:inherit;z-index:-1}
@media(max-width:700px){.product-kicker::before{top:-18px;left:-22px;height:50px}}
/* The paper is introduced in the copy, then physically pulled from All inside the device. */
.public-notes .weekly-entry{padding:0;font-size:inherit;min-height:24px;color:#29292c;font-weight:500;border-bottom:1px solid #bcbcc0;line-height:1.8}
.public-device>img{transform:translateY(var(--pull-y,0px));will-change:auto}
.public-device.weekly-ready{touch-action:none;cursor:grab}
.public-device.weekly-ready.dragging{cursor:grabbing}
.public-device.weekly-ready>img{will-change:transform}
.weekly-pull-cue{position:absolute;left:50%;top:13%;transform:translateX(-50%);z-index:1;display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 16px;background:#fffffff2;border-radius:18px;box-shadow:0 8px 32px #0002;min-width:150px;touch-action:none}
.weekly-pull-cue span{font-size:12px;color:#222;white-space:nowrap;line-height:1.5}
.weekly-pull-cue svg{height:76px;width:30px;fill:none;stroke:#111;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;animation:weekly-pull-hint 1.8s ease-in-out infinite}
.dragging .weekly-pull-cue svg{animation:none}
.weekly-pull-status{position:absolute;top:2%;left:0;right:0;text-align:center;font-size:11px;color:#555;opacity:var(--pull-progress,0);pointer-events:none}
@keyframes weekly-pull-hint{0%,100%{transform:translateY(-4px);opacity:.55}60%{transform:translateY(9px);opacity:1}}
.public-device.pull-return>img{transition:transform .3s cubic-bezier(.2,.7,.2,1)}
.public-device.paper-enter .core-detail{animation:weekly-paper-in .4s cubic-bezier(.2,.7,.2,1)}
@keyframes weekly-paper-in{from{opacity:.6;transform:translateY(-28px)}to{opacity:1;transform:none}}
@media(max-width:700px){.weekly-pull-cue{min-width:120px;padding:9px 12px;border-radius:13px}.weekly-pull-cue span{font-size:10px}.weekly-pull-cue svg{height:55px;width:24px}.weekly-pull-status{font-size:10px}}
@media(prefers-reduced-motion:reduce){.weekly-pull-cue svg,.public-device.paper-enter .core-detail{animation:none}.public-device.pull-return>img{transition:none}}
/* Keep the device anchored when example-only controls become available. */
.product-public [data-public-picker][hidden]{display:flex!important;visibility:hidden;pointer-events:none}
.public-device>.weekly-fixed-chrome{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;clip-path:inset(0 0 87% 0);transform:none;pointer-events:none;z-index:1}

/* 9.9.1: move only the feed; the screenshot chrome is rendered exactly once. */
.public-device.weekly-ready>#public-screen{clip-path:inset(13% 0 0 0)}
.mine-groups{display:flex;flex-wrap:wrap;gap:10px 24px;margin-bottom:22px;border-bottom:1px solid #e5e5e7;padding-bottom:12px}
.mine-groups button{font-size:14px;color:#888;min-height:38px;padding:7px 0;position:relative}
.mine-groups button[aria-pressed=true]{color:#111;font-weight:600}
.mine-groups button[aria-pressed=true]::after{content:'';position:absolute;left:0;right:0;bottom:-13px;height:2px;background:currentColor}
#mine .core-play-label{font-size:clamp(16px,1.5vw,22px);font-weight:600;line-height:1.5;color:#111;margin:0 0 21px}
#mine [data-stories=mine]{border:0;margin-bottom:22px;padding-bottom:0;gap:10px 20px}
#mine [data-stories=mine] button{font-size:13px;min-height:30px}
#mine [data-stories=mine] button[aria-selected=true]::after{bottom:-4px;height:1px}
.showcase-copy p strong{font-weight:600;color:#29292c}
.product-ai .showcase-copy p strong{color:#f6f6f8}
.showcase-copy .logic-word{font-size:calc(1em + 3px);margin-right:.18em;font-weight:700}
.product-ai .capture-reason{margin-top:0}
.product-ai .capture-reason>strong:first-child{display:block;margin-bottom:5px}
.product-ai .showcase-copy p{line-height:1.85}
@media(max-width:1000px){.mine-groups{gap:8px 16px}.mine-groups button{font-size:12px}}
@media(max-width:700px){.mine-groups{gap:6px 15px;margin-bottom:18px}.mine-groups button{font-size:12px;min-height:30px}#mine .core-play-label{font-size:17px;margin-bottom:15px}#mine [data-stories=mine]{gap:6px 18px;margin-bottom:18px}#mine [data-stories=mine] button{font-size:12px}}

/* 9.9.2: one moving label, stable slots for all three feature families. */
#mine .mine-groups{position:relative;padding-top:32px}
#mine .mine-groups .core-play-label{position:absolute;left:0;top:0;margin:0;width:max-content;font-size:17px;line-height:24px;font-weight:500;white-space:nowrap;transform:translateX(var(--play-label-x,0px));transition:transform .28s cubic-bezier(.2,.7,.2,1)}
#mine [data-stories=mine][hidden]{display:flex!important;visibility:hidden;pointer-events:none}
#mine .showcase-panels{display:grid}
#mine .showcase-panels>article[hidden]{display:block!important;visibility:hidden;pointer-events:none}
#mine .shot-picker{height:52px;min-height:52px;align-content:start}
#mine .showcase-layout{position:relative;top:-24px}
@media(max-width:700px){#mine .mine-groups{padding-top:30px}#mine .mine-groups .core-play-label{font-size:16px;line-height:22px}#mine .showcase-layout{top:-14px}}
@media(prefers-reduced-motion:reduce){#mine .mine-groups .core-play-label{transition:none}}

/* Primary underline / secondary light selection surface. Geometry stays fixed. */
#mine [data-stories=mine]{gap:8px 12px}
#mine [data-stories=mine] button{padding:5px 10px;border-radius:7px;transition:background-color .18s,color .18s}
#mine [data-stories=mine] button[aria-selected=true]{background:#f1f1f4;color:#111}
#mine [data-stories=mine] button[aria-selected=true]::after{display:none}
@media(max-width:700px){#mine [data-stories=mine]{gap:6px 8px}#mine [data-stories=mine] button{padding:5px 6px}}
@media(prefers-reduced-motion:reduce){#mine [data-stories=mine] button{transition:none}}
