:root{
  --bg: #f5f8ff;
  --bg2: #ffffff;
  --surface: rgba(255,255,255,0.78);
  --surfaceSolid: #ffffff;
  --surface2: rgba(255,255,255,0.92);
  --text: #0b1220;
  --muted: rgba(15,23,42,0.72);
  --border: rgba(15,23,42,0.12);
  --borderStrong: rgba(15,23,42,0.18);
  --primary: #0b66ff;
  --primary2: #00c2ff;
  --shadow: 0 28px 80px rgba(15,23,42,0.14);
  --shadowSm: 0 14px 44px rgba(15,23,42,0.12);
  --radius: 22px;
  --radiusSm: 14px;
}

@media (prefers-color-scheme: dark){
  :root{
    --bg: #0b1220;
    --bg2: #0a1426;
    --surface: rgba(255,255,255,0.06);
    --surfaceSolid: rgba(255,255,255,0.06);
    --surface2: rgba(255,255,255,0.10);
    --text: rgba(255,255,255,0.93);
    --muted: rgba(255,255,255,0.72);
    --border: rgba(255,255,255,0.12);
    --borderStrong: rgba(255,255,255,0.18);
    --shadow: 0 36px 110px rgba(0,0,0,0.45);
    --shadowSm: 0 18px 55px rgba(0,0,0,0.35);
  }
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 20% 0%, rgba(11,102,255,0.12), transparent 55%),
    radial-gradient(900px 600px at 90% 10%, rgba(0,194,255,0.10), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  line-height: 1.5;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
}

.appShell{
  min-height: 100%;
  display:flex;
  flex-direction:column;
}

.topbar{
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}

.topbarInner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 220px;
}
.brand:hover{ text-decoration: none; }

.brandIcon{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: var(--shadowSm);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.25);
}

.brandTitle{
  font-weight: 900;
  letter-spacing: 0.2px;
  line-height: 1.1;
}
.brandSubtitle{
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.nav{
  display:flex;
  gap: 8px;
  align-items:center;
  flex-wrap: wrap;
  justify-content:flex-end;
}
.navLink{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  font-weight: 700;
}
.navLink:hover{
  border-color: var(--border);
  text-decoration: none;
  color: var(--text);
}
.navLink.active{
  background: rgba(11,102,255,0.12);
  border-color: rgba(11,102,255,0.24);
  color: var(--text);
}
.navCta{
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(11,102,255,0.30);
  background: linear-gradient(135deg, rgba(11,102,255,0.18), rgba(0,194,255,0.16));
  color: var(--text);
  font-weight: 900;
  text-decoration:none !important;
}
.navCta:hover{ filter: saturate(1.05) brightness(1.02); }

.main{ flex:1; padding: 0 0 72px; }

.footer{
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.footerInner{
  padding: 22px 0;
  display:flex;
  gap: 14px;
  align-items:center;
  justify-content:space-between;
  flex-wrap: wrap;
}
.footerBrand{ font-weight: 900; letter-spacing: 0.2px; }
.footerLinks{ display:flex; gap: 14px; color: var(--muted); flex-wrap: wrap; }
.footerLinks a:hover{ color: var(--text); text-decoration:none; }

.h1{
  font-size: clamp(34px, 4.2vw, 56px);
  margin: 14px 0 12px;
  line-height: 1.04;
  letter-spacing: -0.6px;
}
.h2{
  font-size: 24px;
  margin: 0 0 12px;
  letter-spacing: -0.2px;
}
.lead{
  font-size: 16px;
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.7;
}
.muted{ color: var(--muted); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radiusSm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-weight: 900;
  text-decoration:none !important;
  box-shadow: var(--shadowSm);
}
.btn:hover{ border-color: var(--borderStrong); }
.btn.primary{
  border-color: rgba(11,102,255,0.35);
  background: linear-gradient(135deg, rgba(11,102,255,0.22), rgba(0,194,255,0.20));
}

.hero{
  padding: 46px 0 18px;
  overflow: hidden;
}
.heroInner{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items:center;
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 800;
  font-size: 12px;
  box-shadow: var(--shadowSm);
}
.kickerDot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, var(--primary2), var(--primary));
}

