/* Joby landing — brand tokens matching Flutter app */
:root {
  --joby-indigo: #4f46e5;
  --joby-cyan: #06b6d4;
  --joby-purple: #8b5cf6;
  --joby-emerald: #10b981;
  --joby-navy: #1e1b4b;
  --joby-deep: #0b0d12;
  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --text: #f1f5f9;
  --muted: #94a3b8;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--joby-deep);
  color: var(--text);
  overflow-x: hidden;
  max-width: 100vw;
}

.bg-mesh {
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(79, 70, 229, 0.45), transparent 50%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(6, 182, 212, 0.22), transparent 45%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(139, 92, 246, 0.18), transparent 50%),
    linear-gradient(180deg, #0b0d12 0%, #12131f 40%, #0b0d12 100%);
  min-height: 100vh;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.glass-strong {
  background: rgba(30, 27, 75, 0.72);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Top row on page mesh — no separate bar/window chrome */
#site-header,
.site-topbar,
.site-topbar-inner {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.site-topbar {
  position: relative;
  z-index: 5;
}

.site-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  margin: 0;
  gap: 12px;
  padding: 12px 16px 4px;
  min-height: 0;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .site-topbar-inner {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.site-topbar-brand {
  flex-shrink: 0;
  margin-right: auto;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-topbar-brand:hover {
  color: #c7d2fe;
}

.site-topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-left: auto;
  flex-shrink: 0;
}

.site-lang {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: none;
  background: transparent;
}

.site-lang .lang-btn {
  border: none;
  border-radius: 0;
  padding: 4px 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  color: #94a3b8;
  background: transparent;
  cursor: pointer;
  transition: color 0.15s ease;
}

.site-lang .lang-btn:hover {
  color: #e2e8f0;
}

.site-lang .lang-btn.active {
  color: #fff;
  background: transparent;
  border: none;
  box-shadow: none;
}

.site-topbar-ctas {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.site-topbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .site-topbar-inner {
    padding: 7px 12px;
  }
  .site-topbar-brand {
    font-size: 1.2rem;
  }
  .site-topbar-cta {
    padding: 7px 12px;
    font-size: 12.5px;
  }
  .site-lang .lang-btn {
    padding: 4px 7px;
    font-size: 10px;
  }
}

.btn-primary {
  background: linear-gradient(135deg, #4f46e5, #6366f1 50%, #8b5cf6);
  color: #fff;
  box-shadow: 0 0 24px rgba(79, 70, 229, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(79, 70, 229, 0.5);
}

.btn-ghost {
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--text);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
}

/* Cookie notice — Privacy §2.9 */
.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 80;
  max-width: 42rem;
  margin: 0 auto;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(12, 14, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #e2e8f0;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-title {
  margin: 0 0 6px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #f8fafc;
}

.cookie-banner-body {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #94a3b8;
  white-space: pre-line;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.cookie-banner-actions .btn-primary,
.cookie-banner-actions .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.cookie-banner-link {
  font-size: 0.75rem;
  color: #67e8f9;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-link-bottom {
  flex-basis: 100%;
  margin-top: 4px;
  margin-right: 0;
}

.cookie-banner-link:hover {
  color: #a5f3fc;
}

@media (min-width: 640px) {
  .cookie-banner {
    left: 50%;
    right: auto;
    bottom: 20px;
    width: min(42rem, calc(100vw - 40px));
    transform: translateX(-50%);
    padding: 16px 18px;
  }

  .cookie-banner-body {
    font-size: 0.8125rem;
  }
}

.text-gradient {
  background: linear-gradient(135deg, #e0e7ff 0%, #67e8f9 45%, #c4b5fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glow-ring {
  box-shadow:
    0 0 0 1px rgba(79, 70, 229, 0.35),
    0 0 40px rgba(6, 182, 212, 0.15);
}

.nav-link {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.card-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 24px rgba(79, 70, 229, 0.2);
}

.step-num {
  background: linear-gradient(135deg, var(--joby-indigo), var(--joby-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.demo-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--joby-cyan);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes phoneFloat {
  /* margin avoids transform/filter containing blocks that kill backdrop-filter glass */
  0%, 100% { margin-top: 0; }
  50% { margin-top: -10px; }
}

@keyframes mockCardIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes mockOrbPulse {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.35); opacity: 0; }
}

@keyframes mockOrbBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes mockTap {
  0% { transform: scale(1); }
  40% { transform: scale(0.96); }
  100% { transform: scale(1); }
}

.float-anim {
  animation: floaty 4s ease-in-out infinite;
}

/* ── Hero iPhone mockup (≈ iPhone 15 Pro proportions) ── */
.hero-layout {
  width: 100%;
  display: grid;
  gap: 1.5rem 2.5rem;
  align-items: start;
  grid-template-columns: 1fr;
  grid-template-areas:
    "copy"
    "ai"
    "how"
    "download";
}

.hero-copy { grid-area: copy; min-width: 0; }

@media (max-width: 1023px) {
  .hero-copy {
    margin-top: 12px;
  }
}
.hero-ai-wrap { grid-area: ai; min-width: 0; width: 100%; }
.hero-how { grid-area: how; width: 100%; min-width: 0; margin-top: 0.5rem; }
.hero-download { grid-area: download; }
.hero-phone-col { grid-area: phone; width: 100%; }

.hero-mockup {
  position: relative;
  width: min(280px, 86vw);
  margin-inline: auto;
}

@media (max-width: 1023px) {
  .hero-phone-col {
    display: none !important;
  }

  .hero-download {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "copy phone"
      "ai phone"
      "how how"
      "download download";
    column-gap: 2.5rem;
    row-gap: 1.25rem;
  }

  .hero-ai-wrap {
    margin-top: 0.15rem;
  }

  .hero-how {
    margin-top: 1.5rem;
  }

  .hero-download {
    margin-top: 0.25rem;
  }

  .hero-phone-col {
    align-self: start;
    grid-row: 1 / 3;
  }

  .hero-mockup {
    margin-inline: auto;
  }
}

.hero-phone {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  z-index: 2;
  /* Fixed — no float/margin animation (keeps landing page stable) */
}

.hero-phone-bezel {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, #2a2d33 0%, #0c0d10 28%, #1c1e24 100%);
  border-radius: 44px;
  padding: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 28px 48px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(79, 70, 229, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-phone-island {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 22px;
  background: #000;
  border-radius: 999px;
  z-index: 6;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.hero-phone-side {
  position: absolute;
  background: #1a1b1f;
  border-radius: 2px;
  z-index: 1;
}

.hero-phone-side-left {
  left: -2px;
  top: 18%;
  width: 3px;
  height: 10%;
  box-shadow: 0 28px 0 #1a1b1f, 0 52px 0 #1a1b1f;
}

.hero-phone-side-right {
  right: -2px;
  top: 24%;
  width: 3px;
  height: 14%;
}


.hero-phone-screen {
  position: relative;
  background: #07090d;
  border-radius: 34px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  user-select: none;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

.mock-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px 2px;
  font-size: 10px;
  font-weight: 600;
  color: #e2e8f0;
  flex-shrink: 0;
}

.mock-status-icons {
  display: flex;
  gap: 4px;
  align-items: center;
}

.mock-pane {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

.mock-pane[hidden] {
  display: none !important;
}

.mock-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 6px 4px;
  flex-shrink: 0;
}

.mock-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}

.mock-icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.mock-icon-btn:active,
.mock-icon-btn.tapped {
  background: rgba(255, 255, 255, 0.08);
  animation: mockTap 0.28s ease;
}

.mock-search {
  margin: 0 10px 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #1c2230;
  border-radius: 10px;
  padding: 7px 10px;
  flex-shrink: 0;
}

.mock-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 10px;
  font-weight: 400;
  min-width: 0;
}

.mock-search-input::placeholder {
  color: #9ca3af;
  font-weight: 300;
}

.mock-chip-row {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 0 10px 8px;
  flex-shrink: 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.mock-chip-row::-webkit-scrollbar {
  display: none;
}

.mock-filter-chip {
  flex: none;
  border: 1px solid #2a3140;
  background: #151922;
  color: rgba(255, 255, 255, 0.7);
  font-size: 8px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mock-filter-chip:active {
  transform: scale(0.94);
}

.mock-filter-chip.active {
  background: rgba(79, 70, 229, 0.28);
  border-color: rgba(129, 140, 248, 0.55);
  color: #e0e7ff;
}

.mock-feed-snap {
  scroll-snap-type: y proximity;
  overscroll-behavior: contain;
}

.mock-feed-snap .mock-task-card {
  scroll-snap-align: start;
}

.mock-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 6px;
}

.mock-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 7px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.01em;
}

.mock-badge-safe {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.28);
}

.mock-badge-post {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.mock-badge-active {
  background: rgba(59, 130, 246, 0.16);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.28);
}

.mock-badge-progress {
  background: rgba(139, 92, 246, 0.18);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.mock-card-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.mock-btn {
  flex: 1;
  border: none;
  border-radius: 10px;
  padding: 7px 8px;
  font-size: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.mock-btn:active {
  transform: scale(0.94);
}

.mock-btn.pulse {
  animation: mockBtnPulse 0.35s ease;
}

@keyframes mockBtnPulse {
  0% { transform: scale(1); }
  40% { transform: scale(0.92); }
  70% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.mock-btn-ghost {
  background: #1c2230;
  color: #e2e8f0;
  border: 1px solid #2a3140;
}

.mock-btn-primary {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.mock-btn-pay {
  background: linear-gradient(135deg, #059669, #10b981);
  color: #fff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.mock-feed-end {
  text-align: center;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.35);
  padding: 6px 0 4px;
}

.mock-toast.ok {
  border-color: rgba(16, 185, 129, 0.45);
  background: #0f1c18;
  color: #6ee7b7;
}

.mock-toast.err {
  border-color: rgba(239, 68, 68, 0.45);
  background: #1c1214;
  color: #fca5a5;
}

.mock-nav-add:active,
.mock-nav-add.tapped {
  transform: scale(0.9);
}

.mock-task-card.is-hidden {
  display: none !important;
}

.mock-search-lg {
  margin: 0 10px 6px;
  padding: 9px 11px;
  border-radius: 12px;
}

.mock-feed-friendly {
  gap: 10px;
  padding: 2px 10px 84px;
}

.mock-card-friendly {
  padding: 12px 12px 11px;
  border-radius: 18px;
  background: linear-gradient(180deg, #181c26 0%, #131820 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.mock-card-top-friendly {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
}

.mock-title-lg {
  font-size: 13px !important;
  margin: 0 0 4px !important;
}

.mock-card-friendly .mock-task-desc {
  margin: 0 0 6px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.55);
}

.mock-btn-full {
  width: 100%;
  flex: none;
  margin-top: 10px;
  padding: 9px 10px;
  font-size: 9px;
  border-radius: 12px;
}

.mock-filter-chip {
  padding: 6px 11px;
  font-size: 8.5px;
}

.mock-card-friendly:active {
  transform: scale(0.985);
}

/* Screenshot-match friendly cards */
.mock-carousel-wrap {
  flex: 1;
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

.mock-carousel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
  /* Bottom pad short enough that cards sit under glass nav */
  padding: 2px 12px 56px;
  scrollbar-width: none;
}

.mock-carousel::-webkit-scrollbar {
  display: none;
}

.mock-slide {
  flex: 0 0 auto;
  min-height: 0;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 4px;
  padding: 12px 10px 12px 14px;
  overflow: hidden;
  border-radius: 18px;
  background: #151922;
  border: 1px solid rgba(79, 70, 229, 0.35);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  width: auto;
  animation: none;
  margin-bottom: 0;
}

.mock-carousel .mock-slide.mock-task-card {
  border: 1px solid rgba(79, 70, 229, 0.35);
  background: #151922;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
  animation: none;
}

.mock-slide.is-hidden {
  display: none !important;
}

.mock-card-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.mock-card-chevron {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1px;
}

.mock-friendly-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.mock-price-green {
  font-size: 13px !important;
  font-weight: 800;
  color: #34d399 !important;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.mock-slide .mock-title-lg {
  font-size: 13px !important;
  line-height: 1.25;
  margin: 0 0 5px !important;
  font-weight: 800;
  color: #f8fafc;
}

.mock-slide .mock-task-desc {
  margin: 0 0 8px;
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mock-slide .mock-task-loc {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

.mock-slide .mock-btn-full {
  display: none;
}

.mock-badge {
  font-size: 8px;
  padding: 3px 8px;
}

.mock-dots {
  display: none;
}

.mock-swipe-hint {
  display: none;
}

.mock-feed {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 4px 10px 56px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scrollbar-width: none;
}

.mock-feed-pad {
  padding-top: 8px;
}

.mock-feed::-webkit-scrollbar {
  display: none;
}

/* Real app task card */
.mock-task-card {
  text-align: left;
  background: #151922;
  border: 1px solid #2a3140;
  border-radius: 16px;
  padding: 10px 11px;
  cursor: grab;
  transition: transform 0.18s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  animation: mockCardIn 0.4s ease both;
  color: inherit;
  width: 100%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.mock-task-card:nth-child(1) { animation-delay: 0.04s; }
.mock-task-card:nth-child(2) { animation-delay: 0.1s; }
.mock-task-card:nth-child(3) { animation-delay: 0.16s; }
.mock-task-card:nth-child(4) { animation-delay: 0.22s; }

.mock-task-card:active,
.mock-task-card.tapped {
  transform: scale(0.98);
  border-color: rgba(79, 70, 229, 0.55);
}

.mock-task-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.mock-task-title {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  flex: 1;
}

.mock-task-price {
  font-size: 12px;
  font-weight: 800;
  color: #10b981;
  white-space: nowrap;
}

.mock-task-desc {
  margin: 5px 0 0;
  font-size: 9px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.72);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mock-task-loc {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: #fff;
}

.mock-task-loc span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-safe-icon {
  color: #10b981;
  flex-shrink: 0;
}

.mock-badge-open,
.mock-badge-progress {
  flex: none !important;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 999px;
}

.mock-badge-open {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}

.mock-badge-progress {
  background: rgba(79, 70, 229, 0.2);
  color: #a5b4fc;
}

.mock-chat-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #151922;
  border: 1px solid #2a3140;
  border-radius: 14px;
  padding: 9px 10px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  color: inherit;
}

.mock-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(145deg, #4f46e5, #312e81);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.mock-avatar-2 {
  background: linear-gradient(145deg, #06b6d4, #0e7490);
}

.mock-chat-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mock-chat-name {
  font-size: 10px;
  font-weight: 700;
}

.mock-chat-preview {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-unread-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4f46e5;
  flex-shrink: 0;
}

.mock-profile {
  padding: 16px 14px 80px;
  text-align: center;
}

.mock-profile-avatar {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(145deg, #4f46e5, #1e1b4b);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
}

.mock-profile-name {
  margin: 10px 0 2px;
  font-size: 14px;
  font-weight: 800;
}

.mock-profile-meta {
  margin: 0;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.55);
}

.mock-profile-stats {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.mock-profile-stats div {
  background: #151922;
  border: 1px solid #2a3140;
  border-radius: 12px;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mock-profile-stats b {
  font-size: 12px;
}

.mock-profile-stats span {
  font-size: 7px;
  color: rgba(255, 255, 255, 0.5);
}

.mock-ai-orb {
  position: absolute;
  right: 10px;
  bottom: 70px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: transparent;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.4);
  display: grid;
  place-items: center;
  z-index: 5;
}

.mock-ai-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: transparent;
}

.mock-ai-pulse {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid rgba(129, 140, 248, 0.55);
  animation: mockOrbPulse 2.2s ease-out infinite;
  pointer-events: none;
}

.mock-ai-orb.tapped {
  animation: mockTap 0.3s ease;
}

/* 5 floating liquid-glass pods — web-only blur + glass (app stays solid for GPU). */
.mock-nav {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 0;
  z-index: 6;
  pointer-events: none;
  background: none;
  padding: 0;
}

.mock-nav-pod {
  pointer-events: auto;
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.38);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  backdrop-filter: blur(20px) saturate(1.2);
  color: rgba(255, 255, 255, 0.78);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow:
    0 6px 16px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.mock-nav-pod svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.75;
}

.mock-nav-pod[data-mock-tab="3"] svg {
  width: 17px;
  height: 17px;
}

.mock-nav-pod.active {
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.mock-nav-pod:active,
.mock-nav-pod.tapped {
  transform: scale(0.9);
}

.mock-nav-add .mock-add-box {
  width: 24px;
  height: 24px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1.2px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.mock-nav-add .mock-add-box svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.2;
}

.mock-nav-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  border: 1.5px solid rgba(5, 7, 12, 0.85);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35);
}

/* In-app push — absolute overlay inside phone; does not reflow the landing page */
.mock-push {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 34px;
  z-index: 22;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, -12px, 0);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.mock-push.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.mock-push.is-out {
  opacity: 0;
  transform: translate3d(0, -12px, 0);
  pointer-events: none;
}

.mock-push-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 14px;
  background: #1e1b4b;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  color: #fff;
  text-align: center;
}

.mock-push-title {
  margin: 0;
  width: 100%;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  text-align: center;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .mock-nav-pod {
    background: rgba(0, 0, 0, 0.82);
  }
  .mock-nav-pod.active {
    background: rgba(0, 0, 0, 0.9);
  }
}

.mock-toast {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 48px;
  z-index: 20;
  background: #151922;
  border: 1px solid #2a3140;
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 9px;
  color: #e2e8f0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  animation: mockCardIn 0.25s ease;
}

.mock-overlay {
  position: absolute;
  inset: 0;
  z-index: 15;
  background: #07090d;
  display: flex;
  flex-direction: column;
}

.mock-overlay[hidden],
.mock-sheet[hidden],
.mock-toast[hidden] {
  display: none !important;
}

.mock-overlay-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 6px;
}

.mock-overlay-body {
  flex: 1;
  overflow-y: auto;
  padding: 4px 12px 20px;
}

.mock-sheet {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 18;
  background: #151922;
  border-radius: 18px 18px 0 0;
  border-top: 1px solid #2a3140;
  padding: 10px 14px 56px;
  animation: mockCardIn 0.28s ease;
}

.mock-sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 auto 10px;
}

.mock-sheet-title {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.mock-sheet-hint {
  margin: 6px 0 12px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.mock-sheet-btn {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 10px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #4f46e5, #6366f1 50%, #8b5cf6);
}

@media (max-width: 640px) {
  .hero-phone-bezel {
    border-radius: 38px;
    padding: 9px;
  }
  .hero-phone-screen {
    border-radius: 30px;
  }
  .hero-phone-island {
    width: 72px;
    height: 18px;
    top: 14px;
  }
  .mock-ai-orb,
  .mock-ai-logo {
    width: 40px;
    height: 40px;
  }
  .mock-nav-pod {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }
  .mock-nav {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
}

/* ── AI demo rotating placeholder (all breakpoints) ── */
.ai-demo-field {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.ai-demo-ph {
  position: absolute;
  left: 2.5rem;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  height: 1.25rem;
  line-height: 1.25rem;
  max-width: calc(100% - 3.25rem);
}

.ai-demo-ph.is-hidden,
.ai-demo-ph[hidden] {
  display: none !important;
}

.ai-demo-ph-track {
  display: inline-flex;
  max-width: none;
  white-space: nowrap;
  will-change: transform;
}

.ai-demo-ph-text {
  color: #64748b;
  font-size: 0.875rem;
  white-space: nowrap;
}

.ai-demo-ph.is-scroll.is-running .ai-demo-ph-track {
  animation-name: ai-demo-marquee;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes ai-demo-marquee {
  0% { transform: translateX(0); }
  12% { transform: translateX(0); }
  88% { transform: translateX(var(--ai-ph-shift, -40%)); }
  100% { transform: translateX(var(--ai-ph-shift, -40%)); }
}

/* ── Mobile landing (iOS Safari / Android) ── */
@media (max-width: 768px) {
  .bg-mesh {
    overflow-x: hidden;
  }

  .site-topbar-inner {
    padding: 10px 14px 2px;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .site-topbar-brand {
    font-size: 1.2rem;
  }

  .site-topbar-right {
    gap: 6px;
    max-width: 72%;
  }

  .site-lang .lang-btn {
    padding: 4px 5px;
    font-size: 11px;
  }

  .site-topbar-ctas {
    gap: 5px;
  }

  .site-topbar-cta {
    padding: 7px 10px;
    font-size: 12px;
    max-width: 100%;
  }

  .site-topbar-cta .h-4 {
    width: 14px;
    height: 14px;
  }

  .hero-shell {
    padding-top: 8px;
    padding-bottom: 24px;
  }

  .hero-phone-col {
    display: none !important;
  }

  .hero-layout {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "ai"
      "how";
    align-items: center;
    justify-items: center;
    gap: 22px;
    width: 100%;
  }

  .hero-how {
    margin-top: 8px;
  }

  .hero-download {
    display: none !important;
  }

  .hero-copy {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 12px;
  }

  .hero-title {
    font-size: 1.35rem !important;
    line-height: 1.35 !important;
    max-width: 22rem;
  }

  .hero-sub {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    margin-top: 0.85rem !important;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ai-wrap,
  .hero-ai-box {
    width: 100%;
    max-width: 100%;
  }

  .hero-ai-row {
    flex-direction: column !important;
    width: 100%;
  }

  .hero-ai-row .btn-primary,
  #ai-demo-btn {
    width: 100%;
  }

  #ai-demo-input,
  #ai-task-form input,
  #ai-task-form textarea {
    font-size: 16px !important; /* prevents iOS Safari zoom on focus */
  }

  #ai-task-form {
    text-align: left;
  }

  #ai-task-form .grid {
    grid-template-columns: 1fr !important;
  }

  .hero-download {
    width: 100%;
    justify-content: center;
    margin-top: 0;
  }

  .store-badge-img-el {
    height: 40px;
  }

  section h2 {
    font-size: 1.55rem !important;
    line-height: 1.25 !important;
  }

  section .text-slate-400 {
    font-size: 0.92rem;
  }

  #how .grid,
  .hero-how-grid,
  #safe-deal .grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  #services .grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  #services,
  #safe-deal {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  footer .grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem;
  }

  footer {
    margin-top: 3rem;
  }

  .faq-modal {
    padding: 12px;
    align-items: flex-end;
  }

  .faq-modal-panel {
    width: 100%;
    max-height: min(88vh, 720px);
    border-radius: 18px 18px 12px 12px;
  }

  .faq-modal-head h2 {
    font-size: 1.1rem;
  }
}

@media (max-width: 380px) {
  .site-topbar-cta span {
    max-width: 4.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-title {
    font-size: 1.2rem !important;
  }
}

.lang-btn.active {
  background: transparent;
  color: #fff;
  border-color: transparent;
}

.legal-prose h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 1.75rem 0 0.75rem;
}

.legal-prose h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #e2e8f0;
  margin: 1.25rem 0 0.5rem;
}

.legal-prose p,
.legal-prose li {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal-prose ul,
.legal-prose ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-prose a {
  color: var(--joby-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-prose hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 1.5rem 0;
}

.legal-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1.25rem;
  font-size: 0.9rem;
}

.legal-prose th,
.legal-prose td {
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.5rem 0.65rem;
  text-align: left;
  color: var(--muted);
  vertical-align: top;
}

.legal-prose th {
  color: #e2e8f0;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
}

.legal-callout {
  border-left: 3px solid #22d3ee;
  padding: 0.75rem 1rem;
  margin: 0 0 1.25rem;
  background: rgba(34, 211, 238, 0.08);
  border-radius: 0 0.75rem 0.75rem 0;
  color: #e2e8f0 !important;
}

.legal-toc a[aria-current="page"],
.legal-toc a.is-active {
  color: #fff;
  text-decoration: underline;
}

.deletion-form-panel {
  margin-top: 1.5rem;
}

.deletion-input {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  color: #f8fafc;
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
}

.deletion-input:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.7);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.25);
}

.deletion-form button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.store-badge {
  display: inline-block;
  line-height: 0;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.store-badge:hover {
  opacity: 0.94;
  transform: translateY(-1px);
}

.store-badge-img {
  padding: 0;
  background: transparent;
  border: none;
}

.store-badge-img-el {
  display: block;
  height: 44px;
  width: auto;
}

.mobile-nav-open {
  overflow: hidden;
}

body.faq-open {
  overflow: hidden;
}

.faq-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 16px;
}

.faq-modal[hidden] {
  display: none !important;
}

.faq-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 12, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.faq-modal-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(80vh, 640px);
  overflow: auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #12131f;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  padding: 18px 18px 20px;
}

.faq-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.faq-modal-head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.faq-modal-x {
  border: none;
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  border-radius: 10px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.faq-modal-x:hover {
  background: rgba(255, 255, 255, 0.12);
}

.faq-modal-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 14px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  flex-shrink: 0;
  color: #94a3b8;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-item p {
  margin: 10px 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #94a3b8;
}

@media (max-width: 768px) {
  .mobile-panel {
    display: none;
  }
  .mobile-panel.open {
    display: block;
  }
}
