/* ============================================================
   i46.space — commercial SpaceBox site
   Shared atoms layered on top of site.css. Direction-specific
   layout lives in each page's own <style> block.
   ============================================================ */

:root {
  --muted-2: #5b6285;       /* quiet cool gray for metadata labels */
  --cool: #9cc4e6;          /* orbital blue accent (used sparingly) */
  --cool-dim: rgba(109,168,216,0.5);
  --warm: #e0a94f;          /* "coming" amber */
  --green: #5fb89a;         /* available / live */
}

/* back-to-i46.cz link in the nav */
.nav-back {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--fg-3);
  padding: 6px 8px;
  white-space: nowrap;
}
.nav-back:hover { color: var(--fg); }

/* ---- Availability badges : the core now/future signal ---- */
.avail {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 4px 11px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line-2);
  background: var(--bg-1);
  color: var(--fg-2);
}
.avail .ad { width: 7px; height: 7px; border-radius: 50%; }
.avail-now {
  color: var(--green);
  border-color: rgba(95,184,154,0.4);
  background: rgba(95,184,154,0.07);
}
.avail-now .ad { background: var(--green); box-shadow: 0 0 8px var(--green); }
.avail-soon {
  color: var(--warm);
  border-color: rgba(228,162,58,0.38);
  background: rgba(228,162,58,0.06);
}
.avail-soon .ad { background: var(--warm); box-shadow: 0 0 8px var(--warm); }
.avail-orbit {
  color: var(--cool);
  border-color: rgba(109,168,216,0.38);
  background: rgba(109,168,216,0.06);
}
.avail-orbit .ad { background: var(--cool); box-shadow: 0 0 8px var(--cool); }

/* live pulsing dot */
.avail-now .ad.pulse { animation: availPulse 2s ease-in-out infinite; }
@keyframes availPulse {
  0%,100% { box-shadow: 0 0 5px var(--green); }
  50%     { box-shadow: 0 0 13px var(--green); }
}

/* ---- Pricing cards (shared baseline) ---- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.price-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  background: linear-gradient(180deg, var(--bg-1), var(--bg));
  display: flex; flex-direction: column;
  transition: border-color 0.18s, transform 0.18s;
}
.price-card:hover { border-color: var(--fg-4); transform: translateY(-2px); }
.price-card.featured {
  border-color: rgba(79,93,255,0.4);
  background: linear-gradient(180deg, rgba(79,93,255,0.07), var(--bg));
}
.price-card.featured::after { content: none; }
.price-card .tier-name {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--fg-3); margin-bottom: 18px;
}
.price-card .price {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 6px;
}
.price-card .price .amt {
  font-size: 46px; line-height: 1; letter-spacing: -0.03em; color: var(--fg);
}
.price-card .price .amt em {
  font-family: var(--font-serif); font-style: italic; font-weight: 400; color: var(--accent-2);
}
.price-card .price .per {
  font-family: var(--font-mono); font-size: 12px; color: var(--fg-3);
}
.price-card .capacity {
  font-size: 14px; color: var(--fg-2); margin-bottom: 22px;
}
.price-card .capacity b { color: var(--fg); font-weight: 500; }
.price-card ul {
  list-style: none; padding: 0; margin: 0 0 26px;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 13.5px; color: var(--fg-2);
}
.price-card ul li { padding-left: 20px; position: relative; line-height: 1.45; }
.price-card ul li::before {
  content: "+"; position: absolute; left: 0; top: 0;
  color: var(--accent-2); font-family: var(--font-mono);
}
.price-card ul li.muted-li { color: var(--fg-4); }
.price-card ul li.muted-li::before { content: "·"; color: var(--fg-4); }
.price-card .price-cta { margin-top: auto; }
.price-card .btn { width: 100%; justify-content: center; }

/* hairline note under a price grid */
.price-note {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--fg-4); text-transform: uppercase;
  display: flex; gap: 18px; flex-wrap: wrap;
}

