/* Dedicated mobile-only visuals — swapped in for the 3 components whose
   desktop layout (absolute-positioned satellites/labels, 3-column grid)
   doesn't translate to a narrow screen. Toggled via .d-only/.m-only at the
   same 1000px breakpoint site.css already uses to collapse to one column,
   so phones AND portrait tablets get the dedicated mobile design, while
   landscape tablets/desktops (which have room for the desktop layout)
   keep it. Everything else on the page already reflows fine and is left
   untouched. */

.m-only { display: none; }

@media (max-width: 1000px) {
  .d-only { display: none !important; }
  .m-only { display: block; }
}

/* ---- Mobile hero: single auto-rotating card instead of the 3-col console ---- */
.m-hero-console {
  position: relative;
  background: linear-gradient(155deg, rgba(17,26,21,.95), rgba(7,11,9,.98));
  border: 1px solid rgba(165,253,3,.16);
  border-radius: 22px;
  box-shadow: 0 30px 70px -35px rgba(165,253,3,.25);
  overflow: hidden;
}
.m-hero-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
  font: 600 9px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing: .13em; text-transform: uppercase; color: var(--quiet);
}
.m-hero-head span:first-child { color: #cbd7cf; }
.m-hero-head i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); margin-right: 6px; box-shadow: 0 0 10px var(--lime); animation: pulse 2s ease-in-out infinite; }
.m-hero-cycle { position: relative; height: 92px; margin: 18px 16px 0; }
.m-mic-slide {
  position: absolute; inset: 0;
  border: 1px solid rgba(165,253,3,.32);
  background: rgba(165,253,3,.06);
  border-radius: 13px; padding: 14px 16px;
  opacity: 0;
  animation: mHeroCycle 9s ease-in-out infinite;
}
.m-mic-slide small { font: 600 8px/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .12em; color: var(--quiet); }
.m-mic-slide strong { display: block; font-size: 17px; margin-top: 8px; }
.m-mic-slide .meter { margin-top: 12px; }
.m-mic-2 { animation-delay: -3s; }
.m-mic-3 { animation-delay: -6s; }
@keyframes mHeroCycle {
  0%, 2% { opacity: 0; transform: translateY(6px); }
  6%, 28% { opacity: 1; transform: translateY(0); }
  33%, 100% { opacity: 0; transform: translateY(-6px); }
}
.m-hero-arrow {
  text-align: center; color: var(--lime); font-size: 18px; margin: 6px 0;
  animation: mArrowPulse 1.6s ease-in-out infinite;
}
@keyframes mArrowPulse { 0%,100% { opacity: .45; transform: translateY(0); } 50% { opacity: 1; transform: translateY(3px); } }
.m-hero-output {
  margin: 0 16px 18px; padding: 16px;
  border: 1px solid rgba(165,253,3,.28);
  background: radial-gradient(130% 90% at 50% 0, rgba(165,253,3,.12), transparent 62%), rgba(10,16,12,.9);
  border-radius: 14px; text-align: center;
}
.m-hero-output strong { display: block; font-size: 16px; margin-top: 10px; }
.m-hero-output .wave-bars { justify-content: center; }
.m-hero-output .app-row { justify-content: center; margin-top: 12px; }

/* ---- Mobile "follow" visual: a simple 3-step line with a moving dot ---- */
.m-follow {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(16,24,20,.92), rgba(8,12,10,.95));
  border-radius: 20px; padding: 24px 18px;
}
.m-follow-track { position: relative; height: 4px; background: rgba(255,255,255,.08); border-radius: 4px; margin: 30px 6px 0; }
.m-follow-track:before { content:""; position:absolute; inset:0; background: linear-gradient(90deg, var(--cyan), var(--lime)); border-radius: 4px; opacity: .35; }
.m-follow-dot {
  position: absolute; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  border-radius: 50%; background: var(--lime); box-shadow: 0 0 16px rgba(165,253,3,.6);
  animation: mFollowMove 6s ease-in-out infinite;
}
@keyframes mFollowMove {
  0%, 8% { left: 0%; }
  42%, 58% { left: 50%; margin-left: -8px; }
  92%, 100% { left: 100%; margin-left: -16px; }
}
.m-follow-labels { display: flex; justify-content: space-between; margin-top: 14px; font: 600 9px/1 ui-monospace,SFMono-Regular,Menlo,monospace; letter-spacing: .12em; color: var(--quiet); }
.m-follow-labels span:nth-child(2) { color: var(--lime); }
.m-follow-caption { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); text-align: center; }
.m-follow-caption strong { color: var(--ink); }

/* ---- Mobile "one output" visual: a clean app grid instead of the orbit ---- */
.m-output {
  border: 1px solid rgba(165,253,3,.22);
  background: radial-gradient(120% 100% at 50% 0, rgba(165,253,3,.09), transparent 65%), rgba(255,255,255,.02);
  border-radius: 20px; padding: 24px 20px; text-align: center;
}
.m-output-core {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(165,253,3,.35); background: #0b120d;
  border-radius: 100px; padding: 10px 18px 10px 10px;
}
.m-output-core img { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; }
.m-output-core strong { font-size: 13px; }
.m-output-core small { display: block; font: 700 8px/1 ui-monospace,SFMono-Regular,Menlo,monospace; color: var(--lime); letter-spacing: .12em; margin-top: 2px; }
.m-output-connector { height: 26px; width: 1px; margin: 0 auto; background: linear-gradient(var(--lime), transparent); position: relative; }
.m-output-connector:after { content:""; position:absolute; left:50%; bottom:-3px; width:6px; height:6px; margin-left:-3px; border-radius:50%; background:var(--lime); box-shadow:0 0 10px var(--lime); animation: pulse 1.8s ease-in-out infinite; }
.m-output-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 4px; }
.m-output-grid span {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--line); background: rgba(255,255,255,.025);
  border-radius: 10px; padding: 11px 6px; color: #ced7d1; font-size: 11px;
}
.m-output-grid i { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); flex: none; }

@media (max-width: 480px) {
  .m-hero-cycle { height: 100px; }
  .m-output-grid { grid-template-columns: repeat(2,1fr); }
}
