/* The homepage opening is a full-width presentation canvas. */
.calm-home>.header{height:88px;width:min(1280px,calc(100% - 80px))}
.calm-home>.header .button{background:#25384e;border-radius:100px;box-shadow:none;font-weight:500}
.calm-home>.header .button:hover{background:#3e5570}
.hero.calm-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);grid-template-rows:auto auto auto 1fr;column-gap:42px;row-gap:24px;width:calc(100% - 32px);max-width:1600px;margin:0 auto;padding:86px max(40px,calc((100vw - 1270px)/2)) 70px;border-radius:24px;background:#eaf0f7;color:#23364b;text-align:left;overflow:hidden}
.calm-hero::before{content:"";position:absolute;inset:0;z-index:-2;pointer-events:none;background-image:linear-gradient(90deg,#b9cbd82b 1px,transparent 1px),linear-gradient(#b9cbd82b 1px,transparent 1px);background-size:96px 96px}
.calm-hero::after{content:"";position:absolute;z-index:-1;inset:0 50% 0 0;background:#eaf0f7;pointer-events:none;clip-path:polygon(0 0,100% 0,90% 100%,0 100%)}
.calm-hero h1{grid-column:1;grid-row:1;align-self:end;font-size:52px;line-height:1.1;letter-spacing:-2.3px;font-weight:500;margin:25px 0 0;max-width:480px;text-wrap:balance}
.calm-hero h1 span{color:#708ca8}
.calm-hero .hero-copy{grid-column:1;grid-row:2;font-size:17px;line-height:1.65;color:#5a6b7d;max-width:375px;margin:0}
.calm-hero>.button{grid-column:1;grid-row:3;justify-self:start;background:#25384e;box-shadow:0 5px 12px #1b344e12;min-height:51px;padding:14px 31px;border-radius:100px;font-size:16px;font-weight:500;margin:1px 0 0}
.calm-hero>.button:hover{background:#3e5570;transform:translateY(-2px)}
.calm-hero>.native-caption{display:flex;align-items:center;flex-wrap:wrap;gap:12px;grid-column:1;grid-row:4;margin:6px 0 0;font-size:12px;line-height:1.5;color:#5e7183;align-self:start;max-width:400px}
.calm-hero>.native-caption>span{display:none}.calm-hero>.native-caption>b{font-size:12px;font-weight:500;display:flex;align-items:center;gap:8px}.calm-hero>.native-caption>b::before{content:"";display:inline-block;width:14px;height:17px;background:#ca7655;clip-path:polygon(0 0,10px 0,14px 4px,14px 17px,0 17px);border-radius:2px}.calm-hero>.native-caption>b:last-child::before{background:#d4ac4d}.calm-hero>.native-caption>b+b{border-left:1px solid #cad5df;padding-left:13px}
.hero-showcase{grid-column:2;grid-row:1/5;align-self:center;display:flex;flex-direction:column;min-width:0;margin:0;text-align:left;position:relative}
.hero-showcase .studio-controls{order:2;align-self:center;display:flex;gap:3px;padding:4px;margin:11px 0 0;max-width:100%;border:1px solid #d4dfe9;border-radius:100px;background:#e3ebf4}
.hero-showcase .studio-controls button{border:0;box-shadow:none;min-height:36px;padding:9px 17px;background:transparent;color:#5e7183;border-radius:100px;font-size:12px;font-weight:500;white-space:nowrap}
.hero-showcase .studio-controls button:hover{background:#ffffff80;color:#263b52}.hero-showcase .studio-controls button[aria-selected=true]{background:#fff;color:#263b52;box-shadow:0 2px 5px #3e526314}
.hero-showcase .studio-panel{order:1;position:relative}.hero-showcase .studio-panel.is-switched{animation:scene-switch .55s cubic-bezier(.2,.75,.2,1)}
.presentation-scene{height:446px;position:relative;isolation:isolate}
.scene-orbit{position:absolute;left:8%;top:-28px;right:-15%;bottom:-12px;border:1px solid #bbcadb;border-radius:50%;transform:rotate(-24deg);z-index:-1;opacity:.65}
.scene-orbit::after{content:"";position:absolute;inset:30px -20px;border:1px solid #bbcadb;border-radius:50%}
.paper-shadow{position:absolute;top:34px;left:70px;right:-13px;height:324px;background:#d5e0ec;border:1px solid #bacddd;border-radius:9px;transform:rotate(6deg);box-shadow:0 18px 28px -20px #49657d26}
.hero-parallax{height:100%;position:relative;transform:translate3d(var(--pointer-x,0px),var(--pointer-y,0px),0);transition:transform .7s cubic-bezier(.18,.7,.25,1);will-change:transform}
.showcase-slide{position:absolute;left:30px;right:0;top:18px;height:332px;display:grid;grid-template-columns:56% 44%;border:1px solid #fff;border-radius:8px;background:#fff;box-shadow:0 25px 48px -20px #3c516f4a;overflow:hidden;transform:rotate(-3deg);animation:slide-drift 8s ease-in-out infinite}
.showcase-copy{padding:29px 26px 22px;display:flex;flex-direction:column;min-width:0}.slide-overline{font-size:10px;line-height:1.5;letter-spacing:1.05px;color:#6b7d8d;font-weight:500}
.hero-showcase h2{font-size:37px;font-weight:500;line-height:1.02;letter-spacing:-1.5px;margin:35px 0 19px;color:#273a4b}.hero-showcase h2 br{display:initial}
.showcase-copy>p{font-size:12px;line-height:1.55;color:#6a7986}.showcase-copy>p br{display:none}
.showcase-footer{display:flex;justify-content:space-between;gap:8px;font-size:9px;letter-spacing:.65px;color:#788994;margin-top:auto;padding-top:20px;line-height:1.5}
.showcase-footer>span:last-child{white-space:nowrap}
.showcase-photo{min-width:0;position:relative;background:#bbc8d7;overflow:hidden}.showcase-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:48% 46%;animation:photo-reveal 1.1s cubic-bezier(.2,.65,.25,1) both}
.insight-slide{position:absolute;left:-13px;top:286px;width:280px;min-height:164px;padding:20px 23px 17px;border:1px solid #e2e9f0;border-radius:8px;background:#fff;box-shadow:0 16px 35px -17px #42587242;transform:rotate(3deg);animation:detail-drift 9s ease-in-out infinite}
.insight-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}.insight-heading h3{font-size:13px;line-height:1.4;font-weight:500;color:#43546a}.insight-heading>span{font-size:10px;color:#8a99a6}
.insight-data{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-top:18px}.insight-data b{font-size:38px;line-height:1;letter-spacing:-1.8px;font-weight:500;color:#5e7a99;white-space:nowrap}.insight-data b span{font-size:22px;letter-spacing:-.5px}.insight-data p{font-size:10px;margin-top:7px;white-space:nowrap;color:#728090}
.mini-chart{height:62px;display:flex;align-items:end;gap:7px;width:102px;border-bottom:1px solid #dbe3eb;padding-bottom:3px}.mini-chart i{display:block;flex:1;min-width:0;height:var(--bar);background:#bfcedc;border-radius:2px 2px 0 0;transform-origin:bottom;animation:bars-in .8s .25s both}.mini-chart i:nth-child(2){background:#a2b7ca}.mini-chart i:nth-child(3){background:#839db7}.mini-chart i:nth-child(4){background:#5e7a99}
.insight-foot{display:flex;justify-content:space-between;font-size:9px;line-height:1.4;color:#7a8897;margin-top:13px}
.showcase-meta{order:3;display:flex;align-self:center;gap:18px;align-items:center;margin-top:15px;max-width:100%;flex-wrap:wrap;justify-content:center}.hero-showcase .demo-note{margin:0;color:#697c8e;font-size:11px;line-height:1.4}
.motion-toggle{display:inline-flex;align-items:center;gap:6px;background:none;border:0;padding:7px 2px;color:#546b80;cursor:pointer;font-size:11px;line-height:1.4}.motion-icon{width:9px;height:10px;border-left:2px solid currentColor;border-right:2px solid currentColor;display:block}.motion-toggle[aria-pressed=true] .motion-icon{width:10px;height:10px;border:0;background:currentColor;clip-path:polygon(15% 0,100% 50%,15% 100%)}
.scene-learning .showcase-slide{display:block;background:#f8f9ef}.lesson-copy{height:100%;padding:27px 32px;display:flex;flex-direction:column}.scene-learning h2{margin:24px 0 14px;font-size:35px;color:#4b5744}.lesson-copy>p{font-size:12px;color:#77816f}.lesson-path{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-top:23px}.lesson-path>div{border-top:1px solid #cbd3bb;padding-top:12px;display:flex;align-items:center;gap:12px}.lesson-path b{font-size:24px;font-weight:400;letter-spacing:-1px;color:#8d9d74}.lesson-path span{font-size:12px;color:#617151}.scene-learning .insight-slide{background:#5a6d52;border-color:#5a6d52;color:#fff;width:290px}.scene-learning .insight-heading h3{color:#fff}.scene-learning .insight-heading>span{color:#d4ddce}.task-steps{margin-top:13px;display:grid;gap:9px}.task-steps p{font-size:11px;display:flex;align-items:center;gap:9px;color:#edf2e8;line-height:1.4}.task-steps i{font-size:9px;font-style:normal;border:1px solid #a2b397;width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%}
.scene-proposal .showcase-slide{background:#f8f8f2}.scene-proposal h2{color:#44584c}.scene-proposal .showcase-photo img{object-position:44% 50%}.scene-proposal .insight-slide{background:#f7f9f3}.proposal-steps{display:grid;gap:10px;margin-top:17px}.proposal-steps p{font-size:11px;line-height:1.3;color:#64765e}.proposal-steps b{font-size:10px;font-weight:400;color:#8ca082;padding-right:14px}
.calm-hero h1,.calm-hero>.hero-copy,.calm-hero>.button,.calm-hero>.native-caption{animation:hero-arrive .8s cubic-bezier(.2,.75,.2,1) both}.calm-hero>.hero-copy{animation-delay:.09s}.calm-hero>.button{animation-delay:.16s}.calm-hero>.native-caption{animation-delay:.23s}.hero-showcase{animation:hero-arrive 1s .12s cubic-bezier(.2,.75,.2,1) both}
.calm-hero.is-paused .showcase-slide,.calm-hero.is-paused .insight-slide,.calm-hero.is-away .showcase-slide,.calm-hero.is-away .insight-slide{animation-play-state:paused}
@keyframes hero-arrive{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}
@keyframes scene-switch{from{opacity:0;transform:translateY(15px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes photo-reveal{from{transform:scale(1.075)}to{transform:scale(1)}}
@keyframes bars-in{from{transform:scaleY(.1)}to{transform:scaleY(1)}}
@keyframes slide-drift{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-9px) rotate(-2deg)}}
@keyframes detail-drift{0%,100%{transform:translateY(0) rotate(3deg)}50%{transform:translateY(7px) rotate(1.4deg)}}
@media(min-width:1600px){.hero.calm-hero{padding-inline:115px}}
@media(max-width:1150px){.hero.calm-hero{padding:65px 36px 55px;column-gap:24px;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr)}.calm-hero h1{font-size:46px;letter-spacing:-1.9px;margin-top:27px}.calm-hero .hero-copy{font-size:16px;max-width:320px}.showcase-copy{padding:26px 21px 20px}.hero-showcase h2{font-size:32px;margin-top:32px}.showcase-slide{left:20px;height:318px}.insight-slide{top:273px;left:-10px;width:258px;padding:19px 20px 16px}.presentation-scene{height:440px}.paper-shadow{height:305px;left:56px;right:-5px}.slide-overline{font-size:9px;letter-spacing:.55px}.showcase-footer{font-size:8px;gap:5px}.scene-learning h2{font-size:30px}.lesson-copy{padding:26px}.lesson-path{gap:12px}.lesson-path>div{gap:8px}.lesson-path b{font-size:21px}.lesson-path span{font-size:11px}}
@media(max-width:900px){.calm-home>.header{width:calc(100% - 64px)}.hero.calm-hero{display:flex;flex-direction:column;align-items:center;text-align:center;padding:48px 36px 35px;gap:0}.calm-hero::after{inset:0 0 50%;clip-path:none}.calm-hero h1{font-size:46px;max-width:610px;margin:0;align-self:center;line-height:1.12}.calm-hero h1 br:first-child{display:none}.calm-hero .hero-copy{font-size:17px;max-width:480px;margin:21px 0 23px}.calm-hero>.button{align-self:center;margin:0}.calm-hero>.native-caption{order:4;align-self:center;margin:20px 0 0}.hero-showcase{order:5;width:580px;max-width:100%;margin-top:34px}.presentation-scene{height:437px}.showcase-slide{top:20px;left:45px;height:321px}.showcase-copy{padding:28px}.hero-showcase h2{font-size:36px}.slide-overline{font-size:10px}.showcase-footer{font-size:9px}.insight-slide{top:275px;left:0;width:280px}.paper-shadow{left:80px;height:305px;right:0}.scene-orbit{left:5%;right:-7%}.hero-showcase .studio-controls{margin-top:12px}.scene-learning h2{font-size:35px}.lesson-copy{padding:28px 32px}.lesson-path{gap:20px}.lesson-path b{font-size:26px}}
@media(max-width:540px){.calm-home>.header{height:74px;width:calc(100% - 40px)}.calm-home>.header .logo img{width:118px}.calm-home>.header .button{min-height:40px;padding:10px 20px;font-size:13px}.hero.calm-hero{width:calc(100% - 16px);padding:37px 20px 27px;border-radius:18px}.calm-hero h1{font-size:38px;line-height:1.11;letter-spacing:-1.5px;max-width:360px}.calm-hero h1 br:first-child{display:initial}.calm-hero h1 br{display:initial}.calm-hero .hero-copy{font-size:15px;line-height:1.6;max-width:325px;margin:19px 0 21px}.calm-hero>.button{min-height:48px;font-size:15px;padding:12px 28px}.calm-hero>.native-caption{margin-top:18px;gap:11px}.calm-hero>.native-caption b{font-size:11px;gap:6px}.calm-hero>.native-caption b+b{padding-left:11px}.hero-showcase{margin-top:31px}.presentation-scene{height:338px}.showcase-slide{left:9px;top:10px;height:249px;grid-template-columns:57% 43%;border-radius:6px}.paper-shadow{top:18px;left:31px;right:-1px;height:240px;border-radius:6px;transform:rotate(5deg)}.showcase-copy{padding:21px 17px 17px}.slide-overline{font-size:8px;letter-spacing:.5px}.hero-showcase h2{font-size:29px;line-height:1.05;letter-spacing:-1px;margin:28px 0 14px}.showcase-copy>p{font-size:10px;line-height:1.45}.showcase-footer{font-size:7px;letter-spacing:.3px;padding-top:16px}.showcase-footer>span:last-child{display:none}.insight-slide{top:218px;left:-1px;width:220px;min-height:116px;padding:15px 17px 12px;border-radius:6px}.insight-heading h3{font-size:11px}.insight-heading>span{font-size:9px}.insight-data{margin-top:13px;gap:12px}.insight-data b{font-size:30px;letter-spacing:-1px}.insight-data b span{font-size:18px}.insight-data p{font-size:8px;margin-top:5px}.mini-chart{height:41px;width:79px;gap:6px}.insight-foot{font-size:8px;margin-top:9px}.scene-orbit{top:-10px;bottom:-2px;left:0;right:-12%;opacity:.55}.hero-showcase .studio-controls{margin-top:15px;gap:0;padding:3px}.hero-showcase .studio-controls button{font-size:12px;padding:9px 14px;min-height:35px}.showcase-meta{gap:10px;margin-top:8px}.hero-showcase .demo-note{font-size:10px}.motion-toggle{font-size:10px;min-height:32px}.scene-learning .showcase-slide{height:249px}.lesson-copy{padding:22px}.scene-learning h2{font-size:27px;line-height:1.06;margin:20px 0 12px}.lesson-copy>p{font-size:10px}.lesson-path{gap:10px;margin-top:22px}.lesson-path>div{display:block;padding-top:10px}.lesson-path b{font-size:20px;display:block;margin-bottom:6px}.lesson-path span{font-size:10px}.scene-learning .insight-slide{width:236px;min-height:120px}.task-steps{gap:6px;margin-top:10px}.task-steps p{font-size:10px}.task-steps i{width:15px;height:15px;font-size:8px}.proposal-steps{gap:8px;margin-top:12px}.proposal-steps p{font-size:10px}.proposal-steps b{font-size:9px}
/* Existing body content must also remain contained on narrow phones. */
.calm-home .template-showcase{grid-template-columns:minmax(0,1fr)}.calm-home .template-showcase>div{min-width:0}.calm-home .template-course h3 br{display:initial}.calm-home .metric-strip{justify-content:space-between;gap:12px}}
@media(max-width:350px){.hero.calm-hero{padding:32px 15px 23px}.calm-hero h1{font-size:34px;letter-spacing:-1.4px}.calm-hero .hero-copy{font-size:14px;line-height:1.6}.presentation-scene{height:321px}.showcase-slide{height:231px;left:7px}.paper-shadow{height:224px}.showcase-copy{padding:19px 14px 15px}.hero-showcase h2{font-size:26px;margin-top:24px}.insight-slide{top:202px;width:205px}.showcase-footer{font-size:7px}.hero-showcase .studio-controls button{padding-inline:12px;font-size:11px}.showcase-meta{gap:8px}.hero-showcase .demo-note{font-size:9px}.scene-learning .showcase-slide{height:231px}.lesson-copy{padding:19px}.scene-learning h2{font-size:25px}.lesson-path{margin-top:17px}.scene-learning .insight-slide{width:222px}.hero-showcase{margin-top:27px}}
@media(prefers-reduced-motion:reduce){.calm-hero,.calm-hero *{animation:none!important;transition:none!important;scroll-behavior:auto!important}.hero-parallax{transform:none!important;will-change:auto}.motion-toggle{display:none!important}}
/* Keep secondary controls legible and make manual pause stop every scene transition. */
.calm-hero>.native-caption{justify-content:flex-start}
.hero-showcase .studio-controls button,.hero-showcase .demo-note{color:#546b80}
.calm-hero.is-paused .studio-panel,.calm-hero.is-paused .showcase-photo img,.calm-hero.is-paused .mini-chart i{animation:none!important}
.calm-hero.is-paused .hero-parallax{transition:none;transform:none}
@media(max-width:900px){.calm-hero>.native-caption{justify-content:center}}
/* Let every lesson step remain visible above its floating exercise on phones. */
@media(max-width:540px){.scene-learning{height:375px}.scene-learning .insight-slide{top:258px}}
@media(max-width:350px){.scene-learning{height:357px}.scene-learning .insight-slide{top:240px}.calm-hero h1{letter-spacing:-1.9px}}
@media(max-width:540px){.presentation-scene{height:412px}.insight-slide{top:268px}.scene-learning{height:398px}.scene-learning .insight-slide{top:268px}}
@media(max-width:350px){.presentation-scene{height:389px}.insight-slide{top:248px}.scene-learning{height:378px}.scene-learning .insight-slide{top:248px}}
