/* SmartHarmony AI — marketing styles (self-contained, no external requests).
   Warm, calm, original identity for LittleRhythm. Legal pages (privacy/support)
   keep their own minimal inline styles so they stay standalone/pasteable. */
:root {
  --bg: #fbf7f2;
  --bg-2: #f4ece2;
  --fg: #2a2733;
  --muted: #857e8f;
  --card: #ffffff;
  --border: #ece3d8;
  --primary: #6c63e0;
  --primary-ink: #4c43c4;
  --primary-soft: #ece9fb;
  --accent: #ff9e7d;
  --accent-soft: #ffe9df;
  --mint: #4fae8b;
  --mint-soft: #e4f3ec;
  --radius: 20px;
  --radius-sm: 14px;
  --maxw: 70rem;
  --shadow: 0 18px 40px -18px rgba(60,45,90,.28);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14131a; --bg-2: #1b1922; --fg: #efeaf5; --muted: #a49db0; --card: #211f2a;
    --border: #2e2b38; --primary: #9a92f5; --primary-ink: #b7b0ff; --primary-soft: #262238;
    --accent: #ffb89c; --accent-soft: #33261f; --mint: #8fd0b6; --mint-soft: #1c2a24;
    --shadow: 0 18px 44px -18px rgba(0,0,0,.6);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0; color: var(--fg); background: var(--bg);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;            /* decorative aurora/blobs never trigger sideways scroll */
  overflow-wrap: break-word;      /* long words wrap instead of spilling out of cards */
}
h1, h2, h3, p, li, a, .brand { overflow-wrap: break-word; }
img, svg { max-width: 100%; }
/* Height MUST accompany max-width. Without it, an <img> carrying width/height
   attributes renders at its attribute height inside a narrower column — which
   is exactly how the store screenshots ended up stretched. More specific rules
   (.photo-frame img) still override this. */
