/* ============================================================
   Nozzy — marketing site
   Design tokens mirror the app (constants/theme.ts):
   icy-cyan glass on a near-black blue-washed base.
   ============================================================ */
:root {
  /* base */
  --bg: #06080C;
  --bg-elevated: #0A0E15;
  --surface: rgba(150, 190, 230, 0.045);
  --surface-strong: rgba(150, 190, 230, 0.085);
  --border: rgba(160, 200, 240, 0.10);
  --border-strong: rgba(170, 210, 245, 0.18);

  /* text */
  --text: #EAF1F8;
  --text-dim: #8E9DAE;
  --text-muted: #56626F;

  /* accent */
  --accent: #56D6FF;
  --accent-2: #2E9FD6;
  --accent-soft: rgba(86, 214, 255, 0.18);
  --accent-dim: rgba(86, 214, 255, 0.55);
  --on-accent: #04222E;
  --glow: rgba(86, 214, 255, 0.55);
  --glow-soft: rgba(86, 214, 255, 0.18);

  --ok: #57E9C5;
  --warn: #FFCB5C;
  --danger: #FF6B6B;

  /* radius */
  --r-button: 14px;
  --r-card: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* type */
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;

  /* motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

  --container: 1120px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0; }
button, input { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 3px;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ============================================================
   Ambient background
   ============================================================ */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-glow {
  position: absolute; border-radius: 50%;
  filter: blur(90px); opacity: 0.6; will-change: transform;
}
.bg-glow--1 {
  width: 720px; height: 720px; top: -260px; left: 50%; transform: translateX(-55%);
  background: radial-gradient(circle, rgba(86, 214, 255, 0.22), transparent 62%);
  animation: drift1 22s ease-in-out infinite alternate;
}
.bg-glow--2 {
  width: 560px; height: 560px; bottom: -200px; right: -120px;
  background: radial-gradient(circle, rgba(46, 159, 214, 0.16), transparent 64%);
  animation: drift2 26s ease-in-out infinite alternate;
}
.bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(160, 200, 240, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 200, 240, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}
.bg-noise {
  position: absolute; inset: 0; opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift1 { to { transform: translateX(-45%) translateY(40px); } }
@keyframes drift2 { to { transform: translateY(-50px) translateX(-30px); } }

/* ============================================================
   Buttons & pills
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: var(--r-button);
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.18s var(--ease-out-quart), box-shadow 0.26s ease, background 0.26s ease, border-color 0.26s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--sm { padding: 9px 16px; font-size: 14px; }

.btn--primary {
  background: var(--accent); color: var(--on-accent);
  box-shadow: 0 0 0 1px rgba(86, 214, 255, 0.4), 0 10px 30px -8px var(--glow);
}
.btn--primary:hover { background: #6fddff; box-shadow: 0 0 0 1px rgba(86, 214, 255, 0.6), 0 16px 40px -10px var(--glow); transform: translateY(-1px); }

.btn--ghost {
  background: var(--surface); color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: var(--surface-strong); border-color: var(--accent-dim); transform: translateY(-1px); }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-body); font-weight: 600; font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 11px; border-radius: var(--r-pill);
  border: 1px solid var(--border-strong); background: var(--surface);
  color: var(--text-dim);
}
.pill--dev {
  color: var(--warn);
  border-color: rgba(255, 203, 92, 0.32);
  background: rgba(255, 203, 92, 0.08);
}
.pill--dev::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--warn); box-shadow: 0 0 0 0 rgba(255, 203, 92, 0.5);
  animation: blip 2.4s ease-out infinite;
}
.pill--lg { font-size: 12px; padding: 7px 14px; }
@keyframes blip {
  0% { box-shadow: 0 0 0 0 rgba(255, 203, 92, 0.5); }
  70% { box-shadow: 0 0 0 7px rgba(255, 203, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 203, 92, 0); }
}

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(10, 14, 21, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--border);
}
.nav__inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); }
.brand__mark { display: grid; place-items: center; filter: drop-shadow(0 0 10px var(--glow-soft)); }
.brand__word { font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a {
  font-size: 14.5px; font-weight: 500; color: var(--text-dim);
  transition: color 0.2s ease; position: relative;
}
.nav__links a:hover { color: var(--text); }
.nav__cta { margin-left: 4px; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .brand .pill--dev { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero { padding: clamp(48px, 9vw, 110px) 0 40px; }
.hero__inner {
  display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--accent); padding: 6px 13px; border-radius: var(--r-pill);
  background: var(--accent-soft); border: 1px solid rgba(86, 214, 255, 0.25);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 10px var(--glow); animation: blip-cyan 2.4s ease-out infinite;
}
@keyframes blip-cyan {
  0% { box-shadow: 0 0 0 0 rgba(86, 214, 255, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(86, 214, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(86, 214, 255, 0); }
}
.hero__title {
  font-size: clamp(40px, 7vw, 68px); margin: 22px 0 0; letter-spacing: -0.03em;
}
.grad {
  color: var(--accent);
}
.hero__sub {
  margin-top: 22px; max-width: 540px; font-size: 17.5px; color: var(--text-dim); line-height: 1.62;
}
.hero__cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__meta {
  margin-top: 28px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--text-muted);
}
.hero__meta strong { color: var(--text-dim); font-weight: 600; }
.hero__meta .sep { color: var(--text-muted); opacity: 0.5; }

/* hero art / orb */
.hero__art { display: grid; place-items: center; }
.orb { position: relative; width: min(420px, 90%); aspect-ratio: 1; display: grid; place-items: center; }
.orb__halo {
  position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, rgba(86, 214, 255, 0.22), transparent 60%);
  border: 1px solid var(--border);
  box-shadow: inset 0 0 80px rgba(86, 214, 255, 0.10);
}
.orb__halo::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, rgba(86, 214, 255, 0.35), transparent 30%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px));
  animation: spin 14s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.mascot { position: relative; z-index: 2; filter: drop-shadow(0 24px 40px rgba(0,0,0,0.5)); }
