/* A phone-sized composition, sharing the desktop content and event sequence. */
.mobile-destinations,.mobile-template-showcase{display:none}
@media(max-width:800px){
 .story-refined button,.story-refined a{-webkit-tap-highlight-color:transparent}
 .story-refined .site-header .nav-links{display:flex;gap:16px}
 .story-refined .site-header .nav-links a{font-size:13px;min-height:44px}
 .story-refined .site-header>.button{display:none}
 .story-refined .site-header .brand{font-size:16px;letter-spacing:-.6px}
 .story-refined .site-header .brand>svg{width:24px;height:24px}
 body.story-refined[data-layout="2"] .hero.orbit{padding:38px 22px 26px;min-height:min(100svh,820px);display:flex;flex-direction:column;justify-content:center;overflow:hidden}
 .story-refined .orbit .headline h1{font-size:clamp(32px,9.8vw,52px);line-height:1.18;letter-spacing:-.06em}
 .story-refined .orbit .headline p{font-size:14px;margin-top:18px;line-height:1.6}
 .story-refined .orbit .actions{margin-top:19px;gap:22px}
 .story-refined .orbit .actions .button{min-height:46px;padding:12px 22px}
 .story-refined .hero-stage{position:relative;flex:none;width:100%;max-width:430px;height:354px;margin:29px auto 0}
 body.story-refined[data-layout="2"] .orbit .scene-orbit{position:relative;width:100%;height:100%;left:auto;top:auto;margin:0;transform:none}
 .story-refined .scene-orbit:before,.story-refined .hero .receivers,.story-refined .hero .wires{display:none}
 .story-refined .scene-orbit .phone-position{left:0;top:49px;width:146px;transform:rotate(-5deg)}
 .story-refined .source-phone{width:146px;height:244px;padding:20px 9px 12px;border-radius:24px;box-shadow:6px 9px 0 #35213e20}
 .story-refined .phone-app{font-size:10px;letter-spacing:-.2px}
 .story-refined .incoming{padding:11px 7px}
 .story-refined .incoming strong{font-size:25px;letter-spacing:.2px}
 .story-refined .sending{font-size:9px;gap:4px}
 .story-refined .orbit-ring{left:-44px;top:34px;width:280px;height:280px;background:var(--lime)}
 .story-refined .orbit-note{display:block;left:10px;top:313px;font-size:22px;line-height:1.15;white-space:nowrap;z-index:4}
 .story-refined .orbit-note br{display:none}
 .mobile-destinations{display:flex;position:absolute;right:0;top:0;width:46%;height:327px;flex-direction:column;justify-content:space-between;z-index:4}
 .mobile-display{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;width:100%;height:94px;border:3px solid var(--ink);border-bottom-width:7px;border-radius:9px;background:var(--cream);color:var(--ink);padding:0;box-shadow:3px 5px 0 #35213e15;touch-action:manipulation}
 .mobile-display:before{content:'';position:absolute;bottom:-16px;width:32px;height:8px;border-bottom:4px solid var(--ink);border-left:7px solid transparent;border-right:7px solid transparent}
 .mobile-display:after{content:'';position:absolute;left:-24px;top:41px;width:16px;height:6px;border-radius:5px;background:var(--cream);opacity:.8}
 .mobile-display-label{display:flex;align-items:center;justify-content:center;gap:5px;width:100%;height:24px;font-size:11px;font-weight:600;background:#f4e2d8;border-radius:4px 4px 0 0}
 .mobile-display-label i{width:4px;height:4px;border-radius:50%;background:var(--ink)}
 .mobile-display strong{display:block;font:700 clamp(20px,5.8vw,27px)/1.25 Consolas,monospace;letter-spacing:2px;margin-top:3px}
 .mobile-display-state{font-size:9px;line-height:1.5;color:#6e586b}
 .mobile-display[data-ready=true] .mobile-display-state{color:#395317}
 .mobile-display[data-ready=true] .mobile-display-label i{background:#6b861f}
 .mobile-display:active{background:var(--lime)}
 .story-refined .feature-story{padding:46px 0 40px;scroll-margin-top:62px;border-radius:32px 32px 0 0;position:relative}
 .story-refined .feature-intro{padding:0 24px;max-width:540px;margin:auto}
 .story-refined .feature-intro h2{font-size:38px;line-height:1.15;letter-spacing:-.05em}
 .story-refined .feature-tabs{display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:8px;padding:10px 24px;margin:20px auto 12px;max-width:540px}
 .story-refined .feature-tabs::-webkit-scrollbar,.feature-chapters::-webkit-scrollbar,.mobile-template-strip::-webkit-scrollbar{display:none}
 .story-refined .feature-tabs a{font-size:13px;line-height:1;padding:13px 15px;border-radius:22px;border:1px solid #35213e26;min-height:42px;flex-shrink:0}
 .story-refined .feature-tabs a.active{background:var(--ink);color:var(--cream);border-color:var(--ink)}
 .story-refined .feature-tabs a span{display:none}
 .story-refined .feature-walkthrough{display:block;max-width:540px}
 .story-refined .feature-stage{display:none}
 .story-refined .feature-chapters{display:flex;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;align-items:stretch}
 .story-refined .feature-chapter{flex:0 0 100%;min-width:0;min-height:0;display:block;scroll-snap-align:start;padding:14px 24px 10px;scroll-margin:0}
 .story-refined .feature-chapter h3{font-size:26px;max-width:none;margin:0 0 10px;line-height:1.25;letter-spacing:-.04em}
 .story-refined .feature-chapter p{font-size:15px;max-width:none;line-height:1.65;min-height:50px}
 .story-refined .chapter-visual{display:block;position:relative;width:100%;margin:16px 0 0;padding:12px 8px 15px;border-radius:24px;background:#f8b59c}
 .story-refined .chapter-visual .ex-scene,.story-refined .chapter-visual .ex-art{height:365px}
 .chapter-visual .ex-phone{top:6px;left:3%;width:61%;padding:24px 13px 13px;border-width:3px;border-radius:17px;box-shadow:5px 6px 0 #35213e15}
 .chapter-visual .ex-phone:before,.chapter-visual .ex-settings:before,.chapter-visual .ex-filter-phone:before{content:'';position:absolute;top:7px;left:calc(50% - 11px);height:3px;width:22px;border-radius:3px;background:var(--ink);opacity:.6}
 .chapter-visual .ex-phone>span{font-size:12px}
 .chapter-visual .ex-phone>strong{font-size:27px;margin-top:9px}
 .chapter-visual .ex-monitor{top:154px;width:89%;border-width:3px;border-radius:12px;box-shadow:5px 6px 0 #35213e15}
 .chapter-visual .ex-monitor header{padding:9px 11px}
 .chapter-visual .ex-monitor-body{padding:13px 16px 15px}
 .chapter-visual .ex-code{font-size:30px;margin:10px 0}
 .chapter-visual .ex-copy-button{font-size:13px;min-height:42px;padding:10px 16px}
 .chapter-visual .ex-cursor{display:none}
 .chapter-visual .ex-transit{top:111px;font-size:16px;padding:7px 12px}
 .chapter-visual .ex-text .ex-phone{width:73%;padding:23px 12px 12px}
 .chapter-visual .ex-text .ex-monitor{top:183px}
 .chapter-visual .ex-text .ex-monitor-body{min-height:115px}
 .chapter-visual .ex-message{font-size:14px}
 .chapter-visual .ex-reply{margin-top:7px;padding:5px}
 .chapter-visual .ex-response{margin-top:8px;padding:7px 10px;font-size:12px}
 .chapter-visual .ex-settings{top:7px;left:3%;width:94%;border-width:3px;padding:24px 15px 15px;border-radius:17px;box-shadow:5px 6px 0 #35213e15}
 .chapter-visual .ex-eyebrow{font-size:13px;margin-bottom:12px}
 .chapter-visual .ex-choice{padding:10px 0;font-size:15px;gap:9px}
 .chapter-visual button.ex-choice{width:100%;background:transparent;color:inherit;text-align:left;border-radius:0}
 .chapter-visual button.ex-sim-card{color:inherit;font:inherit;min-width:0;touch-action:manipulation}
 .chapter-visual button.ex-choice:active,.chapter-visual button.ex-sim-card:active{filter:brightness(.96)}
 .chapter-visual .ex-endpoints{top:242px;gap:10px}
 .chapter-visual .ex-mini-monitor{padding:14px 9px;border-width:3px}
 .chapter-visual .ex-mini-monitor>span{font-size:12px;margin-bottom:10px}
 .chapter-visual .ex-mini-monitor strong{font-size:22px}
 .chapter-visual .ex-muted strong{font-size:13px}
 .chapter-visual .ex-recipients .ex-transit{top:193px}
 .chapter-visual .ex-filter-phone{top:7px;padding:24px 12px 15px;border-width:3px;border-radius:17px;box-shadow:5px 6px 0 #35213e15}
 .chapter-visual .ex-keywords{margin-bottom:10px;gap:6px}
 .chapter-visual .ex-keywords b{font-size:12px;padding:6px 10px}
 .chapter-visual .ex-sms{font-size:12px;padding:12px 0}
 .chapter-visual .ex-sms b{font-size:11px}
 .chapter-visual .ex-filter-destination{top:258px;padding:12px}
 .chapter-visual .ex-filter-destination small{font-size:11px}
 .chapter-visual .ex-filters .ex-transit,.chapter-visual .ex-sim .ex-transit{top:202px}
 .chapter-visual .ex-sim-options{gap:10px}
 .chapter-visual .ex-sim-card{padding:12px 6px}
 .chapter-visual .ex-sim-inbox{font-size:10px;gap:5px}
 .story-refined #templates{height:auto;min-height:0;display:block;padding:34px 0 44px;overflow:hidden;scroll-margin-top:62px}
 .story-refined #templates .template-room,.story-refined #templates .story-ambient{display:none}
 .mobile-template-showcase{display:block;position:relative;z-index:2}
 .mobile-template-showcase h2{font-size:36px;line-height:1.2;letter-spacing:-.055em;padding:0 24px;margin:0 0 26px}
 .mobile-template-strip{display:flex;gap:14px;padding:0 24px 20px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-left:24px;scrollbar-width:none;overscroll-behavior-x:contain}
 .mobile-template-card{flex:0 0 88%;min-width:0;display:flex;flex-direction:column;background:var(--card-tone);border-radius:22px;scroll-snap-align:start;overflow:hidden;box-shadow:0 4px 0 #35213e12}
 .mobile-template-card img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;mix-blend-mode:multiply}
 .mobile-template-card span{font-size:17px;font-weight:700;letter-spacing:-.3px;padding:10px 22px 22px}
 .mobile-catalog-link{display:flex;margin:10px 24px 0;min-height:48px}
 .story-refined .download{padding:44px 24px 20px;border-radius:28px 28px 0 0}
 .story-refined .download h2{font-size:44px;line-height:1.2}
 .story-refined .download-actions{margin-top:23px;gap:12px}
 .story-refined .download .button{min-height:50px}
 .story-refined .download .qr-wrap{display:none}
 body.story-refined[data-layout="2"] footer{margin-top:32px;padding:20px 0 4px;font-size:12px}
 .story-refined .toast{max-width:calc(100vw - 30px);white-space:normal;text-align:center;bottom:24px}
}
@media(max-width:360px){
 body.story-refined[data-layout="2"] .hero.orbit{padding-left:16px;padding-right:16px;min-height:650px}
 .story-refined .scene-orbit .phone-position{width:132px}
 .story-refined .source-phone{width:132px;height:234px;padding-left:7px;padding-right:7px}
 .story-refined .incoming strong{font-size:23px}
 .story-refined .phone-app{font-size:9px}
 .story-refined .orbit-note{font-size:20px;left:0}
 .story-refined .site-header .nav-links{gap:10px}
 .story-refined .site-header .brand{font-size:14px}
 .story-refined .feature-chapter{padding-left:18px;padding-right:18px}
 .story-refined .feature-chapter h3{font-size:24px}
 .mobile-template-showcase h2{font-size:32px}
}
@media(max-width:360px) and (max-height:650px){
 body.story-refined[data-layout="2"] .hero.orbit{padding-top:24px;padding-bottom:20px;min-height:100svh}
 .story-refined .hero-stage{height:300px;margin-top:22px}
 .story-refined .scene-orbit .phone-position{top:40px}
 .story-refined .source-phone{height:210px;padding-top:16px}
 .story-refined .phone-app{margin-top:14px;margin-bottom:8px}
 .story-refined .incoming{padding-top:8px;padding-bottom:8px}
 .story-refined .sending{margin-top:10px}
 .story-refined .orbit-ring{width:240px;height:240px;top:27px}
 .story-refined .orbit-note{top:273px;font-size:18px}
 .mobile-destinations{height:275px}
 .mobile-display{height:80px}
 .mobile-display-label{height:21px}
 .mobile-display strong{font-size:20px;margin-top:1px}
 .mobile-display-state{font-size:8px}
}
