/* ============================================================
 * AIMO — Waitlist Landing (built on colors_and_type.css)
 * Black Bean theme · typographic · pre-launch waitlist
 * ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); overflow-x: hidden; }

img { max-width: 100%; }

/* ---- smooth cross-document page transitions (home ↔ Terms/Privacy) ---- */
@view-transition { navigation: auto; }
@keyframes page-in  { from { opacity: 0; transform: translateY(10px); } }
@keyframes page-out { to   { opacity: 0; transform: translateY(-10px); } }
::view-transition-old(root) { animation: page-out .32s var(--ease-out) both; }
::view-transition-new(root) { animation: page-in  .42s var(--ease-out) both; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 28px;
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ===================== AMBIENT AURA ======================= */
/* Big organic vertical ellipses behind hero / CTA — slow drift + breathe */
.aura { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aura span {
  position: absolute;
  top: 50%;
  width: 30vw; max-width: 460px;
  height: 118%;
  border-radius: 50%;
  filter: blur(8px);
  will-change: transform, opacity;
}
.aura span:nth-child(1) { left: 6%;  background: radial-gradient(ellipse at center, var(--aimo-gable-green), transparent 66%); opacity: .5;  animation: auraA 17s var(--ease-in-out) infinite; }
.aura span:nth-child(2) { left: 37%; background: radial-gradient(ellipse at center, #11301F, transparent 66%);             opacity: .6;  animation: auraB 21s var(--ease-in-out) infinite; }
.aura span:nth-child(3) { left: 66%; background: radial-gradient(ellipse at center, var(--aimo-gable-green), transparent 66%); opacity: .45; animation: auraC 19s var(--ease-in-out) infinite; }

@keyframes auraA {
  0%, 100% { transform: translate(0, -50%) scale(1);        opacity: .42; }
  50%      { transform: translate(7%, -54%) scale(1.12);    opacity: .58; }
}
@keyframes auraB {
  0%, 100% { transform: translate(0, -50%) scale(1.05);     opacity: .5;  }
  50%      { transform: translate(-6%, -46%) scale(0.92);   opacity: .7;  }
}
@keyframes auraC {
  0%, 100% { transform: translate(0, -50%) scale(0.96);     opacity: .38; }
  50%      { transform: translate(5%, -55%) scale(1.14);    opacity: .54; }
}

/* a single slow acid sweep that grazes across the hero */
.hero::before {
  content: ""; position: absolute; inset: -20% -10%; z-index: 0; pointer-events: none;
  background: radial-gradient(38% 52% at 50% 42%, var(--aimo-acid-green-12), transparent 70%);
  opacity: 0; filter: blur(20px);
  animation: heroSweep 14s var(--ease-in-out) infinite;
}
@keyframes heroSweep {
  0%, 100% { opacity: 0;   transform: translateX(-22%) scale(0.9); }
  50%      { opacity: .9;  transform: translateX(22%) scale(1.1);  }
}

/* floating 4-point sparkles (brand AI glyph) */
.sparkles { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.spark {
  position: absolute; width: var(--sz, 14px); height: var(--sz, 14px);
  color: var(--accent); opacity: 0;
  animation: sparkTwinkle var(--dur, 6s) var(--ease-in-out) infinite;
  animation-delay: var(--dly, 0s);
}
.spark svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 0 6px var(--aimo-acid-green-40)); }
@keyframes sparkTwinkle {
  0%, 100% { opacity: 0;   transform: scale(0.4) rotate(0deg); }
  18%      { opacity: .85; transform: scale(1) rotate(15deg); }
  40%      { opacity: .25; transform: scale(0.8) rotate(0deg); }
  60%      { opacity: .7;  transform: scale(1.05) rotate(-12deg); }
}

@media (prefers-reduced-motion: reduce) {
  .aura span, .hero::before, .spark, .coin, .coin-glow { animation: none !important; }
  .aura span { transform: translateY(-50%); }
}

/* ===================== HERO PRODUCT PANEL ================= */
/* Dashboard mockup shown beside the headline (right column) */
.hero__product {
  position: relative; z-index: 1; min-width: 0;
  pointer-events: none;
}
.hero__product .bw {
  width: 100%;
  opacity: var(--mock-op, 1);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset, 0 40px 90px -34px rgba(0,0,0,0.85);
}
/* soft acid glow behind the panel */
.hero__product::before {
  content: ""; position: absolute; inset: -8% -6% -12% -6%; z-index: -1;
  background: radial-gradient(58% 56% at 56% 38%, var(--aimo-acid-green-12), transparent 72%);
  filter: blur(36px); pointer-events: none;
}
body.hide-mock .hero__product { display: none; }

/* coin backdrop is opt-in (ambient, behind both columns) */
body:not(.show-coins) .hero__bg { display: none; }

/* stack the hero on narrow viewports */
@media (max-width: 980px) {
  .hero { padding: 116px 0 72px; }
  .hero__inner {
    grid-template-columns: minmax(0, 1fr); gap: 44px; justify-items: center;
    max-width: 720px;
  }
  .hero__content { text-align: center; max-width: 640px; }
  .hero__content .hero__sub, .hero__content .waitform { margin-inline: auto; }
  .hero__content .stats { justify-content: center; }
  .hero__product { width: 100%; max-width: 680px; }
}

/* ===================== HERO SUPERGRAPHIC =================== */
/* Brand coin swirl as the dominant hero backdrop — slow orbit spin */
.hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero__bg::after {
  /* gentle center vignette so headline stays crisp over the coins */
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(54% 48% at 50% 48%, rgba(6,22,13,0.62), transparent 76%);
}
/* soft acid halo sitting behind the coins, breathing */
.coin-glow {
  position: absolute; left: 50%; top: 48%; transform: translate(-50%, -50%);
  width: min(70vh, 680px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at center, var(--aimo-acid-green-20), transparent 64%);
  filter: blur(30px); opacity: .5;
  animation: coinGlow 9s var(--ease-in-out) infinite;
}
.coin-src {
  position: absolute; left: 50%; top: 48%;
  width: min(84vh, 820px); height: auto;
  transform: translate(-50%, -50%);
  opacity: 0; pointer-events: none;
}
.coin {
  position: absolute; left: 50%; top: 48%;
  width: min(84vh, 820px); height: auto;
  transform: translate(-50%, -50%) scale(var(--coin-scale, 1));
  opacity: var(--coin-op, .62);
  will-change: opacity;
  /* dissolve the video's rectangular frame so the coin melts into the page */
  -webkit-mask: radial-gradient(62% 60% at 50% 50%, #000 54%, transparent 97%);
          mask: radial-gradient(62% 60% at 50% 50%, #000 54%, transparent 97%);
}
body.no-glow .coin-glow { display: none; }
body.no-sparkles .sparkles { display: none; }
@keyframes coinGlow {
  0%, 100% { opacity: .35; transform: translate(-50%, -50%) scale(0.96); }
  50%      { opacity: .6;  transform: translate(-50%, -50%) scale(1.06); }
}

@media (max-width: 720px) {
  .coin { width: min(78vh, 560px); }
}

/* ===================== NAV ================================ */
.nav {
  position: fixed; inset: 0 0 auto 0;
  height: 72px; z-index: var(--z-sticky);
  display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease-out), border-color .3s var(--ease-out), backdrop-filter .3s var(--ease-out);
}
.nav.scrolled {
  background: rgba(6, 22, 13, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--border);
}
.nav__inner {
  width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 30px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: 40px; }
.nav__link {
  font-family: var(--font-body); font-size: 15px; font-weight: 400;
  color: var(--fg-2); background: none; border: none; cursor: pointer;
  padding: 6px 0; position: relative; transition: color .18s var(--ease-out);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .2s var(--ease-out);
}
.nav__link:hover { color: var(--fg-1); opacity: 1; }
.nav__link.active { color: var(--fg-1); }
.nav__link.active::after { transform: scaleX(1); }

/* ===================== BUTTONS =========================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; line-height: 1; white-space: nowrap;
  cursor: pointer; border: 1px solid transparent; text-decoration: none;
  transition: transform .08s var(--ease-out), background .18s var(--ease-out),
              border-color .18s var(--ease-out), box-shadow .18s var(--ease-out), color .18s var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--accent); color: var(--accent-fg); }
.btn--primary:hover { background: var(--accent-hover); opacity: 1; }
.btn--ghost { background: transparent; color: var(--fg-1); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--fg-3); opacity: 1; }
.btn--sm { height: 44px; padding-inline: 22px; border-radius: var(--radius-pill); font-size: 15px; }
.btn--lg { height: 56px; padding-inline: 30px; border-radius: var(--radius-pill); font-size: 16px; }
.btn .arr { transition: transform .18s var(--ease-out); }
.btn:hover .arr { transform: translateX(3px); }

/* ===================== HERO ============================== */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh; display: flex; align-items: center; justify-content: center;
  padding: 132px 0 96px;
}
.hero__inner {
  position: relative; z-index: 1;
  width: 100%; max-width: 1340px; margin-inline: auto; padding-inline: 28px;
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center; gap: 40px;
}
.hero__content { position: relative; z-index: 1; text-align: left; max-width: 600px; }
.hero .hero__content h1 { font-size: clamp(34px, 4vw, 66px); }
/* left-align the inner pieces that were centered for the old layout */
.hero__content .hero__sub { margin-inline: 0; }
.hero__content .waitform { margin-inline: 0; }
.hero__content .stats { justify-content: flex-start; }

/* single-column fallback when the mockup is hidden via Tweaks */
body.hide-mock .hero__inner { grid-template-columns: minmax(0, 1fr); max-width: 1120px; justify-items: center; }
body.hide-mock .hero__content { text-align: center; max-width: 1120px; }
body.hide-mock .hero__content h1 { font-size: clamp(54px, 11vw, 148px); }
body.hide-mock .hero__content .hero__sub,
body.hide-mock .hero__content .waitform { margin-inline: auto; }
body.hide-mock .hero__content .stats { justify-content: center; }

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 18px 9px 15px; border-radius: var(--radius-pill);
  border: 1px solid var(--border-accent); background: var(--aimo-acid-green-12);
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  color: var(--accent); letter-spacing: var(--tr-snug); margin-bottom: 34px;
  backdrop-filter: blur(6px);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--aimo-acid-green-20); }

.hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(54px, 11vw, 148px);
  line-height: 0.9; letter-spacing: -0.035em;
  color: var(--fg-1); margin: 0;
}
.hero h1 .line { display: block; }
/* acid accent dot after a word */
.adot { color: var(--accent); }

