/* IIHPL — Space Exploration theme. Loaded after theme-variants.css and chat-widget.css. */
body.theme-space{
  --ink:#02030a;
  --ink-2:#060a14;
  --panel:#08111f;
  --line:rgba(103,232,249,.18);
  --text:#eef6ff;
  --muted:#93a7c4;
  --gold:#ff6b35;
  --gold-2:#ffb08a;
  --teal:#67e8f9;
  background:#02030a!important;
  color:#eef6ff!important;
}
body.theme-space .space-bg{display:none!important}
#space-canvas{
  display:none;position:fixed;inset:0;width:100vw;height:100vh;z-index:0;
  pointer-events:none;background:
    radial-gradient(ellipse at 68% 18%,rgba(255,107,53,.10),transparent 55%),
    radial-gradient(ellipse at 20% 78%,rgba(103,232,249,.08),transparent 58%),
    #02030a;
}
body.theme-space #space-canvas{display:block}
body.theme-space header{background:rgba(2,4,10,.66)!important;border-bottom-color:rgba(103,232,249,.16)!important}
body.theme-space .brand-mark{
  background:radial-gradient(circle at 35% 30%,#ffb08a,#ff6b35 48%,#6d1d0c)!important;
  color:#120703!important;box-shadow:0 0 28px rgba(255,107,53,.25)!important;
}
body.theme-space .brand-name{color:#fff!important}
body.theme-space .brand-sub{color:#8fd8e9!important}
body.theme-space .nav-links{color:#b9d7e6!important}
body.theme-space .nav-links a:hover{color:#ffb08a!important}
body.theme-space .btn-ghost{border-color:rgba(103,232,249,.30)!important;background:rgba(103,232,249,.04)!important}
body.theme-space .btn-ghost:hover{background:rgba(103,232,249,.11)!important}
body.theme-space .btn-gold{background:linear-gradient(180deg,#ffb08a,#ff6b35)!important;color:#1b0803!important;box-shadow:0 0 30px rgba(255,107,53,.22)!important}
body.theme-space .hero{
  min-height:680px;
  background:
    radial-gradient(1000px 620px at 78% 16%,rgba(255,107,53,.10),transparent 62%),
    radial-gradient(800px 540px at 8% 38%,rgba(103,232,249,.09),transparent 62%)!important;
}
body.theme-space .hero::after{
  opacity:.42!important;
  background-image:
    linear-gradient(rgba(103,232,249,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(103,232,249,.055) 1px,transparent 1px)!important;
  background-size:72px 72px!important;
}
body.theme-space .hero::before{
  content:"";position:absolute;left:-20%;right:-20%;bottom:-25%;height:62%;pointer-events:none;
  background-image:linear-gradient(rgba(103,232,249,.16) 1px,transparent 1px),linear-gradient(90deg,rgba(103,232,249,.16) 1px,transparent 1px);
  background-size:52px 52px;
  transform:perspective(360px) rotateX(64deg);
  transform-origin:center bottom;opacity:.26;z-index:0;
}
body.theme-space .hero-grid{position:relative;z-index:2}
body.theme-space .planet{display:none!important}
body.theme-space .eyebrow{color:#ffb08a!important}
body.theme-space .eyebrow::before{background:linear-gradient(90deg,#ff6b35,#67e8f9)!important}
body.theme-space .hero h1{color:#f4fbff!important;text-shadow:0 0 70px rgba(103,232,249,.10)!important}
body.theme-space .hero h1 em{
  background:linear-gradient(90deg,#ffb08a 0%,#ff6b35 45%,#67e8f9 100%)!important;
  -webkit-background-clip:text!important;background-clip:text!important;color:transparent!important;
}
body.theme-space .hero p.lede{color:#b8cee0!important}
body.theme-space .hero-note{color:#88a4bb!important}
body.theme-space .dot{background:#67e8f9!important;box-shadow:0 0 16px #67e8f9!important}
body.theme-space .console{
  background:linear-gradient(145deg,rgba(7,18,33,.82),rgba(2,6,15,.90))!important;
  border-color:rgba(103,232,249,.28)!important;
  box-shadow:0 34px 100px rgba(0,0,0,.55),0 0 70px rgba(103,232,249,.10)!important;
  transform:perspective(1000px) rotateY(-3deg) rotateX(1deg)!important;
}
body.theme-space .console:hover{transform:perspective(1000px) rotateY(0) rotateX(0)!important}
body.theme-space .console-title{color:#8fd8e9!important}
body.theme-space .live{color:#ffb08a!important}
body.theme-space .metric{background:rgba(103,232,249,.04)!important;border-color:rgba(103,232,249,.13)!important}
body.theme-space .metric b.gold{color:#ffb08a!important}
body.theme-space .metric b.teal{color:#67e8f9!important}
body.theme-space .transcript{background:rgba(0,0,0,.32)!important;border-color:rgba(103,232,249,.10)!important}
body.theme-space .line.ai .who{color:#ffb08a!important}
body.theme-space .line.lead .who{color:#67e8f9!important}
body.theme-space .pill{background:rgba(103,232,249,.08)!important;border-color:rgba(103,232,249,.25)!important;color:#67e8f9!important}
body.theme-space .trust{background:rgba(3,8,16,.58)!important;border-color:rgba(103,232,249,.13)!important}
body.theme-space .trust p{color:#7e9cb3!important}
body.theme-space .trust ul{color:#b9d7e6!important}
body.theme-space .light{background:linear-gradient(180deg,rgba(4,12,24,.90),rgba(2,5,12,.94))!important;color:#eef6ff!important;border-color:rgba(103,232,249,.10)!important}
body.theme-space .light .muted{color:#93a7c4!important}
body.theme-space .section-head h2{color:#f4fbff!important}
body.theme-space .section-head p{color:#a9c0d4!important}
body.theme-space .problem-quote{color:#f4fbff!important}
body.theme-space .problem-quote em{color:#ffb08a!important}
body.theme-space .problem-card{background:rgba(8,18,32,.72)!important;border-color:rgba(103,232,249,.16)!important;backdrop-filter:blur(10px)}
body.theme-space .problem-card p{color:#a9c0d4!important}
body.theme-space .problem-card.reality h3{color:#ff8b64!important}
body.theme-space .problem-card.solution h3{color:#67e8f9!important}
body.theme-space .step{background:linear-gradient(180deg,rgba(9,20,36,.74),rgba(4,9,18,.56))!important;border-color:rgba(103,232,249,.16)!important;backdrop-filter:blur(10px)}
body.theme-space .step h3{color:#f4fbff!important}
body.theme-space .step p{color:#93a7c4!important}
body.theme-space .step-num{color:#ffb08a!important;border-color:rgba(255,107,53,.45)!important;background:rgba(255,107,53,.07)!important}
body.theme-space .service{background:rgba(8,18,32,.66)!important;border-color:rgba(103,232,249,.16)!important;backdrop-filter:blur(10px)}
body.theme-space .service h3{color:#f4fbff!important}
body.theme-space .service p{color:#93a7c4!important}
body.theme-space .service .icon{color:#ffb08a!important;background:rgba(255,107,53,.08)!important;border-color:rgba(255,107,53,.25)!important}
body.theme-space .why{background:rgba(4,10,20,.78)!important;border-color:rgba(103,232,249,.10)!important}
body.theme-space .why-item{background:rgba(9,20,36,.66)!important;border-color:rgba(103,232,249,.13)!important;backdrop-filter:blur(8px)}
body.theme-space .why-item b{color:#f4fbff!important}
body.theme-space .why-item span{color:#93a7c4!important}
body.theme-space .stat{background:rgba(0,0,0,.24)!important;border-color:rgba(103,232,249,.13)!important}
body.theme-space .stat b{color:#ffb08a!important}
body.theme-space .stat span{color:#7e9cb3!important}
body.theme-space .package{background:rgba(8,18,32,.80)!important;border-color:rgba(103,232,249,.16)!important;backdrop-filter:blur(10px)}
body.theme-space .package.featured{background:rgba(14,24,38,.92)!important;border-color:#ff6b35!important;box-shadow:0 24px 70px rgba(255,107,53,.12)!important}
body.theme-space .package h3{color:#f4fbff!important}
body.theme-space .package .price,body.theme-space .package-note{color:#93a7c4!important}
body.theme-space .package ul{color:#b9d0e2!important}
body.theme-space .package .tag{color:#ffb08a!important}
body.theme-space .package li::before{color:#67e8f9!important}
body.theme-space .proof{background:linear-gradient(120deg,rgba(19,10,8,.92),rgba(3,8,16,.96))!important;border-color:rgba(255,107,53,.16)!important}
body.theme-space .proof h2{color:#f4fbff!important}
body.theme-space .proof p{color:#a9c0d4!important}
body.theme-space .proof-card{background:rgba(255,107,53,.055)!important;border-color:rgba(255,107,53,.28)!important}
body.theme-space .proof-card h3{color:#f4fbff!important}
body.theme-space .proof-card p{color:#b9d0e2!important}
body.theme-space .proof-card .k{color:#ffb08a!important}
body.theme-space .proof-metrics div{background:rgba(0,0,0,.24)!important;border-color:rgba(103,232,249,.12)!important}
body.theme-space .proof-metrics b{color:#f4fbff!important}
body.theme-space .proof-metrics span{color:#7e9cb3!important}
body.theme-space details{border-color:rgba(103,232,249,.13)!important}
body.theme-space summary{color:#f4fbff!important}
body.theme-space details p{color:#a9c0d4!important}
body.theme-space summary::after{color:#ffb08a!important}
body.theme-space .contact{background:rgba(2,5,12,.96)!important;border-color:rgba(103,232,249,.12)!important}
body.theme-space .contact h2{color:#f4fbff!important}
body.theme-space .contact p,body.theme-space .contact-points{color:#a9c0d4!important}
body.theme-space form{background:linear-gradient(180deg,rgba(12,20,32,.94),rgba(4,8,15,.96))!important;border-color:rgba(103,232,249,.16)!important}
body.theme-space footer{background:#010307!important;border-color:rgba(103,232,249,.12)!important}
body.theme-space .footer-links{color:#93a7c4!important}
body.theme-space .footer-note{color:#6f8ba2!important}
body.theme-space .draft{color:#93a7c4!important;border-color:rgba(103,232,249,.14)!important}

/* mission HUD */
.space-hud{
  position:fixed;right:18px;top:82px;z-index:45;width:196px;padding:12px 13px;
  border:1px solid rgba(103,232,249,.24);border-radius:12px;
  background:rgba(2,6,14,.66);backdrop-filter:blur(14px);
  font-family:Consolas,"SFMono-Regular",monospace;color:#9fd8e6;font-size:9px;letter-spacing:.10em;
  box-shadow:0 16px 42px rgba(0,0,0,.26);pointer-events:none;
}
.space-hud .hud-live{display:flex;align-items:center;gap:7px;color:#ffb08a;font-weight:700;margin-bottom:7px}
.space-hud .hud-live i{width:6px;height:6px;border-radius:50%;background:#ff6b35;box-shadow:0 0 0 4px rgba(255,107,53,.13);animation:hudPulse 1.6s infinite}
.space-hud .hud-row{display:flex;justify-content:space-between;gap:8px;border-top:1px solid rgba(103,232,249,.10);padding-top:6px;margin-top:6px}
.space-hud b{color:#eef6ff;font-weight:600;letter-spacing:.06em}
.space-hud .hud-orbit{height:40px;margin:8px 0 4px;position:relative;border:1px solid rgba(103,232,249,.10);border-radius:50%;transform:rotate(-12deg)}
.space-hud .hud-orbit::before{content:"";position:absolute;inset:7px 18px;border:1px dashed rgba(103,232,249,.28);border-radius:50%}
.space-hud .hud-orbit::after{content:"";position:absolute;width:5px;height:5px;border-radius:50%;background:#ff6b35;top:9px;left:53%;box-shadow:0 0 10px #ff6b35;animation:orbitDot 6s linear infinite}
@keyframes hudPulse{0%,100%{opacity:1}50%{opacity:.35}}
@keyframes orbitDot{from{transform:rotate(0deg) translateX(38px) rotate(0)}to{transform:rotate(360deg) translateX(38px) rotate(-360deg)}}

.space-telemetry{
  display:flex;align-items:center;gap:13px;flex-wrap:wrap;margin-top:26px;padding-top:14px;
  border-top:1px solid rgba(103,232,249,.13);
  font-family:Consolas,"SFMono-Regular",monospace;font-size:9px;letter-spacing:.12em;color:#8bb6c6;
}
.space-telemetry span{display:inline-flex;align-items:center;gap:7px}
.space-telemetry i{width:5px;height:5px;border-radius:50%;background:#67e8f9;box-shadow:0 0 9px #67e8f9;animation:hudPulse 1.8s infinite}
.space-telemetry b{color:#eef6ff;font-weight:600}
@media(max-width:1100px){.space-hud{display:none}}
@media(max-width:940px){body.theme-space .hero{min-height:0}}
@media(max-width:600px){
  body.theme-space .wrap{width:calc(100% - 30px)}
  body.theme-space .nav{gap:8px;padding:12px 0}
  body.theme-space .brand{gap:8px;min-width:0}
  body.theme-space .brand-mark{width:34px;height:34px;flex:0 0 34px}
  body.theme-space .brand-name{font-size:12px;letter-spacing:.10em}
  body.theme-space .brand-sub{display:none}
  body.theme-space .nav-cta{gap:0}
  body.theme-space .nav-cta .btn-ghost{display:none!important}
  body.theme-space .nav-cta .btn-gold{font-size:10px;padding:9px 11px;white-space:nowrap}
  body.theme-space .hero{padding:52px 0 44px}
  body.theme-space .hero h1{font-size:32px;line-height:1.07;letter-spacing:-.03em;max-width:100%}
  body.theme-space .hero p.lede{font-size:13.5px;line-height:1.55;max-width:100%}
  body.theme-space .hero-actions{flex-direction:column;align-items:stretch;gap:9px}
  body.theme-space .hero-actions .btn{width:100%}
  body.theme-space .hero-note{font-size:10px;gap:8px;line-height:1.5}
  body.theme-space .hero-note span{flex:0 0 100%}
  body.theme-space .space-telemetry{font-size:8px;gap:8px;line-height:1.5;margin-top:20px}
  body.theme-space .space-telemetry span{flex:0 0 100%}
  body.theme-space .hero::before{display:none!important}
  body.theme-space .console{transform:none!important;border-radius:16px!important;padding:12px!important;margin-top:6px}
  body.theme-space .console-title{font-size:9px}
  body.theme-space .metric b{font-size:18px}
  body.theme-space .line{font-size:10.5px;gap:7px}
  body.theme-space .who{flex-basis:34px;font-size:8px}
  body.theme-space .chat-toggle{right:12px!important;bottom:12px!important;font-size:12px!important;padding:11px 14px!important}
}

