:root {
  --bg: #090909;
  --fg: #f4f4f1;
  --muted: #8a8a84;
  --line: rgba(244, 244, 241, 0.12);
  --acid: #d6ff3f;
  --acid-ink: #101400;
  --panel: #121212;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--fg);
  background: var(--bg);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
code {
  font-family: ui-monospace, "Cascadia Code", monospace;
  color: var(--acid);
  font-size: 0.92em;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 50% 40% at 20% 10%, rgba(214, 255, 63, 0.16), transparent 55%),
    radial-gradient(ellipse 45% 35% at 85% 20%, rgba(255, 80, 40, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(214, 255, 63, 0.08), transparent 60%),
    linear-gradient(180deg, #0d0d0d 0%, #090909 40%, #050505 100%);
  animation: mesh-shift 14s ease-in-out infinite alternate;
}
.bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.nav, main, .footer { position: relative; z-index: 1; }

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.04em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--fg); }
.nav-dl {
  color: var(--acid-ink) !important;
  background: var(--acid);
  padding: 8px 14px;
  font-weight: 700;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.nav-dl:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  min-height: calc(100vh - 80px);
  padding: 48px 24px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.brand {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4.5rem, 16vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: -0.06em;
  color: var(--fg);
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.hero h1 {
  margin: 18px 0 0;
  max-width: 12ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.08s both;
}
.sub {
  margin: 16px 0 0;
  max-width: 28ch;
  color: var(--muted);
  font-size: 1.15rem;
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.14s both;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s both;
}

.btn-main,
.btn-sec {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, filter 0.15s ease;
}
.btn-main {
  color: var(--acid-ink);
  background: var(--acid);
}
.btn-main:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}
.btn-sec {
  color: var(--fg);
  border: 1px solid var(--line);
  background: transparent;
}
.btn-sec:hover {
  border-color: rgba(244, 244, 241, 0.35);
  transform: translateY(-2px);
}

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 14px 0;
  background: rgba(0, 0, 0, 0.25);
}
.marquee-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: marquee 22s linear infinite;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.marquee-track span { white-space: nowrap; }

.strip {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.strip-item {
  padding: 40px 28px 40px 0;
  border-right: 1px solid var(--line);
}
.strip-item:last-child {
  border-right: none;
  padding-right: 0;
}
.strip-item:not(:first-child) { padding-left: 28px; }
.strip-item h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.strip-item p {
  margin: 0;
  color: var(--muted);
  max-width: 26ch;
}

.preview {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--acid);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.preview-copy h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.preview-copy p:last-child {
  margin: 0;
  color: var(--muted);
  max-width: 38ch;
  font-size: 1.05rem;
}

.client {
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.client-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: #0e0e0e;
}
.client-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #333;
}
.client-bar span:nth-child(1) { background: #ff5f57; }
.client-bar span:nth-child(2) { background: #febc2e; }
.client-bar span:nth-child(3) { background: #28c840; }
.client-bar em {
  margin-left: 10px;
  font-style: normal;
  color: var(--muted);
  font-size: 0.8rem;
}
.client-body {
  display: grid;
  grid-template-columns: 56px 1fr;
  min-height: 240px;
}
.client-rail {
  border-right: 1px solid var(--line);
  padding: 14px 10px;
  display: grid;
  gap: 10px;
  align-content: start;
  background: #0b0b0b;
}
.client-rail i {
  display: block;
  width: 36px;
  height: 36px;
  background: #1c1c1c;
}
.client-rail i.on {
  background: var(--acid);
  box-shadow: 0 0 0 2px rgba(214, 255, 63, 0.25);
}
.client-main { padding: 16px; }
.client-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.85rem;
}
.client-row b { color: var(--fg); }
.client-msg {
  margin-bottom: 12px;
  display: grid;
  gap: 2px;
}
.client-msg strong {
  font-size: 0.85rem;
  color: var(--fg);
}
.client-msg span {
  color: var(--muted);
  font-size: 0.92rem;
}
.client-msg.accent span { color: var(--acid); }

.grid-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px 24px 72px;
  border-top: 1px solid var(--line);
}
.grid-section > h2,
.faq > h2,
.cta-end h2,
.install > h2 {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.04em;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feature-grid article {
  background: var(--bg);
  padding: 28px 24px;
}
.feature-grid h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}
.feature-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.specs {
  max-width: var(--max);
  margin: 0 auto 24px;
  padding: 0 24px 56px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.spec {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  display: grid;
  gap: 6px;
}
.spec span {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.spec strong {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.install {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 24px 40px;
  border-top: 1px solid var(--line);
}
.section-sub {
  margin: -12px 0 28px;
  color: var(--muted);
  max-width: 40ch;
}
.steps {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 14px;
}
.steps li {
  color: var(--muted);
  font-size: 1.1rem;
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.steps strong {
  color: var(--acid);
  font-family: var(--font-display);
  font-size: 0.95rem;
}
.install-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.faq {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 24px 40px;
  border-top: 1px solid var(--line);
}
details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
details:last-child { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  float: right;
  color: var(--acid);
  font-family: var(--font-display);
}
details[open] summary::after { content: "–"; }
details p {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 60ch;
}

.cta-end {
  max-width: var(--max);
  margin: 0 auto;
  padding: 80px 24px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.cta-end p {
  margin: -8px 0 28px;
  color: var(--muted);
  font-size: 1.15rem;
}

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 24px 48px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-links {
  display: flex;
  gap: 16px;
}
.footer a:hover { color: var(--fg); }

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  position: relative;
  z-index: 1;
}
.legal h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.04em;
}
.legal h2 {
  margin: 32px 0 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}
.legal p, .legal li { color: var(--muted); }
.legal a { color: var(--acid); }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes mesh-shift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-2%, 2%, 0) scale(1.04); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 900px) {
  .nav-links a:not(.nav-dl) { display: none; }
  .strip,
  .preview,
  .feature-grid,
  .specs {
    grid-template-columns: 1fr;
  }
  .strip-item,
  .strip-item:not(:first-child) {
    padding: 28px 0;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .strip-item:last-child { border-bottom: none; }
  .footer { flex-direction: column; }
}
