.home-demo{margin:38px 0 46px;padding:clamp(19px,4vw,42px);border:1px solid #e8dcc0;border-radius:30px;background:radial-gradient(ellipse at 78% 59%,#e4eee3 0,transparent 51%),#fff8e9;isolation:isolate;scroll-margin-top:20px;overflow:hidden}.home-demo-heading{max-width:770px}.home-demo-heading h2{font-size:clamp(28px,3.5vw,43px);line-height:1.15;margin:10px 0 14px;letter-spacing:-1px}.home-demo-heading h2 span{color:#14796e}.home-demo-heading>p{max-width:660px;font-size:16px;color:#526b60;line-height:1.6}.home-demo-route{list-style:none;padding:0;margin:26px 0 28px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}.home-demo-route li{position:relative;min-width:0}.home-demo-route button{position:relative;z-index:1;display:flex;gap:10px;align-items:center;justify-content:flex-start;min-height:64px;width:100%;border-radius:17px;border:1px solid #dbdfca;background:#fffdf6;font-size:13px;text-align:left;font-weight:850;padding:10px;color:#527265;transition:background .2s,box-shadow .2s}.demo-step-number{display:grid;place-items:center;flex-shrink:0;width:34px;height:34px;background:#edf1e3;border-radius:50%;color:#466b5a}.home-demo-route button[aria-current=step]{background:#14796e;border-color:#14796e;color:white;box-shadow:0 4px 0 #0a5e5522}.home-demo-route button[aria-current=step] .demo-step-number{background:#ffdc84;color:#684719}.home-demo-route button.demo-step-done .demo-step-number{background:#d6ebd4;color:#176455}.demo-route-arrow{position:absolute;right:-24px;top:-24px;width:49px;color:#ca932b;transform:rotate(9deg);z-index:2;pointer-events:none}.demo-route-arrow path{stroke-dasharray:110;animation:demo-arrow-draw .8s both}.home-demo-stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,340px);gap:clamp(20px,5vw,80px);align-items:center;max-width:950px;margin:auto}.demo-explanation{max-width:440px}.demo-place{display:inline-block;padding:7px 12px;border-radius:999px;background:#e6eddf;color:#466953;font-size:12px;font-weight:850}.demo-explanation h3{font-size:clamp(23px,3vw,32px);line-height:1.2;margin:17px 0 13px}.demo-explanation>p{font-size:16px;line-height:1.7}.demo-print-note{display:flex;gap:12px;align-items:center;background:#fffdf5;border:1px dashed #d7c594;border-radius:17px;padding:14px;margin-top:22px;font-size:14px}.demo-print-note>span{font-size:29px;color:#bf8a28}.demo-print-note p{line-height:1.55}.demo-desktop-hint{display:flex;gap:12px;align-items:center;margin-top:18px;color:#a47324;font-size:14px;font-weight:800}.demo-desktop-hint svg{width:76px;transform:rotate(15deg)}.demo-phone-wrap{width:100%;max-width:330px;justify-self:center;min-width:0}.demo-phone{position:relative;padding:11px 10px 7px;border:5px solid #27483f;border-radius:36px;background:#fdf9ee;box-shadow:0 2px 0 3px #d8dec8,0 20px 35px #1c4d3820;min-height:497px}.demo-phone::before{content:'';position:absolute;top:-1px;left:50%;transform:translateX(-50%);width:72px;height:15px;background:#27483f;border-radius:0 0 15px 15px}.demo-phone-top{display:flex;align-items:center;justify-content:space-between;color:#54735f;font-weight:900;font-size:13px;padding:8px 11px 10px}.demo-phone-top>span:last-child{color:#dda139}.demo-phone-screen{min-height:408px;animation:demo-content-in .3s ease-out}.demo-phone-home{width:64px;height:4px;border-radius:6px;background:#b2bfae;margin:12px auto 2px}.demo-phone-caption{text-align:center;color:#627365;font-size:11px;margin-top:16px;line-height:1.5}.demo-screen-tag{text-align:center;font-size:10px;text-transform:uppercase;letter-spacing:.8px;font-weight:850;color:#82906b;margin:3px 0 11px}.demo-story-art{position:relative;background-image:url('/assets/how-home-story.webp');background-size:300% 100%;background-repeat:no-repeat;aspect-ratio:1;max-height:274px;border-radius:18px;border:1px solid #ead8b6;overflow:hidden}.demo-art-0{background-position:0 50%}.demo-art-1{background-position:50% 50%}.demo-art-2{background-position:100% 50%}.demo-note-written{position:absolute;left:64%;top:76%;transform:rotate(-9deg);font-weight:900;font-size:clamp(17px,2vw,22px);color:#614621;letter-spacing:2px}.demo-phone h4{text-align:center;font-size:19px;line-height:1.25;margin:14px 5px 8px;letter-spacing:-.3px}.demo-mini-copy{font-size:12px;text-align:center;line-height:1.55;margin:8px 8px;color:#5e7164}.demo-paper-options{display:flex;flex-wrap:wrap;justify-content:center;gap:5px 10px;font-size:11px;font-weight:800;color:#6f7d60;margin:9px 0}.demo-luchik-message{display:flex;gap:8px;align-items:center;background:#e9f1e3;border-radius:14px;padding:10px;margin:6px 0 15px}.demo-luchik-message img{object-fit:contain;flex-shrink:0}.demo-luchik-message p{font-weight:800;font-size:14px;line-height:1.4}.demo-key-game{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:20px 4px 15px;background:radial-gradient(ellipse,#ead7a7,transparent 70%);min-height:200px}.demo-key-game button{padding:0;background:#fffaf0b5;border:1px solid #dfd4b7;border-radius:18px;min-width:0;min-height:140px;transition:transform .2s,box-shadow .2s}.demo-key-game button:hover{transform:translateY(-4px);box-shadow:0 6px 14px #ac8e4c33}.demo-key-game svg{width:100%;height:auto;max-height:160px;display:block}.demo-game-status{text-align:center;font-size:13px;font-weight:750;line-height:1.5;min-height:38px;margin:12px 5px;color:#53725e}.demo-screen-button{background:#14796e;color:#fffdf4;border-radius:13px;padding:11px 10px;min-height:44px;width:100%;font-weight:850;font-size:13px;margin-top:11px;box-shadow:0 3px 0 #0e5a461c}.demo-screen-button.secondary{background:#e9eedf;color:#365c4e}.demo-found-note{position:absolute;left:37%;top:54%;background:#ffe58f;box-shadow:1px 6px 18px #36362344;border-radius:2px 2px 12px 3px;padding:16px 18px;transform:rotate(-6deg);font-size:31px;font-weight:900;color:#795226;letter-spacing:5px;animation:demo-note-pop .4s ease-out}.demo-found-note small{display:block;letter-spacing:0;font-size:10px;margin-top:3px}.demo-sticky-reference{width:115px;margin:26px auto 22px;padding:14px 12px;background:#ffe4a0;box-shadow:2px 6px 10px #6a4b201e;transform:rotate(-5deg);color:#7d552a;font-size:28px;font-weight:900;letter-spacing:7px;text-align:center}.demo-sticky-reference span{display:block;font-size:10px;letter-spacing:0;margin-top:5px}[data-demo-code] label{display:block;font-size:12px;font-weight:800;margin:0 0 8px;text-align:center}[data-demo-code] input{width:100%;min-height:57px;border:2px solid #ccd9c6;border-radius:14px;text-align:center;background:#fffdf8;color:#245d4e;font-size:25px;letter-spacing:12px;padding:9px 0 9px 12px}.demo-navigation{display:flex;align-items:center;justify-content:center;gap:18px;margin:26px auto 0}.demo-navigation .btn{min-height:46px;padding:11px 19px;font-size:14px}.demo-back{min-height:44px;background:transparent;font-size:14px;font-weight:800;padding:10px;color:#446a59}.demo-navigation>span{font-size:12px;color:#6b7c63;white-space:nowrap}.demo-example-note{font-size:12px;color:#79816a;text-align:center;max-width:650px;margin:18px auto 0;line-height:1.6}.home-demo [hidden]{display:none!important}@keyframes demo-arrow-draw{from{stroke-dashoffset:110}to{stroke-dashoffset:0}}@keyframes demo-content-in{from{opacity:.3;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes demo-note-pop{from{opacity:0;transform:rotate(-12deg) scale(.7)}to{opacity:1;transform:rotate(-6deg) scale(1)}}
@media(max-width:760px){.home-demo{margin:25px 0 33px;border-radius:23px;padding:22px 16px}.home-demo-heading h2{font-size:30px}.home-demo-heading>p{font-size:14px}.home-demo-route{gap:5px;margin:24px 0}.home-demo-route button{flex-direction:column;justify-content:flex-start;gap:6px;padding:8px 3px;font-size:10px;text-align:center;min-height:90px;border-radius:12px;line-height:1.3}.demo-step-number{width:30px;height:30px;font-size:13px}.demo-route-arrow{width:26px;right:-14px;top:-17px}.home-demo-stage{grid-template-columns:minmax(0,1fr);gap:19px}.demo-explanation{max-width:none}.demo-explanation h3{font-size:24px;margin:11px 0 9px}.demo-explanation>p{font-size:14px;line-height:1.6}.demo-print-note{font-size:12px;margin-top:14px;padding:10px}.demo-desktop-hint{margin-top:6px;font-size:12px;justify-content:center}.demo-desktop-hint svg{width:40px;transform:rotate(60deg)}.demo-phone-wrap{max-width:290px}.demo-phone{min-height:483px;border-width:4px;border-radius:30px}.demo-story-art{max-height:250px}.demo-navigation{gap:10px;flex-wrap:wrap;margin-top:19px}.demo-navigation .btn{font-size:13px;padding:10px 13px}.demo-back{font-size:13px;padding:10px 4px}.demo-navigation>span{font-size:11px}.demo-example-note{font-size:11px}}
@media(prefers-reduced-motion:reduce){.home-demo *,.home-demo *::before,.home-demo *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.demo-route-arrow svg{display:block;width:100%;height:auto;overflow:visible}.demo-route-arrow{width:60px;right:-30px;top:-25px}@media(max-width:760px){.demo-route-arrow{width:32px;right:-17px;top:-18px}}

/* A small live example: the phone shares the desktop row with the explanation. */
.home-demo{display:grid;grid-template-columns:minmax(0,1fr) 240px;grid-template-areas:"heading phone" "route phone" "explanation phone" "navigation phone" "note phone";gap:12px 38px;align-items:start;margin:28px 0 32px;padding:24px 32px;border-radius:24px}
.home-demo-heading{grid-area:heading;max-width:620px}.home-demo-heading .eyebrow{font-size:10px;line-height:1.3;letter-spacing:1.3px}.home-demo-heading h2{font-size:28px;line-height:1.15;letter-spacing:-.7px;margin:6px 0}.home-demo-heading>p{font-size:14px;line-height:1.4}
.home-demo-route{grid-area:route;gap:12px;margin:12px 0 0}.home-demo-route button{flex-direction:column;justify-content:center;gap:3px;padding:6px 2px;min-height:56px;font-size:11px;line-height:1.2;text-align:center;border-radius:12px}.demo-step-number{width:24px;height:24px;font-size:12px}.demo-route-arrow{width:32px;right:-22px;top:-15px}
.home-demo-stage{display:contents}.demo-explanation{grid-area:explanation;max-width:none}.demo-place{padding:0;background:none;border-radius:0;font-size:11px;line-height:1.3;color:#61745d}.demo-explanation h3{font-size:21px;line-height:1.2;margin:5px 0 7px;letter-spacing:-.5px}.demo-explanation>p{font-size:14px;line-height:1.45;max-width:470px}.demo-print-note{border:0;background:none;border-radius:0;padding:0;margin:5px 0 0;gap:6px;font-size:12px}.demo-print-note>span{font-size:18px}.demo-print-note p{line-height:1.3}.home-demo:not([data-demo-step="0"]) .demo-print-note{display:none}.demo-desktop-hint{justify-content:flex-end;gap:8px;margin:7px 0 0;font-size:12px}.demo-desktop-hint svg{width:52px;transform:none}
.demo-phone-wrap{grid-area:phone;align-self:center;max-width:224px;width:224px}.demo-phone{height:400px;min-height:400px;display:grid;grid-template-rows:24px minmax(0,1fr) 8px;padding:12px 9px 7px;border-width:4px;border-radius:30px;box-shadow:0 1px 0 3px #d8dec8,0 12px 25px #1c4d3818}.demo-phone::before{width:58px;height:12px}.demo-phone-top{font-size:11px;padding:3px 7px 6px}.demo-phone-screen{min-height:0}.demo-phone-home{height:3px;width:52px;margin:4px auto 0}.demo-phone-caption{font-size:10px;line-height:1.3;margin-top:8px}
.demo-screen-tag{font-size:9px;letter-spacing:.3px;line-height:1.3;margin:3px 0 6px}.demo-story-art{width:174px;max-height:none;margin:0 auto;border-radius:13px}.demo-note-written{font-size:17px}.demo-phone h4{font-size:16px;line-height:1.2;margin:9px 0 6px}.demo-mini-copy{font-size:12px;line-height:1.4;margin:6px 0}.demo-paper-options{display:none}.demo-luchik-message{gap:5px;padding:7px;margin:5px 0 9px;border-radius:11px}.demo-luchik-message img{width:30px;height:30px}.demo-luchik-message p{font-size:12px;line-height:1.35}.demo-key-game{min-height:150px;padding:10px 0;gap:5px}.demo-key-game button{min-height:130px;border-radius:12px}.demo-key-game svg{max-height:125px}.demo-game-status{font-size:12px;line-height:1.4;min-height:34px;margin:8px 1px}.demo-screen-button{font-size:12px;line-height:1.3;padding:9px 6px;margin-top:8px;min-height:44px}.demo-found-note{font-size:24px;padding:10px 11px;letter-spacing:3px;left:34%;top:49%}.demo-found-note small{font-size:9px}.home-demo[data-demo-step="2"] .demo-mini-copy{display:none}.demo-sticky-reference{width:102px;font-size:24px;padding:10px;margin:12px auto 14px}.demo-sticky-reference span{font-size:10px}[data-demo-code] label{font-size:12px;margin-bottom:6px}[data-demo-code] input{min-height:48px;font-size:24px;padding:6px 0 6px 12px;border-radius:11px}
.demo-navigation{grid-area:navigation;justify-content:flex-start;margin:0;gap:12px;flex-wrap:nowrap}.demo-navigation .btn{font-size:13px;min-height:44px;padding:10px 14px}.demo-back{font-size:13px;min-height:44px;padding:9px 5px}.demo-navigation>span{font-size:11px}.demo-example-note{grid-area:note;text-align:left;font-size:11px;line-height:1.4;margin:0;max-width:470px}
@media(max-width:760px){
 .home-demo{grid-template-columns:minmax(0,1fr);grid-template-areas:"heading" "route" "explanation" "phone" "navigation" "note";gap:10px;margin:20px 0 25px;padding:15px 14px;border-radius:22px}
 .home-demo-heading .eyebrow{display:none}.home-demo-heading h2{font-size:23px;margin:5px 0;line-height:1.15}.home-demo-heading>p{font-size:12px;line-height:1.4}.home-demo-route{gap:6px;margin:7px 0 0}.home-demo-route button{font-size:10px;min-height:50px;padding:4px 1px;gap:2px}.demo-step-number{width:22px;height:22px;font-size:11px}.demo-route-arrow{width:23px;right:-15px;top:-12px}
 .demo-explanation{display:grid;grid-template-columns:minmax(0,1fr);gap:0;min-height:0}.demo-place{display:none}.demo-explanation h3{grid-column:1/-1;font-size:17px;line-height:1.2;margin:3px 0 5px}.demo-explanation>p{grid-column:1/-1;font-size:12px;line-height:1.4}.demo-print-note{font-size:11px;margin-top:4px}.demo-print-note>span{font-size:14px}.demo-desktop-hint{grid-column:1;justify-content:center;gap:5px;margin:4px 0 0;font-size:10px}.demo-desktop-hint svg{order:-1;width:22px;transform:rotate(65deg)}
 .demo-phone-wrap{width:220px;max-width:100%}.demo-phone{height:384px;min-height:384px}.demo-story-art{width:166px}.demo-phone-caption{display:none}.demo-phone h4{font-size:15px}.demo-navigation{justify-content:center;gap:8px}.demo-navigation .btn{padding:9px 12px;font-size:12px}.demo-back{font-size:12px}.demo-example-note{font-size:10px;line-height:1.4;text-align:center}
}
@media(min-width:761px) and (max-width:950px){.home-demo{gap:12px 22px;padding:22px;grid-template-columns:minmax(0,1fr) 224px}.home-demo-heading h2{font-size:25px}.home-demo-route{gap:5px}.demo-route-arrow{right:-16px;width:25px}.demo-navigation{gap:6px}.demo-navigation .btn{font-size:12px;padding:9px 11px}}