/* ---- Reusable orbit visual (from spacebox.html) ---- */
.orbit {
  position: relative; width: 100%; aspect-ratio: 1; margin: 0 auto;
}
.orbit-ring {
  position: absolute; border-radius: 50%;
  border: 1px dashed var(--line-2);
  animation: orbSpin 28s linear infinite;
}
.orbit-ring.r1 { inset: 0;   border-color: var(--line); }
.orbit-ring.r2 { inset: 11%; border-top-color: var(--accent-2); border-style: solid; animation-duration: 22s; }
.orbit-ring.r3 { inset: 24%; border-top-color: var(--cool); border-style: solid; animation-duration: 16s; animation-direction: reverse; }
.orbit-earth {
  position: absolute; inset: 36%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2e5a83 0%, #14304a 38%, #0a1a2c 70%, #050b14 100%);
  box-shadow: inset -10px -14px 30px rgba(0,0,0,0.55), 0 0 28px rgba(109,168,216,0.18), 0 0 60px rgba(109,168,216,0.07);
}
.orbit-earth::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background:
    repeating-linear-gradient(95deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(0deg,  rgba(255,255,255,0.025) 0 1px, transparent 1px 8px);
  opacity: 0.6;
}
.orbit-sat {
  position: absolute; width: 26px; height: 26px; top: 50%; left: 50%;
  transform-origin: 0 0; animation: orbSat 22s linear infinite; color: var(--accent-2);
}
.orbit-sat svg { display: block; width: 100%; height: 100%; }
@keyframes orbSpin { to { transform: rotate(360deg); } }
@keyframes orbSat {
  from { transform: rotate(0deg) translateX(45%) rotate(0deg); }
  to   { transform: rotate(360deg) translateX(45%) rotate(-360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .orbit-ring, .orbit-sat { animation: none !important; }
}

/* ---- footer tweak ---- */
.footer-grid-space { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }
@media (max-width: 900px) { .footer-grid-space { grid-template-columns: 1fr 1fr; } }

/* ---- generic section intro ---- */
.kicker {
  font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3);
  display: inline-flex; align-items: center; gap: 8px;
}
.kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* ============================================================
   MOTION  ·  scroll-reveal, counters, scroll-pinned flow
   (paired with assets/motion.js)
   ============================================================ */

/* ---- scroll reveal ---- */
[data-reveal], .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.22, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
[data-reveal].is-in, .reveal.is-in { opacity: 1; transform: none; }
[data-reveal="scale"]  { transform: translateY(20px) scale(0.97); }
[data-reveal="left"]   { transform: translateX(-24px); }
[data-reveal="right"]  { transform: translateX(24px); }
[data-reveal="blur"]   { filter: blur(8px); }
[data-reveal="blur"].is-in { filter: blur(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal], .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ---- page sub-hero (interior pages) ---- */
.phero {
  position: relative; overflow: hidden;
  padding: 92px 0 64px; border-bottom: 1px solid var(--line);
}
.phero .inner { position: relative; z-index: 2; }
.phero .eyebrow, .phero .kicker { margin-bottom: 22px; }
.phero h1 {
  font-size: clamp(40px, 5.6vw, 80px); line-height: 0.98; letter-spacing: -0.03em;
  font-weight: 700; margin: 0; max-width: 18ch; text-wrap: balance;
}
.phero h1 em { font-family: var(--font-serif); font-weight: 700; color: var(--accent-2); letter-spacing: -0.01em; }
.phero .lead { font-size: 18px; line-height: 1.55; color: var(--fg-2); max-width: 60ch; margin: 26px 0 0; }
.phero .acts { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }

/* ---- stat / counter row ---- */
.statrow {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-1);
}
.statrow .stat-cell { padding: 26px 24px; }
.statrow .stat-cell + .stat-cell { border-left: 1px solid var(--line); }
.statrow .sv { font-size: 38px; letter-spacing: -0.03em; color: var(--fg); line-height: 1; }
.statrow .sv em { font-family: var(--font-serif); font-style: italic; color: var(--accent-2); font-weight: 400; }
.statrow .sl { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-4); margin-top: 12px; }
@media (max-width: 820px){ .statrow { grid-template-columns: 1fr 1fr; }
  .statrow .stat-cell:nth-child(3) { border-left: 0; }
  .statrow .stat-cell:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 460px){ .statrow { grid-template-columns: 1fr; }
  .statrow .stat-cell + .stat-cell { border-left: 0; border-top: 1px solid var(--line); } }

/* ============================================================
   FEATURE DEEP CARDS  (features.html)
   ============================================================ */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fgrid.fgrid-2 { grid-template-columns: 1fr 1fr; max-width: 940px; margin-left: auto; margin-right: auto; }
@media (max-width: 980px){ .fgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px){ .fgrid, .fgrid.fgrid-2 { grid-template-columns: 1fr; } }

.fcard {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px 26px; background: linear-gradient(180deg, var(--bg-1), var(--bg));
  display: flex; flex-direction: column; gap: 14px; min-height: 280px;
  overflow: hidden;
}
.fcard .fnum { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-2); }
.fcard .ficon { width: 30px; height: 30px; color: var(--fg-2); }
.fcard h3 { font-size: 19px; font-weight: 500; letter-spacing: -0.015em; margin: 0; max-width: 20ch; }
.fcard h3 em { font-family: var(--font-serif); font-style: italic; color: var(--accent-2); font-weight: 400; }
.fcard p { color: var(--fg-3); font-size: 13.5px; line-height: 1.6; margin: 0; }
.fcard .ftag {
  margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line);
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted-2);
}
.fcard.span2 { grid-column: span 2; }
@media (max-width: 640px){ .fcard.span2 { grid-column: span 1; } }

/* spec / capability rows (alternating feature explainer) */
.explain { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.explain + .explain { margin-top: 28px; padding-top: 56px; border-top: 1px solid var(--line); }
.explain.flip .explain-media { order: -1; }
.explain h3 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.02em; font-weight: 500; max-width: 18ch; }
.explain h3 em { font-family: var(--font-serif); font-style: italic; color: var(--accent-2); font-weight: 400; }
.explain .ex-kicker { margin-bottom: 16px; }
.explain p { color: var(--fg-2); font-size: 15.5px; line-height: 1.65; margin: 16px 0 0; max-width: 50ch; }
.explain .ex-list { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 11px; }
.explain .ex-list li { display: grid; grid-template-columns: 18px 1fr; gap: 11px; font-size: 14px; color: var(--fg-2); line-height: 1.5; }
.explain .ex-list li .mk { color: var(--accent-2); font-family: var(--font-mono); }
.explain .ex-list li b { color: var(--fg); font-weight: 500; }
.explain-media { display: flex; align-items: center; justify-content: center; }
@media (max-width: 880px){ .explain { grid-template-columns: 1fr; gap: 32px; } .explain.flip .explain-media { order: 0; } }

/* small mono chips for crypto primitives */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
  padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--bg-1); color: var(--fg-2);
}
.chip b { color: var(--accent-2); font-weight: 500; }

/* ============================================================
   GLASS PANELS / TECHNICAL VISUALS
   ============================================================ */
.panel {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--bg-1); padding: 26px; position: relative; overflow: hidden;
}
.panel-glow::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px 280px at 80% 0%, rgba(79,93,255,0.10), transparent 65%);
}

