/* Littleherd: a warm late-afternoon park, and the same park at dusk in dark mode (the app's "Night walk").
   The page layout is the shared Little Lamp Labs one (home/site.css, the same file as littlelamplabs.com's);
   this file brings the colors, the park and the support box. Lime is the app's accent: buttons, and links
   in the dark. No scripts (see _headers), so everything moving is CSS. The park is drawn by art/scene.py. */
.site { --bg: #FFFBF4; --hero-bg: #FBE6CB; --hero-ink: #3A2A1C; --hero-sub: #6A4E36; --button: #C6F26B; --accent: #4F6E12;
  --soft: #FCEBD7;
  --ta: #FCEBD7; --ta-ink: #8A4E0F;
  --tb: #E7F0D9; --tb-ink: #3F5F1D;
  --tc: #E4ECF6; --tc-ink: #2F4E7A;
  --td: #F7E3E0; --td-ink: #8A3B33; }
@media (prefers-color-scheme: dark) {
  .site { --bg: #111316; --card: #1B1E22; --line: #2A2E34; --hero-bg: #141A26; --hero-ink: #F1EEE8; --hero-sub: #BCC2CD; --accent: #C6F26B;
    --soft: #1B1E22;
    --ta: #1B1E22; --ta-ink: #F4C58A;
    --tb: #1B1E22; --tb-ink: #C6F26B;
    --tc: #1B1E22; --tc-ink: #A9C4EE;
    --td: #1B1E22; --td-ink: #F0A9A1; }
}
.button-main { color: #111316 !important; }
.hero .pill { background: rgba(255, 255, 255, 0.66); }
@media (prefers-color-scheme: dark) {
  .hero .pill { background: rgba(255, 255, 255, 0.08); }
  .button-quiet { background: rgba(255, 255, 255, 0.1); }
}
.hero h1 { font-size: clamp(44px, 6.6vw, 80px); }
/* Phones: the park sits under the words. Show its lower part (the empty top sky is trimmed) centred on Max. */
@media (max-width: 760px) { .art { height: 410px; margin-top: -6px; left: calc(50% - 528px); } }

.tile-a { background: var(--ta); } .tile-a h2 { color: var(--ta-ink); }
.tile-b { background: var(--tb); } .tile-b h2 { color: var(--tb-ink); }
.tile-c { background: var(--tc); } .tile-c h2 { color: var(--tc-ink); }
.tile-d { background: var(--td); } .tile-d h2 { color: var(--td-ink); }

/* "Like what we're making?" */
.support { text-align: center; padding: 40px 24px; margin-bottom: 48px; border-radius: 32px; background: var(--soft); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.support h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 900; }
.support p { max-width: 32em; color: var(--muted); }

/* The privacy and help pages: the bar on a short band of sky, then plain reading. */
.hero-slim { min-height: 0 !important; }
.doc { max-width: 720px; margin: 0 auto; padding: 40px 0 56px; }
.doc h1 { font-size: clamp(34px, 5vw, 46px); font-weight: 900; margin-bottom: 8px; }
.doc .meta { color: var(--muted); margin-bottom: 24px; }
.doc h2 { font-size: 22px; font-weight: 900; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--ink); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 1.2em; margin: 12px 0 0; }
.doc li { margin: 8px 0; }
.doc .actions { margin-top: 20px; }

/* Day and dusk: the same park; some things only come out at one time of day. */
.night { display: none; }
@media (prefers-color-scheme: dark) { .day { display: none; } .night { display: inline; } }

/* The park, late afternoon */
.sky { fill: #FBE6CB; }
.sky-band { fill: #FCEEDB; }
.sun { fill: #FFC46B; }
.sun-glow { fill: #FFDDA0; }
.sun-glow.g2 { opacity: 0.55; }
.sun-glow.g3 { opacity: 0.3; }
.cloud { fill: #FFF9F0; }
.hill-far { fill: #D5DFA9; }
.far-tree { fill: #B5CC85; } .far-tree-trunk { fill: #A88C64; }
.hill-mid { fill: #ADCF84; }
.hill-front { fill: #9DC474; }
.path { fill: #EFD9B0; }
.trunk { fill: #7A5236; } .trunk-line { fill: none; stroke: #7A5236; stroke-width: 14; stroke-linecap: round; }
.leaves-dark { fill: #6E9E4C; } .leaves { fill: #7FAE58; } .leaves-light { fill: #96C06C; }
.hedge-dark { fill: #5F8F44; } .hedge { fill: #6FA050; } .hedge-light { fill: #82B25E; }
.flower { fill: #F29A8E; } .flower-yellow { fill: #F9D27A; }
.shadow { fill: #6E9A4E; opacity: 0.35; }
.bench-wood { fill: #B5784A; } .bench-leg { fill: #5E4535; }
.cat { fill: #3B3F46; } .cat-paw { fill: #4A4F57; } .cat-ear-in { fill: #EFA9A6; }
.cat-tail { fill: none; stroke: #3B3F46; stroke-width: 20; stroke-linecap: round; }
.cat-eye-shut { fill: none; stroke: #A9AEB6; stroke-width: 4; stroke-linecap: round; }
.cat-eye { fill: #C6F26B; }
.whisker { stroke: #6E737B; stroke-width: 2.5; stroke-linecap: round; }
.rabbit { fill: #CFA884; } .rabbit-dark { fill: #BC9370; } .rabbit-in { fill: #F0B8B2; } .rabbit-tail { fill: #FFF8EE; }
.lamp-metal { fill: #3D434B; } .lamp-glass { fill: #FFF1D2; } .lamp-frame { stroke: #3D434B; stroke-width: 4; }
.lamp-glow { fill: #FFE3A0; opacity: 0.06; }
.lamp-pool { fill: #FFE3A0; opacity: 0.16; }
.bowl { fill: #C6F26B; } .bowl-rim { fill: #A6D445; } .kibble { fill: #A86A3C; }
.bowl-name { font: 900 30px "Nunito", ui-rounded, sans-serif; fill: #34470C; letter-spacing: 2px; }
.bird-body { fill: #7FB4F5; } .bird-wing { fill: #4C86D6; }
.sparrow-body { fill: #C99467; } .sparrow-wing { fill: #8E5F3B; }
.bird-leg { fill: none; stroke: #8A5A2B; stroke-width: 7; stroke-linecap: round; }
/* Max: warm white fur with a sand edge, like the app icon */
.fw { fill: #FFFDF8; } .fe { fill: #E2D5C1; } .fc { fill: #F1E8DA; } .ear-in { fill: #EFA9A6; opacity: 0.85; }
.toe { fill: none; stroke: #E2D5C1; stroke-width: 5; stroke-linecap: round; }

/* The same park at dusk */
@media (prefers-color-scheme: dark) {
  .sky { fill: #141A26; }
  .sky-band { fill: #18202E; }
  .moon { fill: #F3EBD3; }
  .star { fill: #E9E6DA; }
  .cloud { fill: #222B3B; }
  .hill-far { fill: #1B2430; }
  .far-tree { fill: #1F2A2E; } .far-tree-trunk { fill: #1F2A2E; }
  .hill-mid { fill: #19241F; }
  .hill-front { fill: #16201B; }
  .path { fill: #262D33; }
  .trunk { fill: #241D1A; } .trunk-line { stroke: #241D1A; }
  .leaves-dark { fill: #17221C; } .leaves { fill: #1C2922; } .leaves-light { fill: #213026; }
  .hedge-dark { fill: #17221B; } .hedge { fill: #1C2A21; } .hedge-light { fill: #213125; }
  .flower { fill: #6A4A55; } .flower-yellow { fill: #6B6244; }
  .shadow { fill: #000000; opacity: 0.3; }
  .bench-wood { fill: #4A3A30; } .bench-leg { fill: #2A2320; }
  .cat { fill: #2A2D33; } .cat-paw { fill: #33363D; } .cat-ear-in { fill: #8A6365; }
  .cat-tail { stroke: #2A2D33; }
  .whisker { stroke: #565B63; }
  .lamp-metal { fill: #2B3037; } .lamp-glass { fill: #FFE7A3; } .lamp-frame { stroke: #2B3037; }
  .bowl { fill: #A9CF57; } .bowl-rim { fill: #8DB33E; } .kibble { fill: #6B4A30; }
  .bowl-name { fill: #2A380A; }
  .fw { fill: #E4E0E6; } .fe { fill: #B3ACB6; } .fc { fill: #D4CED6; } .ear-in { fill: #C89090; }
  .toe { stroke: #B3ACB6; }
}

/* Motion. Small and slow: a wag now and then, an ear, a peck, a hop, leaves in the breeze. */
.tail { transform-box: fill-box; transform-origin: 8% 92%; animation: wag 5s ease-in-out infinite; }
@keyframes wag { 0%, 52%, 100% { transform: rotate(0deg); } 60% { transform: rotate(-11deg); } 68% { transform: rotate(7deg); } 76% { transform: rotate(-11deg); } 84% { transform: rotate(5deg); } 92% { transform: rotate(-4deg); } }
.ear-flick { transform-box: fill-box; transform-origin: 35% 12%; animation: flick 9s ease-in-out infinite; }
@keyframes flick { 0%, 70%, 82%, 100% { transform: rotate(0deg); } 74% { transform: rotate(-9deg); } 78% { transform: rotate(4deg); } }
.blink { transform-box: fill-box; transform-origin: 50% 50%; animation: blink 7s ease-in-out infinite; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 96.5% { transform: scaleY(0.1); } }
.peck { transform-box: fill-box; transform-origin: 40% 100%; animation: peck 6s ease-in-out infinite; }
@keyframes peck { 0%, 30%, 46%, 62%, 100% { transform: rotate(0deg); } 36%, 54% { transform: rotate(-28deg); } }
.hop { animation: hop 8s ease-in-out infinite; }
@keyframes hop { 0%, 40%, 100% { transform: translate(0, 0); } 45% { transform: translate(14px, -34px); } 50%, 86% { transform: translate(28px, 0); } 91% { transform: translate(14px, -34px); } 96% { transform: translate(0, 0); } }
.rabbit-ears { transform-box: fill-box; transform-origin: 50% 100%; animation: twitch 11s ease-in-out infinite; }
@keyframes twitch { 0%, 80%, 88%, 100% { transform: rotate(0deg); } 83% { transform: rotate(7deg); } 85% { transform: rotate(-3deg); } }
.cat-tail-sway { transform-box: fill-box; transform-origin: 0% 0%; animation: catsway 6s ease-in-out infinite alternate; }
@keyframes catsway { from { transform: rotate(-4deg); } to { transform: rotate(5deg); } }
.sway { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 8s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-1.2deg); } to { transform: rotate(1.2deg); } }
.breathe { transform-box: fill-box; transform-origin: 50% 100%; animation: breathe 4.5s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.012, 1.035); } }
.ff { animation: float 9s ease-in-out infinite alternate; }
.ff circle { animation: glow 3.4s ease-in-out infinite; }
.f1 { animation-duration: 11s; } .f1 circle { animation-delay: -1.2s; }
.f2 { animation-duration: 8s; animation-direction: alternate-reverse; } .f2 circle { animation-delay: -2.4s; }
.f3 { animation-duration: 12s; } .f3 circle { animation-delay: -0.6s; animation-duration: 4.2s; }
.f4 { animation-duration: 10s; animation-direction: alternate-reverse; } .f4 circle { animation-delay: -3s; }
.f5 { animation-duration: 13s; } .f5 circle { animation-delay: -1.8s; animation-duration: 3.8s; }
.f6 { animation-duration: 9.5s; animation-direction: alternate-reverse; } .f6 circle { animation-delay: -2s; }
.f7 { animation-duration: 12.5s; } .f7 circle { animation-delay: -0.3s; }
@keyframes float { from { transform: translate(-18px, 8px); } 50% { transform: translate(6px, -16px); } to { transform: translate(20px, 6px); } }
.ff-dot { fill: #D9F79A; } .ff-glow { fill: #C6F26B; opacity: 0.22; }
@keyframes glow { 0%, 100% { opacity: 0.15; } 50% { opacity: 1; } }
.star { animation: twinkle 6s ease-in-out infinite; }
.star.s1 { animation-delay: -2s; animation-duration: 7s; } .star.s2 { animation-delay: -4s; animation-duration: 9s; }
@keyframes twinkle { 0%, 100% { opacity: 0.9; } 50% { opacity: 0.35; } }
.sun-wrap { animation: sunset 40s ease-in-out infinite alternate; }
@keyframes sunset { from { transform: translateY(-10px); } to { transform: translateY(14px); } }

/* Clouds drift all the way across the sky, each at its own pace */
.cloud { animation: drift linear infinite; }
.c1 { animation-duration: 80s; animation-delay: -12s; }
.c2 { animation-duration: 105s; animation-delay: -64s; opacity: 0.92; }
.c3 { animation-duration: 62s; animation-delay: -30s; opacity: 0.85; }
.c4 { animation-duration: 120s; animation-delay: -88s; }
.c5 { animation-duration: 70s; animation-delay: -8s; opacity: 0.8; }
@keyframes drift { from { transform: translateX(-240px); } to { transform: translateX(1560px); } }

/* Reduce Motion: nobody wags, hops, pecks or breathes, but the clouds and the sun still drift (slower)
   and the fireflies still glow in place, so the page isn't frozen. */
@media (prefers-reduced-motion: reduce) {
  .tail, .ear-flick, .blink, .peck, .hop, .rabbit-ears, .cat-tail-sway, .sway, .breathe, .ff { animation: none; }
  .cloud { animation-duration: 180s; }
  .sun-wrap { animation-duration: 80s; }
}