.hero__sub {
  margin: 32px auto 0; max-width: 600px;
  font-family: var(--font-body); font-weight: 300;
  font-size: clamp(17px, 2.2vw, 21px); line-height: 1.5; color: var(--fg-2);
  text-wrap: balance;
}

/* email capture form */
.waitform { margin: 40px auto 0; max-width: 540px; width: 100%; }
.waitform__row {
  display: flex; align-items: center; gap: 8px;
  background: rgba(222,222,222,0.05);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 7px 7px 7px 8px;
  transition: border-color .18s var(--ease-out), box-shadow .18s var(--ease-out);
}
.waitform__row:focus-within { border-color: var(--border-accent); box-shadow: 0 0 0 4px var(--aimo-acid-green-12); }
.waitform input {
  flex: 1; min-width: 0; background: none; border: none; outline: none;
  font-family: var(--font-body); font-size: 16px; font-weight: 400; color: var(--fg-1);
  padding: 0 14px; height: 48px;
}
.waitform input::placeholder { color: var(--fg-3); }
.waitform .btn { flex: none; }
.waitform__note {
  display: none; margin: 16px 0 0; font-size: 14px; color: var(--accent); font-weight: 500;
}
.waitform.done .waitform__row { display: none; }
.waitform.done .waitform__note { display: block; }

