/* Faithful app previews: website framing only. The embedded app keeps its own UI. */
.product-section{gap:64px}
.product-copy .feature-list:has(.app-choice){display:flex;flex-direction:column;gap:9px;margin-top:29px}
.app-choice{display:flex;align-items:center;gap:14px;width:100%;min-width:0;margin:0;padding:14px 16px;text-align:left;border:1px solid transparent;border-radius:12px;background:transparent;transition:background .18s,border-color .18s}
.app-choice[aria-pressed=false]{background:transparent;border-color:transparent;box-shadow:none}
.app-choice[aria-pressed=false]:hover{background:#f7f8f8;border-color:#e1e7e6}
.app-choice[aria-pressed=true]{background:#f0f5ed;border-color:#c8d7bf}
.app-choice .feature-icon{width:42px;height:42px;border-radius:11px}
.app-choice .feature-body{display:block;min-width:0;flex:1}
.app-choice .feature-body>strong{display:block;color:var(--ink);font-size:17px;line-height:1.45;font-weight:600}
.app-choice .feature-body>span{display:block;margin-top:4px;color:var(--muted);font-size:15px;line-height:1.55}
.app-choice .choice-arrow{width:17px;height:17px;flex-shrink:0;opacity:.45}
.app-choice[aria-pressed=true] .choice-arrow{opacity:1;color:#547252}

.product-visual.actual-product,
.case-story .case-visual,
.collect-visual{width:100%;min-width:0;padding:23px 26px 20px;background:#faf9f6;border:1px solid #e9e5de;border-radius:22px;align-self:center}
.product-visual.actual-product{scroll-margin-top:110px}
.prototype-chrome{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:390px;margin:0 auto 15px;min-height:39px}
.prototype-chrome>.eyebrow{margin:0;font-size:10px;line-height:1.5;letter-spacing:1px;color:#61745b}
.prototype-chrome>span:not(.eyebrow){font-size:11px;line-height:1.45;color:#65755f}
.prototype-reset,.prototype-fullscreen{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 10px;border:1px solid #dbe3d5;border-radius:8px;background:#fff;color:var(--petrol-dark);font-size:12px;font-weight:600;line-height:1.4;text-align:center;transition:background .18s,border-color .18s}
.prototype-reset{flex-shrink:0}
.prototype-reset:hover,.prototype-fullscreen:hover{background:#f5f9f3;border-color:#bdcfb4}
.prototype-reset .icon,.prototype-fullscreen .icon{width:15px;height:15px;flex-shrink:0}
.app-device{position:relative;width:100%;max-width:390px;height:740px;margin-inline:auto;background:#fff;border:1px solid #e5ded7;border-radius:23px;overflow:hidden;box-shadow:0 12px 30px #44372e08;isolation:isolate}
.app-device>iframe{display:block;width:100%;height:100%;margin:0;border:0;background:#fff}
.app-device:focus-within{outline:2px solid #a8b99a;outline-offset:4px}
.prototype-caption,.case-visual .prototype-caption{display:block;max-width:390px;margin:16px auto 0;font-size:12px;line-height:1.6;color:#687761;text-align:center}
.prototype-fullscreen{display:flex;width:100%;max-width:390px;margin:13px auto 0;background:#fff9}
.prototype-footnote{display:block;font-size:12px;line-height:1.6;color:var(--muted);margin-top:16px}
.roadmap-note{margin-top:24px;padding:17px 19px;border-left:3px solid #b9c5ab;border-radius:0 9px 9px 0;background:#f7f8f2;color:#64715c;font-size:14px;line-height:1.65}
.roadmap-note>strong,.roadmap-note>span:first-child{display:block;margin-bottom:5px;color:#52654e;font-size:11px;line-height:1.5;letter-spacing:.65px;font-weight:600;text-transform:uppercase}
.roadmap-note p{font-size:inherit;line-height:inherit;color:inherit}

.case-story{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:64px;align-items:center}
.case-story .case-copy{min-width:0}
.case-story .case-visual{max-width:none}
.case-story .case-role{margin-bottom:21px}
.case-story .case-title{font-size:34px}
.case-story .case-situation{font-size:16px;line-height:1.65;margin-top:19px}
.case-story .case-steps{display:flex;flex-direction:column;gap:10px;margin:23px 0 0;padding:0;list-style:none}
.case-story .case-steps>li{display:block;margin:0;padding:0}
.case-step,.collect-flow-step{display:flex;align-items:flex-start;gap:13px;min-width:0;width:100%;padding:15px 16px;border:1px solid #e2e8df;border-radius:11px;background:#fff;text-align:left;transition:background .18s,border-color .18s,box-shadow .18s}
.case-step:hover,.collect-flow-step:hover{border-color:#b6c8ae;background:#fafbf8}
.case-step[aria-pressed=true],.collect-flow-step[aria-pressed=true]{border-color:#a2b792;background:#f1f6ec;box-shadow:inset 3px 0 0 #7e9a6b}
.case-step-num,.collect-flow-num{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:27px;height:27px;margin-top:1px;border:1px solid #d7e1ce;border-radius:50%;background:#fff;color:#637857;font-size:11px;font-weight:600;line-height:1;font-variant-numeric:tabular-nums}
.case-step[aria-pressed=true] .case-step-num,.collect-flow-step[aria-pressed=true] .case-step-num,.collect-flow-step[aria-pressed=true] .collect-flow-num{border-color:#789264;background:#789264;color:#fff}
.case-step-copy,.collect-flow-copy{display:block;min-width:0;flex:1}
.case-step-copy>strong,.collect-flow-copy>strong,.collect-flow-step>span>strong{display:block;color:var(--ink);font-size:16px;font-weight:600;line-height:1.45}
.case-step-copy>span,.collect-flow-copy>span,.collect-flow-step>span>span{display:block;margin-top:5px;color:#607178;font-size:14px;line-height:1.6}
.case-step-copy>small,.collect-flow-copy>small{display:block;margin-top:8px;color:#6d825e;font-size:10px;font-weight:600;line-height:1.45;letter-spacing:.5px}
.case-step[aria-pressed=true] .case-step-copy>small,.collect-flow-step[aria-pressed=true] .collect-flow-copy>small{color:#4e6b3e}
.case-story .case-benefit{margin-top:22px;padding:17px 19px}
.case-story .case-benefit>p{font-size:15px;line-height:1.65}
.case-story .case-visual{scroll-margin-top:110px}
.story-instruction{margin:0 0 17px;font-size:13px;line-height:1.6;color:#6b7c72}
.case-step-instruction{margin:21px 0 0;font-size:12px;line-height:1.6;color:#6b7c72}
.case-story .case-step-instruction+.case-steps{margin-top:11px}
.story-controls .story-position{gap:7px;color:#7b8b83;font-size:13px;line-height:1.5;font-variant-numeric:tabular-nums}
.story-position #story-current{color:var(--ink);font-weight:600}
.story-position .story-count-separator{color:#a0ada5}
.story-position .story-progress{margin-left:10px}
.story-controls .story-arrows{gap:10px}

.collect-section{gap:64px;align-items:center}
.collect-visual{scroll-margin-top:110px}
.collect-flow{display:flex;flex-direction:column;gap:10px;margin:26px 0 0;padding:0;list-style:none}
.collect-flow>li{display:block}
.collect-flow-step+.collect-flow-step{margin-top:10px}
.collect-copy>.collect-flow-step:first-of-type{margin-top:25px}
.collect-copy .roadmap-note{margin-top:25px}
.collect-copy>p.collect-lead{font-size:20px}

#app-dialog{width:min(490px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:20px 24px 18px;overflow:auto;border-radius:20px}
#app-dialog .dialog-header{margin-bottom:14px;gap:15px}
#app-dialog .dialog-header .eyebrow{font-size:9px;letter-spacing:.7px}
#app-dialog h2{font-size:25px;line-height:1.25;letter-spacing:-.5px}
.app-dialog-close{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:42px;min-width:42px;height:42px;min-height:42px;padding:10px;border:1px solid #dbe3d5;border-radius:50%;background:#fff;color:var(--ink)}
.app-dialog-close .icon{width:18px;height:18px}
.expanded-app-wrap{width:390px;max-width:100%;height:min(760px,78dvh);margin:0 auto;overflow:hidden;border:1px solid #e5ded7;border-radius:20px;background:#fff}
.expanded-app-wrap>iframe,#expanded-app{display:block;width:100%;height:100%;border:0;margin:0;background:#fff}
#app-dialog .app-dialog-note{font-size:12px;line-height:1.55;color:#687761;margin:13px auto 0;max-width:390px}
.app-choice:focus-visible,.case-step:focus-visible,.collect-flow-step:focus-visible,.prototype-reset:focus-visible,.prototype-fullscreen:focus-visible,.app-dialog-close:focus-visible{outline:3px solid var(--terracotta);outline-offset:4px}

@media(max-width:1150px){
  .product-section,.case-story,.collect-section{gap:38px}
  .product-visual.actual-product,.case-story .case-visual,.collect-visual{padding:20px 18px 18px}
  .prototype-chrome{gap:9px}
  .prototype-chrome>.eyebrow{font-size:9px;letter-spacing:.7px}
  .prototype-reset{font-size:11px;padding:8px}
  .case-story .case-title{font-size:31px}
  .case-step,.collect-flow-step{padding:13px;gap:11px}
  .case-step-copy>span,.collect-flow-copy>span{font-size:14px}
  .app-choice{padding:12px 10px;gap:12px}
}
@media(max-width:900px){
  .product-section,.case-story,.collect-section{display:grid;grid-template-columns:minmax(0,1fr);gap:32px;align-items:start}
  .product-copy,.collect-copy{max-width:650px;width:100%;margin-inline:auto}
  .product-visual.actual-product,.case-story .case-visual,.collect-visual{width:100%;max-width:490px;padding:22px 25px 20px;justify-self:center}
  .case-story .case-copy{width:100%;max-width:650px;margin-inline:auto}
  .case-story .case-title{font-size:34px}
  .case-story .case-situation{font-size:17px}
  .case-story .case-role>div>strong{font-size:15px}
  .case-story .case-role>div>span{font-size:12px}
  .case-story .case-steps{gap:11px}
  .case-step,.collect-flow-step{padding:16px}
  .case-step-copy>span,.collect-flow-copy>span{font-size:15px}
  .prototype-chrome>.eyebrow{font-size:10px;letter-spacing:.8px}
  .prototype-reset{font-size:12px}
  .app-device{height:740px}
  .app-choice{padding:14px 16px}
  .product-copy .feature-list:has(.app-choice){gap:9px}
}
@media(max-width:650px){
  .product-section,.case-story,.collect-section{gap:28px}
  .product-visual.actual-product,.case-story .case-visual,.collect-visual{padding:0;border:0;background:transparent;border-radius:0;max-width:390px}
  .prototype-chrome{margin-bottom:13px;min-height:42px}
  .prototype-chrome>.eyebrow{font-size:9px;letter-spacing:.65px}
  .prototype-reset{min-height:42px}
  .app-device{height:680px;border-radius:20px;box-shadow:0 10px 27px #3046380a}
  .prototype-caption,.case-visual .prototype-caption{font-size:12px;line-height:1.6;margin-top:14px}
  .prototype-fullscreen{min-height:44px;margin-top:12px;background:#fff}
  .case-story .case-title{font-size:31px;line-height:1.25;letter-spacing:-.75px}
  .case-story .case-steps{margin-top:23px;gap:10px}
  .case-step,.collect-flow-step{padding:14px 13px;gap:11px;border-radius:10px}
  .case-step-copy>strong,.collect-flow-copy>strong{font-size:16px}
  .case-step-copy>span,.collect-flow-copy>span{font-size:15px;line-height:1.6}
  .case-step-num,.collect-flow-num{width:25px;height:25px}
  .case-story .case-benefit{margin-top:21px;padding:17px}
  .case-story .case-visual{scroll-margin-top:94px}
  .product-visual.actual-product,.collect-visual{scroll-margin-top:94px}
  .app-choice{padding:12px 11px;gap:12px}
  .app-choice .feature-icon{width:38px;height:38px}
  .app-choice .feature-body>strong{font-size:16px}
  .app-choice .feature-body>span{font-size:14px;line-height:1.55}
  .app-choice .choice-arrow{width:15px;height:15px}
  .roadmap-note{padding:15px 17px;font-size:14px}
  .collect-copy>p.collect-lead{font-size:20px}
  #app-dialog{width:calc(100% - 12px);max-width:calc(100% - 12px);padding:15px 7px 14px;border-radius:16px}
  #app-dialog h2{font-size:23px}
  #app-dialog .dialog-header{gap:10px;margin-bottom:13px}
  .expanded-app-wrap{border-radius:17px}
}
@media(max-width:370px){
  .app-device{height:650px;border-radius:17px}
  .prototype-chrome>.eyebrow{font-size:8px;letter-spacing:.5px}
  .prototype-reset{font-size:11px;padding-inline:8px}
  .case-story .case-title{font-size:29px}
  .case-step,.collect-flow-step{padding:12px 10px;gap:9px}
  .case-step-copy>strong,.collect-flow-copy>strong{font-size:15px}
  .case-step-copy>span,.collect-flow-copy>span{font-size:14px}
  .app-choice .feature-body>strong{font-size:15px}
}
@media(prefers-reduced-motion:reduce){
  .app-choice,.case-step,.collect-flow-step,.prototype-reset,.prototype-fullscreen{transition:none}
}

/* Keep guided steps reachable directly beneath the live app, especially on mobile. */
.prototype-step-bar{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;max-width:390px;margin:14px auto 0;font-size:12px;color:var(--muted)}
.step-nav-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:7px 11px;border:1px solid #d9e1d5;border-radius:8px;background:#fff;color:var(--ink);font-size:12px;font-weight:600}
.step-nav-button .icon{width:16px;height:16px}.step-nav-button[data-demo-back] .icon{transform:rotate(180deg)}
.step-nav-button:hover:not(:disabled){background:#edf1e5}.step-nav-button:disabled{opacity:.4;cursor:default}
.case-visual,.collect-visual,.actual-product{scroll-margin-top:110px}
@media(max-width:650px){.case-visual,.collect-visual,.actual-product{scroll-margin-top:96px}}

/* Four equal areas of practice; the assistant stays the focus inside the app. */
.sector-strip{grid-template-columns:minmax(125px,.78fr) repeat(4,minmax(0,1fr));gap:22px}
.sector-strip>span{max-width:145px}
.sector-strip>a{min-width:0;min-height:44px;font-size:17px;line-height:1.4;gap:10px}
.sector-strip>a .icon{flex-shrink:0}
.story-selectors{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.story-selector{gap:11px;padding:16px;min-height:66px}
.story-selector>span{flex-shrink:0}
.story-selector>strong{min-width:0;font-size:16px;line-height:1.4;hyphens:auto;overflow-wrap:anywhere}
.story-selector:focus-visible,.step-nav-button:focus-visible{outline:3px solid var(--terracotta);outline-offset:4px}

@media(max-width:1150px){
  .sector-strip{grid-template-columns:125px repeat(4,minmax(0,1fr));gap:16px}
  .sector-strip>a{font-size:16px;gap:8px}
  .sector-strip>a .icon{width:16px;height:16px}
  .story-selectors{gap:10px}
  .story-selector{gap:9px;padding:14px 12px}
}
@media(max-width:900px){
  .sector-strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 28px}
  .sector-strip>span{grid-column:1/-1;max-width:none;margin-bottom:5px}
  .sector-strip>a{font-size:18px;min-height:44px}
  .story-selectors{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .story-selector{min-height:62px;padding:15px 16px;gap:12px}
  .story-selector>strong{font-size:16px}
}
@media(max-width:650px){
  .sector-strip{grid-template-columns:minmax(0,1fr);gap:3px;padding-block:22px}
  .sector-strip>span{margin-bottom:10px}
  .sector-strip>a{font-size:17px;justify-content:space-between;min-height:43px}
  .story-selectors{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:26px}
  .story-selector{flex-direction:column;align-items:flex-start;justify-content:center;gap:6px;min-height:84px;padding:12px;border-radius:9px}
  .story-selector>strong{font-size:15px;line-height:1.35}
  .story-selector>span{font-size:10px;line-height:1.2}
}
@media(max-width:370px){
  .story-selectors{gap:8px}
  .story-selector{padding:11px 10px;min-height:81px}
  .story-selector>strong{font-size:14px}
}