/* SBXB byte-layout diagram */
.bytemap { display: flex; flex-direction: column; gap: 10px; }
.bytemap .brow { display: flex; gap: 6px; flex-wrap: wrap; }
.byte {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.02em;
  padding: 9px 12px; border-radius: 6px; border: 1px solid var(--line-2);
  background: var(--bg); color: var(--fg-2); white-space: nowrap;
}
.byte .bsz { color: var(--fg-4); margin-left: 8px; }
.byte.k { border-color: rgba(79,93,255,0.4); background: rgba(79,93,255,0.07); color: var(--accent-2); }
.byte.c { border-color: rgba(109,168,216,0.4); background: rgba(109,168,216,0.06); color: var(--cool); }
.byte.h { border-color: rgba(228,162,58,0.4); background: rgba(228,162,58,0.06); color: var(--warm); }
.bytemap .blabel { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-4); margin-bottom: 2px; }

/* terminal block (effects.js adds the scanline / glitch automatically) */
.terminal {
  border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  background: #08070699; overflow: hidden;
}
.terminal-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11px; color: var(--fg-4); letter-spacing: 0.04em;
}
.terminal-bar .dotrow { display: flex; gap: 6px; margin-right: 8px; }
.terminal-bar .dotrow i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); display: block; }
.terminal-body {
  padding: 18px 18px 20px; font-family: var(--font-mono); font-size: 12.5px;
  line-height: 1.7; color: var(--fg-2); white-space: pre-wrap; word-break: break-word;
}
.terminal-body .c-dim { color: var(--fg-4); }
.terminal-body .c-ok  { color: var(--green); }
.terminal-body .c-key { color: var(--accent-2); }
.terminal-body .c-cool{ color: var(--cool); }

/* ============================================================
   SCROLL-PINNED FLOW (security.html "how it works")
   ============================================================ */
.flow { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 920px){ .flow { grid-template-columns: 1fr; gap: 28px; } }

.flow-rail { display: flex; flex-direction: column; gap: 18px; }
.flow-step {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px 24px; background: var(--bg-1);
  transition: border-color 0.3s, background 0.3s, opacity 0.3s, transform 0.3s;
  opacity: 0.5;
}
.flow-step.is-active {
  opacity: 1; border-color: rgba(79,93,255,0.45);
  background: linear-gradient(180deg, rgba(79,93,255,0.06), var(--bg-1));
  transform: translateX(2px);
}
.flow-step .fs-n { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-4); }
.flow-step.is-active .fs-n { color: var(--accent-2); }
.flow-step h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; margin: 8px 0 8px; }
.flow-step h3 em { font-family: var(--font-serif); font-style: italic; color: var(--accent-2); font-weight: 400; }
.flow-step p { color: var(--fg-3); font-size: 14px; line-height: 1.6; margin: 0; }
.flow-step .fs-meta { margin-top: 12px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); }

/* sticky stage */
.flow-stage {
  position: sticky; top: 92px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background:
    radial-gradient(620px 380px at 70% 10%, rgba(109,168,216,0.07), transparent 60%),
    var(--bg-1);
  min-height: 380px; padding: 30px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 920px){ .flow-stage { position: relative; top: 0; min-height: 280px; order: -1; } }
.flow-stage .stage-panel {
  position: absolute; inset: 30px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px; text-align: center;
  opacity: 0; transform: translateY(14px) scale(0.98);
  transition: opacity 0.45s, transform 0.45s; pointer-events: none;
}
.flow-stage[data-active="0"] .stage-panel[data-stage="0"],
.flow-stage[data-active="1"] .stage-panel[data-stage="1"],
.flow-stage[data-active="2"] .stage-panel[data-stage="2"],
.flow-stage[data-active="3"] .stage-panel[data-stage="3"],
.flow-stage[data-active="4"] .stage-panel[data-stage="4"],
.flow-stage[data-active="5"] .stage-panel[data-stage="5"] {
  opacity: 1; transform: none;
}
.stage-panel .sp-glyph { width: 96px; height: 96px; color: var(--accent-2); }
.stage-panel .sp-glyph.cool { color: var(--cool); }
.stage-panel .sp-cap { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); max-width: 30ch; }
.stage-panel .sp-cap b { color: var(--fg); font-weight: 500; }

/* glyph helpers for the stage */
@keyframes glyphPulse { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }
.stage-panel .sp-glyph .pulseable { animation: glyphPulse 2.4s ease-in-out infinite; }
@keyframes dash { to { stroke-dashoffset: 0; } }
.stage-panel .sp-glyph .draw {
  stroke-dasharray: 120; stroke-dashoffset: 120; animation: dash 1.4s ease forwards;
}