.mascot--lg { animation: bob 4.6s ease-in-out infinite; }
.mascot--lg .nozzy { width: clamp(160px, 62%, 260px); height: auto; }
@keyframes bob { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(8px); } }

/* floating chips */
.chip {
  position: absolute; z-index: 3;
  font-size: 13px; font-weight: 600; color: var(--text);
  padding: 9px 13px; border-radius: var(--r-pill);
  background: rgba(10, 14, 21, 0.66); backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
}
.chip--1 { top: 12%; left: -6%; animation: float 6s ease-in-out infinite; }
.chip--2 { top: 46%; right: -10%; animation: float 6s ease-in-out infinite 1.4s; }
.chip--3 { bottom: 10%; left: 2%; animation: float 6s ease-in-out infinite 2.6s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

@media (max-width: 880px) {
  .hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .orb { width: min(320px, 78%); }
  .chip--1 { left: 0; }
  .chip--2 { right: -2%; }
}

/* ============================================================
   Dev notice strip
   ============================================================ */
.notice {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  margin: 28px 0 8px; padding: 18px 22px;
  border-radius: var(--r-card);
  background: linear-gradient(180deg, rgba(255, 203, 92, 0.06), rgba(255, 203, 92, 0.02));
  border: 1px solid rgba(255, 203, 92, 0.22);
}
.notice__tag {
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--warn);
  padding: 5px 10px; border-radius: 8px; background: rgba(255, 203, 92, 0.12);
  border: 1px solid rgba(255, 203, 92, 0.25); white-space: nowrap;
}
.notice p { flex: 1; min-width: 260px; font-size: 15px; color: var(--text-dim); }
.notice strong { color: var(--text); }
.notice__link { color: var(--warn); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
.notice__link:hover { text-decoration: underline; }

/* ============================================================
   Sections
   ============================================================ */
.section { padding: clamp(64px, 11vw, 120px) 0; position: relative; }
.section--alt::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(86, 214, 255, 0.04), transparent 70%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.section__head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.kicker {
  display: inline-block; font-family: var(--font-body); font-weight: 600;
  font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.section__head h2 { font-size: clamp(28px, 4.4vw, 42px); }
.section__head p { margin-top: 16px; font-size: 17px; color: var(--text-dim); }

/* ============================================================
   Cards / grids
   ============================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease-out-quart), border-color 0.3s ease, background 0.3s ease;
}
.grid { display: grid; gap: 18px; }
.grid--features { grid-template-columns: repeat(3, 1fr); }
.grid--steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid--pricing { grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }

.feature { padding: 26px; }
.feature:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-strong); }
.feature__icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid rgba(86, 214, 255, 0.22);
  margin-bottom: 18px; box-shadow: inset 0 0 18px rgba(86, 214, 255, 0.10);
}
.feature h3 { font-size: 20px; margin-bottom: 8px; }
.feature > p { color: var(--text-dim); font-size: 15px; line-height: 1.6; }
.feature strong { color: var(--text); }
.feature em { color: var(--accent); font-style: normal; }
.feature__list { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.feature__list li {
  position: relative; padding-left: 22px; font-size: 14px; color: var(--text-dim);
}
.feature__list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.feature--accent {
  background: linear-gradient(180deg, rgba(86, 214, 255, 0.07), var(--surface));
  border-color: rgba(86, 214, 255, 0.28);
}

/* steps */
.step { padding: 28px 24px; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--border); }
.step__num {
  font-family: var(--font-display); font-weight: 700; font-size: 30px;
  color: transparent; -webkit-text-stroke: 1.2px var(--accent-dim);
  letter-spacing: 0.02em;
}
.step h3 { font-size: 19px; margin: 12px 0 8px; }
.step p { color: var(--text-dim); font-size: 15px; }

/* ============================================================
   Character section
   ============================================================ */
.character { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: center; }
.character__copy h2 { font-size: clamp(26px, 4vw, 40px); margin-top: 14px; }
.character__copy > p { margin-top: 18px; font-size: 17px; color: var(--text-dim); }
.character__copy strong { color: var(--text); }
.character__tags { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  font-size: 13px; font-weight: 600; color: var(--text-dim);
  padding: 7px 14px; border-radius: var(--r-pill);
  background: var(--surface); border: 1px solid var(--border-strong);
}
.gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  padding: 24px; border-radius: var(--r-xl);
  background: radial-gradient(ellipse at 50% 30%, rgba(86, 214, 255, 0.07), var(--surface));
  border: 1px solid var(--border);
}
.gallery .face {
  aspect-ratio: 1; display: grid; place-items: center;
  border-radius: var(--r-card); background: rgba(6, 8, 12, 0.5);
  border: 1px solid var(--border);
  transition: transform 0.3s var(--ease-out-quart), border-color 0.3s ease;
}
.gallery .face:hover { transform: translateY(-3px) scale(1.02); border-color: var(--accent-dim); }
.gallery .face svg { width: 76%; height: auto; }

