@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --background: 201 100% 13%;
  --foreground: 0 0% 100%;
  --muted-foreground: 240 4% 66%;
  --primary: 0 0% 100%;
  --primary-foreground: 0 0% 4%;
  --secondary: 0 0% 10%;
  --muted: 0 0% 10%;
  --accent: 0 0% 10%;
  --border: 0 0% 18%;
  --input: 0 0% 18%;
  --font-display: 'Instrument Serif', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --family-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --blue: #1678c8;
  --blue-soft: #eaf6ff;
  --green: #21bf6b;
  --yellow: #ffbe3d;
  --orange: #ff7b35;
  --pink: #ff5f9e;
  --purple: #7f5dff;
  --ink: #080b10;
  --body: #5f6673;
  --light: #f7f8fa;
  --line: #e9edf2;
  --card: #ffffff;
  --shadow: 0 18px 50px rgba(18, 30, 52, .08);
  --phone-shadow: 0 34px 80px rgba(29, 56, 90, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--family-font);
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

/* Keep the requested cinematic hero section */
.liquid-glass {
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 20%,
    rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
    rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.45) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
@keyframes fade-rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-rise { animation: fade-rise 0.8s ease-out both; }
.animate-fade-rise-delay { animation: fade-rise 0.8s ease-out 0.2s both; }
.animate-fade-rise-delay-2 { animation: fade-rise 0.8s ease-out 0.4s both; }
.video-hero {
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  overflow: hidden;
}
.video-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: calc(100% - 2rem);
  max-width: 80rem;
  margin: 1rem auto 0;
  padding: 1.1rem 1.35rem;
  border-radius: 999px;
  background: rgba(255,255,255,.045);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.12), 0 20px 80px rgba(0,0,0,.16);
}
.hero-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,0) 44%, rgba(255,255,255,.16));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.hero-logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  white-space: nowrap;
  max-width: 38vw;
}
.hero-logo img {
  display: block;
  width: clamp(82px, 22vw, 150px);
  height: auto;
  object-fit: contain;
}
@media (max-width: 520px) {
  .hero-logo img {
    width: 82px;
  }
}
.nav-links { display: none; align-items: center; gap: 2rem; }
.nav-links a { font-size: 0.875rem; color: hsl(var(--muted-foreground)); transition: color .2s ease; }
.nav-links a.active, .nav-links a:hover { color: hsl(var(--foreground)); }
.nav-button, .hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: hsl(var(--foreground));
  transition: transform .24s ease;
  will-change: transform;
  white-space: nowrap;
}
.nav-button { padding: .75rem 1.5rem; font-size: .875rem; }
.hero-button { padding: 1.25rem 3.5rem; font-size: 1rem; margin-top: 3rem; cursor: pointer; }
.nav-button:hover, .hero-button:hover { transform: scale(1.03); }
.hero-copy {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 1.5rem;
  min-height: calc(100svh - 96px);
}
.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 13vw, 8rem);
  line-height: .95;
  letter-spacing: -2.46px;
  max-width: 80rem;
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
}
.hero-copy h1 em { font-style: normal; color: hsl(var(--muted-foreground)); }
.hero-copy p {
  color: hsl(var(--muted-foreground));
  font-size: clamp(1rem, 2vw, 1.125rem);
  max-width: 42rem;
  margin: 2rem 0 0;
  line-height: 1.7;
}