/* ---- screen-height scrollytelling variant (features deep-dives) ---- */
.flow-tall { grid-template-columns: 0.92fr 1.08fr; gap: 64px; }
.flow-tall .flow-rail { gap: 0; }
.flow-tall .flow-step {
  min-height: 76vh; display: flex; flex-direction: column; justify-content: center;
  border: 0; border-top: 1px solid var(--line); border-radius: 0;
  background: transparent; padding: 40px 0; opacity: 0.32;
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.flow-tall .flow-step:first-child { border-top: 0; }
.flow-tall .flow-step.is-active { opacity: 1; background: transparent; transform: none; }
.flow-tall .flow-step h3 { font-size: clamp(26px, 2.8vw, 38px); margin: 10px 0 12px; max-width: 17ch; }
.flow-tall .flow-step p { font-size: 15.5px; line-height: 1.65; color: var(--fg-2); max-width: 46ch; }
.flow-tall .flow-step .fs-meta { margin-top: 18px; }
/* Solutions: make the profession label a prominent title, not a caption */
#solutions .flow-step .fs-n { display: block; font-family: var(--font-sans); font-size: clamp(19px, 2vw, 24px); letter-spacing: -0.015em; text-transform: none; color: var(--fg-3); font-weight: 600; margin-bottom: 6px; }
#solutions .flow-step.is-active .fs-n { color: var(--accent-2); }
#solutions .flow-step .fs-n .rtag { text-transform: uppercase; letter-spacing: 0.08em; font-weight: 400; vertical-align: middle; }

.flow-tall .flow-stage {
  min-height: 80vh; top: 10vh;
  background: radial-gradient(620px 420px at 70% 12%, rgba(79,93,255,0.06), transparent 62%), var(--bg-1);
}
.flow-tall .stage-panel {
  inset: 34px; align-items: stretch; justify-content: center; text-align: left; gap: 0;
}
.flow-tall .stage-panel > * { width: 100%; }
@media (max-width: 920px){
  .flow-tall { grid-template-columns: 1fr; gap: 28px; }
  .flow-tall .flow-step { min-height: auto; padding: 26px 0; opacity: 1; }
  .flow-tall .flow-stage { min-height: 470px; top: 0; }
}

/* ============================================================
   CAROUSEL  (security.html "life of a file")
   ============================================================ */
.carousel {
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(640px 360px at 80% 0%, rgba(109,168,216,0.06), transparent 60%), var(--bg-1);
  outline: none;
}
/* numbered stepper tabs — double as a progress bar */
.carousel-steps { display: flex; border-bottom: 1px solid var(--line); position: relative; }
.carousel-steps::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px;
  width: var(--car-fill, 16.6%); background: var(--accent-2);
  box-shadow: 0 0 6px var(--accent-2); transition: width 0.5s cubic-bezier(0.4,0.8,0.3,1);
}
.carousel-steps .cstep {
  flex: 1 1 0; min-width: 0; background: transparent; border: 0;
  border-right: 1px solid var(--line); padding: 15px 16px; text-align: left; cursor: pointer;
  transition: background 0.2s; font-family: inherit;
}
.carousel-steps .cstep:last-child { border-right: 0; }
.carousel-steps .cstep .ci { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--fg-4); }
.carousel-steps .cstep .ct { display: block; font-size: 12.5px; margin-top: 5px; color: var(--fg-3); letter-spacing: -0.01em; transition: color 0.2s; }
.carousel-steps .cstep:hover { background: var(--bg-2); }
.carousel-steps .cstep.is-active { background: var(--bg-2); }
.carousel-steps .cstep.is-active .ci { color: var(--accent-2); }
.carousel-steps .cstep.is-active .ct { color: var(--fg); }

.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.55s cubic-bezier(0.4,0.8,0.3,1); }
@media (prefers-reduced-motion: reduce){ .carousel-track { transition: none; } }
.cslide {
  flex: 0 0 100%; min-width: 100%;
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center;
  padding: 52px 48px;
}
.cslide .cs-visual {
  display: flex; align-items: center; justify-content: center;
  min-height: 180px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 50% 45%, rgba(79,93,255,0.08), transparent 65%);
}
.cslide .cs-glyph { width: 116px; height: 116px; color: var(--accent-2); }
.cslide .cs-glyph.cool { color: var(--cool); }
.cslide .cs-n { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-2); }
.cslide h3 { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.02em; font-weight: 500; margin: 12px 0 0; max-width: 16ch; }
.cslide h3 em { font-family: var(--font-serif); font-style: italic; color: var(--accent-2); font-weight: 400; }
.cslide p { color: var(--fg-2); font-size: 15.5px; line-height: 1.65; margin: 16px 0 0; max-width: 48ch; }
.cslide .cs-meta { margin-top: 20px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); }
@media (max-width: 760px){
  .carousel-steps { display: none; }
  .cslide { grid-template-columns: 1fr; gap: 24px; text-align: center; padding: 36px 26px; }
  .cslide .cs-visual { order: -1; min-height: 150px; }
  .cslide p, .cslide h3 { margin-left: auto; margin-right: auto; }
}

.carousel-nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-top: 1px solid var(--line); }
.car-arrow {
  width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: 8px; background: transparent; color: var(--fg-2);
  cursor: pointer; transition: border-color 0.15s, color 0.15s, background 0.15s; font-size: 16px;
}
.car-arrow:hover { border-color: var(--fg-4); color: var(--fg); background: var(--bg-2); }
.carousel-dots { display: flex; gap: 8px; align-items: center; }
.carousel-dots button {
  width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: var(--line-2); transition: background 0.2s, width 0.2s;
}
.carousel-dots button:hover { background: var(--fg-4); }
.carousel-dots button.is-active { background: var(--accent-2); width: 22px; border-radius: 5px; }

/* ============================================================
   COMPARISON TABLE  (pricing.html)
   ============================================================ */
.cmp { width: 100%; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.cmp th, .cmp td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.cmp thead th { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); background: var(--bg-1); }
.cmp thead th em { font-family: var(--font-serif); font-style: italic; color: var(--accent-2); text-transform: none; letter-spacing: 0; font-size: 15px; }
.cmp td.feat-name { color: var(--fg); font-weight: 500; }
.cmp td.val { color: var(--fg-2); }
.cmp td.center, .cmp th.center { text-align: center; }
.cmp .yes { color: var(--green); } .cmp .no { color: var(--fg-4); }
.cmp tbody tr:hover { background: var(--bg-1); }
.cmp tr:last-child td { border-bottom: 0; }
.cmp-wrap { overflow-x: auto; }
.cmp .col-feat { background: rgba(79,93,255,0.04); }

/* ============================================================
   FAQ accordion (native <details>)
   ============================================================ */
.faq { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-size: 16px; color: var(--fg); font-weight: 500; letter-spacing: -0.01em;
  transition: background 0.15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--bg-1); }
