/* Home-only layout study. Keep the established assets, copy and interactions. */
.home-page{isolation:isolate}
.home-page .shell{width:min(1760px,calc(100% - clamp(40px,6vw,96px)))}
.home-page main.shell{isolation:auto}
.home-page :is(section[id],.inline-story-row[id],.anchor-target){scroll-margin-top:16px}
.home-page .header-inner{gap:28px}
.home-page .header-inner nav{gap:24px}

/* A quiet, stationary backdrop. Only the content moves during scrolling. */
.home-page>.brand-orbits{position:fixed;inset:0;height:100dvh;z-index:-1;mask-image:none;opacity:.65;contain:strict}
.home-page>.brand-orbits span{width:1080px;height:1080px;left:calc(50% - 150px);top:calc(50% - 760px);border-color:color-mix(in srgb,var(--accent) 19%,transparent);opacity:.34}
.home-page>.brand-orbits span:nth-child(2){width:1500px;height:1500px;left:calc(50% - 360px);top:calc(50% - 970px);opacity:.25}
.home-page>.brand-orbits span:nth-child(3){width:1920px;height:1920px;left:calc(50% - 570px);top:calc(50% - 1180px);opacity:.19}

/* One scale and a shared left edge bring the page's sections into a rhythm. */
.home-page .section{padding-block:68px}
.home-page .eyebrow{font-size:11px;letter-spacing:.13em;margin-bottom:14px}
.home-page h2{font-size:clamp(29px,2.8vw,39px);line-height:1.2;letter-spacing:-.04em}
.home-page .section-heading-grid,
.home-page .dashboard-build-heading,
.home-page .showcase-heading{display:block;max-width:780px;margin:0 0 32px}
.home-page .section-heading-grid .section-title{margin:0}
.home-page :is(.section-heading-grid,.dashboard-build-heading,.showcase-heading) h2{font-size:clamp(29px,2.8vw,39px);margin:0}
.home-page :is(.section-heading-grid,.dashboard-build-heading,.showcase-heading)>p{font-size:17px;line-height:1.8;max-width:74ch;margin:18px 0 0}
.home-page :is(.section-heading-grid,.dashboard-build-heading,.showcase-heading) h2 br{display:none}
.home-page .section-title{margin-bottom:24px}
.home-page .divider::before{background:linear-gradient(90deg,var(--line),color-mix(in srgb,var(--line) 50%,transparent) 78%,transparent)}

/* The hero keeps one readable copy block beside the product scene. */
.home-page .hero-positioned{grid-template-columns:minmax(0,.9fr) minmax(0,1.5fr);gap:48px;padding-block:48px 42px;align-items:center}
.home-page .hero-positioning-copy h1{font-size:clamp(34px,3.1vw,45px);line-height:1.17;margin-bottom:22px}
.home-page .hero-positioning-copy .lead{font-size:17px;line-height:1.8;max-width:55ch}
.home-page .hero-app-badge{font-size:14px;margin-bottom:20px;padding:9px 15px;gap:12px}
.home-page .hero-app-badge>img{width:52px;height:52px;flex-basis:52px}
.home-page .hero-positioning-actions{gap:12px 22px;margin-top:24px}
.home-page .hero-positioning-actions .button,.home-page .hero-positioning-actions .text-link{font-size:13px}
.home-page .hero-requirement{margin-top:15px}
.home-page .hero-beta{margin-top:14px}
.home-page .hero-image-caption{font-size:11px;padding-top:12px}
.home-page .positioning-highlights{padding-block:23px;gap:24px}

