/* Homepage composition; shared tokens own colors and controls. */
.ecosystem-intro{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(2rem,6vw,6rem);align-items:center;padding-block:clamp(8rem,15vh,12rem) 5rem;min-height:75dvh}
.intro-copy h1{font-size:clamp(2.6rem,5vw,4.5rem);font-weight:600;line-height:1.1;letter-spacing:-.035em;max-width:12ch;margin:0 0 1.5rem}
html[dir=rtl] .intro-copy h1{letter-spacing:0;line-height:1.35;max-width:16ch}
.intro-copy p{font-size:1.1rem;line-height:1.8;color:var(--muted);max-width:45ch}
.intro-actions{display:flex;align-items:center;gap:1.5rem;margin-top:2rem;flex-wrap:wrap}.intro-actions>a:not(.cta){text-decoration:underline;text-underline-offset:6px}
.intro-system{padding:2rem 0;border-block:1px solid var(--line)}.intro-identity{display:flex;align-items:center;gap:.8rem;font-size:1.4rem}.intro-system>p{font-size:.9rem;color:var(--muted);margin-top:1.5rem}
.ecosystem-products{padding-block:3rem 5rem}.ecosystem-products>header{max-width:60ch;margin-bottom:2rem}.ecosystem-products h2{font-size:clamp(1.5rem,3vw,2.3rem);font-weight:600;margin-bottom:1rem}.ecosystem-products header p,.ecosystem-product p{color:var(--muted);line-height:1.8}
.ecosystem-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 3rem}.ecosystem-product{padding-block:2rem;border-top:1px solid var(--line);min-width:0}.product-title{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.product-title h3{font-size:1.35rem;font-weight:600}.product-title span{font-size:.75rem;color:var(--muted)}.ecosystem-product .ory-explainer{max-width:400px}.ecosystem-product>a{display:inline-flex;min-height:44px;align-items:center;text-decoration:underline;text-underline-offset:5px}
.ecosystem-areas{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;border-block:1px solid var(--line);margin-top:3rem;padding-block:2rem}.ecosystem-areas a{display:grid;gap:.5rem}.ecosystem-areas span{font-size:.85rem;color:var(--muted)}
@media(max-width:768px){.ecosystem-intro{grid-template-columns:1fr;gap:2rem;padding-top:8rem;min-height:0}.intro-copy h1{max-width:18ch}.intro-system{max-width:480px}.ecosystem-grid{grid-template-columns:1fr}.ecosystem-areas{grid-template-columns:1fr;gap:1.5rem}.product-title{align-items:start}.product-title span{max-width:10rem;text-align:end}}
@media(prefers-reduced-motion:reduce){.ecosystem-intro *{animation:none}}

/* Existing supporting sections are quiet, readable and available without reveal timing. */
.free-copy.rise,.tool-list.rise,.future-inner.rise{opacity:1;transform:none;transition:none}.future:before,.future:after{display:none}.future{background:var(--bg);padding-block:3rem}.future-inner{text-align:start;max-width:1140px}.future-inner p{margin-inline:0;max-width:65ch}.future-words{justify-content:flex-start}.future h2{font-size:2rem}.free-strip{background:var(--sidebar);padding-block:3rem}.free-cta,.cta{background:var(--primary);color:var(--primary-text)}.free-cta{box-shadow:none}.nav{backdrop-filter:none;background:var(--bg)}.eyebrow{letter-spacing:0;text-transform:none;font-family:inherit}.eyebrow:before{display:none}

.nav-tools [hidden]{display:none!important}.home-auth-status:empty{display:none}.home-auth-status{font-size:.8rem;color:var(--danger);max-width:20ch}

/* Header utility order and restrained action hierarchy. */
.nav-tools{gap:8px}.nav-tools .product-menu{order:1}.nav-tools .lang{order:2}.nav-tools #themeBtn{order:3}.nav-tools #home-account,.nav-tools #home-signin{order:4}.nav-tools #home-signup{order:5}.nav-tools #home-signout{order:6}.nav-tools .ory-ui-tools{order:7}.nav-tools .tog,.nav-tools .nav-auth{min-height:36px;font-size:12px}.nav-tools .cta{min-height:38px;font-size:13px}
