/* ============================================================
   zealse.com — ONYX v1 (Zealve house brand) landing styles
   tokens: canvas #0a0c0f · surface #121519 · accent #2bd576
   type:   Manrope (display/UI) · Geist Mono (numerals)
   motion: 160ms cubic-bezier(0.2,0,0,1) · reduced-motion respected
   ============================================================ */

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/ManropeVariable.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/fonts/GeistMonoVariable.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --zx-canvas: #0a0c0f;
  --zx-surface: #121519;
  --zx-surface-2: #1a1e24;
  --zx-ring: rgba(255, 255, 255, 0.07);
  --zx-ring-strong: rgba(255, 255, 255, 0.12);
  --zx-ink: #f3f5f8;
  --zx-ink-2: rgba(243, 245, 248, 0.62);
  --zx-ink-3: rgba(243, 245, 248, 0.42);
  --zx-accent: #2bd576;
  --zx-accent-ink: #06231a;
  --zx-accent-soft: rgba(43, 213, 118, 0.12);
  --zx-warning: #fbbf24;
  --zx-info: #5b9dff;
  --zx-font: "Manrope", "Inter", system-ui, -apple-system, sans-serif;
  --zx-mono: "Geist Mono", ui-monospace, "SF Mono", monospace;
  --zx-ease: cubic-bezier(0.2, 0, 0, 1);
  --zx-radius: 16px;
  --zx-wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--zx-canvas);
  color: var(--zx-ink);
  font: 500 16px/1.6 var(--zx-font);
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: rgba(43, 213, 118, 0.28); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
.tnum { font-family: var(--zx-mono); font-variant-numeric: tabular-nums; }

.wrap { max-width: var(--zx-wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }

/* signature micro label */
.micro {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--zx-ink-3);
  margin: 0 0 14px;
}
.micro.green { color: var(--zx-accent); }

/* ------------------------------- topbar ------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 12, 15, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--zx-ring);
}
.bar-inner { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand {
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
}
.brand-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--zx-accent); }
.nav { display: flex; gap: 22px; margin-left: 8px; }
.nav a { color: var(--zx-ink-2); font-size: 14px; font-weight: 600; transition: color 160ms var(--zx-ease); }
.nav a:hover { color: var(--zx-ink); }
.bar-cta { margin-left: auto; display: flex; gap: 10px; }

/* ------------------------------- buttons ------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font: 700 14px/1 var(--zx-font);
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 160ms var(--zx-ease), background 160ms var(--zx-ease), color 160ms var(--zx-ease), border-color 160ms var(--zx-ease);
}
.btn:active { transform: scale(0.98); }
.btn-accent { background: var(--zx-accent); color: var(--zx-accent-ink); }
.btn-accent:hover { background: #3ee58a; }
.btn-ghost { background: transparent; color: var(--zx-ink); border: 1px solid var(--zx-ring-strong); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.3); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-block { width: 100%; }

/* -------------------------------- hero -------------------------------- */
.hero { position: relative; padding: 96px 0 64px; overflow: hidden; }
.aurora { position: absolute; inset: 0; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.16;
  animation: drift 18s var(--zx-ease) infinite alternate;
}
.blob-a { width: 560px; height: 560px; background: #2bd576; top: -220px; left: -120px; }
.blob-b { width: 480px; height: 480px; background: #5b9dff; bottom: -260px; right: -140px; animation-delay: -9s; }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(60px, 40px, 0) scale(1.12); }
}
.hero-inner { position: relative; }
.hero-title {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}
.rotator-wrap { white-space: nowrap; }
.rotator {
  display: inline-block;
  color: var(--zx-accent);
  min-width: 7.2ch;
}
.rot-word { display: inline-block; animation: wordIn 420ms var(--zx-ease); }
.rot-word.out { animation: wordOut 300ms var(--zx-ease) forwards; }
@keyframes wordIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes wordOut { to { opacity: 0; transform: translateY(-14px); } }
.hero-sub { max-width: 640px; color: var(--zx-ink-2); font-size: 17px; margin: 0 0 28px; }
.hero-sub strong { color: var(--zx-ink); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 720px; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-size: 26px; font-weight: 700; color: var(--zx-ink); }
.stat-label { font-size: 12.5px; color: var(--zx-ink-3); }

/* hero scene — floating chat + plan cards */
.hero-scene {
  position: relative;
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 860px;
}
.chat-card, .plan-card {
  background: var(--zx-surface);
  border: 1px solid var(--zx-ring);
  border-radius: var(--zx-radius);
  padding: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  animation: floaty 7s ease-in-out infinite alternate;
}
.plan-card { animation-delay: -3.5s; }
@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-10px); } }
.chat-head { font-size: 12px; color: var(--zx-ink-3); display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.chat-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--zx-accent); box-shadow: 0 0 0 4px var(--zx-accent-soft); }
.bubble { border-radius: 18px; padding: 9px 13px; font-size: 13.5px; max-width: 85%; margin-bottom: 8px; }
.bubble.in { background: var(--zx-surface-2); border-bottom-left-radius: 6px; }
.bubble.out { background: var(--zx-accent); color: var(--zx-accent-ink); border-bottom-right-radius: 6px; margin-left: auto; }
.typing { display: inline-flex; gap: 4px; padding: 8px 12px; background: var(--zx-surface-2); border-radius: 18px 18px 18px 6px; }
.typing span { width: 6px; height: 6px; border-radius: 999px; background: var(--zx-ink-3); animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }
.plan-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--zx-ink-3); margin-bottom: 12px; }
.plan-row { display: flex; align-items: center; gap: 10px; font-size: 13px; margin-bottom: 8px; }
.plan-bar { flex: 1; height: 8px; border-radius: 999px; background: var(--zx-surface-2); overflow: hidden; }
.plan-bar i { display: block; height: 100%; width: var(--w, 50%); border-radius: 999px; background: var(--zx-accent); animation: grow 1.4s var(--zx-ease); }
@keyframes grow { from { width: 0; } }
.plan-note { font-size: 12px; color: var(--zx-ink-3); margin-top: 10px; }