/* Connect, design, display: a compact sequence instead of three large cards. */
.home-page .home-connection-flow{padding-block:52px 34px}
.home-page .home-connection-flow .section-heading-grid{margin-bottom:26px}
.home-page #connection-flow-heading br{display:block}
.home-page .home-connection-flow .setup-flow{max-width:none;gap:32px}
.home-page .home-connection-flow .setup-flow article{grid-template-columns:24px minmax(0,1fr);gap:10px 14px;padding:19px 0 0;border:0;border-top:1px solid var(--line);border-radius:0;background:none}
.home-page .home-connection-flow .setup-flow article>span{display:none}
.home-page .home-connection-flow .setup-flow h3{font-size:18px;padding:0}
.home-page .home-connection-flow .setup-flow p{font-size:14px;max-width:36ch}
.home-page .home-connection-flow>.text-link{margin-top:15px;font-size:13px;min-height:42px}

/* The introduction is a quiet explanatory aside within the setup story. */
.home-page .home-assistant-intro{display:block;max-width:none;padding:27px 32px;margin:0 0 48px;border:1px solid color-mix(in srgb,var(--line) 65%,transparent);border-radius:14px;background:color-mix(in srgb,var(--surface) 65%,transparent)}
.home-page .home-assistant-intro .eyebrow{font-size:10px;margin-bottom:9px}
.home-page .home-assistant-intro h2{font-size:25px;line-height:1.35;margin:0}
.home-page .home-assistant-intro h2 br{display:none}
.home-page .ha-intro-details{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,1fr);gap:32px;align-items:center;margin-top:13px}
.home-page .ha-intro-details>p{font-size:15px;line-height:1.8;max-width:76ch}
.home-page .ha-learn-more{margin:0;grid-template-columns:minmax(0,1fr) 84px;column-gap:14px;padding-left:24px;border-left:1px solid var(--line)}
.home-page .ha-learn-more h3{font-size:13px}
.home-page .ha-learn-more .text-link{font-size:12px;min-height:34px}
.home-page .ha-learn-mark img{width:84px;height:84px}

/* The build film follows its introduction, with supporting steps beneath. */
.home-page .dashboard-build{padding-top:52px}
.home-page .dashboard-build-film{max-width:1120px}
.home-page .dashboard-build-film .ambient-open{box-shadow:none}
.home-page .dashboard-build-steps{max-width:1120px;margin-top:26px;gap:32px}
.home-page .dashboard-build-steps li{border:0;padding:0}
.home-page .dashboard-build-steps p{font-size:13px}

/* Every editor example reads copy then demonstration, in the same direction. */
.home-page .inline-story-heading{max-width:780px;margin-bottom:30px}
.home-page .inline-story-heading h2{font-size:clamp(29px,2.8vw,39px);margin-bottom:18px}
.home-page .inline-story-heading>p:last-child{font-size:17px;line-height:1.8}
.home-page .light-variants-open{border-color:color-mix(in srgb,var(--line) 70%,transparent);box-shadow:none}
.home-page .light-variants figcaption{margin-top:15px;gap:20px}
.home-page .light-variants figcaption strong{font-size:18px}
.home-page .light-variants figcaption p{font-size:13px}
.home-page .inline-story-row{grid-template-columns:minmax(0,.85fr) minmax(0,1.65fr);gap:44px;align-items:center;margin-top:58px;padding-top:38px;border-top:1px solid color-mix(in srgb,var(--line) 65%,transparent)}
.home-page .story-reversed .inline-story-copy,.home-page .story-reversed .ambient-demo{grid-column:auto;grid-row:auto}
.home-page .inline-story-copy h3{font-size:28px;line-height:1.24;margin-bottom:16px}
.home-page .inline-story-copy p{font-size:15px;line-height:1.8;max-width:none}
.home-page .story-number{margin-bottom:14px;font-size:10px}
.home-page .inline-story-copy .text-link{margin-top:14px}
.home-page .inline-story-copy .story-availability{font-size:12px;margin-top:15px}
.home-page .ambient-open{box-shadow:none}
.home-page .ambient-tools{font-size:11px}
.home-page .ambient-tools>div{gap:16px}