/* stats row */
.stats {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 14px 26px; margin-top: 40px;
}
.stats .stat { display: inline-flex; align-items: baseline; gap: 7px; }
.stats .stat b {
  font-family: var(--font-body); font-weight: 700; font-size: 16px; color: var(--fg-1);
  font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}
.stats .stat span { font-family: var(--font-body); font-weight: 400; font-size: 15px; color: var(--fg-3); }
.stats .sep { width: 1px; height: 16px; background: var(--border-strong); }

/* ===================== TRUST STRIP ====================== */
.trust { position: relative; z-index: 1; padding: 56px 0 30px; border-top: 1px solid var(--border); }
.trust__label {
  text-align: center; font-family: var(--font-body); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--fg-3); margin-bottom: 26px;
}
.trust__pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.tpill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: var(--radius-pill);
  background: rgba(222,222,222,0.04); border: 1px solid var(--border);
  font-family: var(--font-body); font-size: 15px; font-weight: 400; color: var(--fg);
}
.tpill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

/* ===================== SECTION SHELL ==================== */
.section { position: relative; padding: 120px 0; }
.section__head { text-align: center; max-width: 780px; margin: 0 auto 72px; }
.eyebrow-label {
  display: inline-block; font-family: var(--font-body); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--accent); margin-bottom: 22px;
}
.section__head h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(38px, 6.2vw, 80px); line-height: 0.95; letter-spacing: -0.03em;
  color: var(--fg-1); margin: 0;
}
.section__head h2 .accent { color: var(--accent); display: block; }
.section__head p {
  margin: 26px auto 0; max-width: 620px; font-family: var(--font-body); font-weight: 300;
  font-size: clamp(16px, 2vw, 19px); line-height: 1.55; color: var(--fg-2); text-wrap: pretty;
}

/* ===================== WHY (OLD vs NEW) ================= */
.compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  position: relative; max-width: 1080px; margin-inline: auto;
}
.cmp-card { border-radius: var(--radius-xl); padding: 40px; position: relative; }
.cmp-card--old { background: rgba(222,222,222,0.03); border: 1px solid var(--border); }
.cmp-card--new {
  background: linear-gradient(160deg, rgba(20,58,37,0.55), rgba(11,31,19,0.7));
  border: 1px solid var(--border-accent);
  box-shadow: 0 0 60px -18px var(--aimo-acid-green-20);
}
.cmp-tag {
  display: inline-block; font-family: var(--font-body); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; padding: 6px 11px; border-radius: 7px; margin-bottom: 22px;
}
.cmp-tag--old { color: var(--aimo-danger); background: rgba(255,92,92,0.14); }
.cmp-tag--new { color: var(--accent); background: var(--aimo-acid-green-12); }
.cmp-card h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em;
  color: var(--fg-1); margin: 0 0 24px;
}
.cmp-card--old h3 { color: var(--fg-2); }
.cmp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.cmp-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 0; border-top: 1px solid var(--border);
  font-family: var(--font-body); font-weight: 300; font-size: 16px; line-height: 1.4; color: var(--fg);
}
.cmp-list li:first-child { border-top: none; }
.cmp-card--old .cmp-list li { color: var(--fg-2); }
.cmp-ic { flex: none; width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.cmp-ic--x { background: rgba(255,92,92,0.16); color: var(--aimo-danger); }
.cmp-ic--c { background: var(--aimo-acid-green-20); color: var(--accent); }
.cmp-ic svg { width: 13px; height: 13px; }
.cmp-arrow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--accent-fg);
  display: flex; align-items: center; justify-content: center;
  border: 4px solid var(--bg); box-shadow: 0 0 26px var(--aimo-acid-green-40);
}

