/* Farside pages: brand colour plus the CSS mock of a phone showing a remote desktop. Loaded after site.css. */
body.app-farside {
  --accent: #0b6a86;
  --accent-ink: #ffffff;
  --accent-soft: #dff1f6;
}
@media (prefers-color-scheme: dark) {
  body.app-farside {
    --accent: #5cd0e6;
    --accent-ink: #06202a;
    --accent-soft: #123947;
  }
}

.features.two, .roadmap.two { grid-template-columns: repeat(2, 1fr); }
.gestures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.gesture { display: flex; gap: 14px; align-items: flex-start; }
.gesture .ico { flex: none; }
.gesture h3 { margin: 0 0 2px; font-size: 1.02rem; }
.gesture p { margin: 0; color: var(--muted); font-size: .95rem; }
.setup ol { margin: 8px 0 0; padding-left: 1.3em; }
.setup li { margin: 4px 0; }
@media (max-width: 820px) {
  .features.two, .roadmap.two, .gestures { grid-template-columns: 1fr; }
}

/* Hero mock: an iPhone on its side, showing a Mac desktop with the pointer moving under a finger. */
.remote-mock { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.fs-phone {
  position: relative; width: 100%; max-width: 440px; aspect-ratio: 2.16 / 1; padding: 10px; border-radius: 44px;
  background: linear-gradient(150deg, #34343c, #0c0c10 38%, #1b1b21);
  box-shadow: inset 0 0 0 1.5px #44444e, 0 34px 70px -26px rgba(11, 106, 134, .5), 0 16px 32px -18px rgba(0, 0, 0, .45);
}
.fs-screen {
  position: relative; height: 100%; border-radius: 34px; overflow: hidden;
  background: radial-gradient(120% 140% at 50% 120%, #5cd0e6 0 38%, transparent 38.5%), linear-gradient(160deg, #0d3550, #0a1a33 60%, #071226);
}
.fs-screen .menubar { position: absolute; inset: 0 0 auto; height: 7%; background: rgba(255, 255, 255, .22); }
.fs-screen .sun { position: absolute; right: 16%; top: 20%; width: 9%; aspect-ratio: 1; border-radius: 50%; background: #ffd27a; box-shadow: 0 0 18px #ffd27a; }
.fs-window {
  position: absolute; left: 14%; top: 20%; width: 44%; height: 52%; border-radius: 8px;
  background: #f4f7f9; box-shadow: 0 10px 24px rgba(0, 0, 0, .35); overflow: hidden;
}
.fs-window::before { content: ""; position: absolute; inset: 0 0 auto; height: 16%; background: #e3e9ed; }
.fs-window i { position: absolute; top: 5%; width: 4.5%; aspect-ratio: 1; border-radius: 50%; }
.fs-window i:nth-child(1) { left: 4%; background: #ff5f57; }
.fs-window i:nth-child(2) { left: 10%; background: #febc2e; }
.fs-window i:nth-child(3) { left: 16%; background: #28c840; }
.fs-window b { position: absolute; left: 8%; height: 6%; border-radius: 3px; background: #cfd9df; }
.fs-window b:nth-of-type(1) { top: 30%; width: 70%; }
.fs-window b:nth-of-type(2) { top: 44%; width: 55%; }
.fs-window b:nth-of-type(3) { top: 58%; width: 62%; }
.fs-window b:nth-of-type(4) { top: 72%; width: 40%; background: #5cd0e6; }
.fs-toolbar {
  position: absolute; left: 50%; top: 5%; transform: translateX(-50%); display: flex; gap: 6px; padding: 5px 9px;
  border-radius: 999px; background: rgba(20, 24, 30, .72); backdrop-filter: blur(6px);
}
.fs-toolbar span { width: 13px; height: 13px; border-radius: 4px; background: rgba(255, 255, 255, .75); }
.fs-pointer { position: absolute; width: 4.4%; left: 60%; top: 82%; animation: fs-point 6s ease-in-out infinite; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .45)); }
.fs-finger {
  position: absolute; width: 12%; aspect-ratio: 1; left: 80%; top: 74%; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .6), rgba(255, 255, 255, .14) 62%, transparent 70%);
  animation: fs-finger 6s ease-in-out infinite;
}
.fs-click {
  position: absolute; width: 7%; aspect-ratio: 1; left: 28%; top: 58%; border-radius: 50%; border: 2px solid #fff;
  transform: translate(-50%, -50%); opacity: 0; animation: fs-click 6s ease-out infinite;
}
.remote-mock figcaption { text-align: center; font-weight: 650; }
@keyframes fs-point { 0%, 12% { left: 60%; top: 82%; } 45%, 100% { left: 28%; top: 58%; } }
@keyframes fs-finger {
  0%, 6% { opacity: 0; left: 80%; top: 74%; }
  12% { opacity: 1; left: 80%; top: 74%; }
  45% { opacity: 1; left: 66%; top: 56%; }
  50%, 54% { opacity: 0; left: 66%; top: 56%; }
  58%, 62% { opacity: 1; left: 66%; top: 56%; }
  68%, 100% { opacity: 0; left: 66%; top: 56%; }
}
@keyframes fs-click { 0%, 59% { opacity: 0; width: 3%; } 61% { opacity: .95; width: 3%; } 75%, 100% { opacity: 0; width: 10%; } }
@media (prefers-reduced-motion: reduce) {
  .fs-pointer, .fs-finger, .fs-click { animation: none; }
  .fs-finger, .fs-click { display: none; }
}
@media (max-width: 820px) { .fs-phone { border-radius: 30px; padding: 7px; } .fs-screen { border-radius: 23px; } }
.small { font-size: .9rem; }
