/* Lullaby Tide public site. One night-sky column, the same identity as the app: moon yellow on deep blue, Poppins for headings, Nunito for text. Dark only: it is a bedtime product. */
:root {
  --night: #0b1433; --dusk: #15214d; --panel: #111c44; --line: #2a3772;
  --mist: #c9d3f5; --white: #ffffff; --dim: #8f9bc8; --moon: #ffe6a8; --lilac: #b7a6ff; --ink: #1a1a3a;
  --display: "Poppins", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Nunito", "Avenir", "Segoe UI", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: radial-gradient(120% 60% at 50% -10%, #1d2b66 0%, var(--night) 60%) fixed, var(--night);
  color: var(--mist); font-family: var(--body); font-size: 17px; line-height: 1.6;
}
.wrap { max-width: 1040px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
a { color: var(--lilac); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--moon); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); color: var(--white); text-wrap: balance; margin: 0; line-height: 1.15; }
h1 { font-size: clamp(2rem, 5.4vw, 3.3rem); font-weight: 700; letter-spacing: -.02em; }
h1 em { font-style: normal; color: var(--moon); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.08rem; font-weight: 600; }
p { margin: 0; }
.eyebrow { font-family: var(--display); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--moon); }

/* header */
.top { padding-block: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 1.45rem; color: var(--white); text-decoration: none; letter-spacing: -.01em; }
.brand svg { width: 42px; height: 42px; flex: none; filter: drop-shadow(0 0 10px rgba(255, 230, 168, .35)); }
nav.links { display: flex; gap: 6px 18px; flex-wrap: wrap; font-size: .95rem; }
nav.links a { color: var(--mist); text-decoration: none; }
nav.links a:hover { color: var(--moon); }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 28px 40px; align-items: center; padding-block: 28px 56px; }
.hero-copy { display: grid; gap: 18px; min-width: 0; }
.lead { font-size: 1.12rem; max-width: 52ch; }
.price-line { display: flex; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; }
.price-line b { font-family: var(--display); font-size: 2.1rem; color: var(--moon); line-height: 1; }
.price-line span { color: var(--mist); font-size: .98rem; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 1rem; text-decoration: none;
  background: var(--moon); color: var(--ink); border: 0; border-radius: 999px; padding: 13px 24px; cursor: pointer; box-shadow: 0 0 24px rgba(255, 230, 168, .25); }
.btn:hover { filter: brightness(1.05); }
.btn.ghost { background: transparent; color: var(--white); border: 1.5px solid var(--line); box-shadow: none; }
.soon { font-size: .92rem; color: var(--dim); }
.demo { margin: 0; display: grid; gap: 10px; min-width: 0; }
.demo video { width: 100%; max-width: 100%; aspect-ratio: 16 / 9; display: block; border-radius: 18px; background: #050a1f; box-shadow: 0 24px 70px rgba(0, 0, 0, .5); }
.demo figcaption { font-size: .85rem; color: var(--dim); }

/* sections */
section.block { padding-block: 56px; border-top: 1px solid var(--line); display: grid; gap: 28px; }
.head { display: grid; gap: 10px; max-width: 62ch; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.steps li { display: grid; gap: 8px; align-content: start; min-width: 0; }
.steps li::before { counter-increment: s; content: counter(s); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--moon); color: var(--ink); font-family: var(--display); font-weight: 700; box-shadow: 0 0 0 6px rgba(255, 230, 168, .14); }
.steps p, .gets li { font-size: .98rem; }
.gets { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 40px; align-items: start; }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 14px; min-width: 0; }
.box .price-line b { font-size: 2.6rem; }
.small { font-size: .88rem; color: var(--dim); }

.gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.gallery figure { margin: 0; display: grid; gap: 8px; min-width: 0; }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; display: block; }
.gallery figcaption { font-size: .88rem; color: var(--white); font-weight: 600; line-height: 1.3; }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 600; color: var(--white); }
.faq details p { margin-top: 10px; font-size: .98rem; }

.contact { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.email { font-family: var(--display); font-weight: 600; color: var(--white); background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; user-select: all; overflow-wrap: anywhere; }

.safe { font-size: .8rem; line-height: 1.5; color: var(--dim); max-width: 80ch; }
.safe b { color: var(--mist); }
footer { border-top: 1px solid var(--line); padding-block: 32px 48px; display: grid; gap: 16px; font-size: .88rem; color: var(--dim); }
footer nav { display: flex; gap: 6px 18px; flex-wrap: wrap; }

/* legal pages */
.legal { max-width: 72ch; padding-block: 24px 56px; display: grid; gap: 14px; }
.legal h1 { font-size: clamp(1.8rem, 4.4vw, 2.5rem); }
.legal h2 { font-size: 1.25rem; margin-top: 18px; }
.legal ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.legal .updated { color: var(--dim); font-size: .9rem; }

@media (max-width: 860px) {
  .hero, .split { grid-template-columns: minmax(0, 1fr); }
  .hero .demo { order: -1; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
}