/* ===================== WHAT YOU GET (9 cards) ========== */
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.gcard {
  background: linear-gradient(180deg, rgba(20,58,37,0.18), rgba(222,222,222,0.02));
  border: 1px solid var(--border); border-radius: var(--radius-xl);
  padding: 32px 30px 34px;
  transition: border-color .2s var(--ease-out), transform .2s var(--ease-out), background .2s var(--ease-out);
}
.gcard:hover { border-color: var(--border-accent); transform: translateY(-3px); }
.gcard__ic {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  background: var(--aimo-acid-green-12); border: 1px solid var(--border-accent); color: var(--accent);
  margin-bottom: 56px;
}
.gcard__ic svg { width: 22px; height: 22px; }
.gcard h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.01em;
  color: var(--fg-1); margin: 0 0 12px; line-height: 1.15;
}
.gcard__tag {
  display: inline-block; font-family: var(--font-body); font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent);
  background: var(--aimo-acid-green-12); padding: 3px 8px; border-radius: 5px; margin-left: 8px; vertical-align: middle;
}
.gcard p { margin: 0; font-family: var(--font-body); font-weight: 300; font-size: 15px; line-height: 1.55; color: var(--fg-2); }

/* ===================== HOW IT WORKS ==================== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; max-width: 1040px; margin-inline: auto; }
.step { text-align: center; }
.step__num {
  font-family: var(--font-display); font-weight: 800; font-size: 64px; line-height: 1;
  color: var(--accent); letter-spacing: -0.03em; position: relative;
  padding-top: 18px; margin-bottom: 22px;
}
.step__num::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 34px; height: 3px; background: var(--accent); border-radius: 2px; }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.01em; color: var(--fg-1); margin: 0 0 12px; }
.step p { margin: 0 auto; max-width: 300px; font-family: var(--font-body); font-weight: 300; font-size: 16px; line-height: 1.55; color: var(--fg-2); }
.how__cta { text-align: center; margin-top: 72px; }

/* ===================== FAQ ============================= */
.faq { max-width: 880px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: none; border: none; cursor: pointer; text-align: left;
  padding: 28px 8px; font-family: var(--font-body); font-weight: 500; font-size: clamp(17px, 2.2vw, 20px);
  color: var(--fg-1); transition: color .15s var(--ease-out);
}
.faq__q:hover { color: var(--accent); }
.faq__icon { position: relative; flex: none; width: 20px; height: 20px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--fg-2); border-radius: 2px; transition: transform .25s var(--ease-out), background .15s; }
.faq__icon::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq__icon::after { top: 0; left: 9px; width: 2px; height: 20px; }
.faq__item.open .faq__icon::after { transform: scaleY(0); }
.faq__item.open .faq__icon::before { background: var(--accent); }
.faq__a { overflow: hidden; height: 0; transition: height .3s var(--ease-out); }
.faq__a-inner { padding: 0 8px 28px; max-width: 720px; }
.faq__a p { margin: 0; font-family: var(--font-body); font-weight: 300; font-size: 16px; line-height: 1.6; color: var(--fg-2); }

