/* An editorial illustration, not a reproduction of a product interface. */
.scroll-story {
  --routine-bg:#f0f5f5; --routine-paper:#fcfefe; --routine-ink:#213c45;
  --routine-muted:#657f86; --routine-accent:#078e90; --routine-line:#cedfe0;
  position:relative; overflow-anchor:none; margin-block:55px 0; color:var(--routine-ink); isolation:isolate;
}
html[data-theme=dark] .scroll-story {
  --routine-bg:#142830; --routine-paper:#213943; --routine-ink:#e1edf1;
  --routine-muted:#a3bac2; --routine-accent:#50cfca; --routine-line:#385963;
}
.scroll-story.is-enhanced {height:240vh;height:240svh}
.scroll-story-stage {
  position:relative; margin:auto; padding:32px clamp(24px,3.5vw,48px); background:var(--routine-bg);
  border:1px solid var(--routine-line); border-radius:20px; overflow:hidden;
  display:flex; flex-direction:column;
}
.is-enhanced .scroll-story-stage {position:sticky;top:5vh;top:5svh;height:88vh;height:88svh;max-height:840px;min-height:0}
.scroll-story-stage::before {content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 83% 40%,#52bcb418,transparent 65%)}
.routine-topline {position:relative;display:flex;justify-content:space-between;align-items:center;gap:20px}
.routine-topline .eyebrow {color:var(--routine-accent);font-size:9px;letter-spacing:1.7px}
.routine-skip {font-size:9px;color:var(--routine-muted);display:flex;align-items:center;gap:13px}
.routine-skip span {font-size:18px}
.routine-skip:hover {color:var(--routine-accent)}
.routine-composition {display:grid;grid-template-columns:.95fr 1.05fr;align-items:center;gap:20px;flex:1;min-height:0;padding-block:30px}
.scroll-story-copy {position:relative;display:grid;align-items:center;z-index:2;min-width:0}
.routine-chapter {grid-area:1/1;visibility:hidden;opacity:0;pointer-events:none}
.routine-chapter:last-child {visibility:visible;opacity:1;pointer-events:auto}
.is-enhanced .routine-chapter {visibility:visible;will-change:opacity,transform}
.routine-kicker {display:block;font-size:9px;letter-spacing:1.4px;text-transform:uppercase;color:var(--routine-muted);margin-bottom:23px}
.routine-chapter h2 {font:600 clamp(32px,3.4vw,48px)/1.13 Manrope,sans-serif;letter-spacing:-1.9px;margin:0 0 23px}
.routine-chapter h2 em {font-style:normal;color:var(--routine-accent)}
.routine-chapter p {font-size:12px;line-height:1.9;color:var(--routine-muted);max-width:340px}
.scroll-story-visual {position:relative;width:100%;height:min(480px,58vh);min-height:0}
.routine-plane {position:absolute;left:50%;top:50%;width:560px;height:500px;transform:translate(-50%,-50%) scale(var(--routine-scale,.84));transform-origin:center}
.routine-grid {position:absolute;inset:0;background-image:linear-gradient(var(--routine-line) 1px,transparent 1px),linear-gradient(90deg,var(--routine-line) 1px,transparent 1px);background-size:30px 30px;mask-image:radial-gradient(ellipse,#0005,transparent 68%);opacity:.6}
.routine-workspace {position:absolute;inset:0;transform-origin:280px 250px}
.routine-board {position:absolute;width:414px;height:380px;left:280px;top:245px;transform:translate(-50%,-50%);border:1px solid var(--routine-line);border-radius:17px;background:var(--routine-paper);box-shadow:0 25px 70px -40px #153d4760;opacity:0}
.routine-board-heading {display:flex;align-items:center;justify-content:space-between;padding:25px 25px 0;color:var(--routine-muted);font-size:9px;letter-spacing:1.3px;text-transform:uppercase}
.routine-board-heading svg {width:17px;height:17px;color:var(--routine-accent)}
.routine-board-footer {position:absolute;bottom:19px;left:25px;font-size:10px;color:var(--routine-muted);display:flex;align-items:center;gap:7px}
.routine-board-footer>span {width:4px;height:4px;border-radius:50%;background:var(--routine-accent)}
.routine-sheet {position:absolute;left:280px;top:230px;width:222px;height:143px;transform:translate(-50%,-50%) translate(var(--sheet-x),var(--sheet-y)) rotate(var(--sheet-r));border:1px solid var(--routine-line);border-radius:10px;background:var(--routine-paper);box-shadow:0 15px 35px -17px #1a4a5650;z-index:2;overflow:hidden;--fold:0}
.routine-sheet-icon {position:absolute;left:18px;top:18px;width:30px;height:30px;border-radius:7px;background:#0da5a510;color:var(--routine-accent);display:grid;place-items:center}
.routine-sheet-icon svg {width:20px;height:20px}
.routine-sheet-title {position:absolute;left:62px;top:20px}
.routine-sheet-title b {font:600 15px/1.3 Manrope,sans-serif;display:block}
.routine-sheet-title>span {font-size:10px;color:var(--routine-muted);display:block;margin-top:6px;white-space:nowrap;opacity:var(--fold)}
.routine-sheet-lines {position:absolute;left:20px;right:20px;top:72px;display:flex;flex-wrap:wrap;gap:9px;opacity:calc(1 - var(--fold))}
.routine-sheet-lines i {height:5px;border-radius:2px;width:78%;background:var(--routine-line)}
.routine-sheet-lines i:nth-child(2) {width:60%}.routine-sheet-lines i:last-child {width:35%;background:var(--routine-accent);opacity:.4}
.routine-sheet-index {position:absolute;right:17px;top:17px;font-size:9px;color:var(--routine-muted);opacity:.7}
.routine-focus-dot {position:absolute;right:18px;top:35px;width:6px;height:6px;background:var(--routine-accent);border-radius:50%;opacity:var(--focus,0);box-shadow:0 0 0 5px #0da5a512}
.routine-sheet-focus::before {content:'';position:absolute;inset:0;background:var(--routine-accent);opacity:calc(var(--focus,0) * .07)}
.routine-focus-frame {position:absolute;left:280px;top:255px;width:383px;height:93px;transform:translate(-50%,-50%);z-index:3;opacity:0;pointer-events:none}
.routine-focus-frame i {position:absolute;width:14px;height:14px;border:solid var(--routine-accent);border-width:1.5px 0 0 1.5px;border-radius:3px 0 0 0}
.routine-focus-frame i:nth-child(2) {right:0;transform:rotate(90deg)}.routine-focus-frame i:nth-child(3) {right:0;bottom:0;transform:rotate(180deg)}.routine-focus-frame i:nth-child(4) {left:0;bottom:0;transform:rotate(270deg)}
.routine-insight {position:absolute;top:462px;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;color:var(--routine-accent);opacity:0}
.routine-insight>span {width:5px;height:5px;background:currentColor;border-radius:50%}
.routine-route {position:absolute;left:0;right:0;top:390px;height:100px;opacity:0;color:var(--routine-accent)}
.routine-route svg {position:absolute;inset:0;width:100%;height:100%;stroke:currentColor;stroke-width:1.5}
.routine-route-track {opacity:.15}.routine-route-progress {stroke-dasharray:1;stroke-dashoffset:1}.routine-route-arrow {opacity:0}
.routine-milestone {position:absolute;top:23px;left:105px;transform:translateX(-50%);text-align:center;opacity:0}
.routine-milestone:nth-of-type(2) {left:280px}.routine-milestone:nth-of-type(3) {left:455px}
.routine-milestone i {display:block;width:11px;height:11px;margin:0 auto 18px;background:var(--routine-bg);border:1.5px solid currentColor;border-radius:50%;box-shadow:0 0 0 5px var(--routine-bg)}
.routine-milestone:last-child i {background:var(--routine-accent)}
.routine-milestone span {font:500 12px Manrope,sans-serif;color:var(--routine-ink)}
.routine-bottom {display:flex;align-items:end;justify-content:space-between;gap:35px;z-index:2}
.scroll-story-progress {display:none;gap:18px;width:min(100%,520px)}
.is-enhanced .scroll-story-progress {display:flex}
.scroll-story-progress button {position:relative;flex:1;white-space:nowrap;padding:12px 0;text-align:left;border:0;border-bottom:1px solid var(--routine-line);background:none;font-size:10px;color:var(--routine-muted)}
.scroll-story-progress button>span {font-size:9px;margin-right:7px;opacity:.7}
.scroll-story-progress button[aria-current=step] {color:var(--routine-ink)}
.scroll-story-progress button i {position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--routine-accent);transform:scaleX(var(--step-progress,0));transform-origin:left}
.routine-hint {display:none;align-items:center;gap:13px;font-size:9px;color:var(--routine-muted);padding-bottom:10px;white-space:nowrap}
.is-enhanced .routine-hint {display:flex}.routine-hint>span {font-size:17px}
.scroll-story a:focus-visible,.scroll-story button:focus-visible {outline:2px solid var(--routine-accent);outline-offset:5px;border-radius:2px}
/* A complete, static composition also works without JavaScript. */
.scroll-story:not(.is-enhanced) .routine-board {opacity:1}
.scroll-story:not(.is-enhanced) .routine-workspace {transform:translateY(-24px) scale(.84)}
.scroll-story:not(.is-enhanced) .routine-sheet {width:366px;height:77px;transform:translate(-50%,-50%) translate(0,var(--sheet-y));--fold:1;box-shadow:none}
.scroll-story:not(.is-enhanced) .routine-sheet:nth-of-type(2) {transform:translate(-50%,-50%) translateY(-62px)}
.scroll-story:not(.is-enhanced) .routine-sheet:nth-of-type(3) {transform:translate(-50%,-50%) translateY(25px)}
.scroll-story:not(.is-enhanced) .routine-sheet:nth-of-type(4) {transform:translate(-50%,-50%) translateY(112px)}
.scroll-story:not(.is-enhanced) .routine-route,.scroll-story:not(.is-enhanced) .routine-milestone,.scroll-story:not(.is-enhanced) .routine-route-arrow {opacity:1}
.scroll-story:not(.is-enhanced) .routine-route-progress {stroke-dashoffset:0}
@media(max-width:900px) {.routine-hint{font-size:8px}.routine-composition{gap:5px}.routine-chapter h2{font-size:36px}.routine-bottom{gap:20px}.scroll-story-progress{gap:12px}}
@media(max-width:700px) {
  .scroll-story {margin-top:30px;margin-inline:-8px}
  .scroll-story.is-enhanced {height:235vh;height:235svh}
  .scroll-story-stage {padding:22px 18px;border-radius:15px}
  .is-enhanced .scroll-story-stage {top:3vh;top:3svh;height:93vh;height:93svh;max-height:none}
  .routine-topline .eyebrow {font-size:8px;letter-spacing:1.3px}
  .routine-skip {font-size:0;gap:0}.routine-skip span{font-size:17px}
  .routine-composition {grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);gap:0;padding:28px 0 14px;align-items:stretch}
  .scroll-story-copy {align-items:start}
  .routine-kicker {font-size:8px;letter-spacing:1.2px;margin-bottom:12px}
  .routine-chapter h2 {font-size:clamp(27px,7vw,35px);line-height:1.13;letter-spacing:-1.1px;margin-bottom:15px}
  .routine-chapter p {font-size:11px;line-height:1.75}
  .scroll-story-visual {height:auto;min-height:0;margin-top:10px}
  .routine-bottom {display:block}
  .scroll-story-progress {width:100%;gap:12px}
  .scroll-story-progress button {font-size:9px;padding:11px 0}
  .scroll-story-progress button>span {font-size:8px;margin-right:4px}
  .is-enhanced .routine-hint {display:none}
  .routine-plane {--routine-scale:.56}
  .routine-sheet-title b {font-size:19px}.routine-sheet-title>span{font-size:12px}
  .routine-sheet-index {font-size:12px}.routine-board-heading{font-size:12px;letter-spacing:.7px}
  .routine-board-footer {font-size:12px}.routine-insight{font-size:14px}.routine-milestone span{font-size:16px}
  .scroll-story:not(.is-enhanced) .scroll-story-visual {height:330px}
}
@media(max-width:700px) and (max-height:720px) {
  .scroll-story-stage {padding:16px 16px}
  .routine-composition {padding-top:20px;padding-bottom:8px}
  .routine-kicker {margin-bottom:9px}.routine-chapter h2{font-size:27px;margin-bottom:11px}.routine-chapter p{font-size:10px}
}
@media(min-width:701px) and (max-height:700px) {
  .scroll-story-stage {padding-block:24px}.routine-composition{padding-block:20px}.routine-chapter h2{font-size:34px}.routine-chapter p{font-size:11px}
}
@media(prefers-reduced-motion:reduce) {
  .scroll-story.is-enhanced {height:auto}
  .is-enhanced .scroll-story-stage {position:relative;top:0;height:auto;max-height:none}
  .routine-chapter {transform:none!important}
  .is-enhanced .scroll-story-progress,.is-enhanced .routine-hint{display:none}
}