img { height: auto; }
h1, h2, h3, .brand { font-family: ui-rounded, "SF Pro Rounded", -apple-system, "Segoe UI", Roboto, sans-serif; letter-spacing: -.015em; }
a { color: var(--primary-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }
.center { text-align: center; }

/* top nav */
.top { position: sticky; top: 0; z-index: 20; backdrop-filter: saturate(160%) blur(12px);
  background: color-mix(in srgb, var(--bg) 80%, transparent); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 1rem; height: 60px; }
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--fg); font-size: 1.05rem; }
.brand .ico { width: 28px; height: 28px; border-radius: 8px; }
.top nav { margin-left: auto; display: flex; gap: 1.4rem; font-size: .95rem; align-items: center; }
.top nav a { color: var(--muted); font-weight: 500; }
.top nav a:hover { color: var(--fg); text-decoration: none; }
.top nav a.navcta { color: #fff; background: var(--primary); padding: .5rem .95rem; border-radius: 999px; }
.top nav a.navcta:hover { color: #fff; filter: brightness(1.06); }

/* organic background blobs */
.blobs { position: absolute; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.blob { position: absolute; filter: blur(8px); opacity: .55; }
@media (prefers-color-scheme: dark) { .blob { opacity: .28; } }

/* hero */
.hero { position: relative; padding: 4rem 0 2.5rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .82rem; font-weight: 700;
  color: var(--primary-ink); background: var(--primary-soft); padding: .35rem .8rem; border-radius: 999px; }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 3.4rem); line-height: 1.06; margin: .7rem 0 .7rem; }
.hero .lede { font-size: 1.18rem; color: var(--muted); margin: 0 0 1.5rem; max-width: 33rem; }
.hero .art { display: grid; place-items: center; }
.hero .device { width: 260px; transform: rotate(-3deg); }
.app-icon-lg { width: 92px; height: 92px; border-radius: 22px; box-shadow: var(--shadow); }

/* buttons / badges */
.cta { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: .5rem; font-weight: 650; padding: .8rem 1.3rem;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer; font-size: 1rem; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 22px -10px var(--primary); }
.btn-primary:hover { text-decoration: none; filter: brightness(1.06); }
.btn-ghost { border-color: var(--border); color: var(--fg); background: var(--card); }
.btn-ghost:hover { text-decoration: none; border-color: var(--muted); }
.store-badges { display: flex; gap: .6rem; flex-wrap: wrap; }
.store-badge { display: inline-flex; align-items: center; gap: .55rem; padding: .6rem 1rem; border-radius: 14px;
  border: 1px solid var(--border); background: var(--card); color: var(--fg); }
.store-badge small { display: block; color: var(--muted); font-size: .72rem; line-height: 1; }
.store-badge b { font-size: 1rem; line-height: 1.2; }
.store-badge.soon { opacity: .8; }
.pill { font-size: .82rem; color: var(--muted); }

/* Launch waitlist */
.waitlist { margin: 1.1rem 0 .4rem; max-width: 30rem; }
.waitlist-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.waitlist-email { flex: 1 1 14rem; min-width: 0; font: inherit; color: var(--fg);
  background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: .8rem 1rem; }
.waitlist-email:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 22%, transparent); }
.waitlist .btn { white-space: nowrap; }
.waitlist-msg { margin: .55rem 0 0; font-size: .9rem; min-height: 1.1em; color: var(--muted); }
.waitlist-msg.is-ok { color: #2e9e6b; font-weight: 600; }
.waitlist-msg.is-err { color: #c85a34; }
.waitlist-note { font-size: .8rem; color: var(--muted); margin: .2rem 0 0; }
/* Honeypot — visually hidden, off-screen, not display:none (bots skip those) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* On the coloured CTA band, invert text/inputs for contrast */
.cta-band .waitlist { margin-left: auto; margin-right: auto; }
.cta-band .waitlist-email { background: rgba(255,255,255,.95); border-color: transparent; color: #2a2733; }
.cta-band .waitlist .btn { background: #fff; color: var(--primary); border-color: #fff; }
.cta-band .waitlist .btn:hover { filter: brightness(.97); text-decoration: none; }
.cta-band .waitlist-msg { color: rgba(255,255,255,.92); }
.cta-band .waitlist-msg.is-ok { color: #fff; }
.cta-band .waitlist-msg.is-err { color: #ffe1d3; }

/* Differentiators + comparison table */
.diffs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2.2rem; }
.diff { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 1.2rem; }
.diff .dico { font-size: 1.6rem; line-height: 1; }
.diff h3 { margin: .6rem 0 .35rem; font-size: 1.02rem; }
.diff p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--card);
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.compare.compare-wide { min-width: 720px; }
.compare-wide td, .compare-wide th { text-align: center; }
.compare-wide tbody th[scope="row"] { text-align: left; }
.compare caption { text-align: left; font-weight: 700; color: var(--fg); font-size: 1.05rem; margin-bottom: .8rem; }
.compare th, .compare td { padding: .82rem 1rem; text-align: left; border-bottom: 1px solid var(--border);
  font-size: .94rem; vertical-align: top; line-height: 1.45; }
.compare thead th { font-size: .88rem; color: var(--muted); font-weight: 600; }
.compare tbody th[scope="row"] { font-weight: 600; color: var(--fg); white-space: nowrap; }
.compare td { color: var(--muted); }
.compare .us { background: color-mix(in srgb, var(--primary) 9%, transparent); }
.compare thead th.us { color: var(--primary); font-weight: 800; font-size: 1rem; }
.compare tbody td.us { color: var(--fg); font-weight: 600; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: none; }
.compare-note { font-size: .77rem; color: var(--muted); margin: .9rem 0 0; line-height: 1.5; }
@media (max-width: 760px) { .diffs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .diffs { grid-template-columns: 1fr; } }

/* trust strip */
.trust { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: center; padding: 1.2rem 0 0; }
.trust span { display: inline-flex; align-items: center; gap: .45rem; color: var(--muted); font-size: .92rem; font-weight: 500; }
.trust .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }

/* sections */
section { padding: 3rem 0; position: relative; }
.band { background: var(--bg-2); }
.section-head { max-width: 42rem; margin: 0 auto 1.8rem; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 0 0 .5rem; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.05rem; }

/* screenshot gallery */
.gallery { display: flex; gap: 1.1rem; overflow-x: auto; padding: .5rem .25rem 1.5rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.gallery::-webkit-scrollbar { height: 8px; }
.gallery::-webkit-scrollbar-thumb { background: var(--border); border-radius: 8px; }

/* Gallery arrows. Injected by assets/carousel.js — without JS the gallery is still
   a plain scrollable row, which is why these styles only ever apply to generated
   markup. Buttons sit over the gutter either side of the cards. */
.gallery-wrap { position: relative; }
.gallery-wrap.no-scroll .gal-btn { display: none; }
.gal-btn { position: absolute; top: calc(50% - 1.6rem); z-index: 3;
  width: 2.9rem; height: 2.9rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--card); color: var(--primary-ink);
  border: 1px solid var(--border); box-shadow: 0 10px 26px -10px rgba(60,45,90,.45);
  cursor: pointer; transition: opacity .18s ease, transform .18s ease, background .18s ease; }
.gal-btn svg { width: 1.15rem; height: 1.15rem; }
.gal-prev { left: -.6rem; }
.gal-next { right: -.6rem; }
.gal-btn:hover:not(:disabled) { transform: scale(1.07); background: var(--primary-soft); }
.gal-btn:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.gal-btn:disabled { opacity: 0; pointer-events: none; }
.gallery:focus-visible { outline: 3px solid var(--primary); outline-offset: 4px; border-radius: 18px; }
@media (max-width: 820px) { .gal-prev { left: .15rem; } .gal-next { right: .15rem; } }
@media (prefers-reduced-motion: reduce) { .gal-btn { transition: none; } .gal-btn:hover { transform: none; } }
.shot { scroll-snap-align: center; flex: 0 0 auto; width: 236px; }
/* Realistic phone frame: thin graphite bezel + polished inner edge. A punch-hole
   camera dot is injected into each screen SVG (top-centre). Uniform across all mockups. */
.shot svg, .shot img, .row-media svg, .row-media img, .hero svg.device, .hero img.device { display: block; background: #14151c;
  border: 8px solid #14151c; border-radius: 42px;
  box-shadow: 0 22px 48px -16px rgba(24,18,48,.55), inset 0 0 0 1.5px rgba(255,255,255,.1); }
.shot svg { width: 100%; height: auto; }
.shot .cap { margin: .8rem .2rem 0; font-size: .9rem; color: var(--muted); text-align: center; }

/* Real store screenshots (littlerhythm/img/shots/*.jpg). These already contain
   their own device card and brand background, so they deliberately do NOT get the
   .shot svg phone bezel above — that would draw a second phone around a picture of
   a phone. Plain rounded crop instead. */
.shot img { width: 100%; height: auto; }
.row-media img { width: 236px; height: auto; }
.hero img.device { width: 260px; height: auto; }
.appcard .mini img { width: 64px; height: auto; border-radius: 11px;
  box-shadow: var(--shadow); border: 1px solid var(--border); }
.shot:hover img, .row-media:hover img { transform: translateY(-6px) scale(1.01); }

/* alternating showcase rows */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; padding: 2rem 0; }
.row.reverse .row-media { order: 2; }
.row-media { display: grid; place-items: center; }
.row-media svg { width: 236px; height: auto; }
.row-copy h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: .2rem 0 .6rem; }
.row-copy p { color: var(--muted); font-size: 1.05rem; margin: 0 0 .8rem; }
.row-copy .chip { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--accent); background: var(--accent-soft); padding: .3rem .7rem; border-radius: 999px; }
.ticks { list-style: none; padding: 0; margin: .6rem 0 0; }
.ticks li { padding-left: 1.7rem; position: relative; margin: .4rem 0; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--mint); font-weight: 800; }

/* feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.4rem; }
.feature .fico { width: 46px; height: 46px; border-radius: 13px; background: var(--primary-soft); display: grid; place-items: center; margin-bottom: .8rem; font-size: 1.3rem; }
.feature h3 { font-size: 1.1rem; margin: 0 0 .35rem; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }

/* stage band — grows with your child */
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stage { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.stage .stage-photo { display: block; width: 96px; height: 96px; border-radius: 50%; object-fit: cover;
  object-position: center 22%; margin: 0 auto .9rem; border: 4px solid var(--ring, var(--primary));
  box-shadow: 0 8px 18px -8px rgba(40, 30, 70, .35); }
.stage .body { text-align: center; }
.stage .body ul { text-align: left; }
.stage .cap-bar { height: 8px; }
.stage .body { padding: 1.3rem; }
.stage h3 { margin: .2rem 0 .1rem; font-size: 1.15rem; }
.stage .age { color: var(--muted); font-size: .85rem; margin-bottom: .6rem; }
.stage ul { margin: 0; padding-left: 1.1rem; color: var(--fg); }
.stage li { margin: .3rem 0; font-size: .95rem; }

/* how it works */
.howto { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.step { text-align: center; }
.step .num { width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; display: grid; place-items: center; margin: 0 auto .7rem; font-size: 1.2rem; }
.step h3 { margin: 0 0 .3rem; font-size: 1.1rem; }
.step p { color: var(--muted); margin: 0; }

/* pricing */
/* Single "LittleRhythm Pro" plan — two billing options, one shared feature list */
.pro-plan { max-width: 40rem; margin: 0 auto; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2.2rem 2rem 1.8rem; text-align: center; }
.pro-plan h3 { font-size: 1.7rem; margin: 0 0 .35rem; }
.pro-sub { color: var(--muted); margin: 0 auto 1.6rem; max-width: 32rem; }
.bill-options { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.bill { border: 1.5px solid var(--border); border-radius: 14px; padding: 1.3rem 1rem; position: relative; }
.bill.featured { border-color: var(--primary); border-width: 2px; box-shadow: 0 0 0 3px var(--primary-soft); }
.bill .bill-name { font-weight: 700; color: var(--fg); }
.bill .price { font-size: 2rem; font-weight: 800; margin: .15rem 0 .25rem; }
.bill .price small { font-size: .95rem; font-weight: 500; color: var(--muted); }
.bill .bill-note { color: var(--muted); font-size: .82rem; line-height: 1.45; }
.bill-tag { position: absolute; top: -.72rem; left: 50%; transform: translateX(-50%); white-space: nowrap;
  background: #ff9e7d; color: #fff; font-size: .68rem; font-weight: 800; padding: .24rem .6rem; border-radius: 999px; }
.pro-included { margin: 1.7rem 0 .9rem; font-weight: 600; }
.pro-features { list-style: none; padding: 0; margin: 0 auto; max-width: 30rem; text-align: left; display: grid; gap: .55rem; }
.pro-features li { padding-left: 1.6rem; position: relative; color: var(--fg); }
.pro-features li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }
.pro-cancel { color: var(--muted); font-size: .9rem; margin: 1.5rem 0 0; }
.pricing { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; max-width: 62rem; margin: 0 auto; }
.plan { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; background: var(--card); }
.plan.featured { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.plan h3 { margin: 0 0 .2rem; font-size: 1.25rem; }
.plan .price { font-size: 2rem; font-weight: 800; }
.plan .price small { font-size: .95rem; font-weight: 500; color: var(--muted); }
.plan .sub { color: var(--muted); font-size: .9rem; margin: .1rem 0 1rem; }
.plan ul { margin: 0; padding-left: 1.1rem; }
.plan li { margin: .35rem 0; }
.tag { display: inline-block; font-size: .72rem; font-weight: 800; color: #fff; background: var(--accent); padding: .22rem .6rem; border-radius: 999px; margin-left: .5rem; vertical-align: middle; }

/* FAQ */
.faq { max-width: 46rem; margin: 0 auto; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--card); margin: .6rem 0; padding: 0 1.2rem; }
.faq summary { cursor: pointer; font-weight: 650; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 1rem; color: var(--muted); }

/* privacy strip */
.strip { background: var(--primary-soft); border-radius: var(--radius); padding: 1.8rem; display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: center; }
.strip h2 { margin: 0 0 .3rem; font-size: 1.4rem; }
.strip p { margin: 0; color: var(--muted); }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--primary); border-radius: calc(var(--radius) + 6px); padding: 3rem 2rem; text-align: center; color: #fff; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.4rem); margin: 0 0 .5rem; }
.cta-band p { color: #eef; margin: 0 0 1.4rem; opacity: .95; }
.cta-band .store-badge { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); color: #fff; }
.cta-band .store-badge small { color: #dde; }

/* app directory (company page) */
.apps-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.appcard { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; background: var(--card); }
.appcard .ic { width: 68px; height: 68px; border-radius: 16px; }
.appcard h3 { margin: 0 0 .25rem; font-size: 1.3rem; }
.appcard p { margin: 0 0 .6rem; color: var(--muted); }
.appcard .mini { display: flex; gap: .5rem; margin: .7rem 0; }
.appcard .mini svg { width: 64px; height: auto; border-radius: 11px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.appcard .links a { margin-right: 1rem; font-size: .95rem; font-weight: 600; }

/* footer */
footer { border-top: 1px solid var(--border); margin-top: 2rem; padding: 2.4rem 0 3rem; color: var(--muted); font-size: .92rem; background: var(--bg-2); }
footer .cols { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: space-between; }
footer a { color: var(--muted); }
footer a:hover { color: var(--fg); }
footer .legal { margin-top: 1.4rem; font-size: .82rem; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero .art { order: -1; }
  .row { grid-template-columns: 1fr; gap: 1.2rem; }
  .row.reverse .row-media { order: 0; }
  .features, .stages, .howto { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .bill-options { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr; }
  .top nav a:not(.navcta) { display: none; }
}

/* ─────────────────────────── Motion & richness ─────────────────────────────
   Progressive enhancement: the reveal class is added by a tiny inline script ONLY
   when JS runs AND motion is allowed, so no-JS / reduced-motion users always see
   everything. Ambient animations are all disabled under prefers-reduced-motion. */
.reveal { opacity: 0; transform: translateY(24px); will-change: opacity, transform;
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
/* stagger children of a revealed grid */
.features.in .feature, .stages.in .stage, .howto.in .step { animation: rise .6s both; }
.features.in .feature:nth-child(2), .stages.in .stage:nth-child(2), .howto.in .step:nth-child(2) { animation-delay: .08s; }
.features.in .feature:nth-child(3), .stages.in .stage:nth-child(3), .howto.in .step:nth-child(3) { animation-delay: .16s; }
.features.in .feature:nth-child(n+4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* hover lift on cards & shots */
.feature, .stage, .plan, .appcard, .shot svg, .shot img, .row-media svg, .row-media img, .store-badge, .btn {
  transition: transform .25s ease, box-shadow .25s ease, filter .2s ease; }
.feature:hover, .stage:hover, .plan:hover, .appcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.shot:hover svg, .row-media:hover svg { transform: translateY(-6px) scale(1.01); }
.store-badge:hover { transform: translateY(-2px); }
.btn-primary:hover { transform: translateY(-2px); }

/* ambient float on the hero device + drifting blobs */
.hero .device { animation: floaty 6.5s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-12px); } }
.blob { animation: drift 18s ease-in-out infinite; }
.blobs .blob:nth-child(2) { animation-duration: 24s; animation-direction: reverse; }
@keyframes drift { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-26px) scale(1.05); } }

/* pulsing eyebrow dot */
.eyebrow { position: relative; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }

/* animated gradient on the CTA band */
.cta-band { background: linear-gradient(120deg, var(--primary), #8a82f0, var(--primary-ink), var(--primary));
  background-size: 300% 300%; animation: grad 14s ease infinite; }
@keyframes grad { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* ── Rich icon chips (gradient tiles, white stroke icons) ──────────────────
   NOTE: icons also carry fill="none" stroke="currentColor" attributes inline so
   they can never render as black blobs even if this stylesheet is cached/stale. */
.fico { width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center;
  color: #fff; position: relative; box-shadow: 0 10px 22px -8px rgba(76,67,196,.5);
  background: linear-gradient(135deg, #7b74ea, #4b43c4); }
.fico svg { width: 27px; height: 27px; }
.fico::after { content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(160deg, rgba(255,255,255,.35), transparent 45%); pointer-events: none; }
.fico.g1 { background: linear-gradient(135deg, #7b74ea, #4b43c4); box-shadow: 0 10px 22px -8px rgba(76,67,196,.55); }
.fico.g2 { background: linear-gradient(135deg, #ffb08a, #f0764a); box-shadow: 0 10px 22px -8px rgba(240,118,74,.5); }
.fico.g3 { background: linear-gradient(135deg, #6fd0a8, #2e8f6a); box-shadow: 0 10px 22px -8px rgba(46,143,106,.5); }
.fico.g4 { background: linear-gradient(135deg, #7fc0f2, #3178c6); box-shadow: 0 10px 22px -8px rgba(49,120,198,.5); }
.fico.g5 { background: linear-gradient(135deg, #ef9ab8, #c9527e); box-shadow: 0 10px 22px -8px rgba(201,82,126,.5); }
.fico.g6 { background: linear-gradient(135deg, #9d90ee, #5f4bd8); box-shadow: 0 10px 22px -8px rgba(95,75,216,.55); }
.feature { position: relative; overflow: hidden; }
.feature::before { content: ""; position: absolute; top: -60px; right: -60px; width: 140px; height: 140px;
  border-radius: 50%; background: var(--primary-soft); opacity: .55; transition: transform .35s ease; }
.feature > * { position: relative; }
.feature:hover::before { transform: scale(1.5); }
.feature:hover .fico { transform: scale(1.07) rotate(-3deg); transition: transform .25s ease; }
.feature h3 { margin-top: .9rem; }

/* ── Emotional showcase band ("How our apps help") ─────────────────────────── */
.helpband { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 10px);
  background: linear-gradient(135deg, #241f52, #3a32a0 55%, #4b43c4); color: #fff; padding: 3.2rem 2.2rem; }
.helpband .hb-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 2.4rem; align-items: center; }
.helpband h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 1.4rem; line-height: 1.1; }
.hb-item { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1rem 0; align-items: start;
  border-top: 1px solid rgba(255,255,255,.14); }
.hb-item:first-of-type { border-top: 0; }
.hb-num { font-size: .85rem; font-weight: 800; color: #b9b1ff; letter-spacing: .06em; padding-top: .25rem; }
.hb-item h3 { margin: 0 0 .25rem; font-size: 1.15rem; color: #fff; }
.hb-item p { margin: 0; color: #cfc9f5; font-size: .98rem; }
.hb-scene { display: grid; place-items: center; }
.hb-scene svg { width: min(420px, 100%); height: auto; filter: drop-shadow(0 26px 48px rgba(0,0,0,.35)); }
.hb-scene .notif { animation: notif-in 1.1s cubic-bezier(.2,.9,.25,1.2) .4s both; }
@keyframes notif-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
.hb-scene .zz { animation: zz 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes zz { 0%,100% { opacity: .35; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-5px); } }

/* Phone-as-hero: the realism lives on the lock-screen WALLPAPER — a real photo
   when /littlerhythm/help-hero.jpg is present, a premium gradient otherwise. */
.phone-hero { position: relative; width: min(300px, 84%); aspect-ratio: 300 / 616; border-radius: 42px;
  border: 9px solid #14111c; background: #14111c; overflow: hidden; box-shadow: 0 34px 66px -22px rgba(0,0,0,.6); }
.phone-hero .fallback { position: absolute; inset: 0;
  background: radial-gradient(130% 85% at 72% 10%, #7b72e2, #443c95 52%, #241f52); }
.phone-hero .moon { position: absolute; top: 11%; right: 15%; width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle at 35% 33%, #fff7de, #ffe6a3); box-shadow: 0 0 46px 12px rgba(255,231,163,.34); }
.phone-hero .star { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #dcd7fb; opacity: .8; }
.phone-hero .hb-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .6s ease; }
.phone-hero .scrim { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,6,22,.42), transparent 26%, transparent 60%, rgba(8,6,22,.22)); }
.phone-hero .ui { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ── Differentiator cards ("Why our apps feel different") ──────────────────── */
.diffs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.diff { position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem; transition: transform .25s ease, box-shadow .25s ease; }
.diff:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.diff .d-visual { height: 74px; margin-bottom: 1rem; display: flex; align-items: center; }
.diff .d-visual svg { height: 74px; width: auto; }
.diff h3 { margin: 0 0 .4rem; font-size: 1.25rem; }
.diff p { margin: 0; color: var(--muted); }
.diff .d-tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .06em;
  text-transform: uppercase; color: var(--primary-ink); background: var(--primary-soft);
  padding: .25rem .6rem; border-radius: 999px; margin-bottom: .7rem; }

@media (max-width: 820px) {
  .helpband .hb-grid { grid-template-columns: 1fr; }
  .diffs { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hb-scene .notif, .hb-scene .zz { animation: none !important; }
}

/* animated aurora background (applied-AI studio vibe) — sits behind everything,
   soft enough to keep text readable; disabled under reduced-motion. */
.aurora { position: fixed; inset: -12%; z-index: -1; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; display: block; border-radius: 50%; filter: blur(72px);
  opacity: .42; mix-blend-mode: multiply; animation: aur 24s ease-in-out infinite; }
.aurora .a { width: 40vw; height: 40vw; background: #6c63e0; top: -8%; left: -6%; }
.aurora .b { width: 34vw; height: 34vw; background: #ff9e7d; top: 6%; right: -8%; animation-duration: 30s; }
.aurora .c { width: 32vw; height: 32vw; background: #4fae8b; bottom: -10%; left: 14%; animation-duration: 27s; animation-direction: reverse; }
.aurora .d { width: 28vw; height: 28vw; background: #5aa9e6; bottom: 4%; right: 10%; animation-duration: 23s; }
@keyframes aur { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(4vw,-3vw) scale(1.12); } 66% { transform: translate(-3vw,4vw) scale(.94); } }
@media (prefers-color-scheme: dark) { .aurora i { mix-blend-mode: screen; opacity: .3; } }

/* ── Live phone mockups (SVG micro-animations — the screens feel "on") ─────── */
.pulse-dot { animation: pdot 1.6s ease-in-out infinite; }
@keyframes pdot { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.tring { stroke-dasharray: 300; animation: tdraw 3.2s ease-in-out infinite; }
@keyframes tdraw { 0% { stroke-dashoffset: 300; } 62% { stroke-dashoffset: 60; } 100% { stroke-dashoffset: 300; } }
.draw { stroke-dasharray: 420; animation: linedraw 4.2s ease-in-out infinite; }
@keyframes linedraw { 0% { stroke-dashoffset: 420; } 55% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; } }
.fab-pulse { transform-box: fill-box; transform-origin: center; animation: fabp 2.2s ease-in-out infinite; }
@keyframes fabp { 0%,100% { transform: scale(1); } 50% { transform: scale(1.14); } }
.rows-in > * { animation: rowfade 5.5s ease-in-out infinite; }
.rows-in > *:nth-child(n+3) { animation-delay: .25s; }
.rows-in > *:nth-child(n+5) { animation-delay: .5s; }
@keyframes rowfade { 0%,8% { opacity: 0; } 18%,100% { opacity: 1; } }
.chip-live { animation: chipglow 2s ease-in-out infinite; }
@keyframes chipglow { 0%,100% { opacity: 1; } 50% { opacity: .72; } }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.in { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero .device, .blob, .cta-band, .features.in .feature, .stages.in .stage, .howto.in .step,
  .aurora i, .pulse-dot, .tring, .draw, .fab-pulse, .rows-in > *, .chip-live { animation: none !important; }
  .tring, .draw { stroke-dasharray: none; }
}

/* Warm photo band — a real, licensed human moment (drop-in slot with a
   styled placeholder until the image exists). No faces required. */
.photo-band { display: grid; grid-template-columns: 1.02fr .98fr;
  gap: clamp(1.6rem, 4vw, 3rem); align-items: center; }
.photo-frame { position: relative; margin: 0; border-radius: 26px; overflow: hidden;
  aspect-ratio: 1 / 1; background: linear-gradient(140deg, #ece9fb 0%, #ffe9df 52%, #e4f3ec 100%);
  box-shadow: 0 30px 64px -30px rgba(24, 18, 48, .5), inset 0 0 0 1px rgba(255, 255, 255, .55); }
.photo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-frame .photo-real { z-index: 1; object-position: center 30%; } /* real photo overlays the illustration */
.photo-hint { position: absolute; inset: 0; display: none; flex-direction: column;
  align-items: center; justify-content: center; gap: .45rem; text-align: center; padding: 1.5rem; }
.photo-frame.is-empty .photo-hint { display: flex; }
.photo-hint .ph-icon { font-size: 2rem; opacity: .85; }
.photo-hint strong { font-size: 1rem; color: #4b4470; }
.photo-hint small { font-size: .82rem; color: #6f6790; max-width: 22rem; line-height: 1.55; }
.photo-hint code { background: rgba(255, 255, 255, .65); padding: .05rem .32rem;
  border-radius: 5px; font-size: .78rem; }
.photo-copy h2 { margin: .55rem 0 .7rem; }
.photo-copy p { color: var(--muted); }
.photo-copy .cta { display: inline-block; margin-top: .6rem; }
@media (max-width: 820px) {
  .photo-band { grid-template-columns: 1fr; }
  .photo-frame { order: -1; }
}
