:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#2c302b;background:#f8f7f3;--accent:#c76543;--soft:#e9e7de}*{box-sizing:border-box}body{margin:0}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer;border:0;background:none}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}.tour-header{height:79px;display:flex;align-items:center;justify-content:space-between;max-width:1450px;margin:auto;padding:0 5.5vw;border-bottom:1px solid #e4e3db}.wordmark{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:650}.wordmark>span{font-size:21px;background:#30392f;color:#fff3d5;padding:3px 6px;border-radius:7px;transform:rotate(-5deg)}.wordmark small{font-size:11px;color:#9b9b8e;font-weight:400;letter-spacing:1px;border-left:1px solid #ddd;padding-left:14px;margin-left:5px}.tour-header>div{display:flex;align-items:center;gap:25px;font-size:12px;color:#797c70}.tour-header button{border:1px solid #d8dbce;border-radius:20px;padding:8px 14px;color:#59604c}main{max-width:1350px;margin:auto;padding:0 5vw}.chapter-nav{display:flex;gap:0;margin-top:24px;max-width:650px;align-items:center}.chapter-nav button{display:flex;align-items:center;font-size:11px;gap:8px;padding:5px 0;color:#999b91;white-space:nowrap}.chapter-nav button:not(:last-child):after{content:'';width:25px;height:1px;background:#dedfd7;margin:0 11px 0 3px}.chapter-nav .current{color:#374331;font-weight:650}.chapter-nav .current:before{content:'';display:inline-block;width:6px;height:6px;background:var(--accent);border-radius:50%}.stage-grid{display:grid;grid-template-columns:minmax(300px,1.05fr) minmax(350px,1fr);gap:7vw;align-items:center;min-height:calc(100dvh - 194px);padding:18px 0 23px}.narration{max-width:530px;align-self:center;padding-bottom:12px}.step-eyebrow{font-size:12px;letter-spacing:.7px;color:#7c8973;display:flex;align-items:center;gap:17px}.step-eyebrow>span:last-child{color:#acafa2;font-size:10px;font-variant-numeric:tabular-nums}#title{font-size:clamp(30px,3.4vw,49px);line-height:1.35;letter-spacing:-1px;margin:20px 0 19px;font-weight:650;word-break:keep-all}.lead{font-size:15px;line-height:1.95;color:#73796c;max-width:430px;margin:0}.design-note{display:flex;gap:17px;margin-top:30px;max-width:440px}.note-rule{width:2px;background:#d1b59b;flex:none;border-radius:2px}.note-label{font-size:10px;color:#ad8262;letter-spacing:1px}.design-note p{font-size:13px;line-height:1.9;color:#858879;margin:7px 0 0}.try-it{display:flex;align-items:flex-start;gap:8px;margin-top:27px}.action-dot{margin-top:8px;width:6px;height:6px;border-radius:50%;background:var(--accent);flex:none}.try-it p{font-size:13px;line-height:1.8;color:#8a5e42;margin:0}.evidence{margin-top:10px;font-size:11px;color:#819077;min-height:17px}.tour-controls{display:flex;align-items:center;gap:13px;margin-top:23px}.tour-controls button{font-size:12px;min-height:40px;border-radius:7px;padding:10px 14px}.tour-controls #previous{border:1px solid #dfe0d6;color:#818878;min-width:40px;padding:8px;font-size:17px}.tour-controls #demonstrate{color:#7a806f;border:1px solid #dfe0d6;display:flex;align-items:center;gap:18px}.tour-controls #next{background:#354331;color:#fff8e6;min-width:115px}.tour-controls button:disabled{opacity:.35;cursor:default}.small-print{font-size:10px;color:#aaad9f;margin-top:13px;line-height:1.6}.prototype-stage{position:relative;display:flex;flex-direction:column;align-items:center;padding:0}.prototype-stage:before{content:'';position:absolute;inset:10% -8% 8%;z-index:-1;background:radial-gradient(ellipse,#e6e8d97a,transparent 68%)}.phone-holder{position:relative;flex:none;--phone-scale:.74;width:calc(406px * var(--phone-scale));height:calc(860px * var(--phone-scale))}.phone-shell{position:absolute;width:406px;height:860px;padding:8px;border-radius:54px;background:#292a27;box-shadow:0 22px 45px #34372c17,0 0 0 1px #676c5c45;transform:scale(var(--phone-scale));transform-origin:top left;overflow:hidden}.phone-shell iframe{display:block;border:0;width:390px;height:844px;border-radius:46px;background:#fff}.stage-caption{display:flex;align-items:center;justify-content:center;gap:6px;font-size:9px;color:#a8ac9b;margin-top:14px;letter-spacing:.3px}.stage-caption>span:last-child{margin-left:9px;color:#b7bbaa}.live-dot{width:4px;height:4px;border-radius:50%;background:#9cab89}.tour-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e2e4d8;padding:15px 0 19px;color:#a3a895;font-size:10px;gap:12px}.tour-footer button{font-size:10px;color:#939b85}.focus-ring{position:fixed;z-index:10;pointer-events:none;border:2px solid #e39468;border-radius:9px;box-shadow:0 0 0 4px #e394681b,0 0 23px #e5aa7926;opacity:0;transition:top .45s,left .45s,width .45s,height .45s,opacity .3s}.focus-ring.show{opacity:1}.focus-ring.succeeded{border-color:#8fa071;box-shadow:0 0 0 4px #99ad751c}.guide-cursor{position:fixed;pointer-events:none;z-index:12;opacity:0;transition:top .5s,left .5s,opacity .3s;filter:drop-shadow(0 3px 3px #0002)}.guide-cursor.show{opacity:1}.guide-cursor svg{animation:cursor-invite 2.2s ease-in-out infinite}.guide-cursor i{position:absolute;left:-9px;top:-9px;width:24px;height:24px;border:1px solid #dc8b60;border-radius:50%;animation:tap 2.2s ease infinite}@keyframes cursor-invite{0%,65%,100%{transform:translate(8px,12px)}45%{transform:translate(0,0)}}@keyframes tap{0%,30%,100%{opacity:0;transform:scale(.3)}52%{opacity:.6;transform:scale(1.4)}70%{opacity:0;transform:scale(1.9)}}#loading-message{position:fixed;bottom:14px;left:50%;transform:translateX(-50%);font-size:12px;background:#354331;color:#fff6e8;border-radius:18px;padding:9px 16px;z-index:20}#loading-message[hidden]{display:none}.free-mode .focus-ring,.free-mode .guide-cursor{display:none}.free-mode .try-it .action-dot{background:#8ba677}.narration.changing{animation:fade-up .35s ease}@keyframes fade-up{from{opacity:.15;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1500px){.stage-grid{gap:110px}}@container tour (max-width:850px){.tour-header{height:66px;padding:0 22px}.wordmark{font-size:15px}.wordmark small{display:none}.tour-header>div{gap:15px;font-size:11px}main{padding:0 23px}.chapter-nav{overflow:auto;margin-top:17px}.chapter-nav button{font-size:10px}.chapter-nav button:not(:last-child):after{width:10px;margin:0 7px}.stage-grid{grid-template-columns:1fr;gap:28px;min-height:0;padding-top:25px}.narration{max-width:600px;padding-bottom:0}#title{font-size:32px;margin:13px 0}.lead{font-size:14px;line-height:1.8}.design-note{margin-top:17px}.design-note p{font-size:12px}.try-it{margin-top:19px}.tour-controls{margin-top:15px}.prototype-stage{padding-bottom:15px}.tour-footer{font-size:9px}.tour-footer>span:first-child{max-width:130px;line-height:1.5}.phone-holder{--phone-scale:.83}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.tour-controls #demonstrate[hidden]{display:none}
@container tour (max-width:850px){.prototype-stage:before{inset:10% 0 8%}.tour-controls{position:fixed;left:15px;right:15px;bottom:10px;z-index:25;justify-content:space-between;margin:0;padding:7px;background:#f8f7f3f5;border:1px solid #e5e5db;border-radius:11px;box-shadow:0 5px 20px #323a2012;backdrop-filter:blur(10px)}main{padding-bottom:75px}.narration{padding-bottom:10px}.small-print{margin-top:20px}}
/* Chapter navigation and the current task are the primary reading hierarchy. */
.chapter-nav{max-width:none;padding:7px;background:#eeefe7;border:1px solid #e0e3d5;border-radius:12px;gap:5px;margin-top:22px;justify-content:space-between;position:sticky;top:12px;z-index:15;box-shadow:0 5px 20px #f8f7f380}
.chapter-nav button{font-size:14px;padding:10px 15px;color:#7d8472;border-radius:7px;justify-content:center;flex:1}
.chapter-nav button:not(:last-child):after,.chapter-nav .current:before{display:none}.chapter-nav .current{background:#354331;color:#fff8e6;box-shadow:0 2px 6px #35433118}
.stage-grid{min-height:calc(100dvh - 185px);padding-top:25px}.narration{max-width:490px}
#title{font-size:clamp(29px,3.1vw,43px);line-height:1.45;letter-spacing:-1px;margin:15px 0 20px;word-break:normal}.lead{font-size:16px;line-height:1.95;color:#686f60;max-width:460px}
.section-label{font-size:11px;color:#9b9f90;letter-spacing:1px}.design-points{list-style:none;padding:0;margin:25px 0 0;display:grid;gap:14px;max-width:450px}.design-points li{font-size:14px;line-height:1.85;color:#8a8f7e;border-left:2px solid #c6b297;padding-left:16px}

.demo-statement{padding:40px 0 50px;border-top:1px solid #dfe2d4;max-width:940px;margin:0 auto}.demo-statement h2{font-size:23px;line-height:1.5;font-weight:650;margin:15px 0 23px}.demo-statement p{font-size:15px;line-height:2.05;color:#747b68;margin:14px 0}.demo-statement strong{color:#505c45;font-weight:600}.demo-statement .statement-note{font-size:12px;color:#9a9f90}
@container tour (max-width:850px){.chapter-nav{top:6px;border-radius:8px;padding:4px;gap:3px;justify-content:flex-start}.chapter-nav button{font-size:12px;padding:10px 13px;flex:none}.stage-grid{padding-top:25px;gap:30px}.narration{padding-bottom:0}#title{font-size:29px}.lead{font-size:15px}.design-points{margin-top:18px;gap:10px}.design-points li{font-size:13px}.demo-statement{padding:28px 0}.demo-statement h2{font-size:20px}.demo-statement p{font-size:14px}main{padding-bottom:0}}


.route-nav{position:sticky;top:8px;z-index:15;margin:20px 0 0;padding:5px 5px 0;border:1px solid #dfe2d6;border-radius:12px;background:#f8f8f2;box-shadow:0 4px 15px #35433109}
#phases{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}
#phases button{padding:10px 2px;color:#555e4c;background:#eceee4;font-weight:600;font-size:15px;border-radius:7px;white-space:nowrap}
#phases button[aria-pressed=true]{color:#fff8e6;background:#354331}
#chapters{display:flex;align-items:stretch;gap:20px;min-height:37px;padding:0 12px}
#chapters button{position:relative;font-size:13px;padding:7px 1px;color:#646c5b}
#chapters button[aria-current=step]{color:#354331;font-weight:650}
#chapters button[aria-current=step]:after{content:'';position:absolute;bottom:0;left:1px;right:1px;height:2px;background:#b96b4a}
@container tour (max-width:850px){.route-nav{margin-top:14px;top:4px}#phases button{font-size:13px;padding:10px 0}#chapters{gap:16px;padding:0 6px}#chapters button{font-size:12px}}

#phases {grid-template-columns: repeat(5,minmax(0,1fr));}
#phases #intro-tab {background:#f1e2cf;color:#744a30;}
#phases #intro-tab[aria-pressed=true] {background:#875235;color:#fff9ef;}
.reading-stage {display:grid;align-items:center;min-width:0;overflow:clip;padding:6px 0;}
.reading-stage > section {grid-area:1 / 1;min-width:0;}
.product-intro {max-width:540px;}
.product-intro h1 {color:#354331;font-size:clamp(27px,3vw,42px);line-height:1.4;margin:0;text-wrap:balance;}
.product-intro > p {font-size:16px;color:#805235;line-height:1.85;margin:15px 0;}
.product-intro button {color:#795035;padding:8px 1px;border-bottom:1px solid #c8ab91;font-size:14px;}
.copy-body {font-size:15px;color:#485040;line-height:1.9;}
.copy-body p {margin:14px 0;}
[data-view=opening] .narration,[data-view=intro] .narration,
[data-view=tour] .product-intro {display:none;}
[data-view=opening] .phone-holder:not(.initialized),
[data-view=opening] .product-intro {visibility:hidden;}
[data-view=intro] .reading-stage.entering .product-intro {visibility:visible;animation:pull-intro .48s cubic-bezier(.2,.75,.25,1) both;}
@keyframes pull-intro {from{opacity:0;transform:translateX(80%);}to{opacity:1;transform:none;}}
@container tour (max-width:850px){#phases button{font-size:clamp(10px,3vw,13px);} .product-intro h1{font-size:25px;}.stage-grid{align-content:start;}.copy-body{font-size:14px;}}

.product-intro .brand-line {display:block;}
.product-intro .name-line {display:block;font-size:.66em;margin-top:3px;}
.name-line > span,.phrase-ending {white-space:nowrap;}
#description,#title,.design-points li,.product-intro > p {text-wrap:balance;}
.copy-body p {text-wrap:pretty;}
#chapters[hidden] {display:none;}
.route-nav {padding-bottom:4px;}
#chapters {width:max-content;max-width:100%;min-height:40px;gap:4px;padding:3px 0 0;margin-left:clamp(0px,calc(var(--phase-center) - var(--steps-width, 190px) / 2),calc(100% - var(--steps-width, 190px)));}
#chapters button {border-radius:5px;padding:6px 10px;font-size:15px;font-weight:550;color:#4e5b46;}
#chapters button[aria-current=step] {background:#e3e9d9;color:#273b24;font-weight:700;}
#chapters button[aria-current=step]:after {left:10px;right:10px;}
#start-tour {padding:8px 12px;background:#354331;color:#fff9e8;border:0;border-radius:6px;}
@container tour (min-width:851px){
 .tour-header {height:54px;}
 .route-nav {margin-top:10px;}
 .stage-grid {grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr);gap:3vw;min-height:calc(100dvh - 167px);padding:8px 0;}
 .product-intro {max-width:none;}
 .product-intro h1 {font-size:clamp(26px,2.65vw,36px);line-height:1.18;}
 .copy-body {line-height:1.68;font-size:clamp(13px,1.1vw,14px);}
 .copy-body p {margin:10px 0;}
 .narration,.lead,.design-points {max-width:min(100%,600px);}
}
@container tour (max-width:850px){

 #chapters button {font-size:14px;padding:7px 8px;}
 .product-intro h1 {line-height:1.2;}
 .product-intro .name-line {font-size:19px;}
 .copy-body {font-size:13px;line-height:1.7;}
 .copy-body p {margin:8px 0;}
 [data-view=intro] .stage-grid {padding-top:12px;}
}

.prototype-stage .standalone-link {
  display:inline-flex;align-items:center;justify-content:center;margin-top:12px;
  min-height:36px;padding:7px 16px;border-radius:8px;background:#354331;color:#fff9e8;
  font-size:14px;line-height:1.5;font-weight:600;
}
.prototype-stage .standalone-link:hover {background:#46553e;}

#tour-viewport {container:tour / inline-size;margin-inline:auto;}
body[data-layout=mobile] #tour-viewport {width:min(100%,440px);}
body[data-layout=desktop] #tour-viewport {width:var(--desktop-width,100%);zoom:var(--desktop-zoom,1);}
.tour-header {height:54px;}
.tour-header .layout-switch {display:flex;gap:2px;padding:3px;background:#ebece4;border:1px solid #d9ddcf;border-radius:9px;}
.layout-switch button {padding:6px 12px;border:0;border-radius:6px;font-size:13px;color:#515d48;}
.layout-switch button[aria-pressed=true] {background:#354331;color:#fff9e8;}
@media(max-width:600px){.tour-header{padding:0 15px;}.wordmark small{display:none;}}
/* Keep the phone backdrop inside the scaled desktop canvas. */
body[data-layout=desktop] #tour-viewport {overflow-x:clip;}

.strip-arrow {display:none;}
body[data-layout=mobile] .tour-header {width:min(100%,440px);margin-inline:auto;padding-inline:14px;}
body[data-layout=mobile] .wordmark small {display:none;}
@container tour (max-width:850px) {
  main {padding-inline:14px;}
  .route-nav {margin-top:8px;padding:0;background:#f8f7f3;border:0;border-bottom:1px solid #dddcd2;border-radius:0;box-shadow:none;top:0;}
  .phase-strip {display:grid;grid-template-columns:26px minmax(0,1fr) 26px;align-items:center;gap:2px;padding:4px 0;}
  .strip-arrow {display:grid;place-items:center;height:44px;border-radius:6px;color:#45553d;font-size:23px;}
  .strip-arrow:disabled {color:#c6c8bf;cursor:default;}
  #phases {display:flex;gap:5px;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain;}
  #phases::-webkit-scrollbar {display:none;}
  #phases button {flex:none;min-height:42px;padding:8px 11px;white-space:nowrap;font-size:14px;line-height:1.35;}
  #chapters {width:100%;margin:0;gap:3px;min-height:40px;align-items:center;padding:2px 0 5px;}
  #chapters button {min-height:36px;white-space:nowrap;font-size:14px;padding:6px 10px;}
  .stage-grid {grid-template-columns:minmax(0,1fr);padding-top:17px;gap:18px;}
  #title {font-size:clamp(22px,6.1cqw,27px);line-height:1.35;margin:8px 0 12px;}
  .narration .lead {font-size:15px;line-height:1.65;}
  .design-points {gap:6px;margin-top:12px;}
  .design-points li {padding-left:10px;line-height:1.65;}
}


.step-pager {display:none;}
@container tour (max-width:850px) {
  .stage-grid {touch-action:pan-y pinch-zoom;}
  .step-pager {display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;color:#606b56;}
  .step-pager button {padding:10px 12px;border:1px solid #d9ddce;border-radius:7px;min-height:40px;font-size:13px;}
  .step-pager button:disabled {opacity:.38;}
  #step-position {font-size:12px;font-variant-numeric:tabular-nums;}
}