@media (max-width: 880px) {
  .character { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================================
   Pricing
   ============================================================ */
.price { padding: 28px 26px; position: relative; display: flex; flex-direction: column; }
.price:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.price--featured {
  background: linear-gradient(180deg, rgba(86, 214, 255, 0.08), var(--surface));
  border-color: rgba(86, 214, 255, 0.35);
  box-shadow: 0 24px 60px -28px var(--glow);
}
.price__ribbon {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--on-accent); background: var(--accent);
  padding: 5px 12px; border-radius: var(--r-pill);
  box-shadow: 0 8px 20px -8px var(--glow);
}
.price__head { padding-bottom: 18px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.price__head h3 { font-size: 18px; color: var(--accent); }
.price__amount { margin-top: 12px; display: flex; align-items: baseline; gap: 4px; }
.price__big { font-family: var(--font-display); font-weight: 700; font-size: 40px; letter-spacing: -0.03em; }
.price__per { font-size: 16px; color: var(--text-muted); }
.price__tag { margin-top: 6px; font-size: 13.5px; color: var(--text-muted); }
.price__list { display: flex; flex-direction: column; gap: 11px; }
.price__list li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--text-dim); }
.price__list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 13px; height: 8px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* ============================================================
   Waitlist / CTA
   ============================================================ */
