/* Cuddlet website styles. Colors from content/app-brief.md, section 5. */
@font-face {
  font-family: "Nunito";
  src: url("/assets/fonts/nunito-variable.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #FBF7F2;
  --surface: #FFFFFF;
  --soft: #F4EEE6;
  --ink: #2A2420;
  --muted: #736962;
  --coral: #F08A6C;
  --coral-soft: #FCE3DA;
  --feed: #F6B89A;
  --sleep: #B9B4E8;
  --diaper: #A8D8C6;
  --growth: #A9CBEB;
  --health: #F3D98B;
  --note: #E7C6D9;
  --line: #EDE5DB;
  --radius: 24px;
  --gutter: 16px;
  --max: 1080px;
  --shadow: 0 18px 40px -24px rgba(42, 36, 32, .22);
  --font: ui-rounded, "SF Pro Rounded", Nunito, system-ui, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 10px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 10px 16px; border-radius: 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 242, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; letter-spacing: -.01em; text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a.link { display: none; padding: 8px 12px; font-size: 15px; font-weight: 600; color: var(--muted); text-decoration: none; border-radius: 999px; }
.nav-links a.link:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; border: 0;
  background: var(--coral); color: var(--ink);
  font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
  transition: transform .2s ease, background-color .2s ease;
}
.btn:hover { background: #EE7D5C; transform: translateY(-1px); }
.appstore {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 24px 13px 20px; border-radius: 999px;
  background: var(--ink); color: var(--cream); text-decoration: none;
  transition: transform .2s ease;
}
.appstore:hover { transform: translateY(-2px); }
.appstore svg { width: 24px; height: 24px; }
.appstore span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.appstore small { font-size: 11px; font-weight: 600; }
.appstore strong { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.platform-note { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* Type */
h1, h2, h3 { line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.h-xl { font-size: clamp(42px, 10vw, 76px); }
.h-lg { font-size: clamp(30px, 6.4vw, 48px); }
.lead { font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); max-width: 560px; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }

section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head .lead { margin: 14px auto 0; }

/* Hero */
.hero { padding: 40px 0 64px; text-align: center; }
.hero-mascot { width: 200px; margin: 0 auto 20px; animation: breathe 6s ease-in-out infinite; transform-origin: 50% 80%; }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }
.hero h1 { margin-bottom: 16px; }
.hero .lead { margin: 0 auto 28px; }

/* Cards */
.card { background: var(--surface); border-radius: var(--radius); padding: 26px; }
.card.shadow { box-shadow: var(--shadow); }
.card h3 { font-size: 21px; margin-bottom: 8px; letter-spacing: -.01em; line-height: 1.25; }
.card p { color: var(--muted); font-size: 16px; }
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
.icon { width: 48px; height: 48px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; background: var(--soft); color: var(--ink); }
.icon svg { width: 24px; height: 24px; }
.icon.feed { background: var(--feed); } .icon.sleep { background: var(--sleep); } .icon.diaper { background: var(--diaper); }
.icon.growth { background: var(--growth); } .icon.health { background: var(--health); } .icon.note { background: var(--note); } .icon.coral { background: var(--coral); }

/* Problem / solution */
.status-stack { display: grid; gap: 10px; margin-top: 24px; }
.status { display: flex; align-items: center; gap: 14px; background: var(--surface); border-radius: 20px; padding: 16px 18px; text-align: left; }
.status .dot { width: 40px; height: 40px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.status .dot svg { width: 20px; height: 20px; }
.status strong { display: block; font-size: 16px; }
.status span { font-size: 14px; color: var(--muted); }
.problem { display: grid; gap: 32px; align-items: center; }
.problem .quote { font-size: clamp(30px, 6vw, 44px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.problem p { color: var(--muted); font-size: 18px; margin-top: 14px; }

/* Screens */
.screens { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
.screen figure { margin: 0; }
.screen img { width: 100%; aspect-ratio: 1290 / 2796; object-fit: cover; border-radius: 26px; border: 6px solid var(--surface); box-shadow: var(--shadow); background: var(--soft); }
.screen figcaption { margin-top: 12px; font-size: 15px; font-weight: 700; text-align: center; line-height: 1.3; }


.also ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.also li { background: var(--soft); border-radius: 999px; padding: 8px 14px; font-size: 15px; font-weight: 600; }

/* Family */
.family { background: var(--surface); border-radius: 32px; padding: 36px 22px; text-align: center; }
.avatars { display: flex; justify-content: center; margin: 0 0 24px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; border: 4px solid var(--surface); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; margin-left: -12px; }
.avatar:first-child { margin-left: 0; }
.roles { display: grid; gap: 12px; margin-top: 28px; text-align: left; }
.role { background: var(--cream); border-radius: 20px; padding: 18px 20px; }
.role strong { display: block; font-size: 17px; }
.role span { color: var(--muted); font-size: 15px; }

/* Pricing */
.plans { display: grid; gap: 14px; max-width: 760px; margin: 0 auto; }
.plan { display: flex; flex-direction: column; gap: 4px; padding: 28px; }
.plan.best { outline: 3px solid var(--coral); }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-name { font-size: 20px; font-weight: 800; }
.badge { font-size: 13px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--coral-soft); color: var(--ink); }
.plan-price { font-size: 40px; font-weight: 800; letter-spacing: -.02em; margin-top: 8px; }
.plan-price small { font-size: 17px; color: var(--muted); font-weight: 700; letter-spacing: 0; }
.plan-sub { color: var(--muted); font-size: 15px; }
.fine { text-align: center; color: var(--muted); font-size: 14px; max-width: 640px; margin: 22px auto 0; }

/* Privacy */
.privacy-list { list-style: none; display: grid; gap: 12px; }
.privacy-list li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border-radius: 20px; padding: 18px 20px; font-size: 17px; font-weight: 600; }
.privacy-list svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; color: var(--ink); }
.check { width: 32px; height: 32px; border-radius: 12px; background: var(--diaper); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.check svg { width: 18px; height: 18px; margin: 0; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border-radius: 20px; padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 800; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--muted); transition: transform .25s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); font-size: 16px; }
.more { text-align: center; margin-top: 24px; }
.text-link { font-weight: 800; text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* CTA */
.cta { text-align: center; }
.cta img { width: 120px; margin: 0 auto 16px; }
.cta .lead { margin: 14px auto 28px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--muted); font-size: 15px; }
.footer-inner { display: flex; flex-direction: column; gap: 16px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { text-decoration: none; font-weight: 700; color: var(--ink); }
.footer-links a:hover { text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; }
.footer .disclaimer { font-weight: 700; color: var(--ink); }

/* Content pages */
.page { padding: 40px 0 80px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(34px, 8vw, 52px); margin-bottom: 16px; }
.prose h2 { font-size: 24px; margin: 40px 0 12px; line-height: 1.25; }
.prose h3 { font-size: 19px; margin: 26px 0 8px; }
.prose p, .prose li { font-size: 17px; line-height: 1.7; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 16px 22px; }
.prose ul ul { margin: 6px 0 6px 22px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--coral); }
.prose a { font-weight: 700; text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose strong { font-weight: 800; }
.support-mail { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; margin: 8px 0 40px; }
.support-mail a.btn { overflow-wrap: anywhere; text-align: left; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .grid.cols-2, .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .screens { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .plans { grid-template-columns: 1fr 1fr; }
  .roles { grid-template-columns: repeat(3, 1fr); }
  .family { padding: 48px 40px; }
}
@media (min-width: 900px) {
  :root { --gutter: 40px; }
  section { padding: 104px 0; }
  .hero { padding: 64px 0 88px; }
  .hero-mascot { width: 240px; }
  .nav-links a.link { display: inline-block; }
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .problem { grid-template-columns: 1.1fr 1fr; gap: 64px; }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Keep the screenshot grid compact on wide screens */
@media (min-width: 900px) { .screens { max-width: 840px; margin-left: auto; margin-right: auto; } }
