:root {
  --bg: #02060a;
  --bg-panel: rgba(8, 16, 24, 0.88);
  --bg-alt: rgba(6, 14, 22, 0.92);
  --text: #e6f7ff;
  --muted: #8fb0c4;
  --line: rgba(0, 229, 255, 0.14);
  --cyan: #00e5ff;
  --cyan-dim: #1aa8c4;
  --green: #39ff14;
  --radius: 16px;
  --max: 1080px;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #02060a;
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  position: relative;
}

.bg-rain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(900px 500px at 50% -5%, rgba(0, 229, 255, 0.12), transparent 60%),
    radial-gradient(700px 400px at 80% 20%, rgba(57, 255, 20, 0.06), transparent 55%),
    linear-gradient(180deg, #02060a 0%, #041018 50%, #02060a 100%);
  opacity: 1;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }

.top, main, footer {
  position: relative;
  z-index: 1;
}

.top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.15rem 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.25);
  background: #000;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 0.92rem;
}
.brand-text strong { letter-spacing: 0.03em; }
.brand-text span { color: var(--muted); font-size: 0.78rem; }

nav {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}
nav a {
  color: var(--muted);
  font-size: 0.92rem;
}
nav a:hover { color: var(--text); }

main { max-width: var(--max); margin: 0 auto; padding: 1.25rem 1.25rem 4rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1.5rem 2rem;
  align-items: center;
  padding: 1.5rem 0 2.25rem;
}
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}
.hero-glow {
  position: absolute;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.28) 0%, rgba(57, 255, 20, 0.08) 40%, transparent 70%);
  filter: blur(8px);
  animation: pulse 5s ease-in-out infinite;
}
.hero-logo {
  position: relative;
  width: min(100%, 420px);
  height: auto;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 20px 60px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(0, 229, 255, 0.18);
  background: #000;
}
@keyframes pulse {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

.hero-copy { max-width: 34rem; }
.eyebrow {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  text-shadow: 0 0 12px rgba(57, 255, 20, 0.35);
}
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.lede {
  color: var(--muted);
  font-size: 1.06rem;
  margin: 0 0 1.5rem;
}
.lede .own {
  display: block;
  margin-top: 0.65rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.01em;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  text-decoration: none !important;
  transition: filter 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.btn.primary {
  background: linear-gradient(135deg, #00e5ff, #12c4e0);
  color: #021018;
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.28);
}
.btn.primary:hover { filter: brightness(1.08); }
.btn.ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(0, 0, 0, 0.35);
}
.btn.ghost:hover {
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.12);
}

.panel {
  margin-top: 1.25rem;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-panel);
  backdrop-filter: blur(10px);
}
.panel.alt { background: var(--bg-alt); }
.panel h2 {
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
  letter-spacing: -0.01em;
}
.section-intro {
  color: var(--muted);
  margin: 0 0 1.25rem;
  max-width: 40rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.grid article {
  padding: 1rem 1.05rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.28);
}
.grid h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  color: #b8f7ff;
}
.grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.product {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  background: rgba(0, 0, 0, 0.3);
}
.product-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.product-head h3 { margin: 0; font-size: 1.25rem; }
.tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #021018;
  background: var(--green);
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(57, 255, 20, 0.35);
}
.tag.soft {
  color: var(--text);
  background: rgba(0, 229, 255, 0.16);
  border: 1px solid rgba(0, 229, 255, 0.35);
  box-shadow: none;
}
.product strong {
  color: #b8f7ff;
  font-weight: 700;
}
.product p { color: var(--muted); }
.product-role {
  color: var(--muted);
  margin: 0.55rem 0;
  font-size: 0.96rem;
}
.product-role strong {
  color: #b8f7ff;
  font-weight: 700;
}
.product ul {
  color: var(--muted);
  margin: 0.75rem 0 1.1rem;
  padding-left: 1.15rem;
}
.product li { margin: 0.25rem 0; }
.products {
  display: grid;
  gap: 1.15rem;
}
.small { font-size: 0.88rem; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}
.video-grid-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 960px) {
  .video-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.video-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.phone-frame {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #000;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 16px 40px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(0, 229, 255, 0.1);
  aspect-ratio: 480 / 900;
}
.demo-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  vertical-align: middle;
}
.video-card figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.video-card figcaption strong {
  display: block;
  color: #b8f7ff;
  margin-bottom: 0.25rem;
  font-size: 0.98rem;
}
.video-foot { margin: 1.1rem 0 0; }