/* ===================== FINAL CTA ====================== */
.final {
  position: relative; overflow: hidden; background: var(--accent);
  padding: 130px 0 140px; text-align: center;
}
.final .aura span:nth-child(1) { background: radial-gradient(ellipse at center, rgba(255,255,255,0.18), transparent 66%); opacity: .7; }
.final .aura span:nth-child(2) { background: radial-gradient(ellipse at center, rgba(149,224,16,0.55), transparent 66%); opacity: .8; }
.final .aura span:nth-child(3) { background: radial-gradient(ellipse at center, rgba(255,255,255,0.16), transparent 66%); opacity: .65; }
.final__inner { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; padding-inline: 28px; }
.final h2 {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(40px, 6.4vw, 84px);
  line-height: 0.95; letter-spacing: -0.03em; color: var(--accent-fg); margin: 0;
}
.final p { margin: 26px auto 0; max-width: 460px; font-family: var(--font-body); font-weight: 400; font-size: 19px; line-height: 1.5; color: rgba(6,22,13,0.72); }
.final .waitform { margin-top: 38px; }
.final .waitform__row { background: var(--bg); border-color: rgba(6,22,13,0.25); }
.final .waitform input { color: var(--fg-1); }
.final .waitform input::placeholder { color: var(--fg-3); }
.final .btn--primary { background: var(--bg); color: var(--accent); }
.final .btn--primary:hover { background: #0c2518; }
.final__fine { margin-top: 22px; font-family: var(--font-body); font-size: 14px; color: rgba(6,22,13,0.62); font-weight: 400; }
.final .waitform.done .waitform__note { color: var(--accent-fg); font-weight: 600; }

/* ===================== FOOTER ========================= */
.footer { background: var(--bg); border-top: 1px solid var(--border); }
.footer__grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; padding: 64px 0 40px; }
.footer__brand img { height: 30px; width: auto; display: block; }
.footer__brand p { margin: 18px 0 0; font-family: var(--font-body); font-weight: 300; font-size: 15px; color: var(--fg-2); }
.footer__connect { text-align: right; }
.footer__connect h4 {
  font-family: var(--font-body); font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--fg-3); margin: 0 0 16px;
}
.footer__social { display: flex; gap: 12px; justify-content: flex-end; }
.footer__social a {
  width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); color: var(--fg-2);
  transition: color .18s var(--ease-out), border-color .18s var(--ease-out);
}
.footer__social a:hover { color: var(--fg-1); border-color: var(--border-strong); opacity: 1; }
.footer__bottom {
  padding: 26px 0 40px; border-top: 1px solid var(--border);
  font-family: var(--font-body); font-size: 14px; font-weight: 300; color: var(--fg-3);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer__legal { display: inline-flex; gap: 22px; flex-wrap: wrap; }
.footer__bottom a { color: var(--fg-3); text-decoration: none; transition: color .18s var(--ease-out); }
.footer__bottom a:hover { color: var(--fg-1); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .section { padding: 84px 0; }
  .section__head { margin-bottom: 48px; }
  .compare { grid-template-columns: 1fr; gap: 44px; }
  .cmp-arrow { top: auto; bottom: -36px; transform: translate(-50%, 50%) rotate(90deg); }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .gcard__ic { margin-bottom: 24px; }
}
/* ===================== NEUTRAL DARK PAGE THEME ===================== */
/* Swaps the Black Bean (green-black) canvas for the app's neutral dark
 * surface ramp, and neutralizes the green ambient tints so the whole
 * page reads cool/neutral instead of marketing-green. */
body.bg-neutral {
  --bg:   #0D0D0D;   /* neutral page */
  --bg-1: #1A1A1A;   /* raised card */
  --bg-2: #222222;   /* highest elevation */
  background: #0D0D0D;
}
/* ambient auras → faint neutral haze + a single acid breath */
body.bg-neutral .aura span:nth-child(1) { background: radial-gradient(ellipse at center, rgba(255,255,255,0.05), transparent 66%); }
body.bg-neutral .aura span:nth-child(2) { background: radial-gradient(ellipse at center, var(--aimo-acid-green-12), transparent 66%); }
body.bg-neutral .aura span:nth-child(3) { background: radial-gradient(ellipse at center, rgba(255,255,255,0.04), transparent 66%); }
/* hero center vignette keyed to neutral, not black bean */
body.bg-neutral .hero__bg::after { background: radial-gradient(54% 48% at 50% 48%, rgba(13,13,13,0.62), transparent 76%); }
/* sticky nav glass → neutral */
body.bg-neutral .nav.scrolled { background: rgba(13,13,13,0.72); }
/* feature cards → neutral surface (drop the gable-green wash) */
body.bg-neutral .gcard { background: linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.012)); }
/* compare cards: old = neutral, new keeps an acid lift but neutral base */
body.bg-neutral .cmp-card--old { background: rgba(255,255,255,0.025); }
body.bg-neutral .cmp-card--new { background: linear-gradient(160deg, rgba(167,249,50,0.07), rgba(255,255,255,0.015)); }
/* arrow ring border matches neutral page */
body.bg-neutral .cmp-arrow { border-color: #0D0D0D; }
/* footer + final inner waitlist row use --bg, already swapped via var */

@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .waitform__row { flex-wrap: wrap; }
  .waitform input { width: 100%; flex-basis: 100%; }
  .waitform .btn { width: 100%; }

  /* CTA forms: collapsed = just the "Join waitlist" button; tap reveals the email form */
  .waitform--collapse.is-collapsed .waitform__row {
    background: transparent; border: none; padding: 0; box-shadow: none;
    backdrop-filter: none; -webkit-backdrop-filter: none;
  }
  .waitform--collapse.is-collapsed .waitform__row input { display: none; }
  .waitform--collapse.is-collapsed .waitform__row .btn { width: 100%; border-radius: 999px; height: 58px; font-size: 17px; }

  /* revealed form: stacked input box + full-width button inside a rounded card */
  .waitform--collapse.is-open .waitform__row {
    flex-direction: column; align-items: stretch; gap: 12px;
    padding: 12px; border-radius: 22px;
  }
  .waitform--collapse.is-open .waitform__row input {
    height: 54px; padding: 0 18px; border-radius: 14px;
    background: rgba(255,255,255,0.04); border: 1px solid var(--border-strong);
  }
  .waitform--collapse.is-open .waitform__row .btn { width: 100%; border-radius: 14px; height: 54px; }

  .footer__grid { flex-direction: column; }
  .footer__connect { text-align: left; }
  .footer__social { justify-content: flex-start; }
  .stats { gap: 10px 18px; }
  .stats .sep { display: none; }
}