/* AI remains a major story, with its provenance connected to the results. */
.home-page .ai-design-heading{max-width:830px;margin-bottom:30px}
.home-page .ai-design-heading h2 br{display:block}
.home-page .ai-design-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:start}
.home-page .ai-results,.home-page .ai-prompt-panel{max-width:none}
.home-page .ai-results-stage{padding:24px;border-radius:16px}
.home-page .ai-results-heading{margin-bottom:24px;gap:12px}
.home-page .ai-origin-badge{font-size:12px;min-height:34px}
.home-page .ai-results-heading p{font-size:13px}
.home-page .ai-widget-grid{gap:24px}
.home-page .ai-shot-blue{max-width:165px}
.home-page .ai-shot-sculpt,.home-page .ai-shot-rail{max-width:280px}
.home-page .ai-shot-circle{max-width:155px}
.home-page .ai-prompt-card{padding:23px 25px;border-radius:14px;background:color-mix(in srgb,var(--surface) 80%,transparent)}
.home-page .ai-prompt-toolbar{gap:14px;margin-bottom:18px}
.home-page .ai-prompt-toolbar>span{font-size:14px}
.home-page .ai-example-prompt{font-size:15px;line-height:1.8}
.home-page .ai-example-prompt p+p{margin-top:15px}
.home-page .ai-design-workflow{margin-top:30px;gap:32px}
.home-page .ai-design-workflow h3{font-size:16px}
.home-page .ai-design-workflow p{font-size:13px}

/* Gallery controls stay together; the preview retains its viewport height cap. */
.home-page .dashboard-showcase{max-width:none}
.home-page .showcase-after{gap:30px;align-items:start;margin-top:20px}
.home-page .showcase-after>p{font-size:13px;max-width:82ch}
.home-page .showcase-after .text-link{min-height:36px}
.home-page .showcase-label{margin-bottom:13px}
.home-page .design-preview{padding:4px;border-radius:11px;background:transparent}
.home-page .design-preview>img{width:100%;height:auto;aspect-ratio:1.6;object-fit:contain;border-radius:7px}
.home-page .design-preview[aria-pressed=true]{background:transparent}
.home-page .showcase-workspace{background:transparent;border:0;border-radius:0;overflow:visible;gap:24px}
.home-page .showcase-navigation{padding:0;border:0}
.home-page .showcase-image{background:transparent;border-radius:12px;align-self:start;justify-self:center}
@media(min-width:901px){
 .home-page .showcase-image{width:min(100%,calc(clamp(200px,calc(100svh - 450px),700px) * 1.6));height:auto;aspect-ratio:1.6}
}
@media(min-width:901px) and (min-height:740px){
 .home-page .showcase-workspace{grid-template-columns:220px minmax(0,1fr);width:min(100%,calc(244px + clamp(380px,calc(100svh - 360px),700px) * 1.6));margin-inline:auto}
 .home-page .showcase-image{width:100%}
}
.home-page .showcase-heading{margin-bottom:30px}

/* Camera controls use the same fixed reading direction as the editor stories. */
.home-page .motion-highlight{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:center}
.home-page .motion-highlight h2{margin-bottom:18px}
.home-page .motion-highlight h2 br{display:none}
.home-page .motion-highlight-copy>p:not(.eyebrow){font-size:16px;line-height:1.8}
.home-page .motion-highlight .motion-benefits{margin-top:20px;gap:8px}
.home-page .motion-benefits>span{font-size:11px;padding:5px 10px}
.home-page .motion-highlight .text-link{font-size:13px;margin-top:18px}
.home-page .motion-visual{padding-bottom:0;max-width:560px}
.home-page .motion-notification{max-width:310px;margin:12px 0 0 auto}