.cta {
  position: relative; overflow: hidden;
  text-align: center; max-width: 760px; margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 56px);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  border: 1px solid var(--border-strong);
}
.cta__glow {
  position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(86, 214, 255, 0.18), transparent 60%);
  pointer-events: none;
}
.cta h2 { position: relative; font-size: clamp(28px, 4.6vw, 44px); margin: 18px 0 0; }
.cta > p { position: relative; margin: 16px auto 0; max-width: 480px; font-size: 16.5px; color: var(--text-dim); }
.waitlist {
  position: relative; margin: 30px auto 0; display: flex; gap: 10px;
  max-width: 440px; flex-wrap: wrap; justify-content: center;
}
.waitlist__input {
  flex: 1; min-width: 220px;
  font-family: var(--font-body); font-size: 15px; color: var(--text);
  padding: 13px 16px; border-radius: var(--r-button);
  background: rgba(6, 8, 12, 0.6); border: 1px solid var(--border-strong);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.waitlist__input::placeholder { color: var(--text-muted); }
.waitlist__input:focus {
  outline: none; border-color: var(--accent-dim);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.waitlist__input.is-error { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2); }
.waitlist__note { position: relative; margin-top: 16px; font-size: 13px; color: var(--text-muted); }
.waitlist__note.is-success { color: var(--ok); font-weight: 600; }

/* ============================================================
   Footer
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 40px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand strong { font-family: var(--font-display); font-size: 16px; }
.footer__brand p { font-size: 13.5px; color: var(--text-muted); }
.footer__meta { display: flex; align-items: center; gap: 16px; }
.footer__meta p { font-size: 13px; color: var(--text-muted); }
.footer__contact {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}
.footer__contact:hover { text-decoration: underline; }

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .bg-glow, .orb__halo::after, .mascot--lg, .chip, .pill--dev::before, .eyebrow .dot { animation: none !important; }
}

/* ============================================================
   Atelier animations — ported from help/ (polish.css, components-extra.css)
   ============================================================ */

/* scroll progress bar */
.scroll-prog {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 100;
  transform: scaleX(var(--p, 0)); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent), #9fe9ff);
  box-shadow: 0 0 12px var(--glow); pointer-events: none;
}

/* cursor halo */
.cursor-halo {
  position: fixed; top: 0; left: 0; width: 460px; height: 460px; z-index: 0;
  border-radius: 50%; pointer-events: none; opacity: 0;
  transition: opacity 0.4s ease; will-change: transform;
  background: radial-gradient(circle, rgba(86, 214, 255, 0.10), transparent 60%);
  mix-blend-mode: screen;
}
.cursor-halo.on { opacity: 1; }

/* lava blobs — slow drifting ambient color (help/ lava1-3) */
.bg-lava { position: absolute; inset: 0; filter: blur(60px); opacity: 0.5; }
.bg-lava span {
  position: absolute; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(86, 214, 255, 0.28), transparent 65%);
}
.bg-lava span:nth-child(1) { animation: lava1 24s ease-in-out infinite alternate; }
.bg-lava span:nth-child(2) {
  background: radial-gradient(circle, rgba(46, 159, 214, 0.22), transparent 65%);
  animation: lava2 30s ease-in-out infinite alternate;
}
.bg-lava span:nth-child(3) {
  background: radial-gradient(circle, rgba(87, 233, 197, 0.14), transparent 65%);
  animation: lava3 27s ease-in-out infinite alternate;
}
@keyframes lava1 { 0% { left: 8%; top: 58%; transform: scale(1); } 100% { left: 64%; top: 66%; transform: scale(0.9); } }
@keyframes lava2 { 0% { left: 58%; top: 16%; transform: scale(1.2); } 100% { left: 46%; top: 30%; transform: scale(1.4); } }
@keyframes lava3 { 0% { left: 28%; top: 70%; transform: scale(0.7); } 100% { left: 18%; top: 28%; transform: scale(1.2); } }

