/* V41 — calmer, fully opaque navigation surface. */
.home-page .site-head{background:#fff;color:#102044;border-bottom:1px solid #dbe4f1;box-shadow:0 7px 24px #17345e0c;backdrop-filter:none;-webkit-backdrop-filter:none}
.home-page .site-head .head-inner{position:relative}
.home-page .site-head nav>a:not(.button){color:#40516b}
.home-page .site-head nav>a:not(.button):hover{color:#1d4ed8}
@media(max-width:960px){.home-page .site-head nav{background:#fff;border-color:#dbe4f1}.home-page .menu-toggle{background:#f6f9fd}}

/* The three setup steps are individual, compact cards rather than one table. */
.home-page .how-section .steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:30px;background:transparent;border:0;border-radius:0;overflow:visible}
.home-page .how-section .steps article{display:flex;flex-direction:column;min-width:0;padding:24px 24px 22px;background:#fff;border:1px solid #dbe5f3;border-radius:16px;box-shadow:0 8px 24px #17345e08}
.home-page .how-section .steps .step-number{align-self:flex-start;display:inline-flex;align-items:center;min-height:26px;padding:4px 9px;border-radius:7px;background:#edf3ff;color:#315a9e;font-size:10px;font-weight:800;line-height:1.4;letter-spacing:.09em}
.home-page .how-section .steps h3{margin:18px 0 8px;font-size:19px;line-height:1.35;letter-spacing:-.02em}
.home-page .how-section .steps p{margin:0 0 18px;font-size:14px;line-height:1.65;color:#53647e}
.home-page .how-section .steps .text-link{align-self:flex-start;margin-top:auto;padding:7px 0;font-size:13px;line-height:1.35;text-underline-offset:4px}
.home-page .how-section .steps .text-link:focus-visible{outline:2px solid #2563eb;outline-offset:4px;border-radius:2px}
@media(max-width:700px){.home-page .how-section .steps{grid-template-columns:1fr;gap:10px;margin-top:24px}.home-page .how-section .steps article{padding:20px 21px}.home-page .how-section .steps h3{margin-top:14px;font-size:18px}.home-page .how-section .steps p{margin-bottom:11px}}

/* Keep the hero calm and let the product experience remain the focal point. */
.home-page .hero-world{background:#f7faff!important;color:#102044!important}
.home-page .hero-world:before{display:none!important}

/* Mascot poses are designed around the conversation and setup flow. */
.home-page .section-mascot{display:block;height:auto;object-fit:contain;pointer-events:none;user-select:none}
.home-page [data-mascot-scene]{--mascot-x:0px;--mascot-y:0px;--mascot-angle:0deg;position:relative;isolation:isolate}
.home-page .scene-mascot{transform:translate3d(var(--mascot-x),calc(var(--mascot-y) + var(--mascot-lift,0px)),0) rotate(calc(var(--mascot-angle) + var(--mascot-base-angle,0deg)));transform-origin:50% 80%;transition:transform .45s cubic-bezier(.2,.7,.2,1);filter:drop-shadow(0 16px 18px #17345e16)}
.home-page .night-copy{display:block;margin:0}
.home-page .night-copy-text>p{color:#b7c5e0;font-size:16px;line-height:1.85;margin:0;max-width:calc(100% - 230px)}
.home-page .night-conversation-scene{position:relative;isolation:isolate;margin-top:56px;padding:0}
.home-page .night-mascot{position:absolute;z-index:2;right:22px;bottom:calc(100% - 18px);width:210px;max-width:none;transform:none}
.home-page .night-conversation-scene .night-conversation{position:relative;z-index:1;padding:24px;border:1px solid #29415f;border-radius:22px;background:#0d1f3a;box-shadow:0 24px 56px #0002}
.home-page .night-conversation>.night-label{display:inline-flex;justify-self:start;max-width:100%;margin:0 0 16px;white-space:normal;line-height:1.5}
.home-page .how-section .section-heading{align-items:center}
.home-page .how-intro-aside{display:block;max-width:360px;min-width:0}
.home-page .how-intro-aside p{margin:0;max-width:none;font-size:16px;line-height:1.8}
.home-page .how-workspace{display:grid;grid-template-columns:minmax(0,1fr);gap:0;align-items:start;margin-top:30px}
.home-page .how-workspace .steps{min-width:0;margin-top:0}
.home-page .tour-copy{min-width:0}
.home-page .tour-action-row{min-height:360px;margin-top:26px}
.home-page .tour-action-row .button{position:relative;z-index:2}
.home-page .design-mascot{position:absolute;right:-18px;bottom:-24px;width:340px;max-width:none;--mascot-base-angle:-5deg}
.home-page .final-cta-scene{padding-top:185px;margin-top:40px;margin-bottom:28px}
.home-page .welcome-mascot{position:absolute;z-index:0;right:38px;top:-55px;width:360px;max-width:none;--mascot-base-angle:-4deg}
.home-page .final-cta-scene .final-cta{position:relative;z-index:1;display:block;width:100%;max-width:none;margin:0;padding:56px;text-align:center;background:#102d61;box-shadow:0 28px 75px #17345e1a}
.home-page .final-cta-copy{max-width:950px;margin:auto;min-width:0}
.home-page .final-cta .eyebrow,.home-page .final-cta .final-actions{justify-content:center}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){.home-page [data-mascot-scene]:hover{--mascot-lift:-7px}.home-page [data-mascot-scene]:hover .scene-mascot{will-change:transform}}
@media(max-width:1100px){.home-page .how-intro-aside{max-width:330px}.home-page .design-mascot{width:300px;right:-8px}.home-page .tour-action-row{min-height:330px}.home-page .welcome-mascot{width:340px;right:14px;top:-40px}}
@media(max-width:960px){.home-page .how-section .section-heading{align-items:stretch}.home-page .night-copy-text>p{max-width:none}.home-page .night-conversation-scene{margin-top:190px}.home-page .how-workspace{grid-template-columns:1fr}}
@media(max-width:700px){.home-page .night-copy-text>p{font-size:15px}.home-page .night-conversation-scene{margin-top:170px}.home-page .night-mascot{width:180px;right:16px;bottom:calc(100% - 16px)}.home-page .night-conversation-scene .night-conversation{padding:20px}.home-page .how-intro-aside{width:100%;max-width:none}.home-page .how-intro-aside p{max-width:none;font-size:15px}.home-page .how-workspace{gap:22px;margin-top:24px}.home-page .tour-action-row{min-height:0;margin-top:24px}.home-page .design-mascot{position:relative;right:auto;bottom:auto;width:290px;max-width:100%;margin:24px 0 0 auto}.home-page .final-cta-scene{padding-top:160px;margin-top:24px}.home-page .welcome-mascot{width:280px;top:-15px;right:0}.home-page .final-cta-scene .final-cta{padding:40px 22px;margin:0;width:100%}}
@media(prefers-reduced-motion:reduce){.home-page .scene-mascot{transition:none;transform:none}.home-page [data-mascot-scene]{--mascot-lift:0px}}

@media(max-width:700px){.home-page .design-mascot{display:none!important}.home-page .tour-action-row{min-height:0;margin-top:24px}}

/* Keep the live product beside the headline, without inherited top offsets. */
.home-page .hero{width:calc(100% - 80px);max-width:1360px;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);align-items:start;padding-block:80px 96px;gap:40px}
.home-page .hero-copy{min-width:0;max-width:none;padding-top:12px}
.home-page .hero-copy h1{font-size:clamp(58px,5.25vw,82px);line-height:1.06;letter-spacing:-.055em;margin:0 0 26px}
.home-page .hero .product-shell{align-self:start;margin:0;width:100%;min-width:0;backdrop-filter:none;scroll-margin-top:104px;box-shadow:0 18px 48px #17355e16}
.home-page .hero .product-grid{padding:14px}
.home-page .hero .product-caption{padding:12px 16px}
@media(max-width:1100px) and (min-width:961px){.home-page .hero{width:calc(100% - 64px);gap:28px}.home-page .hero-copy h1{font-size:58px}}
@media(max-width:960px){.home-page .hero{width:calc(100% - 64px);grid-template-columns:minmax(0,1fr);gap:26px;padding-block:56px 72px}.home-page .hero-copy{padding-top:0}.home-page .hero-copy h1{font-size:clamp(46px,7.5vw,68px)}.home-page .hero .product-shell{max-width:650px;justify-self:center}}
@media(max-width:700px){.home-page .hero{width:calc(100% - 40px);gap:22px;padding-block:44px 60px}.home-page .hero-copy h1{font-size:clamp(38px,10.2vw,50px);line-height:1.08;margin-bottom:22px}.home-page .hero .product-grid{padding:8px}.home-page .hero .product-caption{padding:10px 12px}.home-page .hero-notes{gap:8px 14px;margin-top:14px}}

/* Homepage sections now have distinct roles: conversation proof, setup, then controls. */
.home-page .night-layout{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:64px;max-width:1160px}
.home-page .night-story,.home-page .night-copy{min-width:0;margin:0}
.home-page .night-copy-text>p{max-width:none}
.home-page .night-conversation-scene{min-width:0;margin:0;padding:0}
.home-page .night-conversation-scene .night-conversation{max-width:none;backdrop-filter:none}
@media(max-width:960px){.home-page .night-layout{grid-template-columns:minmax(0,1fr);gap:30px}.home-page .night-conversation-scene{margin:0}}
@media(max-width:700px){.home-page .night-layout{gap:24px}.home-page .night-copy h2{font-size:clamp(34px,9vw,42px);line-height:1.14}.home-page .night-conversation-scene{margin:0}}

/* The mascot occupies its own row, so it cannot cover a message or be clipped. */
.home-page .night-conversation-scene .night-mascot{position:relative;inset:auto;display:block;width:170px;max-width:40%;height:auto;margin:0 24px -14px auto;transform:none}
@media(max-width:960px){.home-page .night-conversation-scene .night-mascot{display:none!important}}
