/* Two faces share one grid cell: the larger face reserves space, so no layout jumps. */
body{min-height:100vh;background:radial-gradient(ellipse at 100% 0,#98408c44,transparent 60%),linear-gradient(135deg,#4d204f,#782b73 55%,#66265f);color:var(--ink)}
.masthead{overflow:clip;background:transparent;padding-bottom:64px;isolation:isolate}
.nav-wrap{height:96px}.brand img{width:132px}
.hero{width:min(850px,calc(100% - 56px));padding-top:8px;position:relative;z-index:2}
.hero-stage{perspective:1200px}
.hero-rotor{display:grid;transform:none;transform-style:flat}
.hero-face{grid-area:1/1;min-width:0;min-height:224px;display:flex;flex-direction:column;justify-content:center;padding:24px 32px;border:1px solid #ffffff20;border-radius:18px;background:linear-gradient(120deg,#ffffff0b,#ffffff03);backface-visibility:hidden;-webkit-backface-visibility:hidden}
/* Explicit visibility is essential: some browsers composite hidden 3D backs incorrectly. */
.hero-face[aria-hidden="true"]{visibility:hidden;pointer-events:none}
.hero-face[aria-hidden="false"]{visibility:visible;transform:none}
.hero-rotor.is-leaving .hero-face[aria-hidden="false"]{animation:hero-leave .36s ease-in both}
.hero-rotor.is-entering .hero-face[aria-hidden="false"]{animation:hero-enter .4s ease-out both}
@keyframes hero-leave{from{opacity:1;transform:translateY(0) rotateX(0)}to{opacity:0;transform:translateY(-25%) rotateX(80deg)}}
@keyframes hero-enter{from{opacity:0;transform:translateY(25%) rotateX(-80deg)}to{opacity:1;transform:translateY(0) rotateX(0)}}
.hero .eyebrow{display:block;font-size:11px;margin:0 0 15px;line-height:1.5;color:#f4d9ef;letter-spacing:.2em}
.hero h1{font-size:clamp(38px,4.5vw,52px);line-height:1.06;margin:0}.hero h1 span{color:#edcae8}
.hero-description{font-size:14px;line-height:1.65;color:#f0dfee;margin:14px 0 0}
.hero .client-identity{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:16px 24px;text-align:center}
.hero .client-provider{grid-column:1/-1}
.hero .client-provider dt{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.hero .client-provider dd{font-size:clamp(24px,3.2vw,36px);line-height:1.18;font-weight:650;letter-spacing:-.035em;color:#fff;text-wrap:balance}
.hero .client-identity dt{font-size:12px;color:#e8c9e3;margin-bottom:5px}
.hero .client-identity dd{color:#fff;font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.hero .client-provider dd{font-size:clamp(24px,3.2vw,36px);line-height:1.18}
.hero .client-identity .client-net{font-size:12px;color:#e8c9e3}
.hero-controls{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:7px;color:#d7b6d2;min-height:32px}
.hero-controls button{border:0;background:none;color:#e3c5de;font-size:12px;min-height:32px;padding:4px 9px;cursor:pointer;border-radius:5px}
.hero-controls button[aria-pressed=true]{color:white;background:#ffffff0d}
.hero-controls #hero-pause{margin-left:12px;font-size:11px;color:#d9bad4}
.binary-vortex{position:absolute;z-index:0;right:-190px;top:-65px;width:1100px;height:600px;opacity:.22;pointer-events:none;user-select:none}
.hero-orbit{opacity:.45}.main-wrap{margin-top:-35px}
.test-panel{box-shadow:0 20px 60px #25102d30;border-color:#ffffffc9}
.panel-topline{padding:16px 30px;border-bottom:0}
.panel-topline>.connection{flex-basis:auto}
.test-intro{padding-top:10px}
.start-button{gap:0}.start-button>span:last-child{font-size:15px;font-weight:650}
.tips h2{color:#fff}.tips p{color:#ead8e7}.tip-number{color:#efc4e8}
.footer{border-color:#ffffff26;color:#ead5e6}.footer>span>a{color:#fff}
@media(min-width:1500px){.hero{padding-top:8px}.hero h1{font-size:52px}.masthead{padding-bottom:64px}.main-wrap{margin-top:-35px}}
@media(max-width:760px){
 .nav-wrap{height:72px}.brand img{width:94px}.hero{width:calc(100% - 30px);padding-top:3px}
 .hero-face{padding:17px 18px;min-height:216px;border-radius:14px}
 .hero .eyebrow{font-size:10px;letter-spacing:.15em;margin-bottom:11px}
 .hero h1{font-size:34px}.hero-description{font-size:13px;line-height:1.6;margin-top:12px}
 .hero .client-identity{grid-template-columns:1fr;gap:9px}
 .hero .client-provider dd{font-size:23px;line-height:1.15}
 .hero .client-identity dt{font-size:11px;margin-bottom:2px}
 .hero .client-identity dd{font-size:13px;line-height:1.4}
 .hero .client-provider dd{font-size:23px;line-height:1.15}
 .hero .client-identity .client-net{font-size:11px}
 .hero-controls{margin-top:4px}.hero-controls button{font-size:11px}
 .masthead{padding-bottom:46px}.main-wrap{margin-top:-26px}
 .binary-vortex{right:-340px;top:-50px;opacity:.17;width:850px;height:464px}
 .panel-topline{padding:13px 18px 0}.test-intro{padding-top:15px}
 .test-actions{padding-top:10px}.test-panel{border-radius:16px}
}
@media(max-width:760px) and (max-height:700px){
 .nav-wrap{height:60px}.brand img{width:82px}.hero-face{min-height:186px;padding:13px 16px}
 .hero .eyebrow{display:block;font-size:9px;margin-bottom:8px}.hero h1{font-size:29px}
 .hero .client-provider dd{font-size:20px}.hero .client-identity{gap:7px}.hero-description{font-size:12px}
 .test-intro{padding-top:12px}.panel-topline{padding-top:11px}
}
@media(prefers-reduced-motion:reduce){.hero-rotor .hero-face{animation:none!important}}

/* Vector navigation icon avoids platform emoji substitution. */
.home-link{display:inline-flex;align-items:center;gap:13px;color:#fff}
.home-link .home-label{font-size:14px;margin:0}.home-arrow{display:block;flex:none;width:22px;height:22px;color:#fff}
.run-progress{padding:0 30px 22px}
@media(max-width:760px){
 .home-link{min-width:44px;min-height:44px;justify-content:center;gap:8px}.home-link .home-label{font-size:12px}
 .test-panel{scroll-margin-top:12px}
 .test-panel.has-measurement .run-progress{order:2;padding:10px 20px 18px}
 .test-panel.has-measurement .metrics{order:3}
 .test-panel.has-measurement .test-actions{order:4;padding:20px 18px 16px}
 .test-panel.has-measurement .status-message{order:5}
 .test-panel.is-measuring .start-button,.test-panel.is-measuring .test-note{display:none}
 .test-panel.is-measuring .stop-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:9px 18px;border:1px solid var(--line);border-radius:8px;text-decoration:none}
 .test-panel.has-measurement .test-intro{padding-top:12px;padding-bottom:6px}
}
@media(max-width:440px){.home-link .home-label{display:none}}
