/* Content determines page height. Zoom may add scrolling, never overlapping rows.
   Tab visibility remains controlled by app.js and the existing [hidden] rule. */
html{height:auto;min-height:100%;overflow:visible;scrollbar-gutter:stable}
body{height:auto;min-height:100vh;min-height:100svh;overflow:visible;display:flex;flex-direction:column}
.header{height:auto;min-height:86px;flex:none}
.nav-wrap{min-height:86px;height:auto;padding-block:16px}
main,body[data-page="home"] main{flex:1 0 auto;min-height:0;overflow:visible;scrollbar-gutter:auto}
main>section{min-width:0}
.wrap{max-width:100%}

.hero-premium{height:auto;min-height:calc(100svh - 190px);overflow:visible}
.hero-premium .hero-grid{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,1fr);grid-template-rows:auto;flex:1 0 auto;min-height:auto;height:auto;gap:24px;padding-block:32px;align-items:center}
.hero-premium .hero-copy{min-width:0;width:auto;padding:0}
.hero-launch{flex-wrap:wrap;gap:8px 11px;margin-bottom:26px;padding:6px 14px 6px 6px}
.hero-launch time{font-size:12px;padding:6px 10px}
.hero-launch>span{font-size:13px}
.hero-premium h1{font-size:clamp(36px,4.5vw,66px);line-height:1.31;letter-spacing:-2px;margin-bottom:26px;white-space:normal;word-break:keep-all;overflow-wrap:anywhere}
.hero-premium .hero-desc{display:block;font-size:15px;line-height:1.85;margin-bottom:28px;overflow-wrap:anywhere}
.hero-premium .hero-actions{display:flex;flex-wrap:wrap;gap:16px 26px}
.hero-premium .button{min-height:48px;max-width:100%;padding:16px 20px;font-size:13px;gap:24px;white-space:normal;overflow-wrap:anywhere}
.hero-premium .button>span{flex:none;width:27px;height:27px;font-size:17px}
.hero-premium .text-link{min-height:44px;max-width:100%;padding:11px 0;font-size:13px;white-space:normal;overflow-wrap:anywhere}
.hero-signature{display:flex;margin-top:32px}
.hero-signature>div{min-width:0;overflow-wrap:anywhere}

/* The globe and its labels share one SVG coordinate system at every size. */
.hero-premium .hero-universe{display:block;position:relative;aspect-ratio:660 / 620;width:100%;height:auto;min-height:0;max-height:none;max-width:660px;margin:0;align-self:center;justify-self:center;overflow:visible;contain:none}
.hero-universe .global-sculpture{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.hero-universe .orbit-label{display:none}
.mobile-orbit-labels{display:block;font-family:var(--font);fill:#244d3e}
.mobile-orbit-labels .mobile-region{font-size:16px;letter-spacing:.8px;fill:#496651;font-weight:500}
.mobile-orbit-labels .mobile-market{font-size:32px;font-weight:600;letter-spacing:0}

.market-runway{grid-template-columns:repeat(3,minmax(0,1fr));height:auto;min-height:96px;padding-block:20px;flex:none;gap:0}
.market-runway>a{height:auto;min-height:52px;padding:0 24px;gap:14px}
.market-runway>a>div{gap:7px;overflow-wrap:anywhere}
.market-runway strong{display:block;white-space:normal;word-break:keep-all;overflow-wrap:anywhere;font-size:16px;line-height:1.5}
.market-runway small{display:block;margin:4px 0 0;font-size:10px}
.market-runway .runway-region{font-size:10px;letter-spacing:.8px}
.runway-arrow{flex:none}

footer{flex:none;height:auto;padding:10px 0 max(10px,env(safe-area-inset-bottom))}
footer .footer-top{display:flex;height:auto;min-height:36px;flex-wrap:wrap;gap:8px 24px;padding:0 0 8px}
.footer-top p{margin:0;overflow-wrap:anywhere}
footer .footer-top>a.footer-email{max-width:100%;white-space:normal;overflow-wrap:anywhere;margin-left:auto}
.footer-scope{padding:0 0 8px;font-size:11px;line-height:1.65}
.footer-bottom{display:flex;height:auto;min-height:0;padding:8px 0 0;flex-wrap:wrap}

@media(max-width:1000px){
 .wrap,.hero-premium .hero-grid{width:calc(100% - 48px)}
 .header,.nav-wrap{min-height:72px}
 .nav-wrap{padding-block:12px}
 .header .brand{font-size:23px}
 .menu-toggle{display:flex;flex:none;flex-direction:column;gap:6px;width:44px;height:44px;align-items:center;justify-content:center}
 .menu-toggle span{display:block;width:21px;height:1px;background:var(--ink);transition:.2s}
 .menu-toggle[aria-expanded="true"] span:first-child{transform:translateY(3.5px) rotate(45deg)}
 .menu-toggle[aria-expanded="true"] span:last-child{transform:translateY(-3.5px) rotate(-45deg)}
 .header nav{display:none;position:absolute;top:100%;left:0;right:0;padding:16px 24px max(20px,env(safe-area-inset-bottom));background:var(--paper);border-bottom:1px solid var(--line);box-shadow:0 12px 20px #153b3710;flex-direction:column;align-items:stretch;gap:4px;font-size:15px;max-height:calc(100svh - 72px);overflow:auto}
 .header nav.open{display:flex}
 .header nav>a{display:flex;align-items:center;min-height:44px;white-space:normal;overflow-wrap:anywhere}
 .hero-premium .hero-grid{grid-template-columns:minmax(0,1fr);padding-block:32px 16px;gap:16px}
 .hero-premium h1{font-size:clamp(32px,6vw,48px);letter-spacing:-1.3px}
 .hero-premium .hero-universe{max-width:500px}
 .hero-universe .universe-word,.hero-universe .universe-top,.hero-universe .universe-bottom{display:none}
 .hero-signature{margin-top:24px}
 .market-runway>a{padding-inline:16px}
 .runway-number,.runway-arrow{display:none}
}

@media(max-width:740px){
 .wrap,.hero-premium .hero-grid{width:calc(100% - 40px)}
 .hero-premium .hero-grid{padding-top:26px;gap:12px}
 .hero-launch{margin-bottom:20px}
 .hero-premium h1{font-size:clamp(30px,8vw,40px);margin-bottom:20px}
 .hero-premium .hero-desc{font-size:14px;margin-bottom:22px}
 .hero-premium .button{padding:12px 16px;font-size:13px;gap:16px}
 .hero-premium .text-link{font-size:13px}
 .hero-signature{display:none}
 .hero-premium .hero-universe{max-width:450px}
 .market-runway{min-height:88px;padding-block:16px}
 .market-runway>a{padding-inline:12px}
 .market-runway strong{font-size:14px}
 .market-runway small{display:none}
 .market-runway .runway-region{font-size:9px;letter-spacing:.2px}
 footer .footer-top .brand{font-size:16px}
 .footer-scope{font-size:11px}
}

@media(max-width:360px){
 .market-runway{grid-template-columns:minmax(0,1fr);padding-block:0}
 .market-runway>a,.market-runway>a:first-child,.market-runway>a:last-child{padding:14px 0;border-right:0;border-bottom:1px solid var(--line)}
 .market-runway>a:last-child{border-bottom:0}
 .market-runway>a>div{gap:3px}
 .market-runway .runway-arrow{display:grid}
}