@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}
.trust-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.1rem 1.15rem;
  background: rgba(0, 0, 0, 0.28);
}
.trust-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--cyan);
  letter-spacing: 0.02em;
}
.trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.trust-foot {
  margin: 1.25rem 0 0;
  max-width: 46rem;
}
@media (max-width: 800px) {
  .trust-grid { grid-template-columns: 1fr; }
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem 1.35rem;
  max-width: 28rem;
  background: rgba(0, 0, 0, 0.3);
}
.contact-card p { margin: 0.25rem 0; }
.contact-card a { font-size: 1.1rem; font-weight: 700; }

.muted { color: var(--muted); }

footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 2.5rem;
  color: var(--muted);
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.foot-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--line);
  object-fit: cover;
}
footer p { margin: 0; }

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-copy { margin: 0 auto; }
  .cta-row { justify-content: center; }
  .hero-logo { width: min(100%, 340px); }
  .top { flex-direction: column; align-items: flex-start; }
}

/* ========== Site folds — click for depth ========== */
.site-fold {
  margin: 0.75rem 0 0.35rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 229, 255, 0.22);
  background: rgba(0, 0, 0, 0.28);
  overflow: hidden;
}
.site-fold > summary.site-fold-sum {
  list-style: none;
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  padding: 0.9rem 1.1rem;
  user-select: none;
  transition: background 0.15s ease;
}
.site-fold > summary.site-fold-sum::-webkit-details-marker { display: none; }
.site-fold > summary.site-fold-sum::marker { content: ""; }
.site-fold > summary.site-fold-sum:hover {
  background: rgba(0, 229, 255, 0.07);
}
.site-fold > summary.site-fold-sum:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -2px;
}
.site-fold-kicker {
  flex: 1 1 auto;
  min-width: 12rem;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
}
.site-fold-hint {
  flex: 1 1 12rem;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.35;
}
.site-fold-chevron {
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  white-space: nowrap;
}
.site-fold-chevron::after { content: "Expand ▾"; }
.site-fold[open] > summary.site-fold-sum {
  border-bottom: 1px solid rgba(0, 229, 255, 0.14);
  background: rgba(0, 229, 255, 0.05);
}
.site-fold[open] > summary.site-fold-sum .site-fold-chevron::after {
  content: "Close ▴";
}
.site-fold-body { padding: 0.85rem 1rem 1.15rem; }
.site-fold-body > :first-child { margin-top: 0; }

.fold-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.5rem 0 0.15rem;
}
.fold-toolbar .btn {
  font-size: 0.8rem;
  padding: 0.45rem 0.85rem;
}

/* Void Walker detail cards inside folds */
.path-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin: 0.85rem 0;
}
.path-card {
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.32);
}
.path-card h4 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: #b8f7ff;
}
.path-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.path-card code {
  font-size: 0.82em;
  padding: 0.08em 0.32em;
  border-radius: 4px;
  background: rgba(57, 255, 20, 0.1);
  color: var(--green);
  border: 1px solid rgba(57, 255, 20, 0.2);
}
.vw-callout {
  margin: 0.85rem 0;
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
  border-left: 3px solid var(--green);
  background:
    radial-gradient(ellipse 80% 70% at 10% 0%, rgba(90, 200, 250, 0.1), transparent 55%),
    rgba(57, 255, 20, 0.06);
  color: var(--muted);
  font-size: 0.94rem;
  box-shadow: 0 0 28px rgba(57, 255, 20, 0.05);
}
.vw-callout strong { color: var(--text); }
.vw-callout a { text-underline-offset: 0.15em; }
.path-card {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
@media (hover: hover) and (pointer: fine) {
  .path-card:hover {
    transform: translateY(-2px);
    border-color: rgba(90, 200, 250, 0.35);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  }
}
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