/* ============================================================
 * REVAMP — hero blob backdrop · standalone showcase ·
 * how-it-works supergraphic · dark coin CTA box
 * ============================================================ */

/* ---------- Hero: single column over the glass-blob backdrop ---------- */
.hero__inner { grid-template-columns: minmax(0, 1fr) !important; max-width: 1120px; justify-items: center; }
.hero__content { text-align: center; max-width: 1000px; }
.hero .hero__content h1 { font-size: clamp(54px, 11vw, 134px); }
.hero__content .hero__sub,
.hero__content .waitform { margin-inline: auto; }
.hero__content .stats { justify-content: center; }

.hero__blob {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: no-repeat center center;
  background-image: url("Aimo Logo 3D.png");
  background-size: min(560px, 56vw) auto;
  -webkit-mask: radial-gradient(54% 50% at 50% 50%, #000 30%, transparent 76%);
          mask: radial-gradient(54% 50% at 50% 50%, #000 30%, transparent 76%);
  opacity: .9;
  animation: blobFloat 16s var(--ease-in-out) infinite;
}
/* darkening scrim so the white headline stays crisp over the bright glass */
.hero__blob::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(58% 54% at 50% 50%, rgba(6,22,13,0.42), rgba(6,22,13,0.86) 82%);
}
@keyframes blobFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-14px) scale(1.03); }
}
body.bg-neutral .hero__blob::after { background: radial-gradient(58% 54% at 50% 50%, rgba(13,13,13,0.40), rgba(13,13,13,0.88) 82%); }
@media (prefers-reduced-motion: reduce) { .hero__blob { animation: none; } }

/* ---------- Product showcase (moved out of the hero) ---------- */
.showcase { position: relative; z-index: 1; padding: 8px 0 40px; }
.showcase__inner { position: relative; max-width: 1180px; margin-inline: auto; padding-inline: 28px; }
.showcase__halo {
  position: absolute; inset: -10% -4% 6%; z-index: 0; pointer-events: none;
  background: radial-gradient(56% 64% at 50% 28%, var(--aimo-acid-green-12), transparent 70%);
  filter: blur(46px);
}
.showcase .hero__product { position: relative; z-index: 1; width: 100%; max-width: 1100px; margin-inline: auto; }
body.hide-mock .showcase { display: none; }

/* ---------- How it works: brand supergraphic backdrop ---------- */
.section--how { position: relative; overflow: hidden; }
.how__bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: no-repeat center 66%;
  background-image: url("supergraphic/Supergraphic Gable Green.png");
  background-size: min(1040px, 92vw) auto;
  opacity: .5;
}
.how__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(78% 78% at 50% 50%, transparent 24%, var(--bg) 92%),
    radial-gradient(40% 36% at 50% 30%, var(--aimo-acid-green-12), transparent 70%);
}
.section--how .wrap { position: relative; z-index: 1; }

