:root {
  --ink: #172347;
  --ink-soft: #5f6680;
  --paper: #fffaf6;
  --cream: #fff1e5;
  --coral: #f05f78;
  --coral-deep: #d94161;
  --peach: #ffb784;
  --gold: #ffc957;
  --mint: #85d9c6;
  --sky: #8ec8f3;
  --violet: #8175e8;
  --line: rgba(23, 35, 71, 0.12);
  --shadow: 0 26px 70px rgba(49, 45, 86, 0.13);
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", "Century Gothic", "Trebuchet MS", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 181, 196, 0.32), transparent 25rem),
    radial-gradient(circle at 92% 3%, rgba(151, 215, 246, 0.28), transparent 26rem),
    var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  padding: 10px 18px;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  width: min(1240px, calc(100% - 36px));
  margin: 14px auto 0;
  padding: 10px 12px 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 22px;
  background: rgba(255, 250, 246, 0.82);
  box-shadow: 0 12px 35px rgba(23,35,71,.08);
  backdrop-filter: blur(20px);
  transition: box-shadow .25s ease, transform .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 16px 46px rgba(23,35,71,.14); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.02em;
  text-decoration: none;
  white-space: nowrap;
}
.brand img { border-radius: 13px; box-shadow: 0 7px 14px rgba(55,48,104,.14); }
.desktop-nav { display: flex; align-items: center; gap: 28px; }
.desktop-nav a, .footer-links a {
  color: var(--ink-soft);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
}
.desktop-nav a:hover, .footer-links a:hover { color: var(--coral-deep); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.language-switcher {
  display: flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.lang-button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  padding: 6px 10px;
  cursor: pointer;
  font-size: .72rem;
  font-weight: 800;
}
.lang-button.is-active { background: var(--ink); color: #fff; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-small { min-height: 38px; padding: 0 17px; background: var(--ink); color: white; font-size: .78rem; }
.button-primary { background: var(--coral); color: white; box-shadow: 0 14px 28px rgba(240,95,120,.28); }
.button-primary:hover { background: var(--coral-deep); box-shadow: 0 17px 34px rgba(217,65,97,.32); }
.button-quiet { border-color: var(--line); background: rgba(255,255,255,.65); color: var(--ink); }

.hero {
  position: relative;
  min-height: 790px;
  max-width: 1320px;
  margin: -76px auto 0;
  padding: 170px 48px 80px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 30px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 18%; right: 4%;
  width: 520px; height: 520px;
  border-radius: 46% 54% 55% 45%;
  background: linear-gradient(145deg, rgba(255,205,181,.62), rgba(255,233,200,.3) 44%, rgba(142,200,243,.28));
  filter: blur(2px);
  animation: breathe 8s ease-in-out infinite;
}
.hero-copy { position: relative; z-index: 2; max-width: 660px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--coral-deep);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.eyebrow-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 7px rgba(240,95,120,.12); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: .98;
}
h1 { margin-bottom: 24px; font-size: clamp(3.6rem, 6vw, 6.4rem); }
.hero-lead { max-width: 620px; margin-bottom: 30px; color: var(--ink-soft); font-size: clamp(1rem, 1.6vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.google-play-badge {
  display: inline-block;
  width: 194px;
  flex: 0 0 auto;
  border-radius: 14px;
  transition: transform .2s ease, filter .2s ease;
}
.google-play-badge:hover { transform: translateY(-2px); filter: drop-shadow(0 10px 16px rgba(23,35,71,.16)); }
.google-play-badge img { width: 100%; height: auto; }
.qr-card {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 75px;
  padding: 7px 13px 7px 7px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255,255,255,.88);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(23,35,71,.09);
  text-align: left;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.qr-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(23,35,71,.14); }
.qr-card img { width: 86px; height: 86px; padding: 2px; border-radius: 8px; background: #fff; }
.qr-card span, .qr-card strong, .qr-card small { display: block; }
.qr-card strong { font-size: .74rem; line-height: 1.2; }
.qr-card small { max-width: 112px; margin-top: 4px; color: var(--ink-soft); font-size: .58rem; line-height: 1.3; }
.trust-row { display: flex; flex-wrap: wrap; gap: 17px; margin-top: 27px; color: var(--ink-soft); font-size: .76rem; font-weight: 700; }
.trust-row > span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: rgba(133,217,198,.27); color: #238474; font-style: normal; }

.hero-visual { position: relative; z-index: 2; height: 620px; }
.phone {
  position: absolute;
  padding: 9px;
  overflow: hidden;
  border: 3px solid #20243b;
  border-radius: 41px;
  background: #20243b;
  box-shadow: 0 32px 70px rgba(23,35,71,.24), inset 0 0 0 1px rgba(255,255,255,.35);
}
.phone img { width: 100%; height: 100%; border-radius: 30px; object-fit: cover; object-position: top; }
.phone-speaker { position: absolute; z-index: 2; top: 15px; left: 50%; width: 62px; height: 14px; transform: translateX(-50%); border-radius: 999px; background: #20243b; }
.phone-main { right: 9%; bottom: -55px; width: 335px; height: 596px; transform: rotate(4deg); }
.phone-side { left: 0; top: 98px; width: 230px; height: 408px; transform: rotate(-9deg); opacity: .88; }
.floating-note {
  position: absolute;
  z-index: 5;
  right: 0; top: 128px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 17px 40px rgba(23,35,71,.13);
  backdrop-filter: blur(12px);
  animation: float 4.2s ease-in-out infinite;
}
.note-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #fff0d0; color: #e88322; font-size: 1.2rem; }
.floating-note strong, .floating-note small { display: block; }
.floating-note strong { font-size: .84rem; }
.floating-note small { color: var(--ink-soft); font-size: .68rem; }
.sun-sticker {
  position: absolute;
  z-index: 4;
  right: 5%; bottom: 17px;
  display: grid;
  place-items: center;
  width: 95px; height: 95px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.1;
  text-align: center;
  transform: rotate(-10deg);
  box-shadow: 0 16px 35px rgba(202,137,29,.23);
}

.proof-strip {
  max-width: 1160px;
  margin: 0 auto 110px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-strip div { display: flex; align-items: center; gap: 18px; padding: 22px 25px; border-right: 1px solid var(--line); }
.proof-strip div:last-child { border-right: 0; }
.proof-strip strong { color: var(--coral); font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.proof-strip span { font-size: .82rem; font-weight: 800; }

.section { max-width: 1180px; margin: 0 auto; padding: 0 24px 120px; }
.section-heading { max-width: 770px; margin: 0 auto 48px; text-align: center; }
h2 { margin-bottom: 20px; font-size: clamp(2.8rem, 5vw, 5rem); }
.section-heading > p:last-child { color: var(--ink-soft); font-size: 1.03rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  position: relative;
  min-height: 660px;
  display: flex;
  flex-direction: column;
  padding: 29px 29px 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 38px;
  box-shadow: 0 22px 55px rgba(55,48,104,.10);
}
.feature-coral { background: linear-gradient(155deg, #fff5ed, #ffe5e9); }
.feature-mint { background: linear-gradient(155deg, #effcf7, #def2ed); }
.feature-blue { background: linear-gradient(155deg, #f1f7ff, #e6ebff); }
.feature-copy { position: relative; z-index: 2; }
.feature-number { float: right; color: rgba(23,35,71,.31); font-family: var(--serif); font-size: 1.25rem; }
.feature-kicker { margin-bottom: 8px; color: var(--coral-deep); font-size: .72rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.feature-card h3 { margin-bottom: 13px; font-family: var(--serif); font-size: 2rem; font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.feature-card p:last-child { color: var(--ink-soft); font-size: .88rem; }
.mini-phone {
  position: relative;
  flex: 0 0 auto;
  width: 80%;
  margin: 28px auto -310px;
  padding: 7px;
  overflow: hidden;
  border: 2px solid #27304f;
  border-radius: 30px;
  background: #27304f;
  box-shadow: 0 20px 40px rgba(23,35,71,.22);
}
.mini-phone img { width: 100%; border-radius: 22px; }

.ai-section {
  position: relative;
  max-width: 1240px;
  min-height: 760px;
  margin: 0 auto 125px;
  padding: 80px 78px;
  display: grid;
  grid-template-columns: 1fr .82fr;
  align-items: center;
  gap: 65px;
  overflow: hidden;
  border-radius: 54px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}
.ai-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(240,95,120,.35), transparent 27%), radial-gradient(circle at 17% 88%, rgba(133,217,198,.18), transparent 32%); }
.ai-copy, .ai-phone-wrap { position: relative; z-index: 2; }
.eyebrow-light { color: #ffb4c2; }
.ai-copy h2 { font-size: clamp(3rem, 5vw, 5.2rem); }
.ai-copy > p:not(.eyebrow, .medical-note) { color: #c8cee1; }
.ai-list { margin: 30px 0 24px; padding: 0; list-style: none; }
.ai-list li { display: flex; align-items: center; gap: 15px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.14); }
.ai-list li > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.09); color: #ffbeca; font-family: var(--serif); }
.ai-list strong, .ai-list small { display: block; }
.ai-list small { color: #aeb7d0; }
.medical-note { max-width: 510px; color: #97a2bd; font-size: .72rem; }
.ai-phone-wrap { height: 610px; }
.phone-ai { left: 50%; bottom: -125px; width: 335px; height: 596px; transform: translateX(-50%) rotate(-2deg); border-color: #f8dce3; background: #f8dce3; }
.ai-spark { position: absolute; z-index: 4; color: var(--gold); font-family: var(--serif); animation: float 4s ease-in-out infinite; }
.spark-one { right: -2%; top: 10%; font-size: 3.5rem; }
.spark-two { left: 0; bottom: 15%; font-size: 1.7rem; animation-delay: -2s; }

.family-section { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 80px; }
.family-photo { position: relative; }
.family-photo::before { content: ""; position: absolute; inset: -20px 30px 25px -20px; z-index: -1; border-radius: 46% 54% 43% 57%; background: #ffe0d0; transform: rotate(-5deg); }
.family-photo img { width: 100%; aspect-ratio: 4/5; border-radius: 48% 48% 35% 35%; object-fit: cover; object-position: 50% 62%; box-shadow: var(--shadow); }
.photo-label { position: absolute; right: -20px; bottom: 55px; padding: 13px 18px; border-radius: 999px; background: var(--gold); font-size: .76rem; font-weight: 900; transform: rotate(-3deg); }
.family-copy > p:not(.eyebrow) { color: var(--ink-soft); }
.family-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px; }
.family-points div { padding: 18px 14px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.65); }
.family-points span { display: block; margin-bottom: 12px; color: var(--coral-deep); font-size: 1.3rem; }
.family-points strong, .family-points small { display: block; }
.family-points strong { margin-bottom: 4px; font-size: .79rem; }
.family-points small { color: var(--ink-soft); font-size: .66rem; line-height: 1.4; }

.privacy-section {
  max-width: 1180px;
  margin: 0 auto 120px;
  padding: 68px 75px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 70px;
  border: 1px solid rgba(44,143,126,.2);
  border-radius: 50px;
  background: linear-gradient(130deg, #effbf6, #edf7f4 58%, #fff4dd);
}
.privacy-copy > p:not(.eyebrow) { color: var(--ink-soft); }
.text-link { display: inline-flex; gap: 10px; color: #187968; font-weight: 900; text-decoration: none; }
.privacy-visual { display: flex; flex-direction: column; align-items: center; }
.privacy-lock { position: relative; display: grid; place-items: end center; width: 210px; height: 230px; }
.privacy-lock::before { content: ""; position: absolute; top: 0; width: 112px; height: 135px; border: 22px solid #4ab7a5; border-bottom: 0; border-radius: 65px 65px 0 0; }
.privacy-lock::after { content: ""; position: absolute; bottom: 0; width: 190px; height: 145px; border-radius: 44px; background: #61cbb7; box-shadow: 0 24px 46px rgba(47,155,136,.22); }
.privacy-lock span { position: relative; z-index: 2; bottom: 49px; width: 24px; height: 39px; border-radius: 999px; background: #fff; }
.privacy-lock span::before { content: ""; position: absolute; top: -9px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.privacy-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 25px; }
.privacy-tags span { padding: 7px 12px; border-radius: 999px; background: #fff; color: #237565; font-size: .68rem; font-weight: 900; }

.gallery-heading { margin-bottom: 35px; }
.screen-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.screen-gallery figure { margin: 0; padding: 9px; overflow: hidden; border-radius: 33px; background: #fff; box-shadow: 0 20px 50px rgba(55,48,104,.12); }
.screen-gallery figure:nth-child(2) { margin-top: 60px; }
.screen-gallery img { border-radius: 25px; }

.final-cta {
  position: relative;
  max-width: 1180px;
  margin: 0 auto 80px;
  padding: 90px 24px;
  overflow: hidden;
  border-radius: 52px;
  background: linear-gradient(135deg, #ffe9e4, #fff3df 48%, #e7f6f5);
  text-align: center;
}
.final-cta::before, .final-cta::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; }
.final-cta::before { left: -100px; bottom: -120px; background: rgba(240,95,120,.17); }
.final-cta::after { right: -80px; top: -100px; background: rgba(142,200,243,.24); }
.final-cta img { position: relative; z-index: 2; margin: 0 auto 18px; border-radius: 24px; box-shadow: 0 14px 30px rgba(55,48,104,.17); }
.final-cta h2 { position: relative; z-index: 2; max-width: 780px; margin-left: auto; margin-right: auto; }
.final-cta p:not(.eyebrow) { position: relative; z-index: 2; max-width: 600px; margin: 0 auto 26px; color: var(--ink-soft); }
.final-download { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 13px; }

.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 24px 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
}
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand img { border-radius: 13px; }
.footer-brand strong, .footer-brand small { display: block; }
.footer-brand small, .site-footer > p { color: var(--ink-soft); font-size: .72rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer > p { grid-column: 1 / -1; margin: 0; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.65,.25,1); }
.reveal-delay { transition-delay: .13s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes float { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes breathe { 0%,100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.04) rotate(3deg); } }

@media (max-width: 1000px) {
  .desktop-nav { display: none; }
  .hero { min-height: auto; padding: 150px 28px 70px; grid-template-columns: 1fr; text-align: center; }
  .hero-copy { margin: auto; }
  .hero-actions, .trust-row { justify-content: center; }
  .hero-visual { width: min(620px, 100%); margin: 0 auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 570px; }
  .mini-phone { width: min(330px, 72%); margin-bottom: -320px; }
  .ai-section { margin-left: 18px; margin-right: 18px; padding: 65px 45px; grid-template-columns: 1fr 1fr; gap: 30px; }
  .family-section { gap: 40px; }
  .privacy-section { margin-left: 24px; margin-right: 24px; padding: 55px 45px; }
}

@media (max-width: 720px) {
  .site-header { width: calc(100% - 20px); margin-top: 8px; border-radius: 18px; gap: 10px; }
  .brand span { display: none; }
  .brand img { width: 40px; height: 40px; }
  .header-actions { margin-left: auto; gap: 7px; }
  .lang-button { padding: 6px 8px; }
  .button-small { min-height: 36px; padding: 0 12px; }
  .hero { margin-top: -66px; padding: 136px 18px 40px; }
  .hero::before { right: -180px; }
  h1 { font-size: clamp(3.25rem, 16vw, 4.7rem); }
  h2 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .hero-lead { font-size: .98rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .google-play-badge { width: 218px; align-self: center; }
  .qr-card { width: min(100%, 315px); align-self: center; justify-content: center; }
  .trust-row { gap: 9px 14px; }
  .hero-visual { height: 510px; }
  .phone-main { right: 50%; bottom: -42px; width: 270px; height: 480px; transform: translateX(50%) rotate(3deg); }
  .phone-side { left: -35px; top: 105px; width: 180px; height: 320px; opacity: .54; }
  .floating-note { right: 0; top: 77px; min-width: 158px; }
  .sun-sticker { right: 0; bottom: 0; width: 76px; height: 76px; }
  .proof-strip { margin: 0 18px 85px; grid-template-columns: 1fr; }
  .proof-strip div { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-strip div:last-child { border-bottom: 0; }
  .section { padding: 0 16px 90px; }
  .section-heading { text-align: left; }
  .feature-card { min-height: 600px; padding: 26px 23px 0; border-radius: 31px; }
  .feature-card h3 { font-size: 2.1rem; }
  .mini-phone { width: 78%; margin-top: 24px; margin-bottom: -330px; }
  .ai-section { min-height: auto; margin: 0 10px 95px; padding: 54px 23px 0; grid-template-columns: 1fr; border-radius: 36px; }
  .ai-copy h2 { font-size: 3.35rem; }
  .ai-phone-wrap { height: 530px; }
  .phone-ai { bottom: -125px; width: 285px; height: 507px; }
  .family-section { grid-template-columns: 1fr; }
  .family-photo { max-width: 420px; margin: auto; }
  .photo-label { right: -5px; }
  .family-points { grid-template-columns: 1fr; }
  .family-points div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; }
  .family-points span { grid-row: 1 / 3; margin: 0; }
  .privacy-section { margin: 0 10px 90px; padding: 48px 23px; grid-template-columns: 1fr; gap: 40px; border-radius: 36px; }
  .screen-gallery { gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 5px 35px; }
  .screen-gallery figure { min-width: 76vw; scroll-snap-align: center; }
  .screen-gallery figure:nth-child(2) { margin-top: 0; }
  .final-cta { margin: 0 10px 60px; padding: 68px 19px; border-radius: 36px; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { gap: 13px 20px; }
}

@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; }
}