/* ------------------------------- ticker ------------------------------- */
.ticker { border-block: 1px solid var(--zx-ring); padding: 14px 0; overflow: hidden; }
.ticker-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 36s linear infinite;
  font-family: var(--zx-mono);
  font-size: 13px;
  color: var(--zx-ink-3);
  white-space: nowrap;
}
.ticker-track i { color: var(--zx-accent); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------ sections ------------------------------ */
.section { padding: 88px 0; }
.section.alt { background: var(--zx-surface); border-block: 1px solid var(--zx-ring); }
.section-title { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 18px; }
.lede { color: var(--zx-ink-2); font-size: 17px; margin: 0 0 20px; }

.product-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.product-grid.flip { direction: rtl; }
.product-grid.flip > * { direction: ltr; }
.product-copy h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 8px; }
.ticks { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
.ticks li { padding-left: 26px; position: relative; color: var(--zx-ink-2); font-size: 15px; }
.ticks li strong { color: var(--zx-ink); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 14px; height: 14px;
  border-radius: 999px;
  background: var(--zx-accent-soft);
  border: 1px solid var(--zx-accent);
}
.ticks li::after {
  content: "";
  position: absolute;
  left: 4px; top: 11px;
  width: 6px; height: 3px;
  border-left: 1.6px solid var(--zx-accent);
  border-bottom: 1.6px solid var(--zx-accent);
  transform: rotate(-45deg);
}
.product-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hint { font-size: 12.5px; color: var(--zx-ink-3); max-width: 260px; }

/* mock window */
.mock-window {
  background: var(--zx-canvas);
  border: 1px solid var(--zx-ring);
  border-radius: var(--zx-radius);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}
.mock-titlebar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--zx-ring); background: var(--zx-surface); }
.mock-titlebar span { width: 9px; height: 9px; border-radius: 999px; background: var(--zx-surface-2); }
.mock-titlebar em { margin-left: auto; font: 500 11px var(--zx-mono); font-style: normal; color: var(--zx-ink-3); }
.mock-body { padding: 14px; display: grid; gap: 10px; }
.mock-row { display: flex; align-items: center; gap: 10px; background: var(--zx-surface); border: 1px solid var(--zx-ring); border-radius: 12px; padding: 10px 12px; }
.mock-row b { display: block; font-size: 13px; }
.mock-row small { display: block; font-size: 12px; color: var(--zx-ink-3); max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ava {
  width: 34px; height: 34px; flex: 0 0 34px;
  border-radius: 999px;
  background: var(--zx-surface-2);
  display: grid; place-items: center;
  font: 700 11px var(--zx-font);
  color: var(--zx-ink-2);
}
.ava.alt { background: rgba(91, 157, 255, 0.16); color: var(--zx-info); }
.ava.ai { background: var(--zx-accent-soft); color: var(--zx-accent); }
.pill {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--zx-surface-2);
  color: var(--zx-ink-2);
  white-space: nowrap;
}
.pill-ok { background: var(--zx-accent-soft); color: var(--zx-accent); }
.pill-warn { background: rgba(251, 191, 36, 0.14); color: var(--zx-warning); }
.pill-info { background: rgba(91, 157, 255, 0.14); color: var(--zx-info); }
.typing-row small { display: inline; margin-right: 6px; }
.typing.dark { padding: 4px 8px; background: var(--zx-surface-2); }
.typing.dark span { width: 4px; height: 4px; }
.brief {
  background: var(--zx-surface);
  border: 1px solid var(--zx-ring-strong);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--zx-ink);
}
.plan-card.flat { box-shadow: none; animation: none; margin-top: 4px; }