.faq summary .qmark {
  flex-shrink: 0; width: 22px; height: 22px; position: relative;
  border: 1px solid var(--line-2); border-radius: 5px; transition: border-color 0.2s;
}
.faq summary .qmark::before, .faq summary .qmark::after {
  content: ""; position: absolute; background: var(--fg-3); transition: transform 0.25s, background 0.2s;
}
.faq summary .qmark::before { top: 50%; left: 5px; right: 5px; height: 1.5px; transform: translateY(-50%); }
.faq summary .qmark::after  { left: 50%; top: 5px; bottom: 5px; width: 1.5px; transform: translateX(-50%); }
.faq details[open] summary .qmark { border-color: var(--accent-2); }
.faq details[open] summary .qmark::after { transform: translateX(-50%) scaleY(0); background: var(--accent-2); }
.faq details[open] summary .qmark::before { background: var(--accent-2); }
.faq .faq-body { padding: 0 24px 24px; color: var(--fg-3); font-size: 14.5px; line-height: 1.7; }
.faq .faq-body a { color: var(--accent-2); }

/* ============================================================
   THREATS / problem cards (features + home)
   ============================================================ */
.threats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 880px){ .threats { grid-template-columns: 1fr; } }
#more .threats { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px){ #more .threats { grid-template-columns: 1fr; } }
.threat {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 24px; background: var(--bg-1); display: flex; flex-direction: column; gap: 12px;
}
.threat .tnum { font-family: var(--font-serif); font-style: italic; font-size: 30px; color: var(--fg-4); line-height: 1; }
.threat h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.012em; margin: 0; }
.threat p { color: var(--fg-3); font-size: 13.5px; line-height: 1.6; margin: 0; }
.threat .tsolve { margin-top: 6px; font-size: 13px; color: var(--fg-2); padding-top: 12px; border-top: 1px dashed var(--line); }
.threat .tsolve b { color: var(--accent-2); font-weight: 500; }

/* CTA band (reused across pages) */
.cta-band {
  text-align: center; padding: 80px 40px; border: 1px solid var(--line);
  border-radius: var(--radius-lg); position: relative; overflow: hidden; background: var(--bg-1);
}
.cta-band::before {
  content: ""; position: absolute; left: 50%; top: -200px; transform: translateX(-50%);
  width: 720px; height: 500px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(79,93,255,0.13), transparent 60%); pointer-events: none;
}
.cta-band .inner { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(30px, 4vw, 52px); letter-spacing: -0.025em; font-weight: 500; max-width: 18ch; margin: 0 auto; }
.cta-band h2 em { font-family: var(--font-serif); font-style: italic; color: var(--accent-2); font-weight: 400; }
.cta-band p { color: var(--fg-2); margin: 18px auto 0; max-width: 48ch; }
.cta-band .acts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
@media (max-width: 640px){
  .cta-band { padding: 48px 22px; }
  .cta-band .acts { flex-direction: column; align-items: stretch; }
  .cta-band .acts .btn { width: 100%; justify-content: center; }
}

/* page-level breadcrumb / context line */
.ctxline { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-4); }
.ctxline a { color: var(--fg-3); } .ctxline a:hover { color: var(--accent-2); }

/* ---- larger "why it exists" problem cards ---- */
.threats-lg { gap: 18px; }
.threats-lg .threat { padding: 40px 36px; gap: 18px; min-height: 300px; }
.threats-lg .threat .tnum { font-size: 48px; }
.threats-lg .threat h3 { font-size: 25px; letter-spacing: -0.02em; }
.threats-lg .threat p { font-size: 16px; line-height: 1.66; }
.threats-lg .threat .tsolve { font-size: 15px; padding-top: 18px; }
@media (max-width: 880px){ .threats-lg .threat { min-height: auto; padding: 32px 28px; } }

/* ============================================================
   ENHANCED ORBIT  (extra concentric circles, satellite pulse, labels)
   layers on top of the base .orbit visual above
   ============================================================ */
.orbit-ring.r4 { inset: 6%;  border-style: dashed; border-color: var(--line); animation: none; opacity: 0.55; }
.orbit-ring.r5 { inset: 30%; border-style: dashed; border-color: var(--line-2); animation: none; opacity: 0.5; }
.orbit-earth {
  box-shadow:
    inset -10px -14px 30px rgba(0,0,0,0.55),
    0 0 30px rgba(109,168,216,0.22),
    0 0 70px rgba(109,168,216,0.10);
}
/* atmosphere halo */
.orbit-earth::before {
  content: ""; position: absolute; inset: -8%; border-radius: 50%;
  background: radial-gradient(circle, rgba(109,168,216,0.16), transparent 70%);
  pointer-events: none;
}
.orbit-sat { position: absolute; }
.orbit-sat .sat-pulse {
  position: absolute; inset: -9px; border-radius: 50%;
  border: 1px solid rgba(109,168,216,0.55);
  animation: satPulse 2.2s ease-out infinite;
}
@keyframes satPulse {
  0%   { transform: scale(0.8); opacity: 0.85; }
  100% { transform: scale(2.6); opacity: 0; }
}
.orbit-label {
  position: absolute; z-index: 4;
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2);
  white-space: nowrap;
}
.orbit-label::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--cool); margin-right: 6px; vertical-align: middle; box-shadow: 0 0 6px var(--cool); }
.orbit-label.t1 { top: 5%;  right: 6%; }
.orbit-label.t2 { bottom: 7%; left: 4%; }
.orbit-label.t3 { top: 50%; left: 2%; transform: translateY(-50%); }
/* hide labels once the orbit collapses small (they'd overlap the globe) */
@media (max-width: 860px){ .orbit-label { display: none; } }

/* ============================================================
   RELEASE AVAILABILITY TAGS  ·  Lite (now) vs full release
   ============================================================ */
