#090 style light mobile: native-first Playful & Hand-Drawn

Headspace Sunny Whimsy

Warm mid-century illustrated wellness whimsy with friendly sun characters, tangerine warmth, and pillowy pill geometry.

Inspired by Headspace ↗

Download .html
Fullscreen ↗

WHY THIS AESTHETIC IS UNIQUE

Softens digital anxiety with expressive minimal-face SVG characters, sun-drenched tangerine and cream surfaces, and generously rounded pill geometry that feels immediately welcoming.

BEST FOR

Mental wellness & mindfulness appsFamily-friendly health & habit trackersApproachable consumer onboarding flowsPlayful educational & coaching platforms

TAGS

COLOR PALETTE (CLICK TO COPY HEX)

TYPOGRAPHY

Display
Fredoka, -apple-system, sans-serif
Body
Nunito, -apple-system, sans-serif
Mono
Space Mono, ui-monospace, monospace
Scale
Rounded Fredoka display headings (32–52px) paired with soft, airy Nunito body copy (16px) and calm mono timer readouts.

Google Fonts Stylesheet ↗

ARCHITECTURE & MOBILE NOTES

LAYOUT

Generous curved section dividers, soft 28px-radius cards, centered breathing-exercise medallion, and expressive illustrated character vignettes.

INTERACTION

Working 4-7-8 guided breathing circle timer with smooth inhale/hold/exhale animation; mood check-in pills dynamically morph the SVG character's facial expression and soothing prompt.

MOBILE

Native-app-like vertical flow at 390px with large thumb-friendly >=48px mood pills and centered breathing medallion.

AI AGENT GUARDRAILS