/* hero title blur-up entrance (help/ titleIn) */
.hero__title {
  animation: titleIn 0.9s var(--ease-out-expo) both;
}
@keyframes titleIn {
  from { opacity: 0; transform: translateY(20px); filter: blur(8px); letter-spacing: 0.02em; }
  to { opacity: 1; transform: translateY(0); filter: blur(0); letter-spacing: -0.03em; }
}

/* mascot line-draw (help/ drawIn) — applied per-stroke in app.js */
@keyframes nozzyDraw { to { stroke-dashoffset: 0; } }

/* confetti (help/ confFall) */
.confetti { position: fixed; inset: 0; z-index: 90; pointer-events: none; overflow: hidden; }
.confetti i {
  position: absolute; width: 9px; height: 9px; border-radius: 2px;
  animation: confFall 1.8s var(--ease-out-quart) forwards;
}
@keyframes confFall {
  0% { transform: translate(0, 0) rotate(0); opacity: 1; }
  100% { transform: translate(var(--tx), 80vh) rotate(720deg); opacity: 0; }
}

/* honeypot — visually hidden anti-bot field */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .hero__title { animation: none; }
  .bg-lava, .cursor-halo, .scroll-prog { display: none; }
}

/* ---------- responsive grids ---------- */
@media (max-width: 920px) {
  .grid--features { grid-template-columns: repeat(2, 1fr); }
  .grid--steps, .grid--pricing { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container { padding-inline: 18px; }
  .nav__inner { height: 62px; gap: 10px; }
  .brand { gap: 8px; min-width: 0; }
  .brand__word { font-size: 18px; }
  .nav__cta { margin-left: auto; padding: 9px 12px; font-size: 13px; }
  .hero { padding: 26px 0 4px; }
  .hero__inner { gap: 8px; }
  .hero__copy { text-align: center; }
  .hero__title {
    margin-top: 18px;
    font-size: clamp(34px, 12vw, 48px);
    letter-spacing: -0.025em;
  }
  .hero__sub {
    margin-inline: auto;
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.56;
  }
  .hero__cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }
  .hero__cta .btn { width: 100%; }
  .hero__meta {
    justify-content: center;
    gap: 8px;
    font-size: 12.5px;
    line-height: 1.45;
  }
  .hero__meta .sep { display: none; }
  .orb {
    width: min(168px, 58%);
    margin: 8px auto 0;
  }
  .chip { display: none; }
  .notice {
    align-items: flex-start;
    gap: 12px;
    margin-top: 16px;
    padding: 15px;
  }
  .notice p { min-width: 0; font-size: 14px; }
  .notice__link { width: 100%; }
  .section { padding: 58px 0; }
  .section__head {
    margin: 0 0 30px;
    text-align: left;
  }
  .section__head h2,
  .character__copy h2,
  .cta h2 {
    text-wrap: balance;
  }
  .section__head p,
  .character__copy > p {
    font-size: 15.5px;
    line-height: 1.58;
  }
  .grid--features { grid-template-columns: 1fr; }
  .grid { gap: 12px; }
  .feature,
  .step,
  .price { padding: 22px; }
  .gallery {
    gap: 8px;
    padding: 14px;
    border-radius: 18px;
  }
  .character { gap: 22px; }
  .character__tags { gap: 8px; }
  .cta {
    text-align: left;
    border-radius: 18px;
    padding: 32px 18px;
  }
  .cta > p { margin-left: 0; margin-right: 0; }
  .waitlist {
    display: grid;
    grid-template-columns: 1fr;
    max-width: none;
    gap: 10px;
  }
  .waitlist__input {
    min-width: 0;
    width: 100%;
  }
  .waitlist .btn { width: 100%; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 390px) {
  .container { padding-inline: 14px; }
  .nav__cta { padding-inline: 10px; }
  .brand__mark svg { width: 24px; height: 26px; }
  .hero__title { font-size: clamp(32px, 11.5vw, 42px); }
}
