/* littlelog.cloud: warm, like the app icon. Lavender sky, wood, sprout green, the diaper's purple tabs.
   No scripts and no outside fonts or files (see _headers), so everything moving is CSS. */
:root {
  --bg: #FFF8F0;
  --ink: #2B1D12;
  --muted: #6E5B4D;
  --card: #FFFFFF;
  --line: #F0E4D6;
  --lavender: #EDE9FB;
  --purple: #6B57C7;
  --purple-ink: #4B3A99;
  --wood: #B8763F;
  --feed: #FCEBD7; --feed-ink: #8A4E0F;
  --sleep: #E3E7FB; --sleep-ink: #2F3C99;
  --diaper: #DCF1EA; --diaper-ink: #1C5E4D;
  --growth: #EDE9FB; --growth-ink: #4B3A99;
  --puff: #FFFFFF;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1C1612;
    --ink: #F6EDE3;
    --muted: #C7B5A6;
    --card: #2A211B;
    --line: #3A2E25;
    --purple: #8E7CF0;
    --purple-ink: #C2B6F5;
    --feed: #3A2B1A; --feed-ink: #F4C58A;
    --sleep: #1F2545; --sleep-ink: #AEB9F5;
    --diaper: #17332B; --diaper-ink: #8FD8C1;
    --growth: #2A2342; --growth-ink: #C2B6F5;
    --puff: #3A2E3F;
    color-scheme: dark;
  }
}