.rtag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 3px 9px; border-radius: 999px;
  border: 1px solid var(--line-2); white-space: nowrap; line-height: 1;
}
.rtag .d { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.rtag.now  { color: var(--ok);   border-color: rgba(95,184,154,0.4);  background: rgba(95,184,154,0.08); }
.rtag.now .d  { background: var(--ok);  box-shadow: 0 0 6px var(--ok); }
.rtag.now .d.pulse { animation: availPulse 2s ease-in-out infinite; }
.rtag.soon { color: var(--warm); border-color: rgba(224,169,79,0.4); background: rgba(224,169,79,0.07); }
.rtag.soon .d { background: var(--warm); }
.rtag.rspace { color: var(--cool); border-color: rgba(109,168,216,0.38); background: rgba(109,168,216,0.07); }
.rtag.rspace .d { background: var(--cool); }
/* corner placement on cards */
.card-rel { position: absolute; top: 16px; right: 16px; z-index: 3; }
.benefit { position: relative; }
.uc-pick { position: relative; }

/* ============================================================
   MECHANISM VISUALS  ·  solutions scroll flow (.mviz)
   rich node/flow/matrix diagrams instead of single icons
   ============================================================ */
.mviz { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.mnode { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; background: linear-gradient(150deg, var(--bg-3), var(--bg-1)); }
.mnode.ghost { opacity: 0.5; border-style: dashed; background: var(--bg-1); }
.mnode .mi { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; color: var(--accent-2); background: rgba(79,93,255,0.1); border: 1px solid rgba(79,93,255,0.3); }
.mnode .mi svg { width: 17px; height: 17px; }
.mnode .mi.mint { color: var(--ok); background: rgba(95,184,154,0.1); border-color: rgba(95,184,154,0.3); }
.mnode .mi.warm { color: var(--warm); background: rgba(224,169,79,0.1); border-color: rgba(224,169,79,0.35); }
.mnode .mtxt { min-width: 0; }
.mnode .mt { font-size: 13.5px; color: var(--fg); font-weight: 500; }
.mnode .ms { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--fg-4); margin-top: 3px; }
.mnode .mtag { margin-left: auto; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 7px; border-radius: 5px; white-space: nowrap; }
.mtag-ok { color: var(--ok); border: 1px solid rgba(95,184,154,0.4); }
.mtag-off { color: var(--fg-4); border: 1px solid var(--line-2); }
.mconn { display: flex; align-items: center; gap: 10px; padding: 1px 4px; }
.mconn::before, .mconn::after { content: ""; height: 1px; flex: 1; background: var(--line-2); }
.mconn .cl { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent-2); white-space: nowrap; }
.mnote { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.03em; color: var(--fg-4); text-align: center; margin-top: 4px; line-height: 1.5; }
.mbar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.mbar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--warm), var(--accent-2)); border-radius: 999px; }
.mmatrix { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.mm-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; border-bottom: 1px solid var(--line); }
.mm-row:last-child { border-bottom: 0; }
.mm-row > div { padding: 11px 6px; font-size: 13px; text-align: center; border-left: 1px solid var(--line); }
.mm-row > div:first-child { text-align: left; border-left: 0; color: var(--fg-2); font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.05em; text-transform: uppercase; }
.mm-head > div { color: var(--fg-4); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.05em; text-transform: uppercase; background: var(--bg-1); }
.mm-yes { color: var(--ok); } .mm-no { color: var(--fg-4); }
/* mechanism visuals inside the carousel steps (replace the single glyph) */
.cs-visual .cs-mviz { max-width: 360px; gap: 9px; }
.cs-visual .cs-mviz .mnode { padding: 11px 13px; }

/* ============================================================
   APP SCREENS  ·  SpaceBox Lite phone mockups
   ============================================================ */
.screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; justify-items: center; }
@media (max-width: 860px){
  /* horizontal, swipeable row of screens on mobile */
  .screens { display: flex; grid-template-columns: none; gap: 16px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; justify-items: initial; padding: 8px 2px 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .screens::-webkit-scrollbar { display: none; }
  .screens > * { flex: 0 0 auto; scroll-snap-align: center; }
  .screens .phone::before { display: none; }
}
.screens .phone { will-change: transform; }

/* Frameless screen — no device bezel; the screenshot floats with an ambient glow */
.phone { width: 250px; position: relative; }
/* ambient glow behind the screen so it stands out on the dark page */
.phone::before {
  content: ""; position: absolute; inset: -12% -15%; z-index: 0;
  background: radial-gradient(ellipse at 50% 34%, rgba(79,93,255,0.32), transparent 60%);
  filter: blur(42px); pointer-events: none;
}
.phone-screen {
  position: relative; z-index: 1;
  border-radius: 30px; overflow: hidden; background: var(--bg);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 44px 84px -26px rgba(0,0,0,0.72),
    0 16px 36px rgba(0,0,0,0.42),
    0 0 0 1px rgba(0,0,0,0.5);
}
/* subtle diagonal glass gloss over the screen */
.phone-screen::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(122deg, rgba(255,255,255,0.07), rgba(255,255,255,0) 24%);
}
.phone-screen > img.ph-shot { width: 100%; height: auto; display: block; }
.ph-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px 8px; font-family: var(--font-mono); font-size: 10px; color: var(--fg-3); letter-spacing: 0.04em; }
.ph-bar .r { display: flex; align-items: center; gap: 5px; }
.ph-bar .r .dt { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 6px var(--ok); }
.ph-body { flex: 1; overflow: hidden; padding: 6px 16px 0; display: flex; flex-direction: column; gap: 12px; }
.ph-h { padding: 4px 2px 0; }
.ph-h .t { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: var(--fg-head); }
.ph-h .s { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; color: var(--fg-4); text-transform: uppercase; margin-top: 5px; }
.ph-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 9px; padding: 8px 11px; color: var(--fg-4); font-size: 11px; }
.ph-search svg { width: 13px; height: 13px; }