/* ------------------------------- steps -------------------------------- */
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--zx-surface); border: 1px solid var(--zx-ring); border-radius: var(--zx-radius); padding: 24px; position: relative; transition: border-color 160ms var(--zx-ease), transform 160ms var(--zx-ease); }
.step:hover { border-color: var(--zx-accent); transform: translateY(-3px); }
.step-num { font-size: 13px; color: var(--zx-accent); }
.step h3 { font-size: 18px; font-weight: 800; margin: 10px 0 8px; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--zx-ink-2); font-size: 14.5px; }

/* ---------------------------- early access ---------------------------- */
.band-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.band-copy p { color: var(--zx-ink-2); }
.band-copy strong { color: var(--zx-ink); }
.seats { margin: 22px 0; }
.seats-bar { height: 10px; border-radius: 999px; background: var(--zx-surface-2); overflow: hidden; position: relative; }
.seats-bar i {
  display: block;
  height: 100%;
  width: 58%;
  border-radius: 999px;
  background: var(--zx-accent);
  animation: shimmer 2.4s var(--zx-ease) infinite;
}
@keyframes shimmer { 0% { filter: brightness(0.85); } 50% { filter: brightness(1.15); } 100% { filter: brightness(0.85); } }
.seats-meta { display: flex; justify-content: space-between; font: 500 11px var(--zx-mono); color: var(--zx-ink-3); margin-top: 8px; letter-spacing: 0.06em; }
.perks { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.perk {
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--zx-accent-soft);
  color: var(--zx-accent);
  border: 1px solid rgba(43, 213, 118, 0.35);
}

.card { background: var(--zx-canvas); border: 1px solid var(--zx-ring); border-radius: var(--zx-radius); padding: 28px; position: relative; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-size: 13px; font-weight: 700; }
.field label em, .field .opt { color: var(--zx-ink-3); font-style: normal; font-weight: 500; font-size: 12px; }
.field input, .field textarea {
  background: var(--zx-surface);
  border: 1px solid var(--zx-ring-strong);
  border-radius: 14px;
  padding: 12px 14px;
  font: 500 14.5px var(--zx-font);
  color: var(--zx-ink);
  outline: none;
  transition: border-color 160ms var(--zx-ease), box-shadow 160ms var(--zx-ease);
  width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--zx-accent); box-shadow: 0 0 0 3px rgba(43, 213, 118, 0.22); }
.field textarea { resize: vertical; min-height: 76px; }
.hp { position: absolute !important; left: -9999px !important; height: 1px; width: 1px; opacity: 0; }
.pill-toggle { display: flex; gap: 8px; flex-wrap: wrap; }
.pill-opt {
  border: 1px solid var(--zx-ring-strong);
  background: transparent;
  color: var(--zx-ink-2);
  border-radius: 999px;
  padding: 9px 16px;
  font: 700 13px var(--zx-font);
  cursor: pointer;
  transition: all 160ms var(--zx-ease);
}
.pill-opt.is-on { background: var(--zx-accent); border-color: var(--zx-accent); color: var(--zx-accent-ink); }
.form-status { margin: 0; font-size: 13.5px; color: var(--zx-ink-3); min-height: 18px; }
.form-status.ok { color: var(--zx-accent); }
.form-status.err { color: #f4586a; }
.confetti { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; }

/* --------------------------------- faq -------------------------------- */
.faq-list { display: grid; gap: 12px; margin-top: 24px; }
.faq {
  background: var(--zx-surface);
  border: 1px solid var(--zx-ring);
  border-radius: var(--zx-radius);
  padding: 18px 22px;
}
.faq summary { cursor: pointer; font-weight: 700; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 20px var(--zx-mono); color: var(--zx-accent); transition: transform 160ms var(--zx-ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--zx-ink-2); font-size: 14.5px; margin: 12px 0 0; }
.faq a { color: var(--zx-accent); }

/* -------------------------------- footer ------------------------------ */
.footer { border-top: 1px solid var(--zx-ring); padding: 56px 0 32px; overflow: hidden; }
.foot-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.foot-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-nav a { color: var(--zx-ink-2); font-size: 13.5px; font-weight: 600; transition: color 160ms var(--zx-ease); }
.foot-nav a:hover { color: var(--zx-ink); }
.foot-note { color: var(--zx-ink-3); font-size: 13.5px; margin: 20px 0 0; }
.foot-giant {
  font-size: clamp(90px, 18vw, 230px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: rgba(243, 245, 248, 0.05);
  text-align: center;
  margin: 30px 0 0;
  user-select: none;
}
.foot-legal { text-align: center; color: var(--zx-ink-3); font-size: 12.5px; margin: 18px 0 0; }
.foot-legal a { color: var(--zx-ink-2); }
.foot-legal a:hover { color: var(--zx-ink); }

/* ------------------------------- reveal ------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 500ms var(--zx-ease), transform 500ms var(--zx-ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------- reduced motion -------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------- responsive --------------------------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .hero { padding: 64px 0 48px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-scene { grid-template-columns: 1fr; }
  .product-grid, .band-inner { grid-template-columns: 1fr; gap: 32px; }
  .product-grid.flip { direction: ltr; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