@font-face { font-family: "Nunito"; src: url("/nunito.woff2") format("woff2"); font-weight: 200 1000; font-display: swap; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.55 "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
}
a { color: var(--purple-ink); }
a:hover { color: var(--purple); }
h1, h2 { line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

/* Top bar */
.bar { max-width: 1120px; margin: 0 auto; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 20px; }
.brand img { border-radius: 10px; }
.brand em { font-style: normal; color: var(--muted); font-weight: 600; }
.bar-link { font-weight: 700; text-decoration: none; }

main { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* The park: the whole first screen, words softly in the sky */
.park { position: relative; overflow: hidden; background: #EDE9FB; color: #2B2350; }
.park .bar, .park .sky-words { position: relative; z-index: 1; }
.park .brand, .park .brand em { color: #4B3A99; }
.park .brand em { opacity: 0.7; }
.park .bar-link { color: #4B3A99; }
.sky-words { max-width: 1120px; margin: 0 auto; padding: 24px 20px 0; }
.sky-words > .lead, .sky-words > .actions { max-width: 560px; }
.pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.7); color: #4B3A99;
  font-weight: 800; font-size: 14px; margin-bottom: 18px;
}
.park h1 { font-size: clamp(42px, 6.4vw, 76px); font-weight: 900; color: #4B3A99; letter-spacing: -0.03em; }
.park .lead { font-size: clamp(17px, 1.6vw, 20px); color: #5D4F9A; margin-top: 18px; max-width: 30em; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 800; text-decoration: none; border: 1.5px solid transparent; transition: transform 0.15s ease;
}
.button:hover { transform: translateY(-1px); }
.button-quiet { background: var(--card); color: var(--ink); border-color: var(--line); }
.button-support { background: var(--purple); color: #FFFFFF; }
.button-support:hover { color: #FFFFFF; }
.button-soon { background: #6B57C7; color: #FFFFFF; opacity: 0.9; cursor: default; }
.button-soon:hover { transform: none; }
.button small { font-weight: 600; opacity: 0.85; font-size: 12px; }
.park .button-quiet { background: rgba(255, 255, 255, 0.75); border-color: transparent; color: #4B3A99; }

@media (min-width: 761px) {
  .park { min-height: max(100svh, 680px); }
  .park-art { position: absolute; inset: 0; width: 100%; height: 100%; }
  .sky-words { padding-top: clamp(24px, 9vh, 110px); }
}
/* Phones: the words on top, then the park, cropped so the swing stays in the middle. */
@media (max-width: 760px) {
  .park { display: flex; flex-direction: column; }
  .park .bar { order: 1; } .park .sky-words { order: 2; }
  .park-art { order: 3; display: block; position: relative; height: 500px; width: 800px; max-width: none; left: calc(50% - 561px); margin-top: -10px; }
}

/* The park */
.sky { fill: #EDE9FB; }
.sun { fill: #F9D27A; }
.sun-glow { fill: #FFF1C9; opacity: 0.8; }
.cloud { fill: #FFFFFF; }
.hill-back { fill: #CFE6C2; }
.hill-front { fill: #A9D493; }
.trunk { fill: #8A5427; }
.leaves-dark { fill: #6BAA59; }
.leaves { fill: #7DBA6A; }
.leaves-light { fill: #9BCB86; }
.flower { fill: #F29A8E; }
.flower-yellow { fill: #F9D27A; }
.shadow { fill: #7FAF6C; opacity: 0.5; transform-box: fill-box; transform-origin: center; }
.frame { stroke: #B8763F; stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.frame-bar { fill: #8A5427; }
.rope { stroke: #7A5232; stroke-width: 3.5; stroke-linecap: round; }
.seat { fill: #8A5427; }

/* Swinging, from the top bar */
.swing { transform-box: view-box; transform-origin: 1010px 334px; animation: swing 3.2s ease-in-out infinite alternate; }
@keyframes swing { from { transform: rotate(-17deg); } to { transform: rotate(17deg); } }
.shadow { animation: shadow 3.2s ease-in-out infinite alternate; }
@keyframes shadow { from { transform: translateX(-60px) scaleX(0.8); } 50% { transform: translateX(0) scaleX(1); } to { transform: translateX(60px) scaleX(0.8); } }
.sprout { transform-box: fill-box; transform-origin: 20% 100%; animation: sprout 1.6s ease-in-out infinite alternate; }
@keyframes sprout { from { transform: rotate(-8deg); } to { transform: rotate(8deg); } }

/* Clouds drift all the way across the sky, each at its own pace */
.cloud { animation: drift linear infinite; }
.c1 { animation-duration: 70s; animation-delay: -12s; }
.c2 { animation-duration: 95s; animation-delay: -60s; opacity: 0.92; }
.c3 { animation-duration: 52s; animation-delay: -30s; opacity: 0.85; }
.c4 { animation-duration: 110s; animation-delay: -85s; }
.c5 { animation-duration: 60s; animation-delay: -8s; opacity: 0.8; }
.c6 { animation-duration: 85s; animation-delay: -40s; opacity: 0.9; }
@keyframes drift { from { transform: translateX(-240px); } to { transform: translateX(1560px); } }

@media (prefers-reduced-motion: reduce) {
  .swing, .shadow, .sprout, .cloud { animation: none; }
  .c1 { transform: translateX(200px); } .c2 { transform: translateX(520px); } .c3 { transform: translateX(760px); }
  .c4 { transform: translateX(980px); } .c5 { transform: translateX(380px); } .c6 { transform: translateX(1180px); }
  html { scroll-behavior: auto; }
}

/* What's coming */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; padding: 56px 0 64px; }
.tile { border-radius: 26px; padding: 22px; }
.tile h2 { font-size: 20px; font-weight: 850; margin-bottom: 8px; }
.tile p { font-size: 15.5px; }
.tile-feed { background: var(--feed); } .tile-feed h2 { color: var(--feed-ink); }
.tile-sleep { background: var(--sleep); } .tile-sleep h2 { color: var(--sleep-ink); }
.tile-diaper { background: var(--diaper); } .tile-diaper h2 { color: var(--diaper-ink); }
.tile-growth { background: var(--growth); } .tile-growth h2 { color: var(--growth-ink); }

/* About */
.about { display: grid; grid-template-columns: 1fr; gap: 24px; padding: 40px 0 56px; border-top: 1.5px solid var(--line); }
@media (min-width: 880px) { .about { grid-template-columns: 0.9fr 1.4fr; gap: 48px; } }
.about h2, .support h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 900; margin-bottom: 12px; }
.about-text p, .support p { color: var(--muted); }
.apps { display: grid; gap: 12px; }
.app {
  display: flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border-radius: 22px; background: var(--card);
  border: 1.5px solid var(--line); text-decoration: none; color: var(--ink); transition: transform 0.15s ease, border-color 0.15s ease;
}
.app:hover { transform: translateY(-2px); border-color: var(--purple); color: var(--ink); }
.app img { border-radius: 16px; flex: none; }
.app > span { display: flex; flex-direction: column; }
.app strong { font-size: 18px; }
.app span span { color: var(--muted); font-size: 15px; }

/* Support */
.support {
  text-align: center; padding: 40px 24px; margin-bottom: 48px; border-radius: 32px; background: var(--lavender);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
@media (prefers-color-scheme: dark) { .support { background: var(--growth); } }
.support p { max-width: 32em; }

.foot { text-align: center; color: var(--muted); font-size: 14px; padding: 0 20px 40px; }