/* Android: introduction, the room scene, then concise benefits and download. */
.home-page .android-companion{display:block}
.home-page .android-story-copy{position:relative;max-width:900px;padding-left:104px;margin-bottom:30px}
.home-page .android-brand{margin:0 0 14px}
.home-page .android-brand>img{position:absolute;left:0;top:24px;width:76px;height:76px}
.home-page .android-story-copy h2{margin-bottom:18px}
.home-page .android-story-copy h2 br{display:none}
.home-page .android-intro{font-size:17px;line-height:1.8;max-width:74ch}
.home-page .android-availability{margin-top:17px}
.home-page .android-app-visual{width:100%;max-width:1040px;margin-inline:auto}
.home-page .android-companion-details{max-width:1040px;margin:28px auto 0}
.home-page .android-benefits{grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:0 0 26px}
.home-page .android-benefits>div{border:0;border-top:1px solid var(--line);padding:18px 0 0}
.home-page .android-benefits dt{font-size:15px}
.home-page .android-benefits dd{font-size:13px}
.home-page .android-download-actions{margin:0}
.home-page .android-host-note{max-width:none;margin-top:9px}

/* A clear final decision, rather than another title opposite its description. */
.home-page .closing-section{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.home-page .closing-section>div:first-child{grid-column:1/-1;padding:0;margin-bottom:4px}
.home-page .closing-section .section-title{max-width:780px;margin-bottom:16px}
.home-page .closing-section .section-title h2{margin-bottom:18px}
.home-page .closing-section .section-title h2 br{display:none}
.home-page .closing-section .section-title p:not(.eyebrow){font-size:17px}
.home-page .closing-section>div:first-child>.button{min-height:44px;font-size:14px}
.home-page .mini-plan{padding:25px 28px;border-radius:13px}
.home-page .mini-plan strong{font-size:48px}
.home-page .mini-plan p{margin-top:16px}

@media(max-width:1150px){
 .home-page .hero-positioned{gap:30px;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr)}
 .home-page .hero-positioning-copy h1{font-size:clamp(32px,3.6vw,39px)}
 .home-page .hero-positioning-copy .lead{font-size:16px}
 .home-page .hero-app-badge{font-size:12px}
 .home-page .inline-story-row{gap:30px;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr)}
 .home-page .inline-story-copy h3{font-size:25px}
 .home-page .inline-story-copy p{font-size:14px}
 .home-page .ha-intro-details{grid-template-columns:1.15fr 1fr;gap:24px}
 .home-page .ai-design-layout{gap:24px}
 .home-page .ai-prompt-card{padding:21px}
}
@media(max-width:1000px){
 .home-page .hero-positioned{display:block;padding-top:36px}
 .home-page .hero-positioning-copy{max-width:720px;margin-bottom:28px}
 .home-page .hero-positioning-copy h1{font-size:clamp(36px,5.3vw,49px)}
 .home-page .hero-positioning-copy .lead{font-size:17px;max-width:70ch}
 .home-page .hero-positioned .device-hero-visual{max-width:900px;margin:0 auto}
 .home-page .ai-design-layout{grid-template-columns:1fr;gap:25px}
 .home-page .ai-results,.home-page .ai-prompt-panel{grid-column:auto;grid-row:auto;max-width:740px;margin-inline:auto}
 .home-page .ai-widget-grid{gap:28px}
 .home-page .ai-shot-blue{max-width:190px}
 .home-page .ai-shot-sculpt,.home-page .ai-shot-rail{max-width:340px}
 .home-page .ai-shot-circle{max-width:175px}
 .home-page .ai-prompt-panel{width:100%}
 .home-page .ai-prompt-card{padding:25px}
}
@media(max-width:850px){
 .home-page .header-inner{gap:0}
 .home-page .header-inner nav{gap:16px}
}
@media(max-width:800px){
 .home-page .section{padding-block:48px}
 .home-page .home-connection-flow .setup-flow{gap:22px}
 .home-page .home-connection-flow .setup-flow h3{font-size:16px}
 .home-page .ha-intro-details{display:block}
 .home-page .ha-learn-more{margin-top:18px;border-left:0;border-top:1px solid var(--line);padding:15px 0 0}
 .home-page .home-assistant-intro{padding:24px;margin-bottom:35px}
 .home-page .home-assistant-intro h2{font-size:23px}
 .home-page .inline-story-row{display:block;margin-top:40px;padding-top:28px}
 .home-page .inline-story-copy{max-width:680px;margin-bottom:24px}
 .home-page .inline-story-copy h3{font-size:28px}
 .home-page .inline-story-copy h3 br{display:none}
 .home-page .inline-story-copy p{font-size:16px}
 .home-page .ai-design-workflow{grid-template-columns:1fr;gap:18px}
 .home-page .motion-highlight{grid-template-columns:1fr;gap:28px}
 .home-page .motion-highlight-copy{max-width:720px}
 .home-page .motion-visual{max-width:650px}
 .home-page .android-intro{font-size:16px}
 .home-page .android-story-copy{padding-left:96px}
 .home-page .android-benefits{gap:20px}
 .home-page .android-benefits dt{font-size:14px}
}
@media(max-width:600px){
 .home-page .header-inner nav{gap:10px}
 .home-page .section{padding-block:40px}
 .home-page .hero-positioned{padding-block:28px 30px}
 .home-page .hero-positioning-copy h1{font-size:clamp(25px,7.3vw,42px)}
 .home-page .hero-positioning-copy .lead{font-size:16px}
 .home-page .hero-app-badge{font-size:12px;padding-inline:13px}
 .home-page .hero-positioning-actions .button,.home-page .hero-positioning-actions .text-link{font-size:12px}
 .home-page .hero-image-caption{font-size:10px}
 .home-page .positioning-highlights{padding-block:20px;gap:20px}
 .home-page .positioning-highlights strong{font-size:13px}
 .home-page .home-connection-flow .setup-flow{grid-template-columns:1fr;gap:18px}
 .home-page .home-connection-flow .setup-flow article{padding-top:16px}
 .home-page .home-connection-flow .setup-flow h3{font-size:18px}
 .home-page .home-connection-flow .setup-flow p{max-width:none}
 .home-page .home-assistant-intro{padding:21px;margin-bottom:30px}
 .home-page .home-assistant-intro h2{font-size:21px}
 .home-page .ha-learn-more{grid-template-columns:minmax(0,1fr) 84px;gap:10px}
 .home-page :is(.section-heading-grid,.dashboard-build-heading,.showcase-heading)>p,.home-page .inline-story-heading>p:last-child{font-size:16px;line-height:1.8}
 .home-page .dashboard-build-steps{grid-template-columns:1fr;gap:17px}
 .home-page .dashboard-build-steps li{display:flex}
 .home-page .light-variants figcaption{display:block}
 .home-page .light-variants figcaption strong{font-size:17px}
 .home-page .light-variants-zoom{margin-top:3px}
 .home-page .inline-story-copy h3{font-size:26px}
 .home-page .ai-results-stage{padding:22px 20px}
 .home-page .ai-prompt-card{padding:21px 20px}
 .home-page .ai-prompt-toolbar{flex-wrap:wrap;gap:10px}
 .home-page .ai-prompt-toolbar>span{font-size:14px}
 .home-page .ai-design-workflow p{font-size:14px}
 .home-page .showcase-after{display:block}
 .home-page .showcase-after .text-link{margin-top:10px}
 .home-page .motion-highlight-copy>p:not(.eyebrow){font-size:16px}
 .home-page .android-story-copy{padding-left:0}
 .home-page .android-brand{gap:15px;margin-bottom:17px}
 .home-page .android-brand>img{position:static;width:76px;height:76px}
 .home-page .android-brand .eyebrow{font-size:10px}
 .home-page .android-benefits{grid-template-columns:1fr;gap:18px}
 .home-page .android-benefits dt{font-size:16px}
 .home-page .android-benefits dd{font-size:14px}
 .home-page .closing-section{grid-template-columns:1fr;gap:17px}
 .home-page .mini-plan{padding:24px}
 .home-page .closing-section .section-title p:not(.eyebrow){font-size:16px}
}
