/* Luminerse — brand system */
:root {
  --bg-deep: #06060f;
  --bg: #0a0a16;
  --bg-elevated: #10101f;
  --bg-soft: #16162a;
  --ink: #f2f0ff;
  --ink-muted: #a8a3c4;
  --ink-dim: #6e6988;
  --cyan: #2ee6ff;
  --cyan-deep: #0ab8d4;
  --purple: #a855f7;
  --purple-deep: #7c3aed;
  --blue: #3b82f6;
  --line: rgba(168, 163, 196, 0.14);
  --glow-cyan: rgba(46, 230, 255, 0.35);
  --glow-purple: rgba(168, 85, 247, 0.35);
  --grad-brand: linear-gradient(135deg, var(--cyan) 0%, var(--blue) 48%, var(--purple) 100%);
  --grad-wash: radial-gradient(120% 80% at 70% 20%, rgba(168, 85, 247, 0.22), transparent 55%),
    radial-gradient(90% 70% at 15% 80%, rgba(46, 230, 255, 0.16), transparent 50%),
    radial-gradient(60% 50% at 50% 50%, rgba(59, 130, 246, 0.1), transparent 60%);
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3.5rem;
  --space-xl: 6rem;
  --space-2xl: 9rem;
  --nav-h: 4.5rem;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: var(--bg-deep);
  border-radius: 0.35rem;
}

.skip-link:focus {
  top: 1rem;
}

/* Atmosphere */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    var(--grad-wash),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Nav */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(6, 6, 15, 0.78);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.nav-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.brand img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  filter: drop-shadow(0 0 10px var(--glow-cyan));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-muted);
  position: relative;
  transition: color 0.25s var(--ease);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1.5px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
}

.nav-links a[aria-current="page"]::after,
.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bg-deep);
  background: var(--grad-brand);
  box-shadow: 0 0 24px rgba(46, 230, 255, 0.18);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

a.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(168, 85, 247, 0.28);
}

span.nav-cta {
  cursor: default;
  opacity: 0.9;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
}

.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

/* Layout */
.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: var(--space-xl) 0;
}

.section-head {
  max-width: 36rem;
  margin-bottom: var(--space-lg);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: var(--space-sm);
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.section-head p,
.lead {
  color: var(--ink-muted);
  font-size: 1.05rem;
}

/* Hero */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding: calc(var(--nav-h) + 1.25rem) 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.85rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin-bottom: 1rem;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 40px rgba(46, 230, 255, 0.2));
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.25;
  max-width: 22ch;
  margin-bottom: 0.85rem;
  color: var(--ink);
}

.hero .support {
  max-width: 34ch;
  color: var(--ink-muted);
  margin-bottom: 1.4rem;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn-primary {
  color: var(--bg-deep);
  background: var(--grad-brand);
  box-shadow: 0 8px 32px rgba(46, 230, 255, 0.18);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.28);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
  border-color: rgba(46, 230, 255, 0.45);
  background: rgba(46, 230, 255, 0.06);
  transform: translateY(-2px);
}

.btn-soon {
  opacity: 0.85;
  cursor: default;
}

.btn-soon:hover {
  transform: none;
}

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-height: min(58vh, 480px);
  justify-self: end;
  width: 100%;
}

.hero-visual svg,
.hero-visual .hero-mark {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  object-fit: contain;
  display: block;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  animation: drift 12s ease-in-out infinite;
}

.hero-orb.a {
  width: 45%;
  height: 45%;
  top: 10%;
  right: 8%;
  background: var(--glow-purple);
}

.hero-orb.b {
  width: 55%;
  height: 55%;
  bottom: 5%;
  left: 0;
  background: var(--glow-cyan);
  animation-delay: -4s;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4%, -6%) scale(1.08); }
}

/* Product product pages hero variant */
.hero--product {
  align-items: center;
  padding-bottom: 3rem;
}

.hero--product .hero-grid {
  align-items: center;
}