/* Family-style white mobile-app page */
.app-page {
  background: #fff;
  color: var(--ink);
  font-family: var(--family-font);
}
.app-section {
  position: relative;
  padding: clamp(64px, 10vw, 120px) 20px;
  border-bottom: 1px solid rgba(9, 13, 20, .07);
  overflow: hidden;
}
.app-section.compact { padding-block: clamp(44px, 8vw, 88px); }
.app-container {
  width: min(1080px, 100%);
  margin-inline: auto;
}
.app-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--blue);
  text-transform: uppercase;
  margin: 0 0 14px;
}
.app-title {
  font-family: var(--family-font);
  font-size: clamp(38px, 8vw, 78px);
  line-height: .92;
  letter-spacing: -.07em;
  font-weight: 800;
  margin: 0;
  text-wrap: balance;
}
.app-title .blue { color: var(--blue); }
.app-lead {
  margin: 18px 0 0;
  color: var(--body);
  line-height: 1.65;
  font-size: clamp(16px, 2vw, 18px);
  max-width: 640px;
}
.center { text-align: center; }
.center .app-lead { margin-inline: auto; }
.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.app-actions.center { justify-content: center; }
.btn-ios, .btn-ghost, .btn-blue {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  min-height: 48px;
  padding: 0 20px;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.btn-ios { background: #090d14; color: #fff; box-shadow: 0 18px 36px rgba(9, 13, 20, .18); }
.btn-ios::before { content: '●'; font-size: 10px; color: #fff; }
.btn-ghost { background: #f3f6f9; color: #111827; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 18px 36px rgba(22, 120, 200, .22); }
.btn-ios:hover, .btn-ghost:hover, .btn-blue:hover { transform: translateY(-2px); }

.mascot-hero {
  display: grid;
  gap: 32px;
  align-items: center;
}
.mascot-stage {
  min-height: 360px;
  position: relative;
  display: grid;
  place-items: center;
}
.mascot-stage::before {
  content: '';
  position: absolute;
  width: min(560px, 96vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22,120,200,.11), rgba(22,120,200,0) 64%);
  z-index: 0;
}
.mascot-stage img {
  width: min(300px, 70vw);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 28px 40px rgba(22, 120, 200, .19));
}
.bubble {
  position: absolute;
  z-index: 1;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 12px 14px;
  font-weight: 800;
  font-size: 13px;
  white-space: nowrap;
}
.bubble .small { display: block; font-size: 11px; color: var(--body); margin-top: 4px; font-weight: 600; }
.bubble.one { top: 36px; left: 0; }
.bubble.two { right: 4px; top: 96px; }
.bubble.three { left: 12px; bottom: 70px; }
.bubble.four { right: 20px; bottom: 38px; }
.orb {
  position: absolute;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.orb.green { width: 22px; height: 22px; background: var(--green); left: 8%; top: 28%; }
.orb.yellow { width: 38px; height: 38px; background: var(--yellow); right: 15%; top: 18%; }
.orb.pink { width: 28px; height: 28px; background: var(--pink); left: 18%; bottom: 18%; }
.orb.blue { width: 46px; height: 46px; background: var(--blue-soft); right: 9%; bottom: 20%; }

.explore-grid {
  display: grid;
  gap: 18px;
  margin-top: 40px;
}
.explore-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 16px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.explore-card:hover { transform: translateY(-5px); box-shadow: 0 24px 70px rgba(18, 30, 52, .12); }
.explore-visual {
  height: 220px;
  border-radius: 22px;
  background: #f8fafc;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.explore-visual img.screen-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.explore-card h3 {
  margin: 18px 2px 6px;
  font-size: 20px;
  letter-spacing: -.035em;
  line-height: 1.1;
}
.explore-card p {
  margin: 0 2px 2px;
  color: var(--body);
  line-height: 1.55;
  font-size: 14px;
}

.phone-trio {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: end;
  margin-top: 42px;
}
.phone-wrap {
  display: grid;
  place-items: center;
  gap: 14px;
}
.phone-label {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.02em;
}
.phone {
  --phone-w: 226px;
  width: min(var(--phone-w), 80vw);
  aspect-ratio: 9 / 18.4;
  border: 8px solid #101216;
  border-radius: 36px;
  background: #fff;
  box-shadow: var(--phone-shadow);
  overflow: hidden;
  position: relative;
}
.phone.small { --phone-w: 196px; }
.phone::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 74px;
  height: 21px;
  background: #101216;
  border-radius: 0 0 16px 16px;
  z-index: 5;
}
.phone-ui {
  height: 100%;
  padding: 46px 18px 18px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}
.phone-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.phone-brand { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 14px; }
.status-dot { width: 9px; height: 9px; border-radius: 999px; background: var(--green); }
.pill { padding: 7px 10px; border-radius: 999px; background: #eef7ff; color: var(--blue); font-size: 11px; font-weight: 800; }
.big-stat { border-radius: 24px; background: #101216; color: #fff; padding: 18px; margin-bottom: 12px; }
.big-stat b { display: block; font-size: 34px; letter-spacing: -.06em; }
.big-stat span { color: rgba(255,255,255,.7); font-size: 12px; }
.phone-list { display: grid; gap: 10px; }
.phone-row-card {
  border: 1px solid #e5ebf2;
  background: #fff;
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 10px 24px rgba(18, 30, 52, .05);
}
.phone-row-card strong { display: block; font-size: 13px; margin-bottom: 8px; }
.phone-line { height: 8px; border-radius: 99px; background: #e5eef7; width: 76%; }
.phone-line.short { width: 46%; }
.phone-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tile {
  min-height: 76px;
  border-radius: 20px;
  padding: 12px;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.tile.blue { background: var(--blue); }
.tile.green { background: var(--green); }
.tile.orange { background: var(--orange); }
.tile.purple { background: var(--purple); }
.qr-card {
  width: min(160px, 46vw);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--phone-shadow);
  border: 1px solid var(--line);
  padding: 18px;
  align-self: center;
  justify-self: center;
  position: relative;
}
.qr-card img { width: 100%; border-radius: 8px; }
.qr-card span { display: block; text-align: center; font-size: 13px; font-weight: 800; margin-top: 12px; color: var(--blue); }

.feature-story {
  display: grid;
  gap: 38px;
  align-items: center;
}
.feature-copy .tag {
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 12px;
}
.feature-copy h2 {
  font-size: clamp(32px, 6vw, 58px);
  line-height: .95;
  letter-spacing: -.065em;
  margin: 0;
}
.feature-copy p { color: var(--body); line-height: 1.65; font-size: 16px; margin: 18px 0 0; max-width: 520px; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; color: #20242c; font-weight: 700; }
.check-list li::before { content: '✓'; color: var(--green); margin-right: 10px; font-weight: 900; }
.check-list.orange li::before { color: var(--orange); }
.check-list.blue li::before { color: var(--blue); }
.app-shot-card {
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 18px;
  overflow: hidden;
}
.app-shot-card img { border-radius: 24px; width: 100%; aspect-ratio: 16 / 9.4; object-fit: cover; }

.details-grid {
  display: grid;
  gap: 18px;
  margin-top: 42px;
}
.detail-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow);
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.detail-card .icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  margin-bottom: 30px;
}
.icon.blue { background: var(--blue); }
.icon.green { background: var(--green); }
.icon.orange { background: var(--orange); }
.icon.purple { background: var(--purple); }
.detail-card h3 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.045em; }
.detail-card p { margin: 0; color: var(--body); line-height: 1.55; font-size: 14px; }

.companion-band {
  display: grid;
  align-items: center;
  gap: 32px;
}
.companion-art {
  position: relative;
  min-height: 310px;
  display: grid;
  place-items: center;
}
.companion-art::before {
  content: '';
  position: absolute;
  width: min(360px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22,120,200,.10), rgba(22,120,200,0) 68%);
}
.companion-art img {
  width: min(270px, 68vw);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 28px 36px rgba(22, 120, 200, .18));
}
.note-chip {
  position: absolute;
  z-index: 3;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 11px 14px;
  font-size: 12px;
  font-weight: 800;
}
.note-chip.a { top: 34px; left: 0; }
.note-chip.b { bottom: 48px; right: 8px; color: var(--blue); }
.note-chip.c { top: 48%; right: 0; color: var(--green); }

.onboarding-grid {
  display: grid;
  gap: 22px;
  margin-top: 42px;
}
.onboarding-card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 30px;
  padding: 24px 16px 20px;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  gap: 14px;
}
.onboarding-card .phone { --phone-w: 174px; }
.onboarding-card h3 { margin: 0; font-size: 17px; letter-spacing: -.035em; }