/* rows (received / sent files) */
.ph-list { display: flex; flex-direction: column; gap: 8px; }
.ph-row { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 11px; background: var(--bg-1); }
.ph-ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; color: var(--accent-2); background: rgba(79,93,255,0.09); border: 1px solid rgba(79,93,255,0.28); }
.ph-ic.mint { color: var(--ok); background: rgba(95,184,154,0.1); border-color: rgba(95,184,154,0.3); }
/* colour-coded file-type tiles — mirror the app's FileTypeChip palette */
.ph-ic.red    { color: #f87171; background: rgba(248,113,113,0.12); border-color: rgba(248,113,113,0.32); }
.ph-ic.amber  { color: #fbbf24; background: rgba(251,191,36,0.12);  border-color: rgba(251,191,36,0.32); }
.ph-ic.purple { color: #a78bfa; background: rgba(167,139,250,0.14); border-color: rgba(167,139,250,0.34); }
.ph-ic.blue   { color: #60a5fa; background: rgba(96,165,250,0.12);  border-color: rgba(96,165,250,0.32); }
.ph-ic.green  { color: #34d399; background: rgba(52,211,153,0.12);  border-color: rgba(52,211,153,0.32); }
.ph-ic svg { width: 15px; height: 15px; }
/* right-aligned download affordance on a file row */
.ph-dl { flex-shrink: 0; color: var(--accent-2); display: grid; place-items: center; }
.ph-dl svg { width: 16px; height: 16px; }
.ph-dl.done { color: var(--ok); }
.ph-row .m { flex: 1; min-width: 0; }
.ph-row .m .n { font-size: 12.5px; color: var(--fg); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-row .m .s { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.04em; color: var(--fg-4); text-transform: uppercase; margin-top: 3px; }
.ph-tag { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 6px; border-radius: 5px; white-space: nowrap; }
.ph-tag.sealed { color: var(--ok); border: 1px solid rgba(95,184,154,0.4); }
.ph-tag.tx { color: var(--warm); border: 1px solid rgba(224,169,79,0.4); }
.ph-tag.way { color: var(--accent-2); border: 1px solid rgba(79,93,255,0.4); }

/* progress bar */
.ph-prog { height: 4px; border-radius: 999px; background: var(--line); overflow: hidden; margin-top: 7px; }
.ph-prog > i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-radius: 999px; }

/* dropzone */
.ph-drop { border: 1.5px dashed var(--line-2); border-radius: 12px; padding: 22px 14px; text-align: center; }
.ph-drop .dz { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; color: var(--fg-3); text-transform: uppercase; }
.ph-drop .dzs { font-size: 10px; color: var(--fg-4); margin-top: 6px; }
.ph-drop svg { width: 26px; height: 26px; color: var(--accent-2); margin: 0 auto 10px; }

/* storage meter */
.ph-meter { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--bg-1); }
.ph-meter .top { display: flex; align-items: baseline; justify-content: space-between; }
.ph-meter .top .u { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--fg-head); }
.ph-meter .top .u em { color: var(--accent-2); font-style: normal; }
.ph-meter .top .l { font-family: var(--font-mono); font-size: 9px; color: var(--fg-4); letter-spacing: 0.08em; text-transform: uppercase; }
.ph-meter .track { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; margin-top: 12px; }
.ph-meter .track > i { display: block; height: 100%; background: linear-gradient(90deg, var(--ok), #7fd0b6); border-radius: 999px; }
.ph-cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ph-cell { border: 1px solid var(--line); border-radius: 9px; padding: 11px 10px; }
.ph-cell .cv { font-size: 15px; color: var(--fg); font-weight: 600; }
.ph-cell .cl { font-family: var(--font-mono); font-size: 8px; color: var(--fg-4); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }

/* device foot note + primary action */
.ph-note { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.04em; color: var(--fg-4); text-transform: uppercase; text-align: center; }
.ph-act { margin: 4px 0 2px; padding: 11px; border-radius: 10px; background: var(--accent); color: #fff; font-size: 12.5px; font-weight: 600; text-align: center; box-shadow: 0 6px 18px rgba(79,93,255,0.3); }

/* bottom nav */
.ph-nav { margin-top: auto; display: flex; justify-content: space-around; padding: 11px 8px 14px; border-top: 1px solid var(--line); }
.ph-nav i { color: var(--fg-4); display: grid; place-items: center; }
.ph-nav i svg { width: 18px; height: 18px; }
.ph-nav i.on { color: var(--accent-2); }
.phone-cap { text-align: center; margin-top: 18px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); }

/* ============================================================
   HERO VIDEO  ·  ambient loop; fades in over the starfield fallback
   ============================================================ */
.hero-video-wrap { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity 0.9s ease; pointer-events: none; }
.hero-video-wrap.is-playing { opacity: 1; }
.hero-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-video-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 42%, rgba(6,8,15,0.10), rgba(6,8,15,0.62) 94%),
    linear-gradient(to bottom, rgba(6,8,15,0.06), rgba(6,8,15,0.34));
}

/* ============================================================
   MARQUEE  ·  scrolling mono ticker
   ============================================================ */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; background: var(--bg-1); position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-1), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg-1), transparent); }
.marquee-track { display: inline-flex; white-space: nowrap; animation: marquee 34s linear infinite; }
.marquee-track span { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3); display: inline-block; white-space: nowrap; }
.marquee-track span .sep { margin: 0 14px; }
.marquee-track span b { color: var(--accent-2); font-weight: 500; }
.marquee-track .sep { color: var(--fg-4); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .marquee-track { animation: none; } }

/* ---- subtle grain texture (premium tactility) ---- */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
@media (prefers-reduced-motion: reduce){ body::after { display: none; } }

