:root {
  --navy: #0b1633;
  --blue: #1668ff;
  --blue-deep: #0a4fd8;
  --teal: #2bd4b4;
  --sky: #eaf3ff;
  --mint: #e6faf4;
  --paper: #f6faff;
  --ink: #0b1633;
  --muted: #5b6b82;
  --line: #e1eaf5;
  --white: #fff;
  --logo: linear-gradient(100deg, #2bd4b4, #18a8ff 50%, #1668ff);
  --shadow: 0 30px 80px rgba(22, 74, 160, .16);
  --shadow-soft: 0 14px 40px rgba(22, 74, 160, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Manrope, system-ui, -apple-system, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

/* Nav: light glass bar that stays on top */
.site-nav { position: sticky; top: 0; z-index: 20; background: rgba(246, 250, 255, .78); border-bottom: 1px solid rgba(225, 234, 245, .8); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); }
.nav-inner { width: min(1180px, calc(100% - 40px)); height: 70px; margin: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); text-decoration: none; font-size: 20px; font-weight: 800; letter-spacing: -.04em; }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 700; }
.nav-links a:hover { color: var(--navy); }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 800; transition: transform .15s ease, box-shadow .15s ease; }
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--blue); color: #fff; box-shadow: 0 14px 30px rgba(22, 104, 255, .3); }
.button.primary:hover { box-shadow: 0 18px 36px rgba(22, 104, 255, .38); }
.button.secondary { border: 1.5px solid var(--line); color: var(--navy); background: #fff; }
.button.small { min-height: 42px; padding: 0 18px; font-size: 13px; box-shadow: none; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 82% 18%, rgba(22, 104, 255, .12), transparent 34%), radial-gradient(circle at 8% 90%, rgba(43, 212, 180, .14), transparent 30%), var(--paper); }
.hero-inner { position: relative; width: min(1180px, calc(100% - 40px)); margin: auto; padding: 72px 0 90px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; width: fit-content; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--blue-deep); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; box-shadow: var(--shadow-soft); }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(43, 212, 180, .2); }
.hero h1 { margin: 26px 0 24px; color: var(--navy); font-size: clamp(3.6rem, 8vw, 7.4rem); line-height: .95; letter-spacing: -.065em; }
.swash { position: relative; display: inline-block; color: var(--blue); }
/* The underline stroke from the App Store art */
.swash::after { content: ""; position: absolute; left: 2%; right: 4%; bottom: -.08em; height: .12em; border-radius: 999px; background: linear-gradient(90deg, var(--teal), #8fd4ff); transform: rotate(-1.2deg); opacity: .9; }
.hero-copy > p { max-width: 540px; margin: 0; color: var(--muted); font-size: 19px; line-height: 1.7; }
.hero-copy > p.hero-quote { margin-top: 16px; color: var(--navy); font-size: 16px; font-style: italic; opacity: .75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero-visual { position: relative; display: grid; place-items: center; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.blob-a { width: 380px; height: 380px; right: -40px; top: 0; background: rgba(22, 104, 255, .22); }
.blob-b { width: 300px; height: 300px; left: -20px; bottom: 20px; background: rgba(43, 212, 180, .22); }
.hero-poster { position: relative; width: min(400px, 82vw); border-radius: 32px; box-shadow: var(--shadow); transform: rotate(2deg); }
.hero-toast { position: absolute; left: -6%; bottom: 16%; display: flex; align-items: center; gap: 11px; width: 264px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: 0 24px 50px rgba(22, 74, 160, .2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); animation: float 6s ease-in-out infinite; }
.hero-toast img { width: 34px; height: 34px; border-radius: 9px; }
.hero-toast b { display: block; font-size: 13px; }
.hero-toast span { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero-toast { animation: none; } .button { transition: none; } html { scroll-behavior: auto; } }

/* Tour: the App Store screenshots, scrolled sideways */
.tour { padding: 90px 0 40px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tour-head { width: min(1120px, calc(100% - 40px)); margin: 0 auto 36px; }
.tour-strip { display: flex; gap: 20px; overflow-x: auto; padding: 10px max(20px, calc((100% - 1120px) / 2)) 40px; scroll-snap-type: x mandatory; scroll-padding: 0 max(20px, calc((100% - 1120px) / 2)); scrollbar-width: thin; }
.tour-strip img { flex: 0 0 auto; width: 264px; border-radius: 26px; box-shadow: var(--shadow-soft); scroll-snap-align: start; }
.tour-strip:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }

/* Sections */
.section { padding: 110px 22px; }
.section-inner { width: min(1120px, 100%); margin: auto; }
.section-kicker { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.section h2, .feature h2, .tour h2 { max-width: 880px; margin: 14px 0 18px; color: var(--navy); font-size: clamp(2.3rem, 4.6vw, 4.2rem); line-height: 1; letter-spacing: -.06em; }
.tour h2 { margin-bottom: 0; }
.section-lead { max-width: 680px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 50px; }
.step { padding: 28px; border: 1px solid var(--line); border-radius: 28px; background: #fff; box-shadow: var(--shadow-soft); }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--logo); color: #fff; font-weight: 800; }
.step h3 { margin: 44px 0 10px; font-size: 23px; letter-spacing: -.04em; }
.step p { margin: 0; color: var(--muted); line-height: 1.65; }

/* Feature rows, each with one App Store screenshot */
.features { padding: 10px 22px 40px; }
.feature { width: min(1060px, 100%); margin: 0 auto 120px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 80px; }
.feature.reverse .feature-shot { order: 2; }
.feature-shot { position: relative; display: flex; justify-content: center; }
.feature-shot::before { content: ""; position: absolute; inset: 12% 8%; border-radius: 50%; background: radial-gradient(circle, rgba(22, 104, 255, .16), rgba(43, 212, 180, .1) 55%, transparent 72%); filter: blur(30px); }
.feature-shot img { position: relative; width: min(340px, 100%); border-radius: 30px; box-shadow: var(--shadow); }
.feature-copy p { max-width: 520px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.ticks { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink); font-size: 15px; font-weight: 600; line-height: 1.5; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; background: var(--mint); color: #12885a; font-size: 12px; font-weight: 800; }

/* The right tap */
.alerts { background: linear-gradient(180deg, var(--paper), var(--sky)); }
.alert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.alert-card { padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-soft); }
.alert-card b { display: block; color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.alert-card span { display: block; margin-top: 10px; color: var(--navy); font-size: 17px; font-weight: 700; line-height: 1.4; letter-spacing: -.02em; }

/* More ways in */
.more { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper); }
.card-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; background: #fff; font-size: 22px; box-shadow: var(--shadow-soft); }
.card h3 { margin: 22px 0 8px; font-size: 18px; letter-spacing: -.03em; }
.card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Privacy */
.privacy-band { background: radial-gradient(circle at 88% 10%, rgba(22, 104, 255, .35), transparent 40%), var(--navy); color: #fff; }
.privacy-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.privacy-band .section-kicker { color: #7fd8ff; }
.privacy-grid h2 { color: #fff; }
.privacy-grid .section-lead { color: rgba(226, 238, 255, .72); }
.promise-list { display: grid; gap: 12px; }
.promise { padding: 20px 22px; border: 1px solid rgba(160, 200, 255, .18); border-radius: 18px; background: rgba(255, 255, 255, .06); }
.promise b { display: block; font-size: 15px; }
.promise span { display: block; margin-top: 5px; color: rgba(226, 238, 255, .68); font-size: 13px; line-height: 1.55; }

/* Final call to action */
.final-cta { text-align: center; background: radial-gradient(circle at 50% 10%, #dcecff, transparent 45%), var(--paper); }
.final-cta h2, .final-cta p { margin-left: auto; margin-right: auto; }
.final-logo { width: 150px; height: auto; margin: 0 auto 22px; filter: drop-shadow(0 18px 28px rgba(22, 104, 255, .28)); }
.final-cta .button { margin-top: 28px; }

.footer { padding: 30px 22px 38px; border-top: 1px solid var(--line); background: #fff; }
.footer-inner { width: min(1120px, 100%); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.footer-brand img { width: 34px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a { color: var(--muted); font-size: 12px; font-weight: 700; text-decoration: none; }

/* Privacy, Terms and Support pages */
.legal-page { min-height: 100svh; padding: 86px 22px; background: radial-gradient(circle at 80% 0, rgba(13,140,255,.12), transparent 30%), #f7fbff; }
.legal-shell { width: min(860px, 100%); margin: auto; }
.legal-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 19px; }
.legal-brand img { width: 42px; }
.legal-kicker { display: block; margin-top: 56px; color: #0877e8; font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.legal-page h1 { margin: 12px 0 18px; font-size: clamp(3rem, 7vw, 5.3rem); line-height: .95; letter-spacing: -.065em; }
.legal-intro { max-width: 700px; margin: 0 0 36px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.legal-content { display: grid; gap: 12px; }
.legal-content section { padding: 28px 30px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 12px 36px rgba(4,45,86,.05); }
.legal-content h2 { margin: 0 0 10px; font-size: 20px; letter-spacing: -.025em; }
.legal-content p, .legal-content li { color: var(--muted); font-size: 14px; line-height: 1.75; }
.legal-content p { margin: 0; white-space: pre-line; }
.legal-content p + p { margin-top: 12px; }
.legal-content ul { margin: 8px 0 0; padding-left: 20px; }
.legal-content a { color: #0877e8; font-weight: 700; }
.legal-back { display: inline-flex; margin-top: 32px; color: #0877e8; font-size: 13px; font-weight: 800; text-decoration: none; }

@media (max-width: 980px) {
  .cards, .alert-grid { grid-template-columns: repeat(2, 1fr); }
  .feature { gap: 48px; }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding: 48px 0 70px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero h1 { font-size: clamp(2.9rem, 13vw, 4.6rem); }
  .hero-actions { justify-content: center; }
  .hero-poster { width: min(330px, 78vw); }
  .hero-toast { left: 0; bottom: 10%; width: 236px; text-align: left; }
  .steps, .privacy-grid { grid-template-columns: 1fr; }
  .privacy-grid { gap: 36px; }
  .feature, .feature.reverse { grid-template-columns: 1fr; gap: 36px; margin-bottom: 90px; }
  .feature.reverse .feature-shot { order: 0; }
  .feature-shot img { width: min(300px, 80vw); }
}

@media (max-width: 560px) {
  .nav-inner { width: calc(100% - 32px); height: 62px; }
  .hero-inner { width: calc(100% - 32px); }
  .hero-copy > p { font-size: 16px; }
  .hero-actions { width: 100%; }
  .hero-actions .button { width: 100%; }
  .hero-toast { width: 250px; padding: 10px 12px; }
  .tour { padding-top: 70px; }
  .tour-head { width: calc(100% - 32px); }
  .tour-strip { gap: 14px; padding: 6px 16px 30px; scroll-padding: 0 16px; }
  .tour-strip img { width: 70vw; max-width: 264px; border-radius: 22px; }
  .section { padding: 78px 16px; }
  .features { padding: 10px 16px 20px; }
  .cards, .alert-grid { grid-template-columns: 1fr; }
  .step h3 { margin-top: 30px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .legal-page { padding: 55px 16px; }
  .legal-kicker { margin-top: 38px; }
  .legal-content section { padding: 22px; }
}

/* Tour: one screenshot at a time, switched by tabs (replaces the sideways strip) */
.tour-viewer { width: min(1120px, calc(100% - 40px)); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.tour-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tour-tab { font: inherit; font-weight: 700; font-size: .95rem; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; }
.tour-tab.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.tour-shot { width: min(340px, 78vw); height: auto; border-radius: 28px; box-shadow: var(--shadow-soft); }