.statRow{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.statPill{
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 800;
  color: var(--muted);
}

.downloadRow{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.storeBtn{
  flex: 0 0 auto;
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadowSm);
  text-decoration:none !important;
}
.storeBtn:hover{ border-color: var(--borderStrong); }
.storeIcon{
  display:grid;
  place-items:center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface2);
}
.storeText{ display:flex; flex-direction:column; line-height: 1.05; }
.storeTop{ font-size: 11px; color: var(--muted); font-weight: 800; }
.storeBottom{ font-size: 14px; font-weight: 900; letter-spacing: -0.2px; }

.heroLinks{
  margin-top: 14px;
  color: var(--muted);
  font-weight: 700;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items:center;
}
.textLink{ color: var(--primary); }
.textLink:hover{ text-decoration: underline; }
.dotSep{ opacity: 0.7; }

.heroMedia{
  display:flex;
  justify-content:flex-end;
}
.phoneStack{
  width: min(560px, 100%);
  display:flex;
  gap: 16px;
  align-items: flex-end;
  justify-content: flex-end;
}
.phone{
  margin: 0;
  width: min(260px, 44vw);
  aspect-ratio: 9 / 19.5;
  border-radius: 34px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.phone img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.phoneSecondary{
  transform: translateY(18px) rotate(1.6deg);
  box-shadow: var(--shadowSm);
}

.section{
  margin-top: 56px;
}
.sectionAlt{
  padding: 46px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.sectionHeader{
  margin-bottom: 18px;
}
.bentoGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.card{
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadowSm);
}
.cardTitle{
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -0.1px;
}

.split{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}
.checkList{
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display:flex;
  flex-direction: column;
  gap: 10px;
  color: var(--muted);
  font-weight: 700;
}
.checkList li{ display:flex; gap: 10px; align-items:flex-start; }
.checkIcon{ color: var(--primary); margin-top: 1px; }

.callout{
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(11,102,255,0.10), var(--surface));
  box-shadow: var(--shadowSm);
}
.calloutTitle{ font-weight: 900; margin-bottom: 6px; }
.calloutButtons{ display:flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.miniNote{ margin-top: 12px; color: var(--muted); font-weight: 700; }
.miniNote a{ color: var(--primary); }

.shotGrid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.shotCard{
  margin:0;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadowSm);
}
.shotCard img{
  width:100%;
  height:auto;
  border-radius: calc(var(--radius) - 6px);
  display:block;
}
.shotCard figcaption{
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 800;
}

.cta{
  margin-top: 64px;
  padding: 34px 0;
}
.ctaInner{
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(11,102,255,0.22);
  background: linear-gradient(135deg, rgba(11,102,255,0.16), rgba(0,194,255,0.14));
  box-shadow: var(--shadow);
  padding: 22px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.ctaButtons{ display:flex; gap: 10px; flex-wrap: wrap; }

.prose{
  margin-top: 38px;
}
.prose p{ line-height: 1.8; color: var(--muted); }
.prose ul{ color: var(--muted); line-height: 1.8; }
.prose li{ margin: 6px 0; }
.prose strong{ color: var(--text); }
.prose a{ color: var(--primary); }

.supportGrid{
  margin: 16px 0 24px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.faq{ display:flex; flex-direction:column; gap: 10px; }
.faqItem{
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radiusSm);
  padding: 12px 14px;
  box-shadow: var(--shadowSm);
}
.faqItem summary{
  cursor: pointer;
  font-weight: 900;
  color: var(--text);
}
.faqItem[open] summary{ margin-bottom: 8px; }

@media (max-width: 980px){
  .heroInner{ grid-template-columns: 1fr; }
  .heroMedia{ justify-content:flex-start; }
  .phoneStack{ width: 100%; justify-content:flex-start; }
  .phone{ width: min(240px, 62vw); }
  .bentoGrid{ grid-template-columns: 1fr; }
  .shotGrid{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .supportGrid{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
  .container{ width: min(1120px, calc(100% - 32px)); }
  .topbarInner{ flex-direction: column; align-items: stretch; gap: 10px; }
  .brand{ min-width: 0; }
  .nav{
    width: 100%;
    justify-content:flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .nav::-webkit-scrollbar{ display:none; }
}

@media (max-width: 560px){
  .hero{ padding: 32px 0 14px; }
  .downloadRow{ flex-direction: column; align-items: stretch; }
  .storeBtn{ width: 100%; }

  .phoneStack{
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .phone{ width: min(360px, 100%); }
  .phoneSecondary{ display:none; }

  .ctaInner{ padding: 18px; }
}
