:root {
  --ink: #211942;
  --ink-soft: #625a75;
  --violet: #7256c8;
  --violet-dark: #4f379e;
  --lavender: #e8dcff;
  --lilac: #f5efff;
  --cream: #fffaf0;
  --blush: #ffe7df;
  --coral: #ff806e;
  --yellow: #ffd66b;
  --mint: #d8f2e8;
  --white: #fff;
  --border: rgba(69, 48, 117, .13);
  --shadow: 0 24px 70px rgba(64, 43, 116, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
html[dir="rtl"] body { font-family: "DM Sans", system-ui, sans-serif; }
html[dir="rtl"] .language-menu button { text-align: right; }
html[dir="rtl"] .story-copy, html[dir="rtl"] .family-copy, html[dir="rtl"] .privacy-content { text-align: right; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 18px; background: var(--ink); color: white; border-radius: 99px; }
.skip-link:focus { top: 16px; }

.site-header {
  width: min(1220px, calc(100% - 40px));
  min-height: 88px;
  margin: 20px auto 0;
  padding: 12px 16px 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 28px;
  box-shadow: 0 10px 40px rgba(66, 46, 111, .08);
  position: relative;
  z-index: 20;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.25rem; letter-spacing: -.03em; white-space: nowrap; }
.brand img { width: 54px; height: 54px; object-fit: cover; border-radius: 17px; box-shadow: 0 8px 22px rgba(80, 48, 105, .13); }
.desktop-nav { display: flex; align-items: center; gap: 28px; color: var(--ink-soft); font-size: .93rem; font-weight: 600; }
.desktop-nav a, .back-link { transition: color .2s ease, transform .2s ease; }
.desktop-nav a:hover, .back-link:hover { color: var(--violet); transform: translateY(-1px); }
.header-actions { display: flex; align-items: center; gap: 10px; position: relative; }
.back-link { padding: 11px 14px; color: var(--ink-soft); font-weight: 600; font-size: .9rem; }
.language-button { border: 1px solid var(--border); background: white; border-radius: 16px; padding: 11px 14px; display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--ink); font-weight: 700; }
.language-menu { position: absolute; top: 56px; right: 0; min-width: 210px; max-height: min(70vh, 520px); overflow-y: auto; padding: 8px; border: 1px solid var(--border); background: white; border-radius: 16px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s ease; }
.language-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.language-menu button { width: 100%; border: 0; background: transparent; text-align: left; padding: 10px 12px; border-radius: 10px; color: var(--ink); cursor: pointer; }
.language-menu button:hover, .language-menu button.is-active { background: var(--lilac); color: var(--violet-dark); }

main { display: block; }
.hero {
  width: min(1320px, calc(100% - 40px));
  min-height: 750px;
  margin: 22px auto 0;
  padding: clamp(48px, 7vw, 96px) clamp(28px, 6vw, 78px);
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  gap: clamp(28px, 5vw, 76px);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 3% 8%, rgba(255,214,107,.78) 0 4%, transparent 18%),
    radial-gradient(circle at 45% 110%, rgba(255,161,171,.42) 0 14%, transparent 35%),
    linear-gradient(135deg, #fff9ee 0%, #f3eaff 48%, #e3d6ff 100%);
  border-radius: 56px;
}
.hero::before, .hero::after { content: ""; position: absolute; border: 1px solid rgba(114,86,200,.15); border-radius: 50%; pointer-events: none; }
.hero::before { width: 420px; height: 420px; left: -240px; bottom: -210px; }
.hero::after { width: 620px; height: 620px; right: -330px; top: -300px; }
.hero-copy { position: relative; z-index: 3; }
.eyebrow { margin: 0 0 18px; color: var(--violet); font-size: .78rem; font-weight: 700; letter-spacing: .18em; }
h1, h2 { font-family: "Fraunces", Georgia, serif; letter-spacing: -.045em; line-height: .98; margin: 0; }
h1 { font-size: clamp(3.35rem, 6vw, 6.5rem); max-width: 700px; }
h1 em { color: var(--violet); font-style: normal; }
.hero-intro { margin: 30px 0 0; max-width: 620px; color: var(--ink-soft); font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.65; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.store-button { min-width: 170px; height: 58px; padding: 10px 16px; display: flex; align-items: center; gap: 11px; color: white; background: var(--ink); border-radius: 17px; box-shadow: 0 12px 25px rgba(33,25,66,.14); transition: transform .2s ease, box-shadow .2s ease; }
.store-button:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(33,25,66,.22); }
.store-button svg { width: 27px; height: 27px; fill: currentColor; flex: 0 0 auto; }
.store-button span { display: flex; flex-direction: column; font-weight: 700; line-height: 1.15; }
.store-button small { font-weight: 400; font-size: .68rem; opacity: .82; margin-bottom: 2px; }
.trust-line { margin-top: 27px; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-soft); font-size: .82rem; font-weight: 600; }
.trust-line span { position: relative; padding-left: 16px; }
.trust-line span::before { content: ""; position: absolute; left: 0; top: .48em; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }

.hero-visual { min-height: 580px; position: relative; display: flex; align-items: center; justify-content: center; z-index: 2; }
.hero-family { width: min(100%, 670px); aspect-ratio: 1.65 / 1; object-fit: cover; border-radius: 44% 56% 50% 50% / 44% 44% 56% 56%; box-shadow: 0 35px 80px rgba(76, 44, 135, .28); transform: rotate(2deg); position: relative; z-index: 2; }
.moon { position: absolute; right: 5%; top: 1%; width: 145px; height: 145px; background: var(--yellow); border-radius: 50%; box-shadow: 0 0 60px rgba(255,214,107,.7); }
.moon::after { content: ""; position: absolute; width: 118px; height: 118px; background: #e9dcff; border-radius: 50%; left: -19px; top: -15px; }
.star { position: absolute; color: #fff6ae; text-shadow: 0 0 16px rgba(255,214,107,.8); z-index: 4; }
.star-one { top: 14%; left: 9%; font-size: 34px; }
.star-two { bottom: 16%; right: 7%; font-size: 25px; }
.floating-note { position: absolute; z-index: 5; display: flex; align-items: center; gap: 11px; padding: 13px 16px; background: rgba(255,255,255,.9); border: 1px solid rgba(255,255,255,.9); backdrop-filter: blur(12px); border-radius: 19px; box-shadow: 0 16px 40px rgba(58,37,97,.15); }
.floating-note strong, .floating-note small { display: block; }
.floating-note strong { font-size: .88rem; }
.floating-note small { color: var(--ink-soft); font-size: .7rem; margin-top: 2px; }
.note-icon { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 12px; color: var(--violet); background: var(--lilac); font-size: 1.2rem; }
.note-sleep { left: -3%; bottom: 15%; }
.note-feed { right: -2%; top: 25%; }

.soft-stats { width: min(1140px, calc(100% - 40px)); margin: -38px auto 0; position: relative; z-index: 6; padding: 26px 34px; display: grid; grid-template-columns: repeat(3, 1fr) 1.3fr; align-items: center; gap: 20px; background: white; border: 1px solid var(--border); border-radius: 28px; box-shadow: var(--shadow); }
.soft-stats div { min-height: 60px; padding-right: 20px; border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.soft-stats strong { color: var(--violet); font-family: "Fraunces", Georgia, serif; font-size: 2rem; line-height: 1; }
.soft-stats span { margin-top: 7px; color: var(--ink-soft); font-size: .8rem; font-weight: 600; }
.soft-stats p { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: 1.15rem; line-height: 1.35; }

.day-section, .more-section, .privacy-section { width: min(1180px, calc(100% - 40px)); margin: 140px auto 0; }
.section-heading { max-width: 780px; margin: 0 auto 64px; text-align: center; }
.section-heading h2, .story-copy h2, .family-copy h2, .privacy-intro h2, .custom-app-section h2 { font-size: clamp(2.6rem, 5vw, 5rem); }
.section-heading > p:last-child { max-width: 650px; margin: 22px auto 0; color: var(--ink-soft); font-size: 1.08rem; }
.day-layout { min-height: 700px; display: grid; grid-template-columns: 1fr .85fr; gap: 80px; align-items: center; padding: 50px clamp(24px, 6vw, 75px); background: linear-gradient(145deg, #f3edff, #e7ddff); border-radius: 52px; overflow: hidden; position: relative; }
.day-layout::before { content: ""; position: absolute; width: 470px; height: 470px; right: -140px; top: -180px; border-radius: 50%; background: rgba(255,255,255,.36); }
.timeline { position: relative; z-index: 2; }
.timeline::before { content: ""; position: absolute; top: 32px; bottom: 32px; left: 98px; width: 2px; background: linear-gradient(var(--coral), var(--violet)); opacity: .35; }
.timeline-item { display: grid; grid-template-columns: 70px 56px 1fr; align-items: center; gap: 0 14px; padding: 16px 0; }
.timeline-item time { color: var(--ink-soft); font-size: .82rem; font-weight: 700; text-align: right; }
.timeline-dot { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: white; box-shadow: 0 10px 25px rgba(68,45,120,.12); font-size: 1.15rem; }
.timeline-dot.sun { color: #c58a00; background: #fff1bd; }
.timeline-dot.bottle { color: #e55f7a; background: #ffe2e9; }
.timeline-dot.sleep { color: var(--violet); background: white; }
.timeline-dot.health { color: #248875; background: var(--mint); }
.timeline-item h3 { margin: 0 0 3px; font-size: 1.02rem; }
.timeline-item p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.timeline-item.active > div { padding: 16px 18px; background: rgba(255,255,255,.65); border-radius: 18px; }

.today-phone { width: min(100%, 385px); margin: 0 auto; padding: 16px 17px 20px; position: relative; z-index: 2; background: #f8f9fd; border: 9px solid #211c31; border-radius: 46px; box-shadow: 0 35px 70px rgba(54,36,98,.25); transform: rotate(2deg); }
.phone-top { padding: 2px 10px 15px; display: flex; justify-content: space-between; color: #141020; font-size: .7rem; font-weight: 700; }
.phone-profile { display: flex; align-items: center; gap: 12px; padding: 15px; background: linear-gradient(135deg,#eadfff,#f6efff); border-radius: 23px; }
.phone-profile img { width: 52px; height: 52px; object-fit: cover; border-radius: 16px; }
.phone-profile div { flex: 1; }
.phone-profile small, .phone-profile strong { display: block; }
.phone-profile small { color: var(--ink-soft); font-size: .68rem; }
.phone-profile button { border: 0; width: 39px; height: 39px; color: white; background: var(--violet); border-radius: 50%; cursor: default; }
.today-phone > h3 { margin: 22px 5px 12px; font-size: 1.05rem; }
.phone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.phone-grid > div { min-height: 108px; padding: 13px; display: flex; flex-direction: column; justify-content: space-between; background: white; border: 1px solid #ebe8f3; border-radius: 18px; }
.phone-grid span { color: var(--violet); font-size: 1.1rem; }
.phone-grid strong { font-size: 1rem; }
.phone-grid small { color: var(--ink-soft); font-size: .7rem; }
.phone-next { margin-top: 10px; padding: 14px; display: flex; flex-direction: column; background: #fff2d6; border-radius: 17px; }
.phone-next span { color: #8c6a25; font-size: .67rem; }
.phone-next strong { margin-top: 2px; font-size: .8rem; }
.phone-nav { margin-top: 16px; display: flex; align-items: center; justify-content: space-around; color: #c2becc; }
.phone-nav .plus { width: 43px; height: 43px; display: grid; place-items: center; color: white; background: var(--violet); border-radius: 50%; font-size: 1.3rem; }

.feature-story { width: min(1180px, calc(100% - 40px)); min-height: 720px; margin: 150px auto 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(45px, 8vw, 110px); }
.story-copy > p:not(.eyebrow) { margin: 28px 0 0; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.75; }
.check-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 34px; font-weight: 600; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 22px; height: 22px; display: grid; place-items: center; color: white; background: var(--violet); border-radius: 50%; font-size: .7rem; }
.screenshot-stage { min-height: 680px; display: flex; align-items: flex-end; justify-content: center; position: relative; overflow: hidden; border-radius: 48px; }
.screenshot-stage img { height: 610px; width: auto; position: relative; z-index: 3; filter: drop-shadow(0 28px 35px rgba(40,26,71,.25)); border-radius: 34px 34px 0 0; }
.growth-stage { background: linear-gradient(155deg,#ffe9df,#f3ddff); }
.arch { position: absolute; border-radius: 999px 999px 0 0; bottom: 0; }
.arch-one { width: 78%; height: 74%; background: rgba(255,255,255,.48); }
.arch-two { width: 48%; height: 54%; background: rgba(255,255,255,.55); z-index: 1; }
.calendar-stage { background: linear-gradient(160deg,#ded5ff,#f7efff); align-items: flex-end; }
.orbit-label { position: absolute; z-index: 5; padding: 10px 14px; color: var(--ink); background: white; border-radius: 99px; box-shadow: 0 10px 28px rgba(54,39,100,.13); font-size: .78rem; font-weight: 700; }
.orbit-vaccine { left: 7%; top: 18%; }
.orbit-doctor { right: 6%; top: 32%; }
.orbit-reminder { left: 9%; bottom: 22%; }

.family-section { width: min(1280px, calc(100% - 40px)); min-height: 650px; margin: 160px auto 0; padding: clamp(42px, 7vw, 92px); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; color: white; background: linear-gradient(145deg,#3f2b81,#7657c8 58%,#9f77d6); border-radius: 60px; overflow: hidden; position: relative; }
.family-section::before { content: ""; position: absolute; width: 620px; height: 620px; left: -260px; bottom: -360px; border: 1px solid rgba(255,255,255,.22); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.03), 0 0 0 160px rgba(255,255,255,.03); }
.family-art { height: 410px; position: relative; }
.family-heart { width: 130px; height: 130px; display: grid; place-items: center; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); color: #ff9b9b; background: white; border-radius: 44% 56% 52% 48%; font-size: 3.2rem; box-shadow: 0 25px 55px rgba(31,15,67,.32); z-index: 3; }
.family-bubble { width: 235px; padding: 18px 20px; position: absolute; color: var(--ink); background: white; border-radius: 22px; box-shadow: 0 20px 40px rgba(31,15,67,.22); z-index: 4; }
.family-bubble span, .family-bubble strong { display: block; }
.family-bubble span { color: var(--violet); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.family-bubble strong { margin-top: 4px; }
.bubble-one { left: 0; top: 34px; transform: rotate(-4deg); }
.bubble-two { right: 0; bottom: 42px; transform: rotate(4deg); }
.connection-line { position: absolute; width: 78%; height: 2px; left: 11%; top: 50%; background: repeating-linear-gradient(90deg,rgba(255,255,255,.9) 0 8px,transparent 8px 16px); transform: rotate(16deg); }
.family-copy { position: relative; z-index: 3; }
.family-copy .eyebrow { color: #ffd9ef; }
.family-copy > p:not(.eyebrow) { color: rgba(255,255,255,.8); font-size: 1.08rem; line-height: 1.75; }
.family-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.family-points span { padding: 10px 14px; border: 1px solid rgba(255,255,255,.35); border-radius: 99px; font-size: .8rem; font-weight: 600; }

.section-heading.compact { margin-bottom: 45px; }
.more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.more-card { min-height: 340px; padding: 28px; display: flex; flex-direction: column; border-radius: 30px; transition: transform .25s ease; }
.more-card:hover { transform: translateY(-8px); }
.more-card > span { font-family: "Fraunces", Georgia, serif; font-size: 3rem; opacity: .3; }
.more-card h3 { margin: auto 0 12px; font-family: "Fraunces", Georgia, serif; font-size: 1.55rem; line-height: 1.1; }
.more-card p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.card-journal { background: #ffe8df; }
.card-food { background: #fff0bd; }
.card-development { background: #e8ddff; }
.card-widget { background: #dff3ec; }

.modules-section { width: min(1220px, calc(100% - 40px)); margin: 150px auto 0; }
.modules-heading { max-width: 820px; margin-bottom: 52px; }
.modules-heading h2 { font-size: clamp(2.8rem, 5vw, 5.3rem); }
.modules-heading > p:last-child { max-width: 680px; margin: 24px 0 0; color: var(--ink-soft); font-size: 1.07rem; }
.modules-groups { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; }
.module-group { min-height: 320px; padding: 32px; border-radius: 32px; overflow: hidden; position: relative; }
.module-group::after { content: ""; position: absolute; width: 240px; height: 240px; right: -110px; bottom: -125px; border: 38px solid rgba(255,255,255,.28); border-radius: 50%; }
.module-group-title { display: flex; gap: 18px; align-items: flex-start; position: relative; z-index: 2; }
.module-group-title > span { width: 48px; height: 48px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 16px; background: rgba(255,255,255,.66); font-family: "Fraunces", Georgia, serif; font-size: 1.25rem; }
.module-group-title small { font-size: .66rem; font-weight: 700; letter-spacing: .14em; opacity: .65; }
.module-group-title h3 { margin: 3px 0 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(1.55rem, 2.3vw, 2.25rem); line-height: 1.1; }
.module-group ul { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; position: relative; z-index: 2; }
.module-group li { padding: 9px 13px; border: 1px solid rgba(43,30,77,.12); border-radius: 99px; background: rgba(255,255,255,.58); font-size: .8rem; font-weight: 600; }
.group-before { color: #4a2943; background: linear-gradient(145deg,#ffe7e0,#ffd3db); }
.group-routine { color: #503b08; background: linear-gradient(145deg,#fff1bd,#ffe098); }
.group-health { color: #143f38; background: linear-gradient(145deg,#dff4ec,#bfe9dd); }
.group-memories { color: #34215f; background: linear-gradient(145deg,#ece2ff,#d9c6ff); }
.group-family { color: white; background: linear-gradient(145deg,#533ca3,#8264d1); grid-column: 1 / -1; min-height: 270px; }
.group-family .module-group-title > span, .group-family li { color: #34215f; }
.group-family .module-group-title small { color: white; }
.health-directory { min-height: 390px; margin-top: 18px; padding: 36px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; color: #123d36; background: linear-gradient(145deg,#e9f8f2,#c9efe3); border-radius: 34px; overflow: hidden; }
.directory-map { min-height: 300px; position: relative; border-radius: 26px; background: #f8fffc; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(26,112,92,.08); }
.map-road { position: absolute; display: block; background: #d8e9e3; border-radius: 99px; }
.road-one { width: 130%; height: 28px; left: -18%; top: 32%; transform: rotate(22deg); }
.road-two { width: 110%; height: 22px; left: -4%; top: 61%; transform: rotate(-17deg); }
.road-three { width: 26px; height: 120%; left: 56%; top: -10%; transform: rotate(10deg); }
.map-pin { position: absolute; display: grid; place-items: center; border-radius: 50% 50% 50% 8px; transform: rotate(-45deg); color: white; background: var(--coral); box-shadow: 0 12px 26px rgba(56,82,74,.2); }
.map-pin::first-letter { transform: rotate(45deg); }
.pin-main { width: 76px; height: 76px; left: 42%; top: 34%; font-size: 2rem; }
.pin-small { width: 36px; height: 36px; color: white; background: var(--violet); font-size: .7rem; }
.pin-two { left: 18%; top: 23%; }
.pin-three { right: 16%; bottom: 18%; }
.directory-copy h3 { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(2.1rem, 4vw, 4rem); line-height: 1.05; letter-spacing: -.04em; }
.directory-copy > p:not(.eyebrow) { color: #456b63; line-height: 1.75; }
.directory-types { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.directory-types span { padding: 9px 13px; border: 1px solid rgba(18,61,54,.14); border-radius: 99px; background: rgba(255,255,255,.62); font-size: .78rem; font-weight: 700; }

.download-section { width: min(1220px, calc(100% - 40px)); margin: 150px auto 0; padding: 50px; display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; background: linear-gradient(130deg,#f1e8ff,#ffe7e9); border-radius: 40px; }
.download-section > img { width: 110px; height: 110px; border-radius: 30px; object-fit: cover; box-shadow: 0 15px 35px rgba(68,43,109,.16); }
.download-section h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.download-section p:not(.eyebrow) { margin: 8px 0 0; color: var(--ink-soft); }
.compact-store { margin: 0; flex-direction: column; }
.compact-store .store-button { height: 50px; min-width: 155px; justify-content: center; }

.support-section { width: min(1080px, calc(100% - 40px)); margin: 130px auto 0; padding: 48px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 55px; align-items: center; background: white; border: 1px solid var(--border); border-radius: 36px; box-shadow: 0 20px 60px rgba(49,34,88,.08); }
.support-section h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.support-section p:not(.eyebrow) { color: var(--ink-soft); }
.email-button { padding: 20px 22px; display: flex; flex-direction: column; border-radius: 20px; background: var(--violet); color: white; transition: transform .2s ease; }
.email-button:hover { transform: translateY(-3px); }
.email-button span { font-size: .75rem; opacity: .78; }
.email-button strong { margin-top: 4px; font-size: .93rem; word-break: break-word; }

.privacy-section { padding: clamp(34px, 6vw, 70px); display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; background: #241b43; color: white; border-radius: 52px; }
.privacy-intro { position: sticky; top: 30px; align-self: start; }
.privacy-intro .eyebrow { color: #d7c5ff; }
.privacy-intro > p:last-child { color: rgba(255,255,255,.62); }
.privacy-content details { border-bottom: 1px solid rgba(255,255,255,.16); }
.privacy-content summary { padding: 21px 34px 21px 0; position: relative; cursor: pointer; list-style: none; font-weight: 700; }
.privacy-content summary::-webkit-details-marker { display: none; }
.privacy-content summary::after { content: "+"; position: absolute; right: 4px; top: 18px; width: 28px; height: 28px; display: grid; place-items: center; color: var(--ink); background: #d9c8ff; border-radius: 50%; }
.privacy-content details[open] summary::after { content: "−"; }
.privacy-content details p { margin: -4px 0 24px; color: rgba(255,255,255,.68); font-size: .92rem; line-height: 1.72; }
.privacy-content a { color: #f2c7ff; text-decoration: underline; }

.custom-app-section { width: min(1180px, calc(100% - 40px)); margin: 100px auto 0; padding: 42px 48px; display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; border: 1px solid var(--border); border-radius: 35px; background: #fffefb; }
.custom-symbol { width: 78px; height: 78px; display: grid; place-items: center; color: var(--violet); background: var(--lilac); border-radius: 24px; font-size: 2rem; }
.custom-app-section h2 { font-size: clamp(1.9rem, 3.3vw, 3.3rem); }
.custom-app-section p:not(.eyebrow) { color: var(--ink-soft); }
.custom-app-section > a { padding: 14px 20px; color: white; background: var(--violet); border-radius: 99px; font-weight: 700; white-space: nowrap; }

footer { width: min(1180px, calc(100% - 40px)); margin: 70px auto 30px; padding: 28px 0; display: grid; grid-template-columns: auto 1fr auto auto; gap: 30px; align-items: center; border-top: 1px solid var(--border); color: var(--ink-soft); }
.footer-brand { color: var(--ink); }
.footer-brand img { width: 44px; height: 44px; border-radius: 14px; }
footer p { margin: 0; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; font-size: .85rem; font-weight: 600; }
footer small { white-space: nowrap; }

@media (max-width: 1040px) {
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-copy { text-align: center; }
  .hero-intro { margin-left: auto; margin-right: auto; }
  .store-row, .trust-line { justify-content: center; }
  .hero-visual { min-height: 500px; }
  .soft-stats { grid-template-columns: repeat(3,1fr); }
  .soft-stats p { grid-column: 1 / -1; text-align: center; }
  .soft-stats div:nth-child(3) { border-right: 0; }
  .day-layout { grid-template-columns: 1fr 1fr; gap: 30px; padding-left: 25px; padding-right: 25px; }
  .feature-story { gap: 40px; }
  .family-section { gap: 35px; }
  .more-grid { grid-template-columns: repeat(2,1fr); }
  .modules-groups { grid-template-columns: 1fr 1fr; }
  .download-section { grid-template-columns: auto 1fr; }
  .download-section .compact-store { grid-column: 1 / -1; flex-direction: row; justify-content: center; }
  .privacy-section { grid-template-columns: 1fr; }
  .privacy-intro { position: static; }
  footer { grid-template-columns: auto 1fr; }
  footer nav, footer small { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .site-header { width: calc(100% - 24px); margin-top: 10px; min-height: 72px; border-radius: 22px; }
  .brand img { width: 46px; height: 46px; border-radius: 14px; }
  .back-link { display: none; }
  .hero { width: calc(100% - 24px); min-height: auto; margin-top: 12px; padding: 55px 20px 35px; border-radius: 34px; }
  h1 { font-size: clamp(3rem, 15vw, 4.7rem); }
  .hero-intro { font-size: 1rem; }
  .store-row { flex-direction: column; }
  .store-button { width: 100%; justify-content: center; }
  .trust-line { display: grid; justify-items: start; width: max-content; max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-visual { min-height: 390px; }
  .hero-family { border-radius: 34% 66% 48% 52% / 44% 43% 57% 56%; }
  .moon { width: 95px; height: 95px; }
  .moon::after { width: 78px; height: 78px; }
  .floating-note { padding: 10px 12px; }
  .note-sleep { left: -4%; bottom: 7%; }
  .note-feed { right: -5%; top: 18%; }
  .soft-stats { width: calc(100% - 40px); margin-top: -18px; grid-template-columns: 1fr 1fr; padding: 22px; }
  .soft-stats div { border: 0; }
  .soft-stats div:nth-child(3) { grid-column: 1 / -1; align-items: center; }
  .day-section, .more-section, .privacy-section { width: calc(100% - 24px); margin-top: 95px; }
  .section-heading { margin-bottom: 40px; }
  .section-heading h2, .story-copy h2, .family-copy h2, .privacy-intro h2 { font-size: clamp(2.45rem, 12vw, 3.7rem); }
  .day-layout { min-height: auto; grid-template-columns: 1fr; padding: 34px 15px 0; border-radius: 34px; }
  .timeline { padding: 0 5px; }
  .timeline::before { left: 79px; }
  .timeline-item { grid-template-columns: 53px 45px 1fr; gap: 0 10px; }
  .timeline-dot { width: 42px; height: 42px; }
  .timeline-item p { font-size: .8rem; }
  .today-phone { margin-top: 20px; transform: none; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  .feature-story { width: calc(100% - 24px); min-height: auto; margin-top: 105px; grid-template-columns: 1fr; gap: 40px; }
  .growth-story .screenshot-stage { order: -1; }
  .screenshot-stage { min-height: 560px; border-radius: 34px; }
  .screenshot-stage img { height: 515px; }
  .family-section { width: calc(100% - 24px); margin-top: 105px; padding: 45px 22px; grid-template-columns: 1fr; gap: 45px; border-radius: 38px; }
  .family-art { height: 340px; }
  .family-bubble { width: 190px; padding: 14px; }
  .family-heart { width: 105px; height: 105px; }
  .more-grid { grid-template-columns: 1fr; }
  .more-card { min-height: 265px; }
  .modules-section { width: calc(100% - 24px); margin-top: 95px; }
  .modules-groups { grid-template-columns: 1fr; }
  .module-group, .group-family { grid-column: auto; min-height: auto; padding: 26px 22px; }
  .health-directory { padding: 22px; grid-template-columns: 1fr; gap: 30px; border-radius: 28px; }
  .directory-map { min-height: 250px; }
  .download-section { width: calc(100% - 24px); margin-top: 95px; padding: 35px 22px; grid-template-columns: 1fr; text-align: center; border-radius: 32px; }
  .download-section > img { margin: 0 auto; }
  .download-section .compact-store { grid-column: auto; flex-direction: column; }
  .support-section { width: calc(100% - 24px); margin-top: 95px; padding: 32px 23px; grid-template-columns: 1fr; gap: 25px; border-radius: 30px; }
  .privacy-section { padding: 38px 24px; gap: 30px; border-radius: 34px; }
  .custom-app-section { width: calc(100% - 24px); margin-top: 70px; padding: 34px 24px; grid-template-columns: 1fr; text-align: center; }
  .custom-symbol { margin: 0 auto; }
  .custom-app-section > a { white-space: normal; }
  footer { width: calc(100% - 24px); grid-template-columns: 1fr; text-align: center; justify-items: center; }
  footer nav { justify-content: center; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-family { animation: breathe 7s ease-in-out infinite; }
  .floating-note { animation: float 5s ease-in-out infinite; }
  .note-feed { animation-delay: -2.2s; }
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
  .reveal.visible { opacity: 1; transform: none; }
  @keyframes breathe { 0%,100% { transform: rotate(2deg) translateY(0); } 50% { transform: rotate(1deg) translateY(-8px); } }
  @keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
}

@media print {
  .site-header, .store-row, .custom-app-section { display: none !important; }
  body { background: white; color: black; }
  .privacy-section { color: black; background: white; }
  .privacy-content details { display: block; }
  .privacy-content details p { color: black; }
}
