:root {
  --blue: #0747ff;
  --blue-bright: #168cff;
  --cyan: #72ddff;
  --ink: #07101f;
  --muted: #5c6575;
  --paper: #f5f7fb;
  --line: rgba(7, 16, 31, 0.11);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.svg-sprite { height: 0; overflow: hidden; position: absolute; width: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(0, 28, 90, 0.14);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  left: 50%;
  max-width: 1180px;
  padding: 9px 10px 9px 14px;
  position: absolute;
  top: 24px;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  z-index: 20;
  backdrop-filter: blur(18px);
}
.brand { align-items: center; display: inline-flex; font-size: 24px; font-weight: 780; letter-spacing: -1.5px; width: max-content; }
.brand img { border-radius: 12px; margin-right: 10px; }
.site-header nav { display: flex; gap: 22px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.site-header nav a { opacity: .68; transition: opacity .2s, transform .2s; }
.site-header nav a:hover { opacity: 1; transform: translateY(-1px); }
.site-header > .app-store-button { justify-self: end; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { cursor: pointer; font-size: 13px; font-weight: 700; list-style: none; padding: 12px; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu > div { background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 45px rgba(0,28,90,.2); min-width: 190px; padding: 10px; position: absolute; right: 0; top: 48px; }
.mobile-menu a { border-radius: 10px; display: block; font-size: 13px; font-weight: 650; padding: 10px 12px; }
.mobile-menu a:hover { background: #eef4ff; color: var(--blue); }

.app-store-button {
  align-items: center;
  background: #05070b;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 15px;
  color: #fff;
  display: inline-flex;
  gap: 10px;
  min-width: 176px;
  padding: 9px 17px 9px 14px;
  position: relative;
  transition: transform .25s, box-shadow .25s, background .25s;
  width: max-content;
}
.app-store-button:hover { background: #111723; box-shadow: 0 14px 30px rgba(0,0,0,.22); transform: translateY(-2px); }
.app-store-button svg { fill: currentColor; height: 31px; width: 31px; }
.app-store-button span { display: flex; flex-direction: column; line-height: 1; }
.app-store-button small { font-size: 10px; letter-spacing: .1px; margin-bottom: 4px; }
.app-store-button strong { font-size: 20px; letter-spacing: -.4px; }
.app-store-button.compact { border-radius: 13px; min-width: 140px; padding: 7px 12px; }
.app-store-button.compact svg { height: 25px; width: 25px; }
.app-store-button.compact strong { font-size: 16px; }
.app-store-button.compact small { font-size: 8px; }
.app-store-notice {
  background: #fff;
  border: 0;
  border-radius: 20px;
  box-shadow: 0 25px 70px rgba(0,0,0,.28);
  color: var(--ink);
  max-width: 360px;
  padding: 25px 48px 25px 25px;
}
.app-store-notice::backdrop { background: rgba(3, 11, 28, .36); backdrop-filter: blur(5px); }
.app-store-notice[open] { animation: noticeIn .25s ease-out; }
.app-store-notice strong, .app-store-notice span { display: block; }
.app-store-notice span { color: var(--muted); font-size: 14px; margin-top: 7px; line-height: 1.5; }
.app-store-notice button { background: #edf1f7; border: 0; border-radius: 50%; cursor: pointer; font-size: 21px; height: 30px; position: absolute; right: 13px; top: 13px; width: 30px; }

.hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(107, 221, 255, .62), transparent 23%),
    radial-gradient(circle at 9% 72%, rgba(0, 21, 125, .6), transparent 27%),
    linear-gradient(132deg, #0322a7 0%, #0752ff 48%, #149cff 100%);
  color: white;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, .9fr);
  min-height: 790px;
  overflow: hidden;
  padding: 155px max(6vw, 40px) 80px;
  position: relative;
}
.hero:after {
  background: linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 70px 70px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, transparent, black 30%, transparent);
  opacity: .4;
  pointer-events: none;
  position: absolute;
}
.hero-copy { align-self: center; max-width: 720px; position: relative; z-index: 3; }
.eyebrow { align-items: center; display: flex; font-size: 12px; font-weight: 720; gap: 10px; letter-spacing: 1.5px; margin: 0 0 23px; text-transform: uppercase; }
.eyebrow span { background: currentColor; border-radius: 9px; display: inline-block; height: 2px; width: 27px; }
.eyebrow.dark { color: var(--blue); }
.eyebrow.centered { justify-content: center; }
.hero h1 { font-size: clamp(62px, 7.4vw, 112px); font-weight: 800; letter-spacing: -7px; line-height: .89; margin: 0; }
.hero h1 span { color: var(--cyan); }
.hero-lead { color: rgba(255,255,255,.79); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; margin: 34px 0 30px; max-width: 610px; }
.hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 28px; }
.text-link { align-items: center; display: flex; font-size: 14px; font-weight: 650; gap: 10px; }
.text-link span { border: 1px solid rgba(255,255,255,.45); border-radius: 50%; display: grid; height: 34px; place-items: center; transition: transform .2s; width: 34px; }
.text-link:hover span { transform: translateY(4px); }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 42px; }
.trust-row span { align-items: center; display: flex; font-size: 12px; font-weight: 600; opacity: .78; }
.trust-row span:before { background: #70e2ff; border-radius: 50%; content: ""; height: 5px; margin-right: 8px; width: 5px; }

.hero-visual { align-self: end; height: 630px; min-width: 420px; position: relative; z-index: 3; }
.phone-mockup {
  background: linear-gradient(145deg, #777d8a 0%, #16191f 8%, #020307 47%, #3a3f49 92%, #9fa4ae 100%);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 64px;
  bottom: -258px;
  box-shadow:
    0 55px 110px rgba(0, 10, 65, .7),
    0 0 0 2px rgba(0,0,0,.72),
    inset 0 0 0 2px rgba(255,255,255,.22);
  left: 50%;
  padding: 11px;
  position: absolute;
  transform: translateX(-46%) rotate(5deg);
  width: 382px;
}
.phone-screen {
  aspect-ratio: 1206 / 2622;
  background: #168df6;
  border: 2px solid #090a0e;
  border-radius: 53px;
  overflow: hidden;
  position: relative;
}
.phone-screen:after {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: inherit;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}
.phone-screen img { height: 100%; object-fit: cover; width: 100%; }
.phone-button {
  background: linear-gradient(90deg, #747a85, #13161c 42%, #05070b);
  border-radius: 3px 0 0 3px;
  box-shadow: inset 1px 0 rgba(255,255,255,.35);
  height: 58px;
  left: -5px;
  position: absolute;
  width: 5px;
}
.phone-button-action { height: 34px; top: 145px; }
.phone-button-volume-up { top: 210px; }
.phone-button-volume-down { top: 280px; }
.hero-icon { animation: float 5s ease-in-out infinite; bottom: 35px; filter: drop-shadow(0 24px 25px rgba(0,0,90,.35)); left: 0; position: absolute; width: 132px; z-index: 5; }
.hero-icon img { border-radius: 29px; }
.floating-pill { animation: bob 4s ease-in-out infinite; backdrop-filter: blur(14px); background: rgba(255,255,255,.92); border: 1px solid #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,25,90,.25); color: var(--ink); font-size: 13px; padding: 13px 16px; position: absolute; z-index: 6; }
.pill-left { left: -10px; top: 190px; }
.pill-left b { background: var(--blue); border-radius: 50%; color: white; display: inline-grid; height: 21px; margin-left: 8px; place-items: center; width: 21px; }
.pill-right { animation-delay: -1.3s; right: 0; top: 320px; }
.pill-right b { color: var(--blue); }
.hero-orb { border: 1px solid rgba(255,255,255,.2); border-radius: 50%; position: absolute; }
.hero-orb-one { height: 620px; right: -210px; top: 80px; width: 620px; }
.hero-orb-two { bottom: -200px; height: 500px; left: -230px; width: 500px; }
.signal { border: 1px solid rgba(255,255,255,.2); border-radius: 50%; height: 240px; position: absolute; right: 18%; top: 38%; width: 240px; }
.signal-one { animation: signal 3.2s ease-out infinite; }
.signal-two { animation: signal 3.2s 1.6s ease-out infinite; }
.scroll-cue { bottom: 26px; height: 38px; left: 50%; position: absolute; transform: translateX(-50%); width: 24px; z-index: 5; }
.scroll-cue:before { border: 1px solid rgba(255,255,255,.5); border-radius: 20px; content: ""; inset: 0; position: absolute; }
.scroll-cue span { animation: scrollDot 1.8s infinite; background: white; border-radius: 50%; height: 4px; left: 10px; position: absolute; top: 8px; width: 4px; }

.section { padding: 130px max(6vw, 40px); }
.section-heading { display: grid; gap: 0 50px; grid-template-columns: 1fr 1fr; margin: 0 auto 65px; max-width: 1300px; }
.section-heading .eyebrow { grid-column: 1/-1; }
.section-heading h2, .showcase h2, .privacy-card h2, .final-cta h2 { font-size: clamp(44px, 5vw, 72px); letter-spacing: -4px; line-height: .99; margin: 0; }
.section-heading > p:last-child { align-self: end; color: var(--muted); font-size: 18px; line-height: 1.65; margin: 0; max-width: 520px; }
.feature-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); margin: auto; max-width: 1300px; }
.feature-card { background: white; border: 1px solid rgba(255,255,255,.8); border-radius: 28px; box-shadow: 0 22px 60px rgba(15,38,86,.08); min-height: 360px; overflow: hidden; padding: 29px; position: relative; }
.feature-number { color: var(--blue); font-size: 12px; font-weight: 750; letter-spacing: 1px; }
.feature-card h3 { font-size: 26px; letter-spacing: -1.2px; margin: 65px 0 13px; }
.feature-card p { color: var(--muted); line-height: 1.6; margin: 0; max-width: 290px; }
.feature-mark { align-items: center; background: linear-gradient(145deg, #0d4dff, #159eff); border-radius: 50%; bottom: -45px; box-shadow: 0 20px 40px rgba(4,71,255,.25); color: white; display: flex; font-size: 64px; font-weight: 300; height: 155px; justify-content: center; position: absolute; right: -20px; transform: rotate(-10deg); width: 155px; }
.mark-2 { background: linear-gradient(145deg, #08102a, #174bb8); }
.mark-3 { background: linear-gradient(145deg, #5ecfff, #0753ff); }

.showcase { background: #061846; color: white; overflow: hidden; padding-bottom: 90px; }
.showcase-copy { align-items: end; display: grid; gap: 22px 60px; grid-template-columns: 1fr 1fr; margin: 0 auto 65px; max-width: 1300px; }
.showcase-copy .eyebrow { color: var(--cyan); grid-column: 1/-1; margin-bottom: 0; }
.showcase-copy h2 { grid-row: span 2; }
.showcase-copy > p:not(.eyebrow) { color: rgba(255,255,255,.66); font-size: 17px; line-height: 1.6; margin: 0; max-width: 530px; }
.screenshot-rail { align-items: center; display: flex; gap: clamp(12px, 2vw, 28px); justify-content: center; margin: 0 -8vw; min-height: 600px; perspective: 1400px; }
.store-shot { flex: 0 0 clamp(185px, 20vw, 300px); }
.store-shot img { border-radius: 28px; box-shadow: 0 35px 70px rgba(0,0,0,.35); width: 100%; }
.shot-1, .shot-5 { opacity: .6; transform: scale(.82) rotateY(12deg); }
.shot-2 { transform: scale(.92) rotateY(7deg); }
.shot-3 { position: relative; transform: translateY(-12px); z-index: 2; }
.shot-4 { transform: scale(.92) rotateY(-7deg); }
.shot-5 { transform: scale(.82) rotateY(-12deg); }

.privacy-highlight { background: white; }
.privacy-card { align-items: center; background: linear-gradient(130deg, #eef5ff 0%, #fbfcff 55%, #e3f7ff 100%); border: 1px solid #dce9ff; border-radius: 38px; display: grid; gap: 35px; grid-template-columns: 160px 1.2fr 1fr; margin: auto; max-width: 1300px; overflow: hidden; padding: 70px; position: relative; }
.privacy-symbol { align-items: center; background: var(--blue); border-radius: 45px; box-shadow: 0 25px 60px rgba(7,71,255,.26); color: white; display: flex; font-size: 76px; font-weight: 800; height: 150px; justify-content: center; letter-spacing: -8px; transform: rotate(-7deg); width: 150px; }
.privacy-card .eyebrow { color: var(--blue); margin-bottom: 18px; }
.privacy-card h2 { font-size: clamp(38px, 4.2vw, 62px); }
.privacy-card > p { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 0; }
.outline-link { border: 1px solid var(--ink); border-radius: 13px; bottom: 38px; font-size: 13px; font-weight: 700; padding: 12px 16px; position: absolute; right: 70px; transition: background .2s, color .2s; }
.outline-link:hover { background: var(--ink); color: white; }

.final-cta { background: var(--blue); color: white; overflow: hidden; position: relative; text-align: center; }
.final-cta .reveal { align-items: center; display: flex; flex-direction: column; position: relative; z-index: 2; }
.cta-icon { animation: float 5s ease-in-out infinite; border: 1px solid rgba(255,255,255,.45); border-radius: 34px; box-shadow: 0 35px 60px rgba(0,18,100,.38); margin-bottom: 38px; width: 145px; }
.final-cta h2 { font-size: clamp(47px, 6vw, 88px); }
.final-cta > .reveal > p:not(.eyebrow) { color: rgba(255,255,255,.72); font-size: 18px; margin: 25px 0 30px; }
.final-glow { background: #50caff; border-radius: 50%; filter: blur(80px); height: 500px; left: 50%; opacity: .38; position: absolute; top: 42%; transform: translate(-50%,-50%); width: 700px; }

footer { background: #040914; color: white; display: grid; gap: 50px; grid-template-columns: 1fr 1.5fr; padding: 75px max(6vw, 40px) 28px; }
.brand.inverse { color: white; }
.footer-brand > p { color: rgba(255,255,255,.48); font-size: 14px; margin: 18px 0; }
.footer-links { display: grid; gap: 30px; grid-template-columns: .8fr 1fr 1.3fr; }
.footer-links h3 { color: rgba(255,255,255,.35); font-size: 11px; letter-spacing: 1.5px; margin: 0 0 19px; text-transform: uppercase; }
.footer-links a { color: rgba(255,255,255,.72); display: block; font-size: 14px; margin-bottom: 13px; transition: color .2s; }
.footer-links a:hover { color: white; }
.footer-links a.app-store-button { color: white; display: inline-flex; margin: 4px 0 0; width: max-content; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.35); display: flex; font-size: 11px; grid-column: 1/-1; justify-content: space-between; padding-top: 22px; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes noticeIn { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes signal { 0% { opacity: .7; transform: scale(.25); } 100% { opacity: 0; transform: scale(2.4); } }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(17px); } }

/* Legal pages */
.legal-shell { background: #f5f7fb; min-height: 100vh; }
.legal-header { align-items: center; background: white; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding: 17px max(5vw, 28px); }
.legal-header .brand { font-size: 21px; }
.legal-back { color: var(--blue); font-size: 13px; font-weight: 700; }
.legal-hero { background: linear-gradient(135deg, #031d8d, #0757ff 65%, #22a8ff); color: white; padding: 95px max(5vw, 28px) 85px; }
.legal-hero > div { margin: auto; max-width: 920px; }
.legal-hero h1 { font-size: clamp(45px, 7vw, 78px); letter-spacing: -4px; line-height: .98; margin: 0 0 24px; }
.legal-hero p { color: rgba(255,255,255,.72); line-height: 1.65; margin: 0; max-width: 680px; }
.legal-updated { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1px; margin-bottom: 22px; text-transform: uppercase; }
.legal-layout { display: grid; gap: 60px; grid-template-columns: 210px minmax(0, 750px); justify-content: center; padding: 75px max(5vw, 28px) 120px; }
.legal-toc { align-self: start; position: sticky; top: 30px; }
.legal-toc strong { display: block; font-size: 11px; letter-spacing: 1.2px; margin-bottom: 15px; text-transform: uppercase; }
.legal-toc a { color: var(--muted); display: block; font-size: 13px; line-height: 1.4; margin: 0 0 12px; }
.legal-content { background: white; border: 1px solid white; border-radius: 28px; box-shadow: 0 25px 70px rgba(9,31,75,.07); padding: clamp(30px, 6vw, 70px); }
.legal-content section { border-bottom: 1px solid var(--line); padding: 0 0 35px; scroll-margin-top: 30px; }
.legal-content section + section { padding-top: 35px; }
.legal-content section:last-child { border: 0; padding-bottom: 0; }
.legal-content h2 { font-size: 25px; letter-spacing: -.7px; margin: 0 0 18px; }
.legal-content h3 { font-size: 17px; margin: 24px 0 8px; }
.legal-content p, .legal-content li { color: #4f5968; font-size: 15px; line-height: 1.75; }
.legal-content ul { padding-left: 20px; }
.legal-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-callout { background: #eef5ff; border-left: 3px solid var(--blue); border-radius: 0 14px 14px 0; margin-top: 22px; padding: 16px 18px; }
.legal-footer { background: #040914; color: rgba(255,255,255,.55); display: flex; font-size: 12px; justify-content: space-between; padding: 28px max(5vw, 28px); }
.legal-footer a { color: white; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .site-header nav { display: none; }
  .mobile-menu { display: block; }
  .hero { grid-template-columns: 1fr; padding-top: 165px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { height: 520px; margin: 30px auto 0; max-width: 520px; width: 100%; }
  .phone-mockup { bottom: -312px; width: 360px; }
  .section-heading, .showcase-copy { grid-template-columns: 1fr; }
  .section-heading h2, .showcase-copy h2 { grid-row: auto; margin-bottom: 20px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 280px; }
  .screenshot-rail { justify-content: flex-start; margin: 0; overflow-x: auto; padding: 30px 10vw 50px; scroll-snap-type: x mandatory; }
  .store-shot { flex-basis: 280px; scroll-snap-align: center; }
  .shot-1, .shot-2, .shot-3, .shot-4, .shot-5 { opacity: 1; transform: none; }
  .privacy-card { grid-template-columns: 130px 1fr; padding: 50px; }
  .privacy-card > p { grid-column: 1/-1; }
  .outline-link { bottom: auto; grid-column: 1/-1; justify-self: start; position: relative; right: auto; }
  footer { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
}

@media (max-width: 620px) {
  .site-header { border-radius: 18px; padding: 8px; top: 14px; width: calc(100% - 24px); }
  .site-header .brand span { display: none; }
  .site-header .brand img { margin: 0; }
  .site-header .app-store-button { display: none; }
  .hero { min-height: 800px; padding: 135px 22px 40px; }
  .hero h1 { font-size: 59px; letter-spacing: -4.5px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .trust-row { gap: 10px 16px; margin-top: 30px; }
  .hero-visual { height: 390px; min-width: 0; }
  .phone-mockup { border-radius: 51px; bottom: -365px; padding: 9px; width: 305px; }
  .phone-screen { border-radius: 42px; }
  .phone-button-action { top: 116px; }
  .phone-button-volume-up { top: 168px; }
  .phone-button-volume-down { top: 226px; }
  .hero-icon { bottom: 5px; left: 5px; width: 90px; }
  .floating-pill { font-size: 11px; padding: 10px; }
  .pill-left { left: 0; top: 120px; }
  .pill-right { right: -7px; top: 210px; }
  .scroll-cue { display: none; }
  .section { padding: 90px 22px; }
  .section-heading { margin-bottom: 40px; }
  .section-heading h2, .showcase h2, .final-cta h2 { font-size: 44px; letter-spacing: -3px; }
  .feature-card { padding: 24px; }
  .showcase { padding-left: 0; padding-right: 0; }
  .showcase-copy { padding: 0 22px; }
  .screenshot-rail { min-height: auto; padding-left: 35px; }
  .store-shot { flex-basis: 235px; }
  .privacy-card { gap: 28px; grid-template-columns: 1fr; padding: 35px 27px; }
  .privacy-symbol { border-radius: 28px; font-size: 54px; height: 100px; width: 100px; }
  .privacy-card > p, .outline-link { grid-column: auto; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-links > div:last-child { grid-column: 1/-1; }
  .footer-bottom, .legal-footer { flex-direction: column; gap: 10px; }
  .legal-hero { padding-top: 70px; }
  .legal-hero h1 { font-size: 45px; letter-spacing: -2.7px; }
  .legal-layout { padding: 40px 16px 70px; }
  .legal-content { border-radius: 21px; padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