.hero--product .hero-brand {
  font-size: clamp(2.4rem, 5.5vw, 4.25rem);
  margin-bottom: 0.75rem;
}

/* Reveal motion (below-fold) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Product lanes (home) — not card chrome */
.product-lanes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-lane {
  padding: var(--space-lg) clamp(1.25rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-height: 22rem;
  position: relative;
  transition: background 0.35s var(--ease);
}

.product-lane:first-child {
  border-right: 1px solid var(--line);
}

.product-lane:hover {
  background: rgba(255, 255, 255, 0.02);
}

.product-lane .lane-mark {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.product-lane:nth-child(2) .lane-mark {
  color: var(--purple);
}

.product-lane h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.product-lane p {
  color: var(--ink-muted);
  max-width: 32ch;
  flex: 1;
}

.lane-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

.lane-link span {
  transition: transform 0.25s var(--ease);
}

.product-lane:hover .lane-link span {
  transform: translateX(4px);
}

.lane-visual {
  height: 7rem;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-top: auto;
}

.lane-visual svg {
  width: 100%;
  height: 100%;
}

/* Capability strips */
.cap-list {
  display: grid;
  gap: 0;
}

.cap-item {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.cap-item:last-child {
  border-bottom: 1px solid var(--line);
}

.cap-item dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: var(--cyan);
}

.cap-item dd {
  color: var(--ink-muted);
}

/* Feature grid — text blocks, no card chrome */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2rem;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.feature p {
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.feature .dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--grad-brand);
  margin-bottom: 1rem;
  box-shadow: 0 0 12px var(--glow-cyan);
}

/* Split section */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.split-visual {
  aspect-ratio: 4 / 3;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
}

.split-visual svg {
  width: 100%;
  height: 100%;
}

.split .section-head {
  margin-bottom: 0;
}

/* Formats table */
.format-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.format-table th,
.format-table td {
  text-align: left;
  padding: 0.95rem 0.75rem;
  border-bottom: 1px solid var(--line);
}

.format-table th {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.format-table td {
  color: var(--ink-muted);
}

.format-table td:first-child {
  color: var(--ink);
  font-weight: 500;
}

.pill {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(46, 230, 255, 0.12);
  color: var(--cyan);
}

.pill--muted {
  background: rgba(168, 163, 196, 0.1);
  color: var(--ink-dim);
}

/* CTA band */
.cta-band {
  padding: var(--space-xl) 0;
  text-align: center;
  position: relative;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 20% 10%;
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.18), transparent 65%);
  pointer-events: none;
}

.cta-band .wrap {
  position: relative;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  letter-spacing: -0.035em;
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
  max-width: 36ch;
  margin-inline: auto;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 2rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-brand .brand {
  font-size: 1.05rem;
}

.footer-brand p {
  color: var(--ink-dim);
  font-size: 0.9rem;
  max-width: 28ch;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.9rem;
  color: var(--ink-muted);
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-copy {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink-dim);
}

/* Product page specifics */
.workflow {
  display: grid;
  gap: 0;
  counter-reset: step;
}

.workflow-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  counter-increment: step;
}

.workflow-step:last-child {
  border-bottom: 1px solid var(--line);
}

.workflow-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--purple);
  letter-spacing: -0.02em;
}

.workflow-step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.workflow-step p {
  color: var(--ink-muted);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .split,
  .product-lanes,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .product-lane:first-child {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .hero-visual {
    max-height: 380px;
    justify-self: stretch;
    order: -1;
  }

  .hero {
    align-items: center;
    padding-top: calc(var(--nav-h) + 1rem);
  }

  .cap-item {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(6, 6, 15, 0.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }

  .nav-links.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a,
  .nav-links .nav-cta {
    padding: 0.85rem 0;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 0.5rem;
  }
}

@media (max-width: 560px) {
  .hero-brand {
    font-size: clamp(2.6rem, 14vw, 3.5rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