/* ============================================================
   CUSTOM CURSOR  ·  dot + lagging ring, grows on interactive
   ============================================================ */
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor .btn,
.has-cursor summary, .has-cursor [role="button"] { cursor: none; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; pointer-events: none; z-index: 100000; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent-2); }
.cursor-ring {
  width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border: 1px solid var(--accent-2); opacity: 0.55;
  transition: width 0.2s, height 0.2s, margin 0.2s, opacity 0.2s, background 0.2s, border-color 0.2s;
}
.cursor-ring.hover { width: 48px; height: 48px; margin: -24px 0 0 -24px; opacity: 0.95; background: rgba(170,180,255,0.09); }
.cursor-ring.down { width: 22px; height: 22px; margin: -11px 0 0 -11px; opacity: 1; }
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* magnetic elements ease back when the pointer leaves */
.btn-primary, [data-magnetic] { transition: transform 0.25s cubic-bezier(0.2,0.7,0.2,1), background 0.15s, border-color 0.15s, box-shadow 0.15s; }

/* ---- home product cards (Lite / Ground / Space) ---- */
.prodcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px){ .prodcards { grid-template-columns: 1fr; } }
.prodcard {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; background: linear-gradient(180deg, var(--bg-1), var(--bg));
  display: flex; flex-direction: column; gap: 15px; min-height: 340px;
  transition: border-color 0.18s, transform 0.18s;
}
.prodcard:hover { border-color: var(--line-2); transform: translateY(-3px); }
.prodcard.featured-now { border-color: rgba(95,184,154,0.4); background: linear-gradient(180deg, rgba(95,184,154,0.06), var(--bg)); }
.prodcard .pc-name { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--fg-head); }
.prodcard .pc-name em { color: var(--accent-2); font-style: normal; }
.prodcard .pc-lede { color: var(--fg-2); font-size: 14.5px; line-height: 1.55; margin: 0; }
.prodcard ul { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 9px; font-size: 13px; color: var(--fg-2); }
.prodcard ul li { padding-left: 18px; position: relative; line-height: 1.45; }
.prodcard ul li::before { content: "+"; position: absolute; left: 0; top: 0; color: var(--accent-2); font-family: var(--font-mono); }
.prodcard .pc-cta { margin-top: auto; padding-top: 6px; }

/* ============================================================
   USE CASES  (use-cases.html)
   ============================================================ */
/* selector grid at the top */
.uc-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px){ .uc-picks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .uc-picks { grid-template-columns: 1fr; } }
.uc-pick {
  display: flex; gap: 16px; align-items: flex-start;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px; background: var(--bg-1); min-height: 168px;
  transition: border-color 0.16s, transform 0.16s, background 0.16s;
}
.uc-pick:hover { border-color: var(--line-2); transform: translateY(-2px); background: var(--bg-2); }
.uc-pick .upi { width: 28px; height: 28px; color: var(--accent-2); flex-shrink: 0; }
.uc-pick h4 { font-size: 17px; font-weight: 500; margin: 0 0 7px; letter-spacing: -0.01em; }
.uc-pick p { font-size: 13.5px; color: var(--fg-3); margin: 0; line-height: 1.55; }
.uc-pick .arrow { margin-left: auto; color: var(--fg-4); align-self: center; transition: transform 0.2s, color 0.2s; }
.uc-pick:hover .arrow { transform: translateX(2px); color: var(--accent-2); }

/* profile media poster (paired with the .explain layout) */
.uc-visual {
  width: 100%; min-height: 320px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 22px; text-align: center;
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px 34px;
  background: radial-gradient(520px 340px at 50% 15%, rgba(79,93,255,0.09), transparent 65%), var(--bg-1);
  position: relative; overflow: hidden;
}
.uc-visual.cool { background: radial-gradient(520px 340px at 50% 15%, rgba(109,168,216,0.10), transparent 65%), var(--bg-1); }
.uc-glyph { width: 100px; height: 100px; color: var(--accent-2); }
.uc-visual.cool .uc-glyph { color: var(--cool); }
.uc-scene { font-family: var(--font-serif); font-style: italic; font-size: 20px; color: var(--fg-2); max-width: 26ch; line-height: 1.4; }
.uc-scene b { font-family: var(--font-sans); font-style: normal; color: var(--fg); font-weight: 500; }
.uc-visual .chips { justify-content: center; margin-top: 2px; }

/* profile section anchor offset (sticky header) */
.uc-anchor { scroll-margin-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  .orbit-ring.r4, .orbit-ring.r5, .orbit-sat .sat-pulse { animation: none !important; }
}

/* green "recommended version" eyebrow on home solution cards */
.uc-rec {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 9px;
}

/* ============================================================
   Info tooltip  ·  small (i) trigger + body-appended popover
   (the popover is fixed-position so it escapes table overflow)
   ============================================================ */
.tip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 15px; height: 15px; padding: 0; margin-left: 7px;
  border: 1px solid var(--line-2); border-radius: 50%;
  background: transparent; color: var(--fg-4);
  font-family: var(--font-mono); font-size: 9.5px; line-height: 1; font-weight: 500;
  cursor: help; vertical-align: middle;
  transition: color 0.14s, border-color 0.14s;
}
.tip:hover, .tip:focus-visible { color: var(--accent-2); border-color: var(--accent-2); outline: none; }
.tip-pop {
  position: fixed; z-index: 200; top: 0; left: 0;
  max-width: 260px; padding: 11px 13px;
  background: var(--bg-1); border: 1px solid var(--line-2); border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.55);
  color: var(--fg-2); font-family: var(--font-sans); font-size: 12.5px; line-height: 1.5;
  letter-spacing: 0; text-transform: none; text-align: left;
  opacity: 0; visibility: hidden; transform: translateY(3px);
  transition: opacity 0.14s, transform 0.14s;
  pointer-events: none;
}
.tip-pop.is-on { opacity: 1; visibility: visible; transform: none; }
