/* Mainfront site v2.81 (Claude Code 2026-12-04). Phones only (700 px wide or less); computers look exactly as before.
   Home: 2 swipe rows (service cards, the 3 steps). The "Swipe -> 1 of N" line slowly glows in and out (Kyle 12-04: "not really blink"). Also styles the line on the /pricing carousel. */
@media (max-width: 700px) {
  /* ---------- swipe rows ---------- */
  html.mfx .mfx-row {
    display: flex !important; flex-wrap: nowrap !important; align-items: stretch; gap: 12px !important;
    grid-template-columns: none !important; max-width: none !important;
    overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    padding: 10px 0 12px; margin-bottom: 0 !important;
  }
  html.mfx .mfx-row::-webkit-scrollbar { display: none; }
  html.mfx .mfx-row::before { display: none !important; }
  html.mfx .mfx-row > * {
    flex: 0 0 var(--mfx-w, 84%) !important; max-width: var(--mfx-w, 84%) !important; min-width: 0; margin: 0 !important;
    scroll-snap-align: start; opacity: 1; transform: none;
    transition: opacity .3s, border-color .28s, box-shadow .28s !important;
    transform-origin: 50% 60%; will-change: transform;
  }
  /* small cards keep their size: two show, the third peeks in */
  html.mfx .capability-grid.mfx-row { --mfx-w: 46%; gap: 9px !important; }
  /* the 3 steps hold small sample screens, so they stay nearly full width */
  html.mfx .process-track.mfx-row { --mfx-w: 93%; }
  .process-track + .mfx-bar { margin-bottom: 30px; }

  /* the card you are on is bright; the one peeking in waits its turn */
  html.mfx .mfx-row.mfx-focus > *:not(.mfx-on) { opacity: .5; }

  /* cards arrive one after another, once */
  html.mfx:not(.mfx-calm) .mfx-row:not(.mfx-in) > * { opacity: 0 !important; }
  html.mfx:not(.mfx-calm) .mfx-row.mfx-in > * { animation: mfx-arrive .6s cubic-bezier(.2,.8,.2,1) backwards; animation-delay: calc(var(--i, 0) * 90ms); }
  @keyframes mfx-arrive { from { opacity: 0; transform: translateY(18px) scale(.95); filter: blur(5px); } }

  /* the swipe line: bigger and brighter, in the same glowing cyan as the "you are here" dot (Kyle 11-30) */
  .mfx-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 8px 2px 0; }
  .mfx-say { display: inline-flex; align-items: center; gap: 8px; color: #62e4ff; font: 800 16px/1.2 Inter, system-ui, sans-serif; letter-spacing: .01em;
    text-shadow: 0 0 8px rgba(98,228,255,.75), 0 0 18px rgba(98,228,255,.4); white-space: nowrap; }
  .mfx-say .mfx-arrow { display: inline-flex; color: #62e4ff; filter: drop-shadow(0 0 4px rgba(98,228,255,.9)) drop-shadow(0 0 10px rgba(98,228,255,.5)); }
  .mfx-say .mfx-arrow svg { display: block; }
    @keyframes mfx-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(7px); } }
  /* v2.74c (Kyle 12-04): no bounce, no blinking. "Swipe", the arrow and "1 of 10" slowly glow in and out together, about 3.2 s a pulse (Kyle 12-04: "pulse slowly", double the 6.4 s one). */
  .mfx-say .mfx-count { color: #62e4ff; font-weight: 800; font-size: 15px; opacity: 1; }
  .mfx-say .mfx-count b { display: inline-block; font-size: 17px; }
  .mfx-say .mfx-word { display: inline-block; }
  .mfx-say .mfx-word, .mfx-say .mfx-count { text-shadow: 0 0 6px rgba(98,228,255,.55), 0 0 14px rgba(98,228,255,.25); }
  html.mfx:not(.mfx-calm) .mfx-say .mfx-word, html.mfx:not(.mfx-calm) .mfx-say .mfx-count { animation: mfx-breathe 3.2s ease-in-out infinite; }
  html.mfx:not(.mfx-calm) .mfx-say .mfx-arrow { animation: mfx-breathe-arrow 3.2s ease-in-out infinite; }
  @keyframes mfx-breathe { 0%, 100% { text-shadow: none; opacity: .7; }
    50% { text-shadow: 0 0 8px #62e4ff, 0 0 20px rgba(98,228,255,.9), 0 0 36px rgba(98,228,255,.6); opacity: 1; } }
  @keyframes mfx-breathe-arrow { 0%, 100% { filter: none; opacity: .7; }
    50% { filter: drop-shadow(0 0 6px #62e4ff) drop-shadow(0 0 16px rgba(98,228,255,.9)) drop-shadow(0 0 28px rgba(98,228,255,.6)); opacity: 1; } }
  .mfx-dots { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
  .mfx-dots i { width: 7px; height: 7px; border-radius: 50%; background: #9fb0d6; opacity: .35; transition: width .25s, opacity .25s, border-radius .25s; }
  .mfx-dots i.on { width: 20px; border-radius: 4px; opacity: 1; background: #62e4ff; box-shadow: 0 0 8px rgba(98,228,255,.8); }

}
