:root {
  --mint: #51e0b5;
  --line: #2a443a;
  --surface: #111d19;
}

body {
  background:
    radial-gradient(ellipse at 8% 6%, #1c5b4833, transparent 34rem),
    radial-gradient(ellipse at 92% 20%, #127e7130, transparent 38rem),
    var(--bg);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  width: min(1280px, calc(100% - 32px));
  height: 72px;
  padding: 0 18px;
  border: 1px solid #b4d3c51a;
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: #0a1110eF;
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 36px #0003;
}

.brand img {
  filter: drop-shadow(0 0 12px #45ddb044);
}

.nav-cta,
.button-primary,
.download-button {
  border-radius: 10px;
  box-shadow: 0 8px 24px #45ddb022;
}

.hero {
  position: relative;
  isolation: isolate;
  padding-top: 100px;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 12%;
  right: 2%;
  width: min(46vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #39dcb31c 0, #39dcb30a 42%, transparent 70%);
  content: "";
  pointer-events: none;
}

.hero h1 span,
.section h2 span,
.screens-heading h2 span,
.plans-wrap h2 span {
  background: linear-gradient(105deg, #51e0b5 8%, #94f5d7 54%, #54c9df 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kicker {
  letter-spacing: .13em;
}

.shot-frame {
  position: relative;
  border-color: #60dfb54a;
  border-radius: 22px;
  background: linear-gradient(145deg, #1d3930, #101916 55%, #11231d);
  box-shadow: 0 28px 90px #0008, 0 0 55px #45ddb018;
}

.shot-frame img {
  border-radius: 13px;
}

.feature-card,
.plan-card,
.download-card {
  border-radius: 16px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.feature-card:hover,
.plan-card:hover,
.download-card:hover {
  transform: translateY(-3px);
  border-color: #51e0b57a;
  box-shadow: 0 16px 38px #0003;
}

.feature-icon {
  border-radius: 12px;
  box-shadow: inset 0 1px #ffffff12, 0 7px 18px #0002;
}

.screens-section {
  background:
    radial-gradient(ellipse at 84% 38%, #155a4630, transparent 40rem),
    #101a17;
}

.screen-tabs button,
.site-controls button {
  border-radius: 10px;
}

.phone-device {
  box-shadow: 0 25px 70px #0009, 0 0 0 1px #51e0b533;
}

.phone-content-scroll {
  position: absolute;
  /* Keep the phone's app navigation fixed while the captured screen moves
     behind it, matching the Android dashboard's scrollable content area. */
  inset: 0 0 10%;
  overflow-x: hidden;
  overflow-y: scroll;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #51e0b5 transparent;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.phone-content-track {
  position: relative;
  width: 100%;
}

.phone-screen .phone-content-track > img {
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: initial;
  object-position: top;
}

.phone-hotspots .hotspot {
  touch-action: pan-y;
}

.phone-content-scroll:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: -3px;
}

.plans-section {
  background:
    radial-gradient(ellipse at 12% 50%, #37dba523, transparent 30rem),
    linear-gradient(110deg, #10201a, #11241d 58%, #10201a);
}

.plan-card.plan-featured {
  box-shadow: 0 14px 44px #38d99b1b;
}

.faq-list summary {
  padding: 3px 0;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}

@media (max-width: 640px) {
  .topbar {
    width: calc(100% - 20px);
    height: 62px;
    padding: 0 9px;
    border-radius: 0 0 14px 14px;
  }

  .hero {
    padding-top: 60px;
  }

  .hero::before {
    top: 4%;
    right: -22%;
    width: 95vw;
  }

  .shot-frame {
    border-radius: 18px;
    padding: 7px;
  }

  .shot-frame img {
    border-radius: 12px;
  }

  .feature-card:hover,
  .plan-card:hover,
  .download-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