DO

  • Use warm espresso ink (#292524) instead of harsh pure black to preserve the gentle warmth.
  • Keep corner radii generous (24px–999px pills) and animations slow, organic, and soothing.
  • Integrate simple geometric character illustrations that respond to user state.

DON'T

  • Do not use sharp 0px brutalist borders or high-stress red alert badges.
  • Do not crowd cards with dense data tables or tiny cramped buttons.
STANDALONE SOURCE · demos/headspace-sunny-whimsy.html (24.1 KB)
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>Sunbeam Mind — Gentle Daily Breathing &amp; Sunny Whimsy</title>
  <link rel="preconnect" href="https://fonts.googleapis.com">
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  <link href="https://fonts.googleapis.com/css2?family=Fredoka:wght@500;600;700&family=Nunito:wght@500;700;800&family=Space+Mono:wght@400;700&display=swap" rel="stylesheet">
  <style>
    :root {
      --bg: #FFF8EE;
      --surface: #FFEBD2;
      --ink: #292524;
      --accent: #F47D31;
      --accent-deep: #DC641B;
      --muted: #78716C;
      --butter: #FFD166;
      --sage: #8CC084;
      --sky: #8ECAE6;
      --lavender: #C7B8EA;
      --radius-xl: 32px;
      --radius-pill: 999px;
    }

    *, *::before, *::after {
      box-sizing: border-box;
    }

    html, body {
      margin: 0;
      padding: 0;
      background-color: var(--bg);
      color: var(--ink);
      font-family: 'Nunito', system-ui, -apple-system, sans-serif;
      line-height: 1.55;
      overflow-x: hidden;
    }

    h1, h2, h3, .display {
      font-family: 'Fredoka', system-ui, sans-serif;
      margin: 0;
      line-height: 1.12;
      font-weight: 600;
    }

    .mono {
      font-family: 'Space Mono', ui-monospace, monospace;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    button {
      font-family: inherit;
      cursor: pointer;
      border: none;
      background: transparent;
      color: inherit;
    }

    .container {
      width: 100%;
      max-width: 1100px;
      margin: 0 auto;
      padding: 0 22px;
    }

    /* Header */
    header {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(255, 248, 238, 0.92);
      backdrop-filter: blur(10px);
    }

    .nav-wrap {
      display: flex;
      align-items: center;
      justify-content: space-between;
      min-height: 76px;
      gap: 16px;
    }

    .brand {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      font-family: 'Fredoka', sans-serif;
      font-size: 1.5rem;
      font-weight: 700;
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 24px;
    }

    .nav-links a {
      font-weight: 700;
      color: var(--muted);
      min-height: 44px;
      display: inline-flex;
      align-items: center;
      padding: 0 6px;
      transition: color 0.18s;
    }

    .nav-links a:hover {
      color: var(--accent);
    }

    .pill-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      min-height: 46px;
      min-width: 46px;
      padding: 10px 24px;
      border-radius: var(--radius-pill);
      font-weight: 800;
      font-size: 0.98rem;
      transition: transform 0.16s ease, background-color 0.18s ease, box-shadow 0.18s ease;
    }

    .pill-btn.sunny {
      background: var(--accent);
      color: #FFFDF9;
      box-shadow: 0 8px 20px rgba(244, 125, 49, 0.28);
    }

    .pill-btn.sunny:hover {
      background: var(--accent-deep);
      transform: translateY(-2px);
    }

    .pill-btn.soft {
      background: var(--surface);
      color: var(--ink);
    }

    .pill-btn.soft:hover {
      background: #FFE0B8;
    }

    .menu-toggle {
      display: none;
      width: 46px;
      height: 46px;
      border-radius: 50%;
      background: var(--surface);
      align-items: center;
      justify-content: center;
    }

    .mobile-nav {
      display: none;
      flex-direction: column;
      gap: 8px;
      padding: 12px 22px 22px;
      background: var(--surface);
      border-radius: 0 0 28px 28px;
    }

    .mobile-nav.open {
      display: flex;
    }

    .mobile-nav a {
      min-height: 44px;
      display: flex;
      align-items: center;
      padding: 10px 16px;
      border-radius: 16px;
      background: var(--bg);
      font-weight: 700;
    }

    /* Hero */
    .hero {
      padding: 36px 0 48px;
    }

    .hero-card {
      background: var(--surface);
      border-radius: 40px;
      padding: 44px 40px;
      display: grid;
      grid-template-columns: 1.1fr 0.9fr;
      gap: 36px;
      align-items: center;
      position: relative;
      overflow: hidden;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--bg);
      padding: 6px 16px;
      border-radius: var(--radius-pill);
      font-size: 0.88rem;
      font-weight: 800;
      color: var(--accent-deep);
      margin-bottom: 18px;
    }

    .hero h1 {
      font-size: clamp(2.3rem, 5vw, 3.6rem);
      margin-bottom: 16px;
    }

    .hero p {
      font-size: 1.12rem;
      color: var(--muted);
      margin: 0 0 26px;
      max-width: 46ch;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
    }

    .hero-art {
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .float-slow {
      animation: floatY 5.5s ease-in-out infinite;
    }

    @keyframes floatY {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-10px); }
    }

    /* Interactive Wellness Duo: 4-7-8 Breathing + Mood Check-in */
    .section {
      padding: 44px 0;
    }

    .wellness-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 28px;
    }

    .soft-panel {
      background: #FFFDF9;
      border: 2px solid #F5E1C8;
      border-radius: var(--radius-xl);
      padding: 30px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 20px;
    }

    .panel-kicker {
      font-family: 'Space Mono', monospace;
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--accent-deep);
      font-weight: 700;
    }

    /* 4-7-8 Breathing Orb */
    .breath-stage {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 16px 0;
      gap: 18px;
    }

    .orb-shell {
      width: 210px;
      height: 210px;
      border-radius: 50%;
      background: #FFF1DF;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
    }

    .breath-orb {
      width: 118px;
      height: 118px;
      border-radius: 50%;
      background: radial-gradient(circle at 35% 32%, #FFD166, #F47D31);
      box-shadow: 0 14px 36px rgba(244, 125, 49, 0.34);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: #FFFDF9;
      transform: scale(1);
      transition: transform 0.9s ease-in-out, background 0.6s ease;
    }

    .breath-orb.inhale {
      transform: scale(1.48);
    }

    .breath-orb.hold {
      transform: scale(1.48);
      background: radial-gradient(circle at 35% 32%, #FFE28A, #E8943A);
    }

    .breath-orb.exhale {
      transform: scale(0.92);
      background: radial-gradient(circle at 35% 32%, #A8DADC, #F47D31);
    }

    .breath-timer {
      font-family: 'Fredoka', sans-serif;
      font-size: 2rem;
      line-height: 1;
    }

    .breath-phase {
      font-size: 1.15rem;
      font-weight: 800;
      color: var(--ink);
      text-align: center;
      min-height: 28px;
    }

    .breath-controls {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
    }

    /* Mood Check-in Panel */
    .mood-character-stage {
      background: var(--surface);
      border-radius: 26px;
      padding: 22px;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 12px;
      transition: background-color 0.35s ease;
    }

    .mood-quote {
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--ink);
      margin: 0;
      max-width: 34ch;
    }

    .mood-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }

    .mood-pill {
      min-height: 44px;
      padding: 8px 16px;
      border-radius: var(--radius-pill);
      background: var(--bg);
      border: 2px solid #F0D9BD;
      font-weight: 800;
      font-size: 0.92rem;
      color: var(--ink);
      transition: background 0.16s, border-color 0.16s, transform 0.14s;
    }

    .mood-pill:hover {
      transform: translateY(-1px);
    }

    .mood-pill.active {
      background: var(--accent);
      border-color: var(--accent);
      color: #FFFDF9;
    }

    /* Daily Ritual Cards */
    .rituals-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
      gap: 20px;
      margin-top: 24px;
    }

    .ritual-card {
      border-radius: 28px;
      padding: 24px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      transition: transform 0.2s ease;
    }

    .ritual-card:hover {
      transform: translateY(-4px);
    }

    .ritual-card.peach { background: #FFEBD2; }
    .ritual-card.butter { background: #FFF1B8; }
    .ritual-card.sage { background: #E3F2E1; }
    .ritual-card.sky { background: #DFEFF7; }

    .duration-tag {
      align-self: flex-start;
      background: rgba(255, 255, 255, 0.75);
      padding: 4px 12px;
      border-radius: var(--radius-pill);
      font-family: 'Space Mono', monospace;
      font-size: 0.76rem;
      font-weight: 700;
    }

    .ritual-card h3 {
      font-size: 1.38rem;
    }

    .ritual-card p {
      margin: 0;
      color: #4D4744;
      font-size: 0.96rem;
    }

    footer {
      margin-top: 44px;
      background: var(--surface);
      border-radius: 40px 40px 0 0;
      padding: 36px 0 44px;
    }

    .footer-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
    }

    @media (max-width: 820px) {
      .hero-card, .wellness-grid {
        grid-template-columns: 1fr;
      }
      .hero-card {
        padding: 30px 24px;
      }
      .nav-links, .nav-cta {
        display: none;
      }
      .menu-toggle {
        display: inline-flex;
      }
    }
  </style>
</head>
<body>
  <header>
    <div class="container nav-wrap">
      <a href="#top" class="brand">
        <svg width="36" height="36" viewBox="0 0 40 40" fill="none" aria-hidden="true">
          <circle cx="20" cy="20" r="16" fill="#F47D31"/>
          <circle cx="15" cy="18" r="2" fill="#292524"/>
          <circle cx="25" cy="18" r="2" fill="#292524"/>
          <path d="M15 24c1.5 2.5 8.5 2.5 10 0" stroke="#292524" stroke-width="2.4" stroke-linecap="round"/>
        </svg>
        <span>Sunbeam Mind</span>
      </a>

      <nav class="nav-links" aria-label="Main">
        <a href="#breathe">4-7-8 Breathing</a>
        <a href="#mood">Mood Check-In</a>
        <a href="#rituals">Daily Sessions</a>
      </nav>

      <div class="nav-cta">
        <a href="#breathe" class="pill-btn sunny">Start a Breath</a>
      </div>

      <button class="menu-toggle" id="menuToggle" aria-expanded="false" aria-controls="mobileNav" aria-label="Toggle Menu">
        <svg width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="#292524" stroke-width="2.5" stroke-linecap="round">
          <path d="M4 7h16M4 12h16M4 17h16"/>
        </svg>
      </button>
    </div>

    <div class="mobile-nav" id="mobileNav">
      <a href="#breathe">4-7-8 Breathing</a>
      <a href="#mood">Mood Check-In</a>
      <a href="#rituals">Daily Sessions</a>
    </div>
  </header>

  <main id="top">
    <section class="hero">
      <div class="container">
        <div class="hero-card">
          <div>
            <span class="hero-badge">☀ Warm daily pauses &bull; Zero pressure</span>
            <h1>Make a little sunny room in a busy head.</h1>
            <p>
              Take three quiet minutes to unclench your jaw, breathe along with our friendly sun orb, and check in with how today actually feels.
            </p>
            <div class="hero-actions">
              <a href="#breathe" class="pill-btn sunny">Try 4-7-8 Breathing</a>
              <a href="#mood" class="pill-btn soft">How Are You Feeling?</a>
            </div>
          </div>

          <div class="hero-art">
            <svg class="float-slow" width="270" height="240" viewBox="0 0 270 240" fill="none" role="img" aria-label="Smiling mid-century sun character resting on soft clouds">
              <!-- Warm halo -->
              <circle cx="138" cy="108" r="78" fill="#FFD166" opacity="0.35"/>
              <!-- Sun Rays -->
              <g stroke="#F47D31" stroke-width="6" stroke-linecap="round">
                <line x1="138" y1="16" x2="138" y2="30"/>
                <line x1="205" y1="42" x2="195" y2="52"/>
                <line x1="71" y1="42" x2="81" y2="52"/>
                <line x1="228" y1="108" x2="214" y2="108"/>
                <line x1="48" y1="108" x2="62" y2="108"/>
              </g>
              <!-- Sun Body -->
              <circle cx="138" cy="108" r="58" fill="#F47D31"/>
              <!-- Rosy Cheeks -->
              <ellipse cx="109" cy="116" rx="8" ry="5" fill="#FFD166" opacity="0.7"/>
              <ellipse cx="167" cy="116" rx="8" ry="5" fill="#FFD166" opacity="0.7"/>
              <!-- Happy Eyes -->
              <path d="M113 102c3-5 10-5 13 0" stroke="#292524" stroke-width="3.6" stroke-linecap="round"/>
              <path d="M150 102c3-5 10-5 13 0" stroke="#292524" stroke-width="3.6" stroke-linecap="round"/>
              <!-- Gentle Smile -->
              <path d="M124 120c7 8 21 8 28 0" stroke="#292524" stroke-width="3.6" stroke-linecap="round"/>
              <!-- Fluffy Cloud Foreground -->
              <path d="M52 192h170c17 0 28-11 28-25 0-13-10-24-24-25-4-18-20-31-40-31-14 0-27 7-34 18-6-5-14-8-23-8-18 0-33 13-35 30-15 1-27 12-27 25 0 9 7 16 15 16z" fill="#FFFDF9"/>
              <!-- Small sleepy cloud face -->
              <circle cx="176" cy="166" r="2.6" fill="#78716C"/>
              <circle cx="194" cy="166" r="2.6" fill="#78716C"/>
              <path d="M181 173c2.5 2.5 5.5 2.5 8 0" stroke="#78716C" stroke-width="2.4" stroke-linecap="round"/>
            </svg>
          </div>
        </div>
      </div>
    </section>

    <section class="section">
      <div class="container wellness-grid">
        <!-- 4-7-8 Breathing Timer -->
        <article class="soft-panel" id="breathe">
          <div>
            <span class="panel-kicker">Guided Pacer &bull; 4-7-8 Rhythm</span>
            <h2 style="font-size:1.85rem; margin-top:6px;">Breathe with the Sun Orb</h2>
          </div>

          <div class="breath-stage">
            <div class="orb-shell">
              <div class="breath-orb" id="breathOrb">
                <span class="breath-timer" id="breathCount">4</span>
                <span class="mono" style="font-size:0.72rem; opacity:0.9;" id="breathUnit">SEC</span>
              </div>
            </div>
            <div class="breath-phase" id="breathPhase" aria-live="polite">Press Play to begin a calm cycle</div>
          </div>

          <div class="breath-controls">
            <button class="pill-btn sunny" id="breathToggle">Play 4-7-8</button>
            <button class="pill-btn soft" id="breathReset">Reset</button>
          </div>
        </article>

        <!-- Interactive Mood Check-In -->
        <article class="soft-panel" id="mood">
          <div>
            <span class="panel-kicker">Gentle Check-In</span>
            <h2 style="font-size:1.85rem; margin-top:6px;">How is your weather today?</h2>
          </div>

          <div class="mood-character-stage" id="moodStage">
            <svg id="moodFaceSvg" width="136" height="136" viewBox="0 0 136 136" fill="none" role="img" aria-label="Sun character mood expression">
              <circle id="moodHalo" cx="68" cy="68" r="60" fill="#FFD166" opacity="0.4"/>
              <circle id="moodBody" cx="68" cy="68" r="44" fill="#F47D31"/>
              <g id="moodEyes">
                <path d="M49 63c3-4 8-4 11 0" stroke="#292524" stroke-width="3.2" stroke-linecap="round"/>
                <path d="M76 63c3-4 8-4 11 0" stroke="#292524" stroke-width="3.2" stroke-linecap="round"/>
              </g>
              <path id="moodMouth" d="M56 78c6 7 18 7 24 0" stroke="#292524" stroke-width="3.2" stroke-linecap="round"/>
            </svg>
            <p class="mood-quote" id="moodQuote">"Warm and steady. Enjoy this pocket of easy sunshine while it's here."</p>
          </div>

          <div class="mood-pills" role="radiogroup" aria-label="Select your current mood">
            <button class="mood-pill active" data-mood="sunny" aria-checked="true">Sunny</button>
            <button class="mood-pill" data-mood="restless" aria-checked="false">Restless</button>
            <button class="mood-pill" data-mood="sleepy" aria-checked="false">Sleepy</button>
            <button class="mood-pill" data-mood="overwhelmed" aria-checked="false">Overwhelmed</button>
            <button class="mood-pill" data-mood="grateful" aria-checked="false">Grateful</button>
          </div>
        </article>
      </div>
    </section>

    <section class="section" id="rituals">
      <div class="container">
        <span class="panel-kicker">Bite-Sized Audio Guides</span>
        <h2 style="font-size:clamp(1.9rem, 4vw, 2.7rem); margin-top:6px;">Small rituals for ordinary afternoons</h2>

        <div class="rituals-grid">
          <div class="ritual-card peach">
            <span class="duration-tag">3 MIN</span>
            <h3>Shoulder Drop</h3>
            <p>Unclench your jaw, melt your shoulders away from your ears, and reset between meetings.</p>
          </div>
          <div class="ritual-card butter">
            <span class="duration-tag">5 MIN</span>
            <h3>Morning Mug</h3>
            <p>Notice the warmth of your coffee or tea before checking a single notification.</p>
          </div>
          <div class="ritual-card sage">
            <span class="duration-tag">7 MIN</span>
            <h3>Cloud Watching</h3>
            <p>Let racing to-do thoughts drift past like slow afternoon cumulus clouds.</p>
          </div>
          <div class="ritual-card sky">
            <span class="duration-tag">10 MIN</span>
            <h3>Lantern Wind-Down</h3>
            <p>Soft storytelling and slow exhales to ease an overactive brain toward sleep.</p>
          </div>
        </div>
      </div>
    </section>
  </main>

  <footer>
    <div class="container footer-row">
      <div>
        <strong class="display" style="font-size:1.35rem;">Sunbeam Mind</strong>
        <div style="color:var(--muted); font-size:0.92rem;">Kindfulness, breathing timers &amp; sunny mid-century illustrations.</div>
      </div>
      <div class="mono" style="font-size:0.8rem; color:var(--muted);">Inhale 4 &bull; Hold 7 &bull; Exhale 8</div>
    </div>
  </footer>

  <script>
    // Mobile nav
    const menuToggle = document.getElementById('menuToggle');
    const mobileNav = document.getElementById('mobileNav');
    menuToggle.addEventListener('click', () => {
      const open = mobileNav.classList.toggle('open');
      menuToggle.setAttribute('aria-expanded', String(open));
    });
    mobileNav.querySelectorAll('a').forEach(a => {
      a.addEventListener('click', () => {
        mobileNav.classList.remove('open');
        menuToggle.setAttribute('aria-expanded', 'false');
      });
    });

    // 4-7-8 Guided Breathing Timer
    const phases = [
      { key: 'inhale', label: 'Inhale softly through your nose…', duration: 4 },
      { key: 'hold', label: 'Hold gently, relax your shoulders…', duration: 7 },
      { key: 'exhale', label: 'Exhale slowly through your mouth…', duration: 8 }
    ];

    const breathOrb = document.getElementById('breathOrb');
    const breathCount = document.getElementById('breathCount');
    const breathPhase = document.getElementById('breathPhase');
    const breathToggle = document.getElementById('breathToggle');
    const breathReset = document.getElementById('breathReset');

    let running = false;
    let phaseIdx = 0;
    let remaining = phases[0].duration;
    let timerId = null;

    function applyPhaseUI() {
      const p = phases[phaseIdx];
      breathOrb.classList.remove('inhale', 'hold', 'exhale');
      if (running) breathOrb.classList.add(p.key);
      breathCount.textContent = String(remaining);
      breathPhase.textContent = running ? p.label : 'Paused — resume whenever you feel ready';
    }

    function tick() {
      remaining -= 1;
      if (remaining <= 0) {
        phaseIdx = (phaseIdx + 1) % phases.length;
        remaining = phases[phaseIdx].duration;
      }
      applyPhaseUI();
    }

    breathToggle.addEventListener('click', () => {
      running = !running;
      if (running) {
        breathToggle.textContent = 'Pause';
        applyPhaseUI();
        timerId = setInterval(tick, 1000);
      } else {
        breathToggle.textContent = 'Resume 4-7-8';
        clearInterval(timerId);
        applyPhaseUI();
      }
    });

    breathReset.addEventListener('click', () => {
      running = false;
      clearInterval(timerId);
      phaseIdx = 0;
      remaining = phases[0].duration;
      breathOrb.classList.remove('inhale', 'hold', 'exhale');
      breathCount.textContent = '4';
      breathPhase.textContent = 'Press Play to begin a calm cycle';
      breathToggle.textContent = 'Play 4-7-8';
    });

    // Mood Check-In Selector
    const moodPresets = {
      sunny: {
        bg: '#FFEBD2',
        body: '#F47D31',
        halo: '#FFD166',
        eyes: '<path d="M49 63c3-4 8-4 11 0" stroke="#292524" stroke-width="3.2" stroke-linecap="round"/><path d="M76 63c3-4 8-4 11 0" stroke="#292524" stroke-width="3.2" stroke-linecap="round"/>',
        mouth: 'M56 78c6 7 18 7 24 0',
        quote: '"Warm and steady. Enjoy this pocket of easy sunshine while it\'s here."'
      },
      restless: {
        bg: '#FFF1C9',
        body: '#E89038',
        halo: '#F4A261',
        eyes: '<circle cx="55" cy="62" r="3.6" fill="#292524"/><circle cx="81" cy="62" r="3.6" fill="#292524"/>',
        mouth: 'M56 80q6-5 12 0t12 0',
        quote: '"Buzzing energy is just momentum looking for a soft place to land. Try one slow exhale."'
      },
      sleepy: {
        bg: '#E4EFF7',
        body: '#8ECAE6',
        halo: '#B9E2F5',
        eyes: '<path d="M49 64c3 3 8 3 11 0" stroke="#292524" stroke-width="3.2" stroke-linecap="round"/><path d="M76 64c3 3 8 3 11 0" stroke="#292524" stroke-width="3.2" stroke-linecap="round"/>',
        mouth: 'M62 79c3 4 9 4 12 0',
        quote: '"Low battery is not a flaw. Give yourself permission to move at half-speed today."'
      },
      overwhelmed: {
        bg: '#EDE6FA',
        body: '#B59EE8',
        halo: '#D6C8F5',
        eyes: '<circle cx="55" cy="64" r="3.2" fill="#292524"/><circle cx="81" cy="64" r="3.2" fill="#292524"/><path d="M48 55l12 3M88 55l-12 3" stroke="#292524" stroke-width="2.6" stroke-linecap="round"/>',
        mouth: 'M58 83c5-4 15-4 20 0',
        quote: '"You don\'t have to solve the whole week right now — just the next five quiet minutes."'
      },
      grateful: {
        bg: '#E3F2E1',
        body: '#76B86D',
        halo: '#B7E1B1',
        eyes: '<path d="M49 62c3-5 9-5 12 0" stroke="#292524" stroke-width="3.2" stroke-linecap="round"/><path d="M75 62c3-5 9-5 12 0" stroke="#292524" stroke-width="3.2" stroke-linecap="round"/>',
        mouth: 'M54 76c7 10 21 10 28 0',
        quote: '"Noticing one small good thing quietly rewires the whole afternoon."'
      }
    };

    const moodStage = document.getElementById('moodStage');
    const moodBody = document.getElementById('moodBody');
    const moodHalo = document.getElementById('moodHalo');
    const moodEyes = document.getElementById('moodEyes');
    const moodMouth = document.getElementById('moodMouth');
    const moodQuote = document.getElementById('moodQuote');

    document.querySelectorAll('.mood-pill').forEach(btn => {
      btn.addEventListener('click', () => {
        const m = moodPresets[btn.dataset.mood];
        document.querySelectorAll('.mood-pill').forEach(b => {
          const active = b === btn;
          b.classList.toggle('active', active);
          b.setAttribute('aria-checked', String(active));
        });
        moodStage.style.backgroundColor = m.bg;
        moodBody.setAttribute('fill', m.body);
        moodHalo.setAttribute('fill', m.halo);
        moodEyes.innerHTML = m.eyes;
        moodMouth.setAttribute('d', m.mouth);
        moodQuote.textContent = m.quote;
      });
    });
  </script>
</body>
</html>