/* Live Memory — ported from the Framer project (BXKFmptw214MavcSGbDj).
   Colors, type scale, spacing and copy come from Framer's own color styles,
   text style presets and node tree via the framer-agent CLI, cross-checked
   against the published site's computed styles. */

:root {
  /* Dark theme — ink/surface roles swapped from the original light palette:
     --dark is now the light "ink" value (text, icons, inverted buttons),
     --white is now the dark elevated "surface" value (pills, cards). This
     keeps every existing component's relative contrast relationship intact
     without touching each rule individually. */
  --bg: rgb(15, 15, 16);
  --white: rgb(26, 26, 28);
  --dark: rgb(245, 243, 238);
  --dark-50: rgba(245, 243, 238, 0.5);
  --dark-30: rgba(245, 243, 238, 0.3);
  --dark-10: rgba(245, 243, 238, 0.1);
  --dark-5: rgba(245, 243, 238, 0.05);
  --charcoal: rgba(245, 243, 238, 0.62);
  --soft-gray: rgb(35, 35, 38);
  --soft-gray-50: rgba(245, 243, 238, 0.08);
  --white-10: rgba(245, 243, 238, 0.1);
  --white-20: rgba(245, 243, 238, 0.2);
  /* Text laid directly over a photo (review cards) must stay white regardless
     of theme — unlike --white above, this one never inverts. */
  --on-photo: rgb(255, 255, 255);

  /* Shadows read as "dark" regardless of theme polarity, so they're literal
     black here rather than tied to the (now-inverted) --dark token. */
  --shadow-soft: 0px 8px 20px 0px rgba(0, 0, 0, 0.4);
  --shadow-btn: 0px 4px 10px 0px rgba(0, 0, 0, 0.45), 0px 10px 35px 0px rgba(0, 0, 0, 0.45);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);

  /* SF Pro isn't licensed for embedding on the web, but -apple-system /
     BlinkMacSystemFont renders the real system SF Pro on every Mac and
     iPhone — which is effectively this site's entire audience. */
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--dark);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.3;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  animation: page-in 0.4s ease 0.1s forwards;
}
@keyframes page-in { to { opacity: 1; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
.container { width: 100%; max-width: 1260px; margin: 0 auto; padding-inline: 30px; }

/* ---- Type scale (desktop values; tablet/phone overrides at the bottom) ---- */
.h-display { font-family: var(--font-display); font-weight: 700; font-size: 90px; line-height: 1; }
.h2 { font-family: var(--font-display); font-weight: 500; font-size: 48px; line-height: 1.2; }
.h3 { font-family: var(--font-display); font-weight: 500; font-size: 34px; line-height: 1.2; }
.h6 { font-family: var(--font-display); font-weight: 500; font-size: 24px; line-height: 1.2; }
.h-sm { font-family: var(--font-display); font-weight: 500; font-size: 20px; line-height: 1.2; }
.body { font-size: 18px; line-height: 1.3; color: var(--charcoal); }
.lead { font-size: 22px; line-height: 1.4; color: var(--charcoal); }
.text-sm { font-size: 14px; line-height: 1.3; }
.text-nav { font-size: 15px; line-height: 1.2; font-weight: 500; }

/* ---- Scroll-in reveal (Framer appearEffect: fade + 20px rise, spring 0.6s) ---- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-spring), transform 0.6s var(--ease-spring);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ---- Nav ---- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding-block: 30px;
}
.topbar .container { display: flex; justify-content: center; }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  max-width: 1200px;
}
.pill { background: var(--white); border-radius: 20px; box-shadow: var(--shadow-soft); }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 62px;
  padding: 4px 20px 4px 10px;
}
.brand img { width: 44px; height: 44px; border-radius: 12px; }
.brand span { font-family: var(--font-display); font-weight: 500; font-size: 20px; line-height: 1.2; color: var(--dark); white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 6px; height: 62px; padding: 6px; }
.nav-links a {
  display: flex; align-items: center;
  height: 50px; padding: 0 30px;
  border-radius: 16px;
  font-size: 15px; font-weight: 500; line-height: 1.2;
  color: var(--charcoal);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { background: var(--soft-gray-50); color: var(--dark); }
.nav-right { display: flex; align-items: center; gap: 6px; height: 62px; padding: 6px 6px 6px 20px; }
.nav-right span { font-size: 15px; font-weight: 500; color: var(--dark); }
.nav-download {
  cursor: pointer;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}
.nav-download:hover {
  transform: scale(1.06);
  box-shadow: 0px 10px 24px 0px rgba(0, 0, 0, 0.35);
}
.nav-download:active { transform: scale(0.98); }
.nav-dl {
  width: 50px; height: 50px;
  border-radius: 16px;
  background: var(--white);
  color: var(--dark);
  display: grid; place-items: center;
}
.nav-dl svg { width: 22px; height: 22px; }
.nav-menu { display: none; }
.nav-panel { display: none; }

/* ---- Buttons (Framer "Button Icon" component) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 100px;
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  box-shadow: var(--shadow-btn);
  transition: transform 0.45s var(--ease-spring);
  white-space: nowrap;
}
.btn:hover { transform: scale(0.95); }
.btn svg { width: 17px; height: 20px; margin-bottom: 3px; flex: 0 0 auto; }

/* ---- Hero ---- */
.hero {
  position: relative;
  padding-top: 200px;
  background: var(--dark-5);
}
.hero-container {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding-inline: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}
.hero-content { display: flex; flex-direction: column; align-items: center; gap: 40px; width: 100%; }
.hero h1 { width: 100%; text-align: center; text-wrap: balance; color: var(--dark); }

/* Each word rises in on its own stagger, then "move." keeps a slow sheen
   sweeping through it forever — the one word in the headline that's
   describing motion is the one word that's actually moving. */
@keyframes word-rise {
  from { opacity: 0; transform: translateY(26px) scale(0.96); filter: blur(10px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes move-shimmer {
  to { background-position: -200% 0; }
}
.hero-word {
  display: inline-block;
  animation: word-rise 1s var(--ease-spring) both;
  animation-delay: calc(.2s + var(--wd, 0s));
}
.hero-word-move {
  background: linear-gradient(110deg, rgba(245, 243, 238, 0.65) 30%, #fff 50%, rgba(245, 243, 238, 0.65) 70%);
  background-size: 250% 100%;
  background-position: 200% 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: word-rise 1s var(--ease-spring) both calc(.2s + var(--wd, 0s)), move-shimmer 6s linear 1.2s infinite;
}
.hero-lede { max-width: 500px; text-align: center; text-wrap: balance; color: var(--dark-50); }
.hero-phone-wrap { display: flex; justify-content: center; width: 100%; padding: 6px; }
.hero-phone {
  position: relative;
  width: 32%;
  border-radius: 20px 20px 0 0;
  overflow: clip;
  line-height: 0;
}
.hero-phone img, .hero-phone video { width: 100%; height: auto; display: block; }
/* The phone's lower part dissolves into the page background, into the next section. */
.hero-phone::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(15,15,16,0) 0%, rgba(15,15,16,0.85) 60%, var(--bg) 100%);
  pointer-events: none;
}
.hero-blur {
  position: absolute;
  left: -120px; right: -120px; bottom: -120px;
  z-index: 0;
  filter: blur(25px);
  pointer-events: none;
  user-select: none;
}
.hero-blur img { width: 100%; height: auto; }

/* ---- About ---- */
.about { position: relative; padding-top: 20px; }
.about-container {
  position: relative;
  z-index: 2;
  max-width: 1260px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}
.about-top {
  width: 100%;
  max-width: 980px;
  padding-inline: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
}
.about-headline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 10px;
  text-align: center;
  color: var(--dark);
}
.about-headline span { white-space: nowrap; }
.about-headline b { font-weight: 700; }
.about-bottom { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.about-lede { text-align: center; text-wrap: balance; }
.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.tag {
  background: var(--soft-gray);
  border-radius: 50px;
  padding: 8px 14px 6px;
  font-size: 14px; line-height: 1.3;
  color: var(--dark);
}
.about-center { position: relative; width: 100%; display: flex; justify-content: center; }
.about-phone { position: relative; z-index: 2; width: 100%; max-width: 300px; }
.about-tickers {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  padding: 80px 0;
  overflow: clip;
  z-index: 0;
}
.about-tickers .fade {
  position: absolute;
  top: -50px; bottom: -50px;
  width: 230px;
  z-index: 2;
  pointer-events: none;
}
.about-tickers .fade-l { left: -50px; background: linear-gradient(90deg, var(--bg) 29%, rgba(15,15,16,0) 100%); }
.about-tickers .fade-r { right: -50px; background: linear-gradient(270deg, var(--bg) 31%, rgba(15,15,16,0) 100%); }
.track {
  display: flex;
  width: max-content;
  will-change: transform;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.track.dragging { cursor: grabbing; }
.card-track { gap: 20px; }
.card-track img { height: 388px; width: auto; flex: 0 0 auto; -webkit-user-drag: none; }
.about-cta { max-width: 660px; padding-inline: 30px; display: flex; justify-content: center; }

.cloud {
  position: absolute;
  z-index: 0;
  max-width: none;
  width: auto;
  pointer-events: none;
  user-select: none;
}
.about .cloud-1 { left: -330px; bottom: -440px; height: 588px; }
.about .cloud-2 { right: -150px; bottom: -140px; height: 296px; }
.about .cloud-3 { left: -20px; bottom: -190px; height: 300px; }

/* ---- Features ---- */
.features { position: relative; z-index: 2; padding-top: 200px; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.feature-card {
  background: var(--soft-gray);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  overflow: clip;
  display: flex;
  flex-direction: column;
}
.feature-card-top { padding: 40px; display: flex; flex-direction: column; gap: 6px; }
.feature-card h3 { color: var(--dark); text-wrap: balance; }
.feature-card p { text-wrap: balance; }
.feature-card-img {
  width: calc(100% - 80px);
  height: 300px;
  margin: 0 40px 40px;
  border-radius: 16px;
  object-fit: cover;
}

/* ---- Social / trust ---- */
.social { position: relative; padding-top: 200px; display: flex; flex-direction: column; gap: 50px; }
.social-top { display: flex; align-items: flex-end; gap: 20px; }
.social-top h2 { flex: 1 1 auto; text-wrap: balance; color: var(--dark); }
.social-right { flex: 0 0 40%; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.avatars { display: flex; align-items: center; }
.avatars img, .avatars .count {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  object-fit: cover;
}
.avatars > * + * { margin-left: -10px; }
.avatars .count {
  background: var(--dark);
  color: var(--white);
  font-size: 14px;
  display: grid; place-items: center;
}
.stars { height: 16px; width: auto; }
.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.review-card {
  position: relative;
  height: 480px;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  overflow: clip;
  display: flex;
  align-items: flex-end;
  padding: 40px;
  background: var(--dark) center / cover no-repeat;
  -webkit-user-drag: none;
}
.review-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(19,21,21) 0%, rgba(19,21,21,0) 50%, rgb(19,21,21) 100%);
}
.review-card-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; }
.review-card h3 { color: var(--on-photo); }
.review-card p { color: var(--on-photo); text-wrap: balance; }

/* ---- FAQ ---- */
.faq { position: relative; }
.faq-container { max-width: 1260px; margin: 0 auto; padding: 220px 30px 0; }
.faq-content { display: flex; align-items: flex-start; gap: 100px; }
.faq-left { flex: 0.6 1 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.faq-left h2 { text-wrap: balance; color: var(--dark); }
.faq-right { flex: 1 1 0; display: flex; flex-direction: column; gap: 10px; }
.pretitle {
  display: inline-flex;
  background: var(--white);
  border: 1px solid var(--dark-10);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 14px; line-height: 1.3;
  color: var(--dark);
}
.acc { background: var(--white); border-radius: 20px; box-shadow: var(--shadow-soft); overflow: hidden; }
.acc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 20px;
  margin: 0;
  border: 0;
  background: none;
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
}
.acc-title { color: var(--dark); }
/* Height animates via the 0fr → 1fr grid trick, so no JS measuring is needed. */
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease-spring); }
.acc-inner { overflow: hidden; }
.acc.open .acc-body { grid-template-rows: 1fr; }
.acc-icon {
  position: relative;
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--dark);
  transition: transform 0.3s var(--ease-spring);
}
.acc-icon::before, .acc-icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: var(--white);
  border-radius: 3px;
}
.acc-icon::before { width: 16px; height: 2px; }
.acc-icon::after { width: 2px; height: 16px; }
.acc.open .acc-icon { transform: rotate(45deg); }
.acc-answer { padding: 0 20px 20px; }