.faq-shell {
  display: grid;
  gap: 28px;
}
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-item h3 { margin: 0; font-size: 17px; letter-spacing: -.035em; }
.faq-item p { color: var(--body); line-height: 1.6; margin: 10px 0 0; font-size: 15px; }

.site-footer {
  background: #fbfcfd;
  padding: 60px 20px 34px;
}
.footer-inner {
  width: min(1080px, 100%);
  margin-inline: auto;
  display: grid;
  gap: 34px;
}
.footer-logo { width: 164px; }
.footer-title { font-size: clamp(32px, 6vw, 56px); line-height: .95; letter-spacing: -.065em; margin: 18px 0 12px; font-weight: 800; }
.footer-note { color: var(--body); line-height: 1.6; max-width: 470px; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; color: var(--body); font-weight: 700; font-size: 14px; }
.copyright { color: #9aa3af; font-size: 13px; margin-top: 30px; }

[data-animate] { opacity: 0; transform: translateY(24px); }
[data-animate].is-visible { opacity: 1; transform: translateY(0); transition: opacity .72s ease, transform .72s ease; }

@media (min-width: 720px) {
  .nav-links { display: flex; }
  .mascot-hero { grid-template-columns: .92fr 1.08fr; gap: 60px; }
  .mascot-stage { min-height: 520px; }
  .mascot-stage img { width: min(390px, 42vw); }
  .explore-grid { grid-template-columns: repeat(3, 1fr); }
  .phone-trio { grid-template-columns: 1fr auto 1fr; gap: 30px; }
  .phone-wrap:nth-child(1) { transform: translateY(24px); }
  .phone-wrap:nth-child(3) { transform: translateY(58px); }
  .feature-story { grid-template-columns: .96fr 1.04fr; gap: 76px; }
  .feature-story.reverse { grid-template-columns: 1.04fr .96fr; }
  .feature-story.reverse .feature-copy { order: 2; }
  .details-grid { grid-template-columns: repeat(4, 1fr); }
  .companion-band { grid-template-columns: .9fr 1.1fr; gap: 70px; }
  .onboarding-grid { grid-template-columns: repeat(3, 1fr); }
  .faq-shell { grid-template-columns: .8fr 1.2fr; gap: 80px; }
  .footer-inner { grid-template-columns: 1.2fr .8fr; align-items: end; }
  .footer-links { justify-self: end; }
}

@media (max-width: 520px) {
  .hero-nav { width: calc(100% - 1rem); margin-top: .5rem; padding: .75rem .85rem; }
  .nav-button { padding: .65rem .9rem; font-size: .8rem; }
  .app-section { padding-inline: 16px; }
  .app-actions { flex-direction: column; align-items: stretch; }
  .btn-ios, .btn-ghost, .btn-blue { width: 100%; }
  .bubble { font-size: 11px; padding: 10px 12px; }
  .bubble.two { top: 60px; right: 0; }
  .bubble.one { left: 0; top: 18px; }
  .bubble.three { bottom: 48px; }
  .bubble.four { bottom: 12px; right: 0; }
  .phone { --phone-w: 218px; }
  .qr-card { width: 150px; }
  .explore-visual { height: 190px; }
  .footer-links { grid-template-columns: 1fr; }
}
