.scene-scroll{height:340svh;position:relative;--shadow-x:0px;--shadow-y:0px;--shadow-r:0deg;--look-x:0deg;--look-y:0deg}
.pitch-mobile-description{display:none}
.scene-stage .phone-conversation .bubble{box-shadow:none}

.scene-stage{position:sticky;top:0;height:100vh;height:100lvh;min-height:480px;overflow:hidden;isolation:isolate;background:#eff5fa}
.scene-surround{position:absolute;inset:0;z-index:0;background:radial-gradient(ellipse at 75% 0%,#b7dbe9a6,transparent 65%),radial-gradient(ellipse at 10% 80%,#d4e7f1,transparent 50%),#eaf3f8}

.scene-frame,.scene-content{position:absolute;inset:0;background:#fff;transform-origin:center center}.scene-frame{z-index:2;overflow:hidden;will-change:clip-path}.scene-content{will-change:transform}.scene-desk{position:absolute;inset:0;overflow:hidden;will-change:opacity}.desk-photo{position:absolute;inset:0;background:url("assets/octomed-white-desk.jpg") center/cover}.desk-shade{position:absolute;inset:0;background:linear-gradient(180deg,#ffffffa6,transparent 22%),linear-gradient(90deg,#ffffff40,transparent 45%);pointer-events:none}

.site-header{position:absolute;top:0;left:0;right:0;z-index:12;color:var(--navy)}.navigation{display:flex;align-items:center;height:90px;padding:0 4%;gap:37px}.site-header .brand{font-size:28px;font-weight:550}.site-header .brand img{width:34px;height:34px;padding:6px;box-sizing:content-box;border-radius:13px;background:var(--navy)}.nav-links{display:flex;align-items:center;gap:27px;font-size:12px;font-weight:500;opacity:.92}.nav-links a:hover{opacity:.65}.nav-cta{margin-left:auto;background:var(--navy);color:#fff;padding:11px 18px;font-size:11px;gap:22px}.nav-cta span{font-size:15px}.menu-toggle{display:none;background:#1e2a520c;width:36px;height:36px;border-radius:50%;padding:10px;color:var(--navy)}.menu-toggle span{display:block;height:1px;background:currentColor;margin:4px 0}.mobile-menu[hidden]{display:none}.mobile-menu{position:absolute;top:77px;left:22px;right:22px;padding:18px 22px;background:#fff;color:var(--ink);border-radius:16px;box-shadow:0 15px 30px #10202520;display:flex;flex-direction:column;gap:0}.mobile-menu a,.mobile-menu button{background:none;text-align:left;padding:13px 0;font-size:15px}
.scene-intro{position:absolute;left:4%;top:35%;width:33%;color:var(--navy);z-index:8;will-change:opacity,transform}.scene-intro h1{font-size:clamp(39px,3.6vw,61px);font-weight:550;letter-spacing:-2px;line-height:1.06}.scene-intro p{font-size:clamp(18px,1.5vw,25px);line-height:1.4;margin-top:24px;color:#5e6b75}.scene-intro .button{margin-top:90px;background:var(--navy);color:#fff;font-size:13px;padding:17px 24px}
.scene-product{position:absolute;left:50%;top:51%;width:304px;height:630px;transform:translate(-50%,-50%);transform-origin:center;will-change:transform,left,top}.scene-product{z-index:5;transform-style:preserve-3d}.phone{width:304px;height:630px;border-radius:47px;padding:7px;background:linear-gradient(115deg,#181e20,#6d7375 18%,#1b2426 23%,#080c0e 74%,#8b9393 90%,#202525);box-shadow:inset 0 0 0 1px #d0d7d8,inset 0 0 0 3px #242b30,0 1px 2px #0005;position:relative;transform:translateZ(1px)}.phone:before{content:"";position:absolute;left:-2px;top:100px;width:2px;height:61px;background:linear-gradient(#4c5456,#121819);border-radius:2px}.phone:after{content:"";position:absolute;right:-2px;top:133px;width:2px;height:45px;background:#283132;border-radius:2px}.phone-screen{background:#f9fafa;position:relative;width:100%;height:100%;border-radius:40px;overflow:hidden}.phone-status{height:35px;display:flex;align-items:center;justify-content:space-between;padding:4px 22px 0;font-size:9px;position:relative;background:#fff;z-index:4;color:#202528}.phone-status>b{font-weight:650}.phone-status>span:last-child{font-size:9px;letter-spacing:-.8px}.phone-island{position:absolute;top:7px;left:50%;transform:translateX(-50%);width:85px;height:23px;border-radius:20px;background:#07090a}.phone-island:after{content:"";position:absolute;right:9px;top:8px;width:7px;height:7px;background:#111b25;border-radius:50%;box-shadow:inset 0 0 2px #385069}.phone-homebar{position:absolute;width:94px;height:4px;background:#1c2325;border-radius:5px;left:50%;transform:translateX(-50%);bottom:7px;z-index:8}.phone-chat{position:absolute;top:35px;bottom:20px;left:0;right:0;display:flex;flex-direction:column;background:#f0f1ec}.chat-header{display:flex;gap:9px;align-items:center;padding:12px 11px;background:#fff;border-bottom:1px solid #e9eded}.chat-back{font-size:29px;color:#637b78;line-height:20px}.chat-header .clinic-avatar{width:29px;height:29px;font-size:17px}.chat-header b{font-size:12px;font-weight:550;display:block}.chat-header small{font-size:8px;color:#85948e;display:block;margin-top:3px}.chat-header .icon{margin-left:auto;width:17px;height:17px;color:#778c86}.phone-conversation{padding:13px 11px 10px;display:flex;flex-direction:column;gap:9px;flex:1}.phone-conversation .bubble{font-size:11px;line-height:1.4;padding:9px 10px 5px;max-width:88%}.phone-conversation .bubble small{font-size:7px}.phone-conversation .chat-date{font-size:7px;padding:3px 7px}.appointment{display:flex;gap:9px;align-items:center;align-self:center;background:#fff;border-radius:8px;padding:11px 17px;margin-top:5px;box-shadow:0 3px 9px #34494108}.appointment .icon{width:19px;height:19px;color:#77a68f}.appointment b{font-size:10px;font-weight:500;display:block}.appointment span{display:block;font-size:8px;color:#919d98;margin-top:3px}.chat-composer{display:flex;align-items:center;gap:10px;background:#f8faf9;padding:8px 11px;color:#8d9c95}.chat-composer>span{font-size:24px;line-height:25px}.chat-composer>div{flex:1;padding:7px 10px;background:#fff;border-radius:20px;border:1px solid #e9eeeb;font-size:10px;display:flex;justify-content:space-between}.chat-composer .icon{width:15px;height:15px}
.scene-training{position:absolute;top:43px;bottom:18px;left:0;right:0;background:#fff;border-radius:24px 24px 0 0;z-index:6;padding:16px 19px 12px;opacity:0;transform:translateY(100%);will-change:transform,opacity}.sheet-handle{position:absolute;left:50%;top:6px;width:27px;height:3px;border-radius:5px;background:#e1e6e9;transform:translateX(-50%)}.training-brand{display:flex;align-items:center;gap:8px;font-size:9px;color:#90999e;margin:5px 0 20px}.training-brand img{width:25px;height:25px;border-radius:8px}.scene-training h3{font-size:29px;line-height:1.06;font-weight:550;letter-spacing:-1px}.scene-training>p:not(.training-ready){font-size:11px;color:#929a9f;line-height:1.5;margin-top:10px;margin-bottom:22px}.training-field{margin:16px 0}.training-field>span{font-size:7px;color:#98a1a8;letter-spacing:.7px;display:block;margin-bottom:7px}.training-field strong{display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:400;background:#f7f9fa;padding:12px 11px;border-radius:7px;color:#525c64;line-height:1.3}.training-field i{font-style:normal;color:#61a295}.training-chips{display:flex;gap:4px}.training-chips b{font-size:8px;font-weight:400;background:#f0f5f7;border-radius:5px;padding:8px;color:#7b8d97}.training-progress{height:3px;background:#eef3f5;border-radius:5px;margin-top:21px;overflow:hidden}.training-progress>span{display:block;height:100%;background:#9ecdc7;transform:scaleX(var(--training-progress,0));transform-origin:left}.training-ready{font-size:8px;color:#9aaba9;text-align:center;margin:8px 0 18px}.training-cta{width:100%;display:flex;justify-content:space-between;padding:12px 13px;background:var(--navy);color:white;border-radius:20px;font-size:10px;line-height:1.3}.training-caption{font-size:7px;color:#a5adb4;display:block;text-align:center;margin-top:10px}
.scene-pitch{position:absolute;inset:0;pointer-events:none;z-index:4;opacity:0}.pitch-left,.pitch-right{position:absolute;top:42.5%;width:27%;}.pitch-left{right:calc(50% + 182px);text-align:right}.pitch-right{left:calc(50% + 182px)}.scene-pitch h2{font-size:clamp(54px,5.4vw,85px);font-weight:550;letter-spacing:-3.6px;line-height:1}.scene-pitch p{font-size:18px;line-height:1.5;color:#959ba1;margin-top:19px}.scene-octopus{position:absolute;left:74%;top:72%;width:225px;height:225px;z-index:4;opacity:0;pointer-events:none;will-change:transform,opacity}
.scene-aside{position:absolute;right:5%;bottom:16%;color:#66767c;font-size:14px;line-height:1.5;z-index:7;display:flex;gap:22px;align-items:center}.scene-aside a{display:grid;place-items:center;border:1px solid #1e2a5240;border-radius:50%;width:37px;height:37px;font-size:18px}.scene-example{position:absolute;bottom:5%;left:50%;transform:translateX(-50%);font-size:8px;letter-spacing:.5px;color:#ffffff9e;z-index:7}.motion-toggle{position:absolute;z-index:15;bottom:22px;left:4%;display:flex;align-items:center;gap:8px;background:transparent;color:#fff9;padding:8px 0;font-size:9px;letter-spacing:.2px}.motion-toggle>span:first-child{font-size:12px}.scene-scroll .scene-training{pointer-events:none}
@media(min-width:1700px){.scene-intro .button{margin-top:100px}.pitch-left{right:calc(50% + 215px)}.pitch-right{left:calc(50% + 215px)}}
@media(max-height:760px) and (min-width:901px){.scene-intro{top:34%}.scene-intro h1{font-size:46px}.scene-intro p{font-size:19px;margin-top:20px}.scene-intro .button{margin-top:50px}.scene-pitch h2{font-size:65px}.scene-pitch p{font-size:16px}.scene-octopus{width:175px;height:175px;top:74%}}
@media(max-width:1100px) and (min-width:901px){.navigation{gap:25px}.nav-links{gap:18px;font-size:11px}.scene-intro h1{font-size:37px;letter-spacing:-1.5px}.scene-intro{width:34%;left:3%}.scene-intro p{font-size:17px}.scene-intro .button{margin-top:75px;padding:14px 19px;font-size:12px}.pitch-left{right:calc(50% + 165px)}.pitch-right{left:calc(50% + 165px)}.scene-pitch h2{font-size:53px}.scene-pitch p{font-size:16px}.scene-aside{font-size:12px;right:4%}.scene-octopus{width:185px;height:185px;left:76%;top:71%}}
@media(max-width:900px){.scene-scroll{height:255svh}.scene-stage{min-height:520px}.navigation{height:82px;padding:0 25px;gap:15px}.nav-links{display:none}.nav-cta{font-size:10px;padding:10px 14px;gap:15px}.site-header .brand{font-size:25px}.site-header .brand img{width:31px;height:31px}.menu-toggle{display:block;flex-shrink:0}.desk-photo{background-position:82% center}.desk-shade{background:linear-gradient(0deg,#fffffff2 0%,#ffffffe0 15%,#ffffff80 30%,transparent 65%),linear-gradient(180deg,#ffffffb0,transparent 22%)}.scene-intro{top:auto;left:27px;bottom:62px;width:calc(100% - 54px);max-width:520px}.scene-intro h1{font-size:41px;letter-spacing:-1.6px;line-height:1.04}.scene-intro h1 br:first-of-type{display:none}.scene-intro p{font-size:16px;line-height:1.4;margin-top:17px}.scene-intro .button{font-size:12px;padding:14px 20px;margin-top:24px;gap:24px}.scene-aside{display:none}.scene-example{display:none}.motion-toggle{left:27px;bottom:14px;font-size:8px}.scene-pitch{z-index:7}.pitch-left,.pitch-right{top:12.5%;width:auto;text-align:left}.pitch-left{right:50.5%}.pitch-right{left:51%}.scene-pitch h2{font-size:40px;letter-spacing:-1.9px}.scene-pitch p{font-size:13px;margin-top:12px;line-height:1.5}.pitch-left p{text-align:right}.scene-octopus{width:180px;height:180px;left:76%;top:74%}}
@media(max-width:460px){.navigation{padding:0 20px;gap:10px;height:77px}.site-header .brand{font-size:23px;gap:7px}.site-header .brand img{width:29px;height:29px}.nav-cta{font-size:9px;padding:10px 13px;gap:12px}.nav-cta span{font-size:13px}.menu-toggle{width:30px;height:30px;padding:8px}.scene-intro{left:23px;bottom:60px;width:calc(100% - 46px)}.scene-intro h1{font-size:36px;letter-spacing:-1.3px}.scene-intro p{font-size:15px;margin-top:16px}.scene-intro .button{font-size:11px;margin-top:22px;padding:14px 19px}.scene-pitch h2{font-size:35px;letter-spacing:-1.5px}.scene-pitch p{font-size:12px;margin-top:11px}.pitch-left{right:51%}.pitch-right{left:51%}.scene-octopus{width:145px;height:145px}.motion-toggle{left:23px}}
@media(max-height:700px) and (max-width:900px){.scene-intro h1{font-size:31px}.scene-intro p{font-size:14px;margin-top:12px}.scene-intro .button{margin-top:18px;padding:12px 18px}.scene-intro{bottom:51px}.pitch-left,.pitch-right{top:9%}.scene-pitch h2{font-size:31px}.scene-pitch p{font-size:11px;margin-top:9px}.scene-octopus{width:125px;height:125px}.navigation{height:67px}}
.motion-reduced .scene-scroll{height:max(200lvh,960px)}

@media(max-width:900px){.motion-reduced .scene-scroll{height:max(200lvh,1040px)}.desk-photo{transition:none}}
@media(max-width:460px){.scene-intro h1{font-size:32px}.scene-intro p{font-size:15px}.phone-conversation .bubble{font-size:12px;line-height:1.42}.phone-conversation{gap:8px}}
@media(max-width:900px) and (min-height:521px){.pitch-left p,.pitch-right p{display:none}.scene-pitch .pitch-mobile-description{display:block;position:absolute;top:18%;left:0;width:100%;text-align:center;font-size:12px;line-height:1.5;margin-top:0}.scene-pitch .pitch-left,.scene-pitch .pitch-right{top:12%}}
@media(max-width:900px) and (max-height:520px){.scene-scroll{height:310svh}.scene-stage{min-height:100svh}.motion-reduced .scene-scroll{height:200svh}.scene-intro{width:45%;bottom:56px}.scene-intro h1{font-size:26px}.scene-intro p{font-size:12px}.scene-intro .button{font-size:10px;margin-top:15px}.pitch-left,.pitch-right{top:35%;}.pitch-left{right:calc(50% + 110px)}.pitch-right{left:calc(50% + 110px)}.scene-pitch h2{font-size:33px}.scene-pitch p{font-size:12px}.scene-octopus{width:105px;height:105px}.navigation{height:56px}}

@media(max-width:900px) and (max-height:520px){.scene-desk .desk-photo{background-position:center}.scene-desk .desk-shade{background:linear-gradient(90deg,#ffffffb0,transparent 60%),linear-gradient(180deg,#ffffffb0,transparent 25%)}}

.phone-status .phone-indicators{display:flex;gap:4px;align-items:center;letter-spacing:0}
.phone-indicators svg{display:block;height:9px;fill:currentColor}
.phone-indicators .status-signal{width:13px}.phone-indicators .status-wifi{width:12px}.phone-indicators .status-battery{width:21px}
.scene-intro p.early-access-note{font-size:12px;line-height:1.5;max-width:350px;margin-top:17px;color:#64727c}
.early-access-note strong{font-weight:600;color:var(--navy)}
.scene-intro .button{margin-top:55px}
@media(max-height:760px) and (min-width:901px){.scene-intro .button{margin-top:30px}.scene-intro p.early-access-note{font-size:11px;margin-top:12px}}
@media(max-width:900px){.scene-intro .button{margin-top:19px}.scene-intro p.early-access-note{font-size:10px;max-width:300px;margin-top:12px}.scene-intro{bottom:48px}}
@media(max-width:460px){.nav-cta{font-size:9px;padding:10px 12px;gap:8px}.scene-intro h1{font-size:31px}.scene-intro>p:not(.early-access-note){margin-top:12px}.scene-intro p.early-access-note{max-width:310px;font-size:10px;line-height:1.45}}
@media(max-height:700px) and (max-width:900px){.scene-intro h1{font-size:28px}.scene-intro .button{margin-top:13px;padding:11px 17px}.scene-intro p.early-access-note{margin-top:10px;font-size:9px}.scene-intro{bottom:44px}}
@media(max-width:900px) and (max-height:520px){.scene-intro{bottom:42px}.scene-intro h1{font-size:25px}.scene-intro p.early-access-note{max-width:310px;font-size:9px}.scene-intro .button{margin-top:14px}}

/* Sizes for the approved mascot pair. */
.scene-octopus{width:220px;height:220px}
.scene-octopus-dark{width:180px;height:180px}
@media(max-width:1100px){.scene-octopus{width:180px;height:180px}.scene-octopus-dark{width:160px;height:160px}}
@media(max-width:900px){.scene-octopus{width:124px;height:124px}.scene-octopus-dark{width:112px;height:112px}}
@media(max-width:900px) and (max-height:520px){.scene-octopus{width:100px;height:100px}.scene-octopus-dark{width:90px;height:90px}}


.scene-aside{color:#263d52;font-size:15px;font-weight:500;bottom:13%;right:4%;padding:12px 16px;background:#ffffffc9;border-radius:12px}
.scene-aside a{border-color:#647681;color:#263d52}
.scene-intro p.early-access-note{color:#43556a;background:#fffffff2;border-radius:9px;padding:11px 13px;font-size:12px;line-height:1.55;max-width:360px}
.scene-pitch p{color:#68727e}
@media(max-width:900px){.scene-intro p.early-access-note{background:transparent;padding:0;max-width:310px;font-size:10px;color:#45586a}.scene-pitch p{color:#677581}}
@media(max-width:900px) and (max-height:700px){.scene-intro p.early-access-note{font-size:9px}}

@media(max-width:900px){.scene-intro p.early-access-note{font-size:12px;line-height:1.45;max-width:335px}.scene-intro{bottom:47px}}
@media(max-width:900px) and (max-height:520px){.scene-intro p.early-access-note{font-size:11px;max-width:340px}.scene-intro{bottom:44px}.scene-intro .button{margin-top:10px}}


/* Fixed light textures move independently; no blur is recomputed during scroll. */
.scene-product{left:0;top:0;transform-style:flat;will-change:auto}
.phone{background:conic-gradient(from 18deg,#adb6bd,#eef1f4 12%,#4f5963 24%,#bac3ca 40%,#65717a 62%,#dce3e7 76%,#626e76 90%,#adb6bd);padding:7px;box-shadow:inset 0 0 0 1px #53606a,inset 0 0 0 3px #151b22;transform:none}
.phone-screen{box-shadow:0 0 0 2px #131922,inset 0 0 0 1px #fff8}
.phone-glare{position:absolute;inset:0;z-index:9;pointer-events:none;border-radius:40px;background:linear-gradient(118deg,#ffffff26,#ffffff09 22%,transparent 42%)}
.phone-shadow{position:absolute;left:0;top:0;width:304px;height:630px;z-index:3;pointer-events:none;transform-origin:center}
.ps{position:absolute;inset:0;border-radius:47px;background:rgb(48 44 40);opacity:0}
.ps-contact{filter:blur(2px)}.ps-b8{filter:blur(8px)}.ps-b22{filter:blur(22px)}.ps-b48{filter:blur(48px)}.ps-b90{filter:blur(90px)}.ps-float{filter:blur(40px);background:rgb(30 42 82)}
.scene-desk{transform-origin:50% 51%}
.desk-wash-edge,.desk-wash{position:absolute;inset:0;z-index:2;pointer-events:none;opacity:0}
.desk-wash-edge{background:radial-gradient(ellipse 65% 70% at 50% 51%,transparent 24%,#fff 100%)}.desk-wash{background:#fff}



.scene-octopus{left:0;top:0;width:184px;height:184px;will-change:auto}
.scene-octopus-dark{width:166px;height:166px}
.scene-frame,.scene-content,.scene-desk,.scene-intro,.scene-training{will-change:auto}
@media(prefers-reduced-motion:reduce){}
@media(max-width:1100px){.scene-octopus{width:164px;height:164px}.scene-octopus-dark{width:148px;height:148px}}
@media(max-width:900px){.scene-octopus{width:118px;height:118px}.scene-octopus-dark{width:108px;height:108px}}
@media(max-width:900px) and (max-height:520px){.scene-octopus{width:98px;height:98px}.scene-octopus-dark{width:90px;height:90px}}

/* Visual 2.0 / F1: full-screen sheet presentation, with the status bar above the scrim. */
.phone-screen{background:#f9fafa}
.phone-chat{top:34px;border-radius:12px 12px 0 0;transform-origin:50% 0;z-index:1}
.sheet-scrim{position:absolute;inset:0;background:#000;opacity:0;z-index:5;pointer-events:none;border-radius:40px}
.phone-status{background:transparent;color:color-mix(in srgb,#fff calc(var(--present,0)*100%),#202528);z-index:7}
.phone-status::before{content:'';position:absolute;inset:0;background:#fff;opacity:calc(1 - var(--present,0));z-index:-1}
.phone-screen::after{content:'';position:absolute;inset:auto 0 0;height:20px;background:#f9fafa;opacity:calc(1 - var(--present,0));pointer-events:none}
.phone-homebar{background:color-mix(in srgb,#fff calc(var(--present,0)*100%),#1c2325)}
.motion-toggle{color:#3f5160}
/* Fill the large viewport; keep content clear of mobile browser controls. */
.scene-pitch{bottom:auto;height:100svh;min-height:480px}
@media(max-width:900px){
  .scene-stage{--safe-extra:max(0px,calc(100lvh - 100svh))}
  .scene-pitch{min-height:520px}
  .pitch-left{right:51%}
  .scene-intro{bottom:calc(47px + var(--safe-extra))}
  .motion-toggle{bottom:calc(14px + var(--safe-extra))}
}
@media(max-width:900px) and (max-height:700px){.scene-intro{bottom:calc(44px + var(--safe-extra))}}
@media(max-width:900px) and (max-height:520px){
  .scene-pitch{min-height:100svh}
  .pitch-left{right:calc(50% + 110px)}
  .scene-intro{bottom:calc(44px + var(--safe-extra))}
}

/* Visual 2.0: light, line choreography, training and navy framing. */
.desk-light{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.scene-surround{background:radial-gradient(ellipse at 0 0,rgb(37 185 176 / .16),transparent 55%),radial-gradient(ellipse at 100% 100%,rgb(118 191 238 / .16),transparent 55%),linear-gradient(135deg,#1e2a52,#172042)}
.scene-surround::after{content:'';position:absolute;inset:0;background:radial-gradient(circle,rgb(255 255 255 / .14) .8px,transparent 1px) 0 0/18px 18px;mask-image:radial-gradient(ellipse,transparent 58%,#000 100%)}
.frame-shade{position:absolute;z-index:1;inset:0;pointer-events:none;opacity:0;box-shadow:0 30px 80px -20px rgb(4 10 30 / .55),0 0 0 1px rgb(255 255 255 / .15)}
.frame-corners{position:absolute;z-index:3;inset:0;pointer-events:none}
.frame-corners i{position:absolute;width:22px;height:22px;border-color:rgb(255 255 255 / .35);border-style:solid;border-width:1.5px 0 0 1.5px;opacity:0;transform:scale(.45);transition:opacity .2s,transform .2s}
.frame-corners i:nth-child(1){left:0;top:0;transform-origin:0 0}.frame-corners i:nth-child(2){right:0;top:0;rotate:90deg;transform-origin:50% 50%}.frame-corners i:nth-child(3){right:0;bottom:0;rotate:180deg}.frame-corners i:nth-child(4){left:0;bottom:0;rotate:270deg}
.frame-corners.is-drawn i{opacity:1;transform:scale(1);transition:transform .9s var(--ease-out-expo),opacity .9s}
.frame-corners i:nth-child(2){transition-delay:80ms}.frame-corners i:nth-child(3){transition-delay:160ms}.frame-corners i:nth-child(4){transition-delay:240ms}
.line{display:inline-block;overflow:hidden;padding:.06em .04em .12em;margin:-.06em -.04em -.12em;vertical-align:bottom}.line-inner{display:inline-block}
.scene-pitch{opacity:1}
.rise-mask{display:inline-block;overflow:hidden;vertical-align:bottom;padding:.1em .05em .14em;margin:-.1em -.05em -.14em}
.rise{display:inline-block;transform:translateY(112%) rotate(5deg);transform-origin:0 100%;transition:transform .32s cubic-bezier(.5,0,.75,0)}
.pitch-left .rise{transform:translateY(112%) rotate(-5deg);transform-origin:100% 100%}
.scene-pitch.is-open h2 .rise,.scene-pitch.is-told p .rise{transform:none;transition:transform 1s var(--ease-out-expo) calc(var(--i,0)*85ms)}
.scene-octopus::before{content:'';position:absolute;inset:8%;border-radius:50%;z-index:-1;background:radial-gradient(circle,rgb(37 185 176 / .34),rgb(118 191 238 / .16) 45%,transparent 70%);filter:blur(10px);opacity:0;transform:scale(.85);transition:opacity .6s,transform .6s var(--ease-out-soft)}
.scene-octopus.is-thinking::before{opacity:1;animation:octo-aura 1.8s ease-in-out infinite alternate}
@keyframes octo-aura{from{transform:scale(1)}to{transform:scale(1.12)}}
.scene-octopus.is-out{pointer-events:auto;cursor:pointer}
.scene-octopus .mascot-render{filter:drop-shadow(0 14px 16px rgb(30 42 82 / .14))}
.octo-confetti{position:absolute;left:50%;top:18%;border-radius:50%;pointer-events:none}
.training-field .field-text{display:inline-block;clip-path:inset(0);transition:clip-path .6s var(--ease-out-expo)}
.training-field i,.training-chips b,.training-ready{transition:transform .5s var(--ease-spring),opacity .45s}
.scene-training[data-step="0"] .training-field i{opacity:0;transform:scale(.3)}
.scene-training[data-step="0"] .training-chips b,.scene-training[data-step="1"] .training-chips b{opacity:0;transform:translateY(6px) scale(.92)}
.training-chips b:nth-child(2){transition-delay:90ms}.training-chips b:nth-child(3){transition-delay:180ms}
.scene-training[data-step="0"] .field-text,.scene-training[data-step="1"] .field-text,.scene-training[data-step="2"] .field-text,.scene-training[data-step="3"] .training-field:nth-of-type(5) .field-text{clip-path:inset(0 100% 0 0)}
.scene-training[data-step] .training-ready{opacity:0;transform:translateY(4px)}
.scene-training[data-step="5"] .training-ready{opacity:1;transform:none}
.scene-training[data-step="4"] .training-field:nth-of-type(5) i,.scene-training[data-step="5"] .training-field:nth-of-type(5) i{color:var(--mint);animation:training-heart .65s var(--ease-spring)}
@keyframes training-heart{50%{transform:scale(1.35)}}
.scene-training[data-step="5"] .training-cta{animation:training-pulse .9s ease-out}
@keyframes training-pulse{0%{box-shadow:0 0 0 0 rgb(37 185 176 / .42)}100%{box-shadow:0 0 0 10px rgb(37 185 176 / 0)}}
.scene-training.is-rewinding *{transition-duration:150ms;transition-delay:0ms;animation:none}
.phone-conversation{justify-content:flex-end;min-height:0}
.phone-conversation .hero-typing{flex:none;align-self:flex-end;background:#dfeee4;padding:10px 13px;border-radius:9px;display:flex;gap:4px}
.phone-conversation .hero-typing[hidden],.phone-conversation .bubble[hidden]{display:none}
.phone-conversation.is-replaying .bubble small i{color:#9aa5a3}.phone-conversation.is-replaying .bubble.is-read small i{color:#53bdeb}
@media(max-width:900px){.frame-corners{display:none}}
.motion-paused .rise,.motion-paused .field-text{transform:none;clip-path:none;transition:none}
.motion-paused .scene-octopus::before,.page-hidden .scene-octopus::before,.scene-offscreen .scene-octopus::before{animation:none}
@media(prefers-reduced-motion:reduce){.rise,.field-text{transition:none}.scene-octopus::before,.training-cta,.training-field i{animation:none!important}}

/* Prefer compact modern desk images while retaining the JPEG fallback. */
.desk-photo{background-image:url("assets/octomed-white-desk.jpg");background-image:image-set(url("assets/octomed-white-desk.avif") type("image/avif"),url("assets/octomed-white-desk.webp") type("image/webp"),url("assets/octomed-white-desk.jpg") type("image/jpeg"))}
@media(max-width:900px){.desk-photo{background-image:url("assets/octomed-white-desk.jpg");background-image:image-set(url("assets/octomed-white-desk-mobile.avif") type("image/avif"),url("assets/octomed-white-desk-mobile.webp") type("image/webp"),url("assets/octomed-white-desk.jpg") type("image/jpeg"));background-position:center}}
