/* Electric Software subpage chrome v2 · "rooms in the same building as the 3D world"
   Night-window hero + cyan wire signature. Tokens match index.html. */
:root{
  --night:#0a1524; --night2:#0e2244; --accent:#1479ff; --accent-deep:#0b57d0;
  --cyan:#22d3ee; --ink:#0e1622; --ink-soft:#5b6672; --paper:#fff; --mist:#eef3f9;
  --line:#e4eaf1; --hero-ink:#f2f7ff; --hero-soft:#b9d4f8;
  --disp:'Sora',sans-serif; --body:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
}
*{box-sizing:border-box}
body{margin:0;font-family:var(--body);color:var(--ink);background:var(--mist)}

/* ---------- header (same frosted bar as the 3D world) ---------- */
.site-header{position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:1rem;
  padding:.7rem clamp(1rem,4vw,2.2rem);background:rgba(255,255,255,.85);
  backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.site-header img{height:28px;width:auto;display:block}
.site-header nav{margin-left:auto;display:flex;gap:.35rem;align-items:center;flex-wrap:wrap}
.site-header nav:not(.sitenav) a{font-weight:600;font-size:.88rem;text-decoration:none;color:var(--ink);
  padding:.5rem .7rem;border-radius:10px}
.site-header nav:not(.sitenav) a:hover{color:var(--accent);background:#f0f6ff}
/* ---------- site nav: dropdown groups, matching the 3D home ---------- */
nav.sitenav{margin-left:auto;display:flex;align-items:center;gap:.1rem;flex-wrap:nowrap}
.ngrp{position:relative}
.ntrig,.nlink{font:inherit;font-size:.88rem;font-weight:600;color:var(--ink);text-decoration:none;
  background:none;border:0;cursor:pointer;padding:.5rem .68rem;border-radius:10px;white-space:nowrap;
  display:inline-flex;align-items:center;gap:.28rem;transition:color .2s,background .2s}
.ntrig:hover,.nlink:hover,.ntrig[aria-expanded="true"]{color:var(--accent);background:#f0f6ff}
.ntrig i{font-style:normal;font-size:.64rem;opacity:.55;transition:transform .2s}
.ntrig[aria-expanded="true"] i{transform:rotate(180deg)}
.npanel{position:absolute;top:calc(100% + .5rem);left:0;min-width:13.5rem;padding:.4rem;
  background:#fff;border:1px solid rgba(11,18,32,.1);border-radius:14px;
  box-shadow:0 18px 40px -14px rgba(11,18,32,.34);display:none;flex-direction:column;z-index:15}
.ngrp.open .npanel{display:flex}
/* hover fallback so the menu works before site-nav.js runs, and with JS disabled */
@media (hover:hover) and (pointer:fine){ .ngrp:hover .npanel{display:flex} }
.npanel a{font-size:.86rem;font-weight:500;color:var(--ink);text-decoration:none;padding:.46rem .6rem;
  border-radius:9px;white-space:nowrap;transition:color .15s,background .15s}
.npanel a:hover{background:#f0f6ff;color:var(--accent)}
.nphone{display:none}
.navburger{display:none;margin-left:auto;background:none;border:0;cursor:pointer;padding:.5rem;
  flex-direction:column;gap:4px;border-radius:9px}
.navburger span{display:block;width:20px;height:2px;background:var(--ink);border-radius:2px;transition:transform .2s,opacity .2s}
.navburger[aria-expanded="true"] span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.navburger[aria-expanded="true"] span:nth-child(2){opacity:0}
.navburger[aria-expanded="true"] span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.navscrim{position:fixed;inset:0;background:rgba(11,18,32,.45);z-index:8}
@media (max-width:1024px){
  .navburger{display:flex}
  nav.sitenav{position:fixed;top:3.6rem;left:0;right:0;max-height:calc(100dvh - 3.6rem);overflow-y:auto;
    overscroll-behavior:contain;flex-direction:column;align-items:stretch;gap:0;margin:0;padding:.6rem 1rem 1.6rem;
    background:#fff;border-bottom:1px solid var(--line);box-shadow:0 22px 40px -18px rgba(11,18,32,.4);
    display:none;z-index:9}
  .site-header.navopen nav.sitenav{display:flex}
  .ntrig,.nlink{width:100%;justify-content:space-between;font-size:.98rem;padding:.72rem .4rem}
  .npanel{position:static;display:flex;min-width:0;padding:0 0 .5rem .4rem;border:0;box-shadow:none;
    background:none;max-height:0;overflow:hidden}
  .ngrp.open .npanel{max-height:none}
  .npanel a{font-size:.92rem;padding:.5rem .6rem}
  .nphone{display:inline-flex;margin-top:.5rem;font-weight:700;color:var(--accent);text-decoration:none;
    padding:.72rem .4rem;font-size:.98rem}
}
.btn{font-weight:600;font-size:.9rem;text-decoration:none;border-radius:999px;padding:.55rem 1.05rem;
  display:inline-block}
.btn.primary{background:var(--accent);color:#fff !important}
.btn.primary:hover{background:var(--accent-deep)}
.btn.ghost{color:var(--ink);border:1.5px solid #d5deea}
.btn.ghost:hover{border-color:var(--accent);color:var(--accent)}

/* ---------- hero: the night-sky window ---------- */
.hero{position:relative;color:var(--hero-ink);overflow:hidden;
  background:
    radial-gradient(85% 120% at 82% 8%, rgba(20,121,255,.34) 0%, rgba(20,121,255,0) 55%),
    radial-gradient(60% 90% at 12% 95%, rgba(34,211,238,.16) 0%, rgba(34,211,238,0) 60%),
    linear-gradient(135deg,#0a1524 0%,#0e2244 58%,#0b1a33 100%)}
.hero::before{content:"";position:absolute;inset:0;opacity:.10;pointer-events:none;
  background-image:linear-gradient(rgba(120,180,255,.55) 1px,transparent 1px),
    linear-gradient(90deg,rgba(120,180,255,.55) 1px,transparent 1px);
  background-size:56px 56px;
  -webkit-mask-image:radial-gradient(75% 85% at 60% 30%,#000 25%,transparent 95%);
  mask-image:radial-gradient(75% 85% at 60% 30%,#000 25%,transparent 95%)}
.hero-in{position:relative;max-width:900px;margin:0 auto;
  padding:clamp(2.6rem,6vw,4.6rem) 1.4rem clamp(2.8rem,6vw,4.2rem)}
.crumb{font-size:.82rem;color:var(--hero-soft);margin:0 0 1.1rem;opacity:.85}
.crumb a{color:var(--hero-soft)}
.eyebrow{font-family:var(--body);font-weight:600;font-size:.78rem;letter-spacing:.16em;
  text-transform:uppercase;color:var(--cyan);margin:0 0 .55rem}
.hero h1{font-family:var(--disp);font-weight:700;font-size:clamp(1.9rem,5vw,3.1rem);
  line-height:1.08;letter-spacing:-.015em;margin:0 0 .9rem;max-width:21ch}
.hero .lede{font-size:clamp(1rem,2vw,1.13rem);line-height:1.65;color:var(--hero-soft);
  max-width:58ch;margin:0 0 1.6rem}
.hero .cta-row{display:flex;gap:.7rem;flex-wrap:wrap}
.hero .btn.ghost{color:#eaf2ff;border-color:rgba(255,255,255,.42)}
.hero .btn.ghost:hover{border-color:#fff;color:#fff}
/* the wire: drops out of the hero into the page */
.hero::after{content:"";position:absolute;left:50%;bottom:0;width:2px;height:64px;
  transform:translateX(-50%);
  background:linear-gradient(180deg,rgba(34,211,238,0),var(--cyan));
  box-shadow:0 0 12px rgba(34,211,238,.8)}
/* ops ticker: the quiet NOC readout */
.hero .ops{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin:1.7rem 0 0;
  font-size:.68rem;font-weight:600;letter-spacing:.14em;color:#7ea6d9}
.hero .ops i{font-style:normal;color:#3d5a85}
.hero .ops .dot{width:7px;height:7px;border-radius:50%;background:#35d07f;flex:0 0 auto;
  box-shadow:0 0 8px rgba(53,208,127,.9);animation:pulse 2.2s ease-in-out infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.35}}
@media (prefers-reduced-motion:reduce){.hero .ops .dot{animation:none}}

/* scroll reveal (JS adds .rv then .in) */
.rv{opacity:0;transform:translateY(14px);transition:opacity .5s ease,transform .5s ease}
.rv.in{opacity:1;transform:none}
ul.cards li.rv{transition-delay:calc(var(--i,0)*60ms)}

/* orchestrated load-in */
@media (prefers-reduced-motion:no-preference){
  .hero .crumb,.hero .eyebrow,.hero h1,.hero .lede,.hero .cta-row{
    opacity:0;transform:translateY(14px);animation:rise .6s ease forwards}
  .hero .eyebrow{animation-delay:.05s}.hero h1{animation-delay:.12s}
  .hero .lede{animation-delay:.2s}.hero .cta-row{animation-delay:.3s}
  @keyframes rise{to{opacity:1;transform:none}}
}

/* ---------- page body ---------- */
main.page{position:relative;max-width:900px;margin:-1px auto 0;padding:0 1.2rem 2rem}
.page-body{position:relative;background:var(--paper);border:1px solid var(--line);
  border-radius:0 0 24px 24px;border-top:none;
  box-shadow:0 30px 70px -40px rgba(20,60,120,.3);
  padding:clamp(1.8rem,4.5vw,3rem)}
.page-body::before{content:"";position:absolute;top:0;left:50%;width:2px;height:44px;
  transform:translateX(-50%);
  background:linear-gradient(180deg,var(--cyan),rgba(34,211,238,0))}
.page-body h2{font-family:var(--disp);font-weight:600;font-size:clamp(1.3rem,3vw,1.65rem);
  letter-spacing:-.01em;line-height:1.2;margin:2.4rem 0 .8rem;padding-left:.85rem;position:relative}
.page-body h2::before{content:"";position:absolute;left:0;top:.18em;bottom:.18em;width:3px;
  border-radius:2px;background:linear-gradient(180deg,var(--accent),var(--cyan))}
.page-body h3{font-family:var(--disp);font-weight:600;font-size:1.15rem;margin:1.8rem 0 .5rem}
.page-body h4{font-size:1.02rem;margin:1.5rem 0 .35rem}
.page-body p,.page-body li{color:#333f4d;line-height:1.7;font-size:1rem}
.page-body ul,.page-body ol{padding-left:1.3rem}
.page-body img{max-width:100%;height:auto;border-radius:12px}
.page-body a{color:var(--accent)}

/* benefit lists -> card grid (builder adds .cards to strong-led lists) */
ul.cards{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:.85rem;margin:1.2rem 0}
ul.cards li{border:1px solid var(--line);border-radius:14px;padding:1rem 1.1rem;background:#fbfdff;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
ul.cards li:hover{transform:translateY(-2px);border-color:#bcd8ff;
  box-shadow:0 12px 28px -18px rgba(20,60,120,.4)}
ul.cards li strong{display:block;font-family:var(--disp);font-weight:600;font-size:.95rem;
  margin-bottom:.25rem;color:var(--ink)}

/* FAQ accordions */
details.faq{border:1px solid var(--line);border-radius:14px;margin:.6rem 0;background:#fbfdff;overflow:hidden}
details.faq summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:.7rem;
  font-weight:600;font-size:.98rem;padding:.95rem 1.1rem;color:var(--ink)}
details.faq summary::-webkit-details-marker{display:none}
details.faq summary::before{content:"+";font-family:var(--disp);font-weight:600;color:var(--accent);
  font-size:1.15rem;line-height:1;flex:0 0 auto;transition:transform .2s ease}
details.faq[open] summary::before{transform:rotate(45deg)}
details.faq[open] summary{color:var(--accent-deep)}
details.faq p{margin:.1rem 1.1rem 1rem 2.55rem}

/* testimonials: quote on the wire */
.page-body blockquote{position:relative;margin:1.4rem 0;padding:1.1rem 1.3rem 1.1rem 1.6rem;
  background:#f5f9ff;border-radius:0 14px 14px 0;border-left:3px solid transparent;
  border-image:linear-gradient(180deg,var(--accent),var(--cyan)) 1}
.page-body blockquote::before{content:"\201C";position:absolute;top:.1rem;right:.9rem;
  font-family:var(--disp);font-size:3rem;line-height:1;color:rgba(20,121,255,.15)}
.page-body blockquote p{margin:.3rem 0}
.page-body blockquote cite{display:block;margin-top:.55rem;font-style:normal;font-weight:600;
  color:var(--ink-soft);font-size:.88rem}

/* ---------- pricing tiers ----------
   ⚠ .page-body p,li sets its own color, which beats the card's inherited white, so every text
   rule here is scoped under .page-body to win. Without it the dark cards go dark-on-dark. */
.page-body .tiers{display:grid;grid-template-columns:repeat(4,1fr);gap:.9rem;margin:1.6rem 0 .6rem;
  list-style:none;padding:0}
.page-body .tier p,.page-body .tier li{color:#fff}
.tier{position:relative;display:flex;flex-direction:column;padding:1.4rem 1.15rem 1.3rem;border-radius:18px;
  color:#fff;background:linear-gradient(165deg,#7cc0f0,#5aa7e6)}
.tier.t2{background:linear-gradient(165deg,#43a8ec,#2b7fd8)}
.tier.t3{background:linear-gradient(165deg,#2f7fd6,#1a4fa8);box-shadow:0 20px 44px -20px rgba(11,40,100,.75)}
.tier.t4{background:linear-gradient(165deg,#1f4f9e,#122f6b)}
.page-body .tier .flag{color:#0b57d0;position:absolute;top:-.62rem;left:50%;transform:translateX(-50%);white-space:nowrap;
  background:#fff;color:#0b57d0;font-size:.62rem;font-weight:700;letter-spacing:.1em;
  padding:.28rem .7rem;border-radius:99px;box-shadow:0 6px 16px -6px rgba(11,40,100,.6)}
.page-body .tier h3{font-family:var(--disp);font-size:1.18rem;margin:.2rem 0 .5rem;text-align:center;color:#fff}
.page-body .tier .amt{text-align:center;font-family:var(--disp);font-weight:700;font-size:2rem;line-height:1;margin:0}
.page-body .tier .amt span{font-family:var(--body);font-size:.78rem;font-weight:600;opacity:.85}
.page-body .tier .who{text-align:center;font-size:.82rem;margin:.5rem 0 .9rem;color:rgba(255,255,255,.92)}
.page-body .tier ul{list-style:none;margin:0;padding:.9rem 0 0;border-top:1px solid rgba(255,255,255,.28);
  display:flex;flex-direction:column;gap:.55rem}
.page-body .tier li{position:relative;padding-left:1.35rem;font-size:.86rem;line-height:1.45}
.page-body .tier li::before{content:"\2713";position:absolute;left:0;top:-.02em;font-weight:700;color:#fff;opacity:.85}
.page-body .tier li.meter{padding-left:0;margin-top:.2rem;font-size:.78rem;color:rgba(255,255,255,.85)}
.page-body .tier li.meter::before{content:none}
@media (max-width:900px){ .page-body .tiers{grid-template-columns:repeat(2,1fr)} }
@media (max-width:560px){ .page-body .tiers{grid-template-columns:1fr} }
/* SLO + terms tables */
.tbl-wrap{overflow-x:auto;margin:1.1rem 0 1.4rem}
table.slo{width:100%;border-collapse:collapse;font-size:.88rem;min-width:34rem}
table.slo th,table.slo td{text-align:left;padding:.62rem .75rem;border-bottom:1px solid var(--line)}
table.slo thead th{font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-soft);
  border-bottom:2px solid var(--line)}
table.slo tbody tr:last-child td{border-bottom:none}
table.slo td:first-child{font-weight:600}
.terms-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.7rem;margin:1.1rem 0 .4rem;padding:0;list-style:none}
.terms-grid li{background:#f5f9ff;border-radius:12px;padding:.8rem .95rem;font-size:.88rem}
.terms-grid b{display:block;font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;
  color:var(--accent);margin-bottom:.25rem}
@media (max-width:640px){ .terms-grid{grid-template-columns:1fr} }

/* CTA band: return to the city */
.cta-band{position:relative;overflow:hidden;margin-top:2.6rem;padding:1.7rem 1.6rem;border-radius:18px;
  color:#fff;display:flex;flex-wrap:wrap;gap:1rem;align-items:center;justify-content:space-between;
  background:
    radial-gradient(80% 140% at 85% 10%, rgba(34,211,238,.25) 0%, rgba(34,211,238,0) 55%),
    linear-gradient(120deg,#0e2a55,#0b57d0)}
.cta-band .lead{font-family:var(--disp);font-weight:700;font-size:1.2rem;margin:0;color:#fff}
.cta-band .sub{margin:.25rem 0 0;color:#cfe1ff;font-size:.92rem;max-width:52ch}
.cta-band .actions{display:flex;gap:.6rem;flex-wrap:wrap}
.cta-band .btn.ghost{color:#fff;border-color:rgba(255,255,255,.5)}
.cta-band .btn.ghost:hover{border-color:#fff;color:#fff}
.tour-link{display:inline-block;margin-top:1.6rem;font-size:.92rem}

/* ---------- footer ---------- */
.site-footer{max-width:1100px;margin:0 auto;padding:2.2rem 1.2rem 2.6rem;color:#6a7686;
  font-size:.86rem;line-height:1.8}
.site-footer .cols{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:1.4rem;margin-bottom:1.4rem}
.site-footer h5{margin:0 0 .5rem;font-family:var(--disp);font-weight:600;font-size:.76rem;
  text-transform:uppercase;letter-spacing:.1em;color:#8a97a6}
.site-footer a{color:#5b6672;text-decoration:none;display:block;padding:.12rem 0}
.site-footer a:hover{color:var(--accent)}
.site-footer .legal{border-top:1px solid #dde5ee;padding-top:1.1rem;font-size:.8rem;color:#8a97a6}

.hs-embed{margin:1.6rem 0}

/* Scroll-pin "hold" (ported from the PhoneFlow landing pattern): the video keeps
   the viewport for an extra stretch of scroll so it gets noticed, then releases.
   Pure CSS sticky; never hijacks scrolling. */
.video-hold::after{content:"";display:block;height:45vh}
.video-hold > .video-hold-item{position:sticky;top:84px;z-index:2}
@media (max-width:600px){.video-hold::after{height:28vh}}
@media (prefers-reduced-motion:reduce){
  .video-hold::after{height:0}
  .video-hold > .video-hold-item{position:static}
}
a:focus-visible,summary:focus-visible,.btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media (max-width:640px){ .site-header nav:not(.sitenav) a:not(.btn){display:none} }
