/* FaceBubble — marketing site */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,600;12..96,700;12..96,800&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --cream: #f6f4ef;
  --cream-2: #efece4;
  --ink: #17160f;
  --ink-60: rgba(23, 22, 15, 0.62);
  --ink-40: rgba(23, 22, 15, 0.42);
  --ink-12: rgba(23, 22, 15, 0.12);
  --ink-06: rgba(23, 22, 15, 0.06);
  --card: #fffefb;
  --red: #ef3038;
  --red-soft: #f8656a;
  --peach: #ffd9c2;
  --lilac: #d9c9ff;
  --mint: #bfe9cf;
  --sky: #c7ddff;
  --radius: 26px;
  --radius-lg: 40px;
  --shadow-sm: 0 2px 8px rgba(23, 22, 15, 0.05);
  --shadow: 0 24px 60px -24px rgba(23, 22, 15, 0.22);
  --shadow-red: 0 20px 44px -18px rgba(239, 48, 56, 0.5);
  --maxw: 1140px;
  --display: 'Bricolage Grotesque', ui-sans-serif, sans-serif;
  --body: 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* soft warm atmosphere */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 82% -6%, rgba(248, 101, 106, 0.16), transparent 60%),
    radial-gradient(52% 44% at 8% 8%, rgba(217, 201, 255, 0.16), transparent 60%),
    radial-gradient(46% 40% at 50% 108%, rgba(191, 233, 207, 0.16), transparent 60%);
  pointer-events: none;
}
/* fine grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- typography ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; }
.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-40);
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.4) blur(14px);
  background: color-mix(in srgb, var(--cream) 78%, transparent);
  border-bottom: 1px solid var(--ink-06);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.18rem; letter-spacing: -0.02em; }
.brand__dot {
  width: 26px; height: 26px; border-radius: 9px;
  background: var(--ink);
  display: grid; place-items: center;
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}
.brand__dot svg { width: 15px; height: 15px; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-weight: 600; font-size: 0.95rem; color: var(--ink-60); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s;
  white-space: nowrap;
}
.btn--dark { background: var(--ink); color: var(--cream); box-shadow: var(--shadow); }
.btn--dark:hover { transform: translateY(-2px); }
.btn--red { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn--red:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink-12); }
.btn--ghost:hover { border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 68px 0 40px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card);
  border: 1px solid var(--ink-12);
  padding: 8px 15px;
  border-radius: 999px;
  font-weight: 600; font-size: 0.86rem; color: var(--ink-60);
  box-shadow: var(--shadow-sm);
}
.hero__badge b { color: var(--red); }
.hero h1 { font-size: clamp(2.9rem, 6vw, 4.6rem); margin: 22px 0 0; }
.hero h1 .accent { color: var(--red); }
.hero__sub { font-size: 1.22rem; color: var(--ink-60); margin-top: 20px; max-width: 30ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__note { margin-top: 18px; font-size: 0.9rem; color: var(--ink-40); font-weight: 600; }
.hero__note span { color: var(--red); }

/* phone mockup */
.stage { position: relative; display: grid; place-items: center; min-height: 520px; }
.blob {
  position: absolute; inset: 0; margin: auto;
  width: 380px; height: 380px; border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  background: conic-gradient(from 120deg, var(--peach), var(--lilac), var(--sky), var(--mint), var(--peach));
  filter: blur(46px); opacity: 0.5;
  animation: spin 24s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.phone {
  position: relative;
  width: 268px; height: 552px;
  background: #0d0d0c;
  border-radius: 46px;
  padding: 11px;
  box-shadow: 0 40px 90px -30px rgba(23, 22, 15, 0.55), inset 0 0 0 2px rgba(255,255,255,0.06);
  animation: floaty 6s ease-in-out infinite;
}
@keyframes floaty { 0%,100%{transform:translateY(0) rotate(-1deg)} 50%{transform:translateY(-14px) rotate(-1deg)} }
.phone__screen {
  position: relative; width: 100%; height: 100%;
  background: linear-gradient(180deg, #f2efe8, #e9e5db);
  border-radius: 36px; overflow: hidden;
}
.phone__notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; background: #0d0d0c; border-radius: 14px; z-index: 4; }
/* faux app grid behind bubble */
.applets { position: absolute; inset: 0; padding: 52px 26px 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 18px; align-content: start; opacity: 0.5; }
.applet { aspect-ratio: 1; border-radius: 13px; background: var(--ink-12); }
.applet:nth-child(3n){ background: rgba(239,48,56,0.16); }
.applet:nth-child(4n){ background: rgba(217,201,255,0.35); }
.applet:nth-child(5n){ background: rgba(191,233,207,0.4); }

/* the camera bubble floating on top */
.bubble {
  position: absolute; right: 20px; bottom: 92px; z-index: 3;
  width: 96px; height: 128px; border-radius: 22px;
  background: linear-gradient(160deg, #2a2a28, #111110);
  box-shadow: 0 18px 34px -12px rgba(0,0,0,0.5), inset 0 0 0 2px rgba(255,255,255,0.08);
  display: grid; place-items: center;
  color: #fff;
  animation: bob 4.5s ease-in-out infinite;
}
@keyframes bob { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-10px,-16px)} }
.bubble svg { width: 52px; height: 52px; opacity: 0.92; }
.bubble__live {
  position: absolute; top: 8px; left: 8px;
  display: flex; align-items: center; gap: 5px;
  background: var(--red); color: #fff;
  font: 700 9px/1 var(--body); letter-spacing: 0.08em;
  padding: 4px 7px; border-radius: 999px;
}
.bubble__live i { width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50%{opacity:0.25} }
/* record pill at bottom of screen */
.recbar { position: absolute; left: 22px; right: 22px; bottom: 26px; height: 44px; border-radius: 999px; background: var(--red); display: grid; place-items: center; color:#fff; font: 700 13px var(--display); box-shadow: 0 10px 22px -8px rgba(239,48,56,0.6); }

/* ---------- section shell ---------- */
.section { padding: 78px 0; }
.section__head { max-width: 640px; margin-bottom: 44px; }
.section__head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section h2 { font-size: clamp(2rem, 4vw, 3rem); margin-top: 12px; }
.section__lead { font-size: 1.12rem; color: var(--ink-60); margin-top: 16px; }

/* ---------- features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card);
  border: 1px solid var(--ink-06);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px; }
.card__icon svg { width: 25px; height: 25px; }
.i-red { background: rgba(239,48,56,0.12); color: var(--red); }
.i-ink { background: var(--ink-06); color: var(--ink); }
.i-mint { background: rgba(80,180,120,0.16); color: #2f9c5f; }
.i-lilac { background: rgba(150,110,240,0.14); color: #7a54d6; }
.i-sky { background: rgba(70,130,240,0.14); color: #3f74d8; }
.i-peach { background: rgba(255,150,90,0.16); color: #db7a2b; }
.card h3 { font-size: 1.28rem; }
.card p { color: var(--ink-60); margin-top: 10px; font-size: 1rem; }
.features .card--wide { grid-column: span 3; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 30px 24px; background: var(--card); border: 1px solid var(--ink-06); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step__n { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--cream); display: grid; place-items: center; font: 800 1.1rem var(--display); margin-bottom: 16px; }
.step h3 { font-size: 1.18rem; }
.step p { color: var(--ink-60); margin-top: 8px; font-size: 0.98rem; }

/* ---------- free banner ---------- */
.free {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  overflow: hidden;
}
.free::before { content:""; position:absolute; inset:0; background: radial-gradient(50% 120% at 50% 0%, rgba(239,48,56,0.32), transparent 60%); }
.free__inner { position: relative; }
.free h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.free h2 .accent { color: var(--red-soft); }
.free p { color: rgba(246,244,239,0.7); font-size: 1.14rem; margin: 18px auto 0; max-width: 52ch; }
.free__chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.chip { background: rgba(246,244,239,0.08); border: 1px solid rgba(246,244,239,0.16); border-radius: 999px; padding: 10px 20px; font-weight: 600; font-size: 0.96rem; }
.chip b { color: var(--red-soft); }

/* ---------- final cta ---------- */
.cta { text-align: center; padding: 90px 0 40px; }
.cta h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.cta p { color: var(--ink-60); font-size: 1.15rem; margin: 16px auto 30px; max-width: 40ch; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--ink-12); margin-top: 40px; padding: 40px 0; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__links a { color: var(--ink-60); font-weight: 600; font-size: 0.95rem; }
.footer__links a:hover { color: var(--ink); }
.footer small { color: var(--ink-40); }

/* ---------- article (privacy / support) ---------- */
.article { padding: 56px 0 30px; }
.article__head { max-width: 760px; margin: 0 auto 40px; }
.article__head h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); }
.article__head p { color: var(--ink-60); margin-top: 14px; font-size: 1.05rem; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.5rem; margin: 38px 0 12px; }
.prose h3 { font-size: 1.14rem; margin: 26px 0 8px; font-family: var(--body); font-weight: 700; letter-spacing: 0; }
.prose p, .prose li { color: var(--ink-60); font-size: 1.04rem; }
.prose p { margin-top: 12px; }
.prose ul { margin: 12px 0 12px 20px; }
.prose li { margin-top: 8px; }
.prose a { color: var(--red); font-weight: 600; }
.prose strong { color: var(--ink); }
.callout { background: var(--card); border: 1px solid var(--ink-12); border-left: 4px solid var(--red); border-radius: 16px; padding: 20px 22px; margin: 26px 0; }
.callout p { margin-top: 0; color: var(--ink); font-weight: 500; }

.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--ink-06); border-radius: 18px; padding: 6px 22px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 1.1rem; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--ink-40); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-60); padding-bottom: 18px; margin-top: -4px; }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .stagger.in > * { opacity: 1; transform: none; }
.js .stagger.in > *:nth-child(2){ transition-delay: .08s; }
.js .stagger.in > *:nth-child(3){ transition-delay: .16s; }
.js .stagger.in > *:nth-child(4){ transition-delay: .24s; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 8px; }
  .stage { order: -1; min-height: 440px; }
  .hero__sub { max-width: none; }
  .features { grid-template-columns: 1fr 1fr; }
  .features .card--wide { grid-column: span 2; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav__links .hide-sm { display: none; }
}
@media (max-width: 560px) {
  .features, .steps { grid-template-columns: 1fr; }
  .features .card--wide { grid-column: span 1; }
  .free { padding: 44px 24px; }
  .hero { padding: 40px 0 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .phone, .bubble, .blob, .bubble__live i { animation: none; }
  * { scroll-behavior: auto; }
}