/* ---- CTA ---- */
.cta { position: relative; padding-top: 200px; }
.cta-content { position: relative; }
.cta-row { display: flex; align-items: flex-start; gap: 10px; }
.cta-col { position: relative; flex: 0.7 1 0; padding-top: 100px; z-index: 4; }
.cta-col-text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 30px; }
.cta-col-text .desc { display: flex; flex-direction: column; gap: 10px; }
.cta-col-text h3 { color: var(--dark); }
.cta-center { position: relative; flex: 1 1 0; }
.cta-center img { width: 100%; height: auto; }
.cta-overlay {
  position: absolute;
  left: 0; right: 0; bottom: -120px;
  height: 250px;
  background: var(--bg);
  filter: blur(35px);
  z-index: 2;
  pointer-events: none;
}

/* ---- Legal / doc pages (Privacy, Terms, Support) ---- */
.doc-hero { padding: 200px 0 50px; }
.doc-top {
  max-width: 1260px;
  margin: 0 auto;
  padding-inline: 30px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 48px;
}
.doc-top h1 { text-align: center; color: var(--dark); }
.doc-lead { width: 100%; text-align: left; }
.doc-lead strong { color: var(--dark); }
.doc-body {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 30px 160px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.doc-body h3 { color: var(--dark); margin-top: 20px; }
.doc-body p, .doc-body li { color: var(--charcoal); font-size: 18px; line-height: 1.5; }
.doc-body a.inline { color: var(--dark); text-decoration: underline; text-underline-offset: 2px; }
.doc-body ol { margin: 0; padding-left: 0; list-style: none; counter-reset: term; display: flex; flex-direction: column; gap: 20px; }
.doc-body ol li { counter-increment: term; }
.doc-body ol li p { margin: 0; }
.doc-body ol li strong.term-title { display: block; font-family: var(--font-display); font-weight: 500; font-size: 20px; color: var(--dark); margin-bottom: 4px; }
.doc-body ol li strong.term-title::before { content: counter(term) ". "; }

/* ---- Footer ---- */
.footer { position: relative; z-index: 3; padding: 80px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 20px 4px 4px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.footer-brand img { width: 54px; height: 54px; border-radius: 20px; }
.footer-brand span { font-family: var(--font-display); font-weight: 500; font-size: 20px; line-height: 1.2; color: var(--dark); }
.footer-links { display: flex; flex-direction: column; gap: 30px; }
.footer-links a { font-size: 18px; line-height: 1.3; color: var(--dark); }
.footer-links a:hover { color: var(--charcoal); }
.footer-copy { margin-top: 60px; padding-top: 30px; color: var(--charcoal); }

/* ---- Tablet (810–1199.98px) ---- */
@media (max-width: 1199.98px) {
  .h-display { font-size: 60px; }
  .h2 { font-size: 42px; }
  .h-sm { font-size: 20px; }
  .lead { font-size: 20px; }
  .nav-links a { padding: 0 18px; }
  .hero-phone { width: 40%; }
  .faq-content { gap: 40px; }
  .cta-col { flex-basis: 0.5; }
}

/* ---- Phone (≤809.98px) ---- */
@media (max-width: 809.98px) {
  .h-display { font-size: 44px; }
  .h2 { font-size: 38px; }
  .h3 { font-size: 28px; }
  .h6 { font-size: 20px; }
  .h-sm { font-size: 16px; }
  .body { font-size: 16px; }
  .lead { font-size: 18px; }
  body { font-size: 16px; }

  .topbar { padding-block: 20px; }
  .brand { padding: 4px 16px 4px 8px; }
  .nav-links { display: none; }
  .nav-right { display: none; }
  .nav-menu {
    display: grid; place-items: center;
    width: 62px; height: 62px;
    border: 0; border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
    color: var(--dark);
    cursor: pointer;
  }
  .nav-right-group { display: flex; align-items: center; gap: 6px; }
  .nav-panel {
    position: fixed;
    top: 108px; left: 30px; right: 30px;
    z-index: 49;
    flex-direction: column;
    padding: 10px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
  }
  .nav-panel.open { display: flex; }
  .nav-panel a { padding: 14px 20px; border-radius: 14px; font-size: 15px; font-weight: 500; color: var(--dark); }
  .nav-panel a:hover { background: var(--soft-gray-50); }

  .hero { padding-top: 140px; }
  .hero-container { gap: 50px; }
  .hero-phone { width: 56%; }

  .about-phone { max-width: 210px; }
  .about-tickers { padding: 40px 0; }
  .card-track { gap: 14px; }
  .card-track img { height: 260px; }
  .about-tickers .fade { width: 120px; }
  .about .cloud-1 { height: 380px; bottom: -280px; }
  .about .cloud-2 { height: 200px; }
  .about .cloud-3 { height: 200px; bottom: -120px; }

  .features { padding-top: 140px; }
  .features-grid { grid-template-columns: 1fr; gap: 20px; }
  .feature-card-top { padding: 28px; }
  .feature-card-img { width: calc(100% - 56px); margin: 0 28px 28px; height: 240px; }

  .social { padding-top: 140px; gap: 36px; }
  .social-top { flex-direction: column; align-items: flex-start; }
  .social-right { flex-basis: auto; align-items: flex-start; }
  .review-grid { grid-template-columns: 1fr; gap: 16px; }
  .review-card { height: 400px; padding: 28px; }

  .faq-container { padding-top: 160px; }
  .faq-content { flex-direction: column; gap: 32px; }
  .faq-left, .faq-right { flex: none; width: 100%; }

  .cta { padding-top: 140px; }
  .cta-row { flex-direction: column; gap: 40px; }
  .cta-col { flex: none; width: 100%; padding-top: 0; }
  .cta-center { width: 100%; }

  .doc-hero { padding: 140px 0 40px; }
  .doc-top { gap: 32px; }
  .doc-body { padding-bottom: 100px; }

  .footer { padding-top: 60px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { gap: 18px; }
  .footer-copy { margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  body { opacity: 1; animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .topbar { transition: none; }
  .hero-word { animation: none; opacity: 1; transform: none; filter: none; }
  .hero-word-move {
    animation: none;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
    color: var(--dark);
  }
}
