/* Product storytelling, sample interaction and editorial use cases. */
:root{--experience-ease:cubic-bezier(.22,1,.36,1)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.hero .hero-expanded.current-shot{width:60%;top:16%;aspect-ratio:1360/1212;border-radius:12px;overflow:hidden;box-shadow:0 12px 28px #0003;filter:none;background:#000}
.hero-expanded.current-shot img{position:static;width:100%;height:auto;max-width:100%;margin:0}
.hero-footnote{padding-inline:20px}
.experience-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:48px;margin-bottom:64px}
.experience-heading h2{font-size:clamp(38px,4.1vw,60px);line-height:1.08;letter-spacing:-.05em}
.experience-heading .description{font-size:16px;line-height:1.75;max-width:320px;margin:0 0 4px;flex-shrink:0}
.product-story{padding-block:112px 96px}
.story-layout{display:grid;grid-template-columns:1.3fr .85fr;gap:clamp(48px,7vw,100px);align-items:start}
.story-stage{position:sticky;top:40px;background:#e8e3d9;border:1px solid #dcd6cb;border-radius:24px;padding:24px;overflow:hidden;isolation:isolate}
.story-stage:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(140deg,#fff7e280,transparent 70%)}
.story-stage-top,.story-stage-bottom{display:flex;justify-content:space-between;align-items:center;gap:16px;color:#666c61;font-size:9px;letter-spacing:.1em}
.story-counter{font-variant-numeric:tabular-nums;letter-spacing:.1em}
.story-frames{display:grid;align-items:center;min-height:400px;margin-block:26px}
.story-frame{grid-area:1/1;margin:0;opacity:0;transform:translateY(14px) scale(.975);transition:opacity .5s var(--experience-ease),transform .7s var(--experience-ease);pointer-events:none;min-width:0}
.story-frame.is-current{opacity:1;transform:none}
.story-frame img{width:100%;height:auto;border-radius:16px;box-shadow:0 16px 35px #352d2420}
.story-frame[data-frame="1"] img,.story-frame[data-frame="2"] img{border:1px solid #e1e1de}
.story-stage-bottom{letter-spacing:0;font-size:10px;line-height:1.5;flex-wrap:wrap;row-gap:8px}
.story-stage-status{display:flex;align-items:center;gap:9px;color:#424c40}
.story-stage:not([data-chapter="0"]) .working-wave{display:none}
.story-stage[data-chapter="1"] .story-stage-status:before,.story-stage[data-chapter="2"] .story-stage-status:before{content:'';width:6px;height:6px;border-radius:50%;background:#b47534}
.story-stage[data-chapter="2"] .story-stage-status:before{background:#438251}
.story-chapter{min-height:350px;display:flex;flex-direction:column;justify-content:center;padding-block:40px;border-bottom:1px solid var(--line);position:relative}
.story-chapter:last-child{border-bottom:0}
.chapter-number{display:block;font-size:10px;font-weight:600;letter-spacing:.15em;color:#7c7366;margin-bottom:22px}
.story-chapter.is-current .chapter-number{color:var(--accent)}
.story-chapter h3,.editorial-copy h3{font-weight:500;font-size:clamp(27px,2.6vw,37px);letter-spacing:-.04em;line-height:1.16;margin:0 0 22px}
.story-chapter p,.editorial-copy>p{font-size:15px;line-height:1.8;color:var(--muted);max-width:380px}
.story-chapter .text-link{align-self:flex-start}
.story-mobile-image{display:none}
.experience-caption{text-align:center;font-size:11px;line-height:1.8;color:#6b7067;max-width:700px;margin:24px auto 0}
.experience-caption>span{display:block}
.playground-section{padding:100px 0 80px;background:#ece8df;border-block:1px solid #e1dbd0}
.playground{border:1px solid #cfc8bc;border-radius:22px;overflow:hidden;background:#f7f4ee;box-shadow:0 24px 65px #493b2910;--demo-ink:#30342e;--demo-muted:#626a5d;--demo-border:#737b6a30;--demo-surface:#fffdf5e8;--demo-inset:#eeeae180;--demo-button:#383f32;--demo-button-text:#fffef8;color:var(--demo-ink)}
.playground-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 24px;border-bottom:1px solid #ddd6ca;background:#f9f7f1}
.demo-provider-controls{display:flex;gap:4px;background:#eae6de;padding:4px;border-radius:24px}
.demo-provider-controls button{border:0;background:transparent;min-height:36px;padding:7px 17px;border-radius:20px;color:#62675c;font-size:13px;transition:color .2s,background .2s,box-shadow .2s}
.demo-provider-controls button[aria-pressed=true]{background:#fffdf6;color:#33392d;box-shadow:0 2px 7px #3c352614}
.demo-theme{display:flex;align-items:center;gap:8px;padding:8px 13px;background:transparent;border:1px solid #d4cfc3;border-radius:20px;min-height:38px;color:#4d5547;font-size:12px}
.demo-desktop{position:relative;isolation:isolate;min-height:480px;display:grid;place-items:center;padding:48px 24px 56px;background:#cecfc2 url('/assets/coastal-wallpaper.jpg') center/cover;overflow:hidden}
.demo-desktop:before{content:'';position:absolute;inset:0;background:linear-gradient(115deg,#e9e9d7a0,#b5c0b64d);z-index:-1;transition:background .5s}
.demo-context{position:absolute;left:7%;top:15%;width:260px;padding:30px 27px 40px;background:#fffef2aa;border:1px solid #fff9;border-radius:5px;box-shadow:0 10px 35px #37433815;transform:rotate(-5deg);color:#65705b;z-index:-1}
.context-kicker{display:block;font-size:8px;letter-spacing:.17em;margin-bottom:26px}
.demo-context>span:nth-child(2){display:block;font-family:Georgia,serif;font-size:34px;line-height:1.1;color:#59664d}
.demo-context i,.focus-page i{display:block;width:94%;height:3px;background:#81916a28;margin-top:20px}.demo-context i:last-child,.focus-page i:last-child{width:62%}
.demo-interaction{width:min(510px,100%);min-height:320px;display:flex;flex-direction:column;align-items:center;position:relative}
.demo-island{width:min(390px,100%);display:flex;align-items:center;justify-content:space-between;gap:14px;background:var(--demo-surface);color:var(--demo-ink);border:1px solid #fff8;box-shadow:0 12px 32px #26302222,inset 0 1px #fff9;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border-radius:50px;min-height:54px;padding:12px 19px;transition:background .3s,transform .25s var(--experience-ease)}
.demo-brand{display:flex;align-items:center;gap:8px;font-weight:600;font-size:14px;letter-spacing:-.04em}
.demo-brand img{border-radius:4px}
.demo-bar-state{display:flex;align-items:center;gap:8px;font-size:12px;white-space:nowrap}
.demo-status-dot{width:6px;height:6px;background:#418351;border-radius:50%}
.demo-chevron{font-size:18px;line-height:1;transition:transform .3s}
.demo-island[aria-expanded=true] .demo-chevron{transform:rotate(180deg)}
.playground .working-wave{display:none;width:18px;height:13px}
.playground[data-state=working] .working-wave,.playground[data-state=finishing] .working-wave{display:inline-flex}
.playground[data-state=working] .demo-status-dot,.playground[data-state=finishing] .demo-status-dot{display:none}
.playground[data-state=approval] .demo-status-dot,.playground[data-state=terminal] .demo-status-dot{background:#b47534}
.demo-panel{width:100%;padding:24px;margin-top:14px;background:var(--demo-surface);color:var(--demo-ink);border:1px solid #fff7;box-shadow:0 20px 60px #1c302326,inset 0 1px #fff7;border-radius:20px;backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px)}
.demo-panel-heading{display:flex;align-items:center;justify-content:space-between;color:var(--demo-muted);font-size:11px;margin-bottom:14px}
.simulation-tag{font-size:8px;letter-spacing:.12em;border:1px solid var(--demo-border);padding:3px 6px;border-radius:5px}
.demo-panel h3{font-weight:500;letter-spacing:-.035em;font-size:25px;line-height:1.2;margin:0 0 12px}
.demo-panel>p{color:var(--demo-muted);font-size:13px;line-height:1.65;min-height:43px}
.demo-task{font-size:12px;line-height:1.6;background:var(--demo-inset);padding:13px 15px;border:1px solid var(--demo-border);border-radius:10px;margin-top:18px;overflow-wrap:anywhere}
.demo-panel-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.demo-panel-actions button{min-height:42px;padding:11px 16px;border:1px solid var(--demo-border);border-radius:9px;background:transparent;color:var(--demo-ink);font-size:12px;font-weight:500;transition:background .2s,transform .15s}
.demo-panel-actions #demo-action{background:var(--demo-button);color:var(--demo-button-text);border-color:transparent}
.demo-task-progress{height:2px;background:var(--demo-border);margin:14px 0 -7px;overflow:hidden;display:none}
.demo-task-progress span{height:100%;display:block;background:#799464;transform-origin:left}
.playground[data-state=working] .demo-task-progress,.playground[data-state=finishing] .demo-task-progress{display:block}
.playground[data-state=working] .demo-task-progress span,.playground[data-state=finishing] .demo-task-progress span{animation:demo-progress 2.8s ease-out both}
@keyframes demo-progress{from{transform:scaleX(.04)}to{transform:scaleX(1)}}
.demo-hint{color:#47503f;font-size:12px;line-height:1.6;text-align:center;margin-top:22px;background:#fff9;padding:7px 14px;border-radius:30px}
.demo-hint span{margin-left:8px}
.desktop-label{position:absolute;bottom:18px;right:24px;color:#43533f;font-size:10px;letter-spacing:.05em}
.demo-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 24px;background:#f9f7f1;border-top:1px solid #d4cec1}
.demo-steps{display:flex;gap:24px;list-style:none;margin:0;padding:0;counter-reset:demo-step;font-size:11px;color:#74796e}
.demo-steps li{display:flex;align-items:center;gap:6px;counter-increment:demo-step}
.demo-steps li:before{content:counter(demo-step);width:19px;height:19px;display:grid;place-items:center;border:1px solid #ccc6ba;border-radius:50%;font-size:9px;font-variant-numeric:tabular-nums}
.demo-steps [aria-current=step]{color:var(--accent)}
.demo-steps [aria-current=step]:before{background:var(--accent);color:white;border-color:var(--accent)}
.demo-reset{background:none;border:0;font-size:11px;color:#5d6655;min-height:36px;padding:7px 0;text-decoration:underline;text-underline-offset:4px}
.playground[data-theme=dark]{--demo-ink:#f3f1e9;--demo-muted:#b8beb2;--demo-border:#ffffff25;--demo-surface:#20271fe8;--demo-inset:#ffffff09;--demo-button:#e1e6d8;--demo-button-text:#293024}
.playground[data-theme=dark] .demo-desktop:before{background:linear-gradient(115deg,#152a22b0,#273b3095)}
.playground[data-theme=dark] .demo-island,.playground[data-theme=dark] .demo-panel{border-color:#ffffff30;box-shadow:0 15px 40px #05160e40,inset 0 1px #ffffff20}
.playground[data-theme=dark] .demo-context{opacity:.35}
.playground[data-theme=dark] .desktop-label{color:#e2e4d6}
.editorial-section{padding-block:112px 96px}
.editorial-section .experience-heading{margin-bottom:72px}
.editorial-row{display:grid;grid-template-columns:.85fr 1.25fr;gap:clamp(40px,6vw,84px);align-items:center;padding:54px 0;border-top:1px solid var(--line)}
.editorial-copy{min-width:0}
.editorial-copy .editorial-example{border-left:1px solid #c4ae93;padding-left:16px;font-size:13px;margin-top:25px;line-height:1.7}
.editorial-example>span{display:block;font-size:8px;letter-spacing:.16em;color:#97714e;margin-bottom:7px}
.editorial-provider{display:block;font-size:10px;letter-spacing:.03em;color:#727b68;margin-top:24px}
.editorial-visual{margin:0;min-width:0;position:relative;padding:32px;border-radius:18px;overflow:hidden;isolation:isolate;background:#e8e3d9;border:1px solid #e0d9cc}
.editorial-visual>img{width:100%;height:auto;box-shadow:0 16px 30px #322b1b14;border-radius:12px}
.editorial-visual figcaption{font-size:9px;color:#6b7164;text-align:center;margin-top:20px;line-height:1.6}
.write-visual{background:#e9e5d9;padding-top:22px}
.paper-annotation{font-family:Georgia,serif;font-style:italic;font-size:19px;color:#7a7c69;margin:0 0 18px;text-align:right}
.write-visual>img{box-shadow:none;border-radius:0}
.build-row{grid-template-columns:1.25fr .85fr}
.build-row .editorial-copy{grid-column:2;grid-row:1}
.build-row .editorial-visual{grid-column:1;grid-row:1}
.build-visual{background:#e1e6df;padding:24px 32px 20px}
.build-visual>img{max-height:440px;width:auto;max-width:100%;margin-inline:auto;object-fit:contain}
.focus-visual{min-height:370px;background:#cbd0bc url('/assets/coastal-wallpaper.jpg') center/cover;display:flex;flex-direction:column;align-items:center;padding:30px}
.focus-visual:before{content:'';position:absolute;inset:0;background:#c4ccb84d;z-index:-1}
.focus-bar{width:100%;max-width:420px;border-radius:40px;overflow:hidden;box-shadow:0 8px 30px #203a2a28;z-index:1}
.focus-bar img{width:100%;height:auto}
.focus-page{width:82%;margin-top:20px;background:#faf7eceb;padding:28px 30px;border-radius:4px;transform:rotate(-3deg);box-shadow:0 8px 25px #38412820;color:#57624a}
.focus-page>span{font-size:9px;letter-spacing:.1em}
.focus-page strong{display:block;font-family:Georgia,serif;font-size:32px;font-weight:400;line-height:1.1;letter-spacing:-.03em;margin-top:20px}
.focus-page i{margin-top:12px}
.focus-visual figcaption{margin-top:25px;color:#3a4938;background:#fff9;padding:3px 9px;border-radius:15px}
.floating-waitlist{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:14px;z-index:12;background:#fcfaf0ef;color:#363d30;border:1px solid #cbc7ba;border-radius:40px;box-shadow:0 8px 30px #2c382422;padding:13px 20px;min-height:50px;font-size:13px;font-weight:500;white-space:nowrap;backdrop-filter:blur(15px)}
.floating-waitlist img{border-radius:5px}
.waitlist-success{text-align:center;padding:14px 0 8px}
.waitlist-success:focus{outline:none}
.success-seal{display:grid;place-items:center;width:72px;height:72px;margin:0 auto 26px;border-radius:50%;border:1px solid #bfcdb7;background:#eaf0e5;color:#507348}
.waitlist-success .eyebrow{font-size:9px}
.waitlist-success h3{font-size:32px;letter-spacing:-.04em;line-height:1.15;font-weight:500;margin:0 0 18px}
.waitlist-success>p:not(.eyebrow){font-size:14px;color:#68715f;line-height:1.8}
.success-detail{display:block;font-size:10px;color:#79836e;border-top:1px solid #deded3;margin-top:28px;padding-top:18px;line-height:1.7}
.waitlist-success:not([hidden]) .success-seal{animation:success-settle .6s var(--experience-ease) both}
.waitlist-success:not([hidden]) path{stroke-dasharray:40;stroke-dashoffset:0;animation:success-check .55s .1s both}
@keyframes success-settle{from{opacity:0;transform:translateY(8px) scale(.9)}to{opacity:1;transform:none}}
@keyframes success-check{from{stroke-dashoffset:40}to{stroke-dashoffset:0}}
@media(hover:hover){.demo-island:hover{transform:translateY(-2px)}.demo-theme:hover{background:#eee9df}.demo-provider-controls button:hover{color:#292f23}.demo-panel-actions button:hover{filter:brightness(1.08)}.floating-waitlist:hover{background:#fffdf7}.demo-reset:hover{color:var(--accent)}}
@media(min-width:1400px){.story-stage{top:calc((100vh - 620px)/2)}}
@media(max-width:1000px){.experience-heading{gap:30px}.experience-heading .description{font-size:14px;max-width:270px}.story-layout{gap:40px;grid-template-columns:1.2fr 1fr}.story-stage{padding:18px;top:28px}.story-frames{min-height:310px;margin-block:20px}.story-chapter{min-height:330px}.story-chapter h3,.editorial-copy h3{font-size:29px}.story-chapter p,.editorial-copy>p{font-size:14px}.editorial-row{gap:36px}.editorial-visual{padding:24px}.focus-page strong{font-size:28px}.demo-context{left:4%;width:220px}.hero .hero-expanded.current-shot{border-radius:9px}}
@media(max-width:760px){.product-story,.editorial-section{padding-block:72px 56px}.experience-heading{display:block;margin-bottom:34px}.experience-heading h2{font-size:39px}.experience-heading .description{margin-top:24px;max-width:390px;font-size:15px}.story-layout{display:block}.story-stage{display:none}.story-chapter{min-height:0;padding:32px 0;display:block}.story-chapter:first-child{padding-top:8px}.chapter-number{font-size:9px;margin-bottom:18px}.story-chapter h3,.editorial-copy h3{font-size:31px;margin-bottom:18px}.story-chapter p,.editorial-copy>p{max-width:440px;font-size:15px}.story-mobile-image{display:block;margin:28px 0 0;background:#e8e3d9;border:1px solid #ded7cb;border-radius:16px;padding:16px}.story-mobile-image img{width:100%;height:auto;border-radius:10px;box-shadow:0 8px 20px #332b2114}.story-chapter:first-child .story-mobile-image{max-width:440px}.playground-section{padding:64px 0 56px}.playground{border-radius:16px}.playground-toolbar{padding:12px;gap:8px}.demo-provider-controls{gap:0;padding:3px}.demo-provider-controls button{padding:7px 11px;min-height:36px;font-size:11px}.demo-theme{padding:8px 10px;font-size:11px;gap:5px}.demo-theme svg{width:13px;height:13px}.demo-desktop{min-height:450px;padding:30px 14px 50px;align-items:start}.demo-interaction{min-height:330px}.demo-island{padding:12px 14px;gap:10px;min-height:50px}.demo-brand{font-size:13px}.demo-bar-state{font-size:11px;gap:6px}.demo-panel{padding:20px 17px;border-radius:16px}.demo-panel h3{font-size:23px}.demo-panel>p{font-size:12px;min-height:40px}.demo-task{font-size:11px;padding:12px}.demo-panel-actions button{font-size:11px;padding:10px 12px;min-height:44px}.demo-panel-actions{gap:6px}.demo-context{left:-32px;top:26%;width:220px;opacity:.6}.demo-context>span:nth-child(2){font-size:30px}.demo-footer{padding:12px 14px;gap:8px;flex-wrap:wrap}.demo-steps{gap:12px;font-size:10px}.demo-steps li{gap:4px}.demo-steps li:before{width:16px;height:16px;font-size:8px}.demo-reset{font-size:10px;margin-left:auto}.experience-caption{font-size:10px;margin-top:18px;max-width:450px}.desktop-label{right:14px;font-size:9px}.editorial-section .experience-heading{margin-bottom:36px}.editorial-row,.build-row{grid-template-columns:1fr;padding:34px 0;gap:28px}.build-row .editorial-copy,.build-row .editorial-visual{grid-column:auto;grid-row:auto}.editorial-copy .editorial-example{font-size:13px;margin-top:20px}.editorial-visual{padding:22px 16px;border-radius:16px}.build-visual>img{max-height:none;width:100%}.focus-visual{min-height:350px;padding:25px}.focus-page{padding:24px;max-width:320px}.focus-page strong{font-size:30px}.paper-annotation{font-size:18px}.floating-waitlist{bottom:max(16px,env(safe-area-inset-bottom));padding:12px 18px;font-size:12px;min-height:48px}.hero .hero-expanded.current-shot{border-radius:5px}.hero .nav a:nth-child(2){display:block}.hero .nav{gap:20px}}
@media(max-width:370px){.experience-heading h2{font-size:35px}.demo-provider-controls button{padding-inline:8px}.demo-theme{padding-inline:8px}.demo-steps{gap:9px}.demo-panel{padding-inline:14px}.demo-panel-actions{flex-wrap:wrap}.demo-panel-actions button{flex:1}.demo-panel h3{font-size:21px}.hero .nav{gap:14px}.hero .nav .signin{padding-inline:10px}.focus-page{width:94%}}
@media(prefers-reduced-motion:reduce){.story-frame{transition:none;transform:none}.story-stage{position:relative;top:0}.demo-task-progress span{transform:scaleX(1)}.success-seal,.waitlist-success path{animation:none!important}.laptop-lid{will-change:auto}}

.story-frame[data-frame="1"] img,.story-mobile-image img[src*="permission-light"],.write-visual>img{background:#fafafa}