/* ---------- Final CTA: dark coin-cornered box ---------- */
.final { background: transparent; padding: 40px 0 120px; overflow: visible; text-align: left; }
.final__box {
  position: relative; overflow: hidden;
  max-width: 1140px; margin-inline: auto;
  background: radial-gradient(130% 150% at 50% -16%, #13301f 0%, #0a1a11 46%, #050d08 100%);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 116px 40px 96px;
  text-align: center;
  box-shadow: 0 50px 130px -54px rgba(0,0,0,0.92);
}
.final__coins {
  position: absolute; width: clamp(220px, 26vw, 340px); height: auto;
  pointer-events: none; user-select: none;
  filter: drop-shadow(0 22px 46px rgba(0,0,0,0.55));
}
.final__coins--tr { top: -78px; right: -64px; transform: rotate(10deg); }
.final__coins--bl { bottom: -86px; left: -74px; transform: rotate(-168deg); }
.final__inner { position: relative; z-index: 2; max-width: 760px; margin-inline: auto; padding-inline: 0; }
.final h2 { color: var(--fg-1); font-size: clamp(38px, 6vw, 78px); line-height: 0.95; }
.final h2 .adot { color: var(--accent); }
.final p { color: var(--fg-2); max-width: 520px; }
.final .waitform__row { background: rgba(0,0,0,0.42); border-color: var(--border-strong); }
.final .waitform__row:focus-within { border-color: var(--border-accent); box-shadow: 0 0 0 4px var(--aimo-acid-green-12); }
.final .waitform input { color: var(--fg-1); }
.final .waitform input::placeholder { color: var(--fg-3); }
.final .btn--primary { background: var(--accent); color: var(--accent-fg); }
.final .btn--primary:hover { background: var(--accent-hover); }
.final__fine { color: var(--fg-3); }
.final .waitform.done .waitform__note { color: var(--accent); font-weight: 600; }

@media (max-width: 700px) {
  .final__box { padding: 92px 22px 80px; border-radius: 28px; }
  .final__coins { width: 180px; }
  .final__coins--tr { top: -52px; right: -50px; }
  .final__coins--bl { bottom: -58px; left: -56px; }
}

/* ============================================================
 * RESPONSIVE — tablet & mobile pass (revamped sections)
 * ============================================================ */
@media (max-width: 900px) {
  .hero { padding: 108px 0 64px; min-height: auto; }
  .hero .hero__content h1 { font-size: clamp(46px, 9vw, 96px); }
  .hero__blob { background-position: center center; background-size: min(420px, 64vw) auto; }
  .showcase { padding: 4px 0 28px; }
  .final { padding: 28px 0 92px; }
  .final__box { padding: 90px 30px 74px; }
  .final__coins { width: clamp(160px, 30vw, 250px); }
  .final__coins--tr { top: -56px; right: -48px; }
  .final__coins--bl { bottom: -62px; left: -54px; }
}

@media (max-width: 560px) {
  .hero { padding: 92px 0 52px; }
  .hero .hero__content h1 { font-size: clamp(36px, 13vw, 60px); }
  .hero__content .hero__sub { font-size: 16px; color: var(--fg-1); text-shadow: 0 1px 16px rgba(4,14,8,0.92), 0 0 4px rgba(4,14,8,0.9); }
  .badge { margin-bottom: 26px; }
  .stats { gap: 10px 16px; }

  /* keep the glass blob behind the headline only, and darken so the
     subhead + email field stay legible */
  .hero__blob { background-position: center center; background-size: min(280px, 62vw) auto; opacity: .68; }
  .hero__blob::after { background: radial-gradient(62% 48% at 50% 50%, rgba(6,22,13,0.5), rgba(6,22,13,0.93) 78%); }
  body.bg-neutral .hero__blob::after { background: radial-gradient(62% 48% at 50% 50%, rgba(13,13,13,0.5), rgba(13,13,13,0.94) 78%); }
  .waitform__row { background: rgba(10,20,14,0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

  .showcase { padding: 0 0 20px; }
  .showcase__inner { padding-inline: 16px; }
  .bw { border-radius: 12px; }

  .section { padding: 64px 0; }
  .section__head { margin-bottom: 40px; }
  .section__head h2 { font-size: clamp(32px, 9.5vw, 46px); }
  .step__num { font-size: 54px; }

  .final { padding: 16px 0 72px; }
  .final__box { padding: 74px 18px 62px; border-radius: 22px; }
  .final h2 { font-size: clamp(30px, 8.5vw, 42px); }
  .final p { font-size: 17px; }
  .final__coins { width: 138px; }
  .final__coins--tr { top: -40px; right: -38px; }
  .final__coins--bl { bottom: -44px; left: -42px; }
}

/* ============================================================
 * WAITLIST POPUP (modal on desktop · bottom sheet on mobile)
 * ============================================================ */
html.wl-lock, body.wl-lock { overflow: hidden; }

.wl-modal {
  position: fixed; inset: 0; z-index: 240;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .26s var(--ease-out), visibility .26s var(--ease-out);
}
.wl-modal.is-open { opacity: 1; visibility: visible; }

.wl-modal__scrim {
  position: absolute; inset: 0;
  background: rgba(3, 10, 6, 0.66);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

.wl-modal__card {
  position: relative; z-index: 1;
  width: 100%; max-width: 440px;
  background: radial-gradient(130% 130% at 50% -10%, #13301f 0%, #0b1c12 52%, #07110b 100%);
  border: 1px solid var(--border-strong);
  border-radius: 26px;
  padding: 34px 30px 28px;
  box-shadow: 0 40px 120px -36px rgba(0,0,0,0.92);
  transform: translateY(14px) scale(0.985);
  transition: transform .3s var(--ease-out);
}
.wl-modal.is-open .wl-modal__card { transform: none; }

.wl-modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 999px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.04); color: var(--fg-2);
  cursor: pointer; transition: background .15s var(--ease-out), color .15s var(--ease-out);
}
.wl-modal__close:hover { background: rgba(255,255,255,0.09); color: var(--fg-1); }
.wl-modal__close svg { width: 17px; height: 17px; }

.wl-modal__grip { display: none; }

.wl-modal__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.04em; color: var(--accent);
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--border-accent); background: var(--aimo-acid-green-12);
}
.wl-modal__dot { width: 7px; height: 7px; border-radius: 999px; background: var(--accent); box-shadow: 0 0 0 4px rgba(167,249,50,0.18); }

.wl-modal__title { font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -0.02em; color: var(--fg-1); margin: 18px 0 8px; }
.wl-modal__lede { font-family: var(--font-body); font-weight: 300; font-size: 15.5px; line-height: 1.5; color: var(--fg-2); margin: 0 0 22px; max-width: 340px; }

.wl-modal__form { margin: 0; max-width: none; display: flex; flex-direction: column; gap: 12px; }
.wl-modal__input {
  height: 54px; padding: 0 18px; border-radius: 14px;
  background: rgba(0,0,0,0.32); border: 1px solid var(--border-strong); outline: none;
  font-family: var(--font-body); font-size: 16px; color: var(--fg-1);
  transition: border-color .16s var(--ease-out), box-shadow .16s var(--ease-out);
}
.wl-modal__input::placeholder { color: var(--fg-3); }
.wl-modal__input:focus { border-color: var(--border-strong); box-shadow: none; }
.wl-modal__form .btn { width: 100%; height: 54px; border-radius: 14px; }
.wl-modal__form .waitform__note { margin: 4px 0 0; text-align: center; }
.wl-modal__form.done .wl-modal__input,
.wl-modal__form.done .btn { display: none; }
.wl-modal__form.done .waitform__note { display: block; }

.wl-modal__fine { font-family: var(--font-body); font-size: 13px; color: var(--fg-3); margin: 16px 0 0; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .wl-modal, .wl-modal__card { transition: none; }
}

/* Bottom-sheet treatment on phones */
@media (max-width: 600px) {
  .wl-modal { align-items: flex-end; padding: 0; }
  .wl-modal__card {
    max-width: none; border-radius: 26px 26px 0 0;
    padding: 14px 22px calc(26px + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
  }
  .wl-modal.is-open .wl-modal__card { transform: none; }
  .wl-modal__grip { display: block; width: 42px; height: 4px; border-radius: 999px; background: rgba(255,255,255,0.18); margin: 0 auto 18px; }
  .wl-modal__close { top: 12px; right: 14px; }
  .wl-modal__title { font-size: 26px; }
}

/* ============================================================
 * MOTION PASS — hide mockup on mobile · richer animation
 * ============================================================ */

/* ---- Drop the desktop dashboard mockup on phones ---- */
@media (max-width: 760px) {
  .showcase { display: none !important; }
}

/* ---- Hero: staggered entrance (settles to the visible end-state) ---- */
@media (prefers-reduced-motion: no-preference) {
  .hero__content .badge,
  .hero__content h1 .line,
  .hero__content .hero__sub,
  .hero__content .waitform,
  .hero__content .stats {
    opacity: 0;
    animation: heroRise .9s var(--ease-out) both;
  }
  .hero__content .badge                { animation-delay: .08s; }
  .hero__content h1 .line:nth-child(1) { animation-delay: .20s; }
  .hero__content h1 .line:nth-child(2) { animation-delay: .32s; }
  .hero__content .hero__sub            { animation-delay: .48s; }
  .hero__content .waitform             { animation-delay: .60s; }
  .hero__content .stats                { animation-delay: .72s; }
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(28px); filter: blur(6px); }
  to   { opacity: 1; transform: none;             filter: blur(0); }
}

/* ---- Gentle breathing glow on the acid headline dot ---- */
.hero h1 .adot { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .adot { animation: dotBreathe 3.4s var(--ease-in-out) 1.6s infinite; }
}
@keyframes dotBreathe {
  0%, 100% { transform: scale(1);    text-shadow: 0 0 0 transparent; }
  50%      { transform: scale(1.12); text-shadow: 0 0 24px var(--aimo-acid-green-40); }
}

/* ---- Periodic shine sweep across primary buttons ---- */
.btn--primary { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after {
  content: ""; position: absolute; top: 0; left: -65%; width: 42%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-18deg); pointer-events: none; z-index: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .btn--primary::after { animation: btnShine 6s var(--ease-in-out) 1.8s infinite; }
}
@keyframes btnShine {
  0%   { left: -65%; }
  16%  { left: 135%; }
  100% { left: 135%; }
}

/* ---- Compare arrow: soft pulsing halo ---- */
@media (prefers-reduced-motion: no-preference) {
  .cmp-arrow { animation: arrowPulse 2.6s var(--ease-in-out) infinite; }
}
@keyframes arrowPulse {
  0%, 100% { box-shadow: 0 0 26px var(--aimo-acid-green-40); }
  50%      { box-shadow: 0 0 46px var(--aimo-acid-green-40), 0 0 0 7px var(--aimo-acid-green-12); }
}

/* ---- Feature card icon micro-interaction on hover ---- */
.gcard__ic { transition: transform .26s var(--ease-out), background .2s var(--ease-out), border-color .2s var(--ease-out); }
.gcard:hover .gcard__ic { transform: translateY(-3px) rotate(-5deg) scale(1.07); background: var(--aimo-acid-green-20); }

/* ---- Step accent bar grows in on reveal ---- */
.step .step__num::before { width: 0; transition: width .6s var(--ease-out) .15s; }
.step.in .step__num::before { width: 34px; }

/* ---- Feature/step/faq cards rise a touch further when revealed ---- */
.gcard.reveal { transform: translateY(30px) scale(0.985); }
.gcard.reveal.in { transform: none; transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), border-color .2s var(--ease-out); }
