@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@400;500;600;700&family=Spectral:ital,wght@0,400;0,500;1,400&family=Space+Mono&display=swap');
:root {
  --ground: #F3F5EF; --card: #FBFCF8; --raised: #EEF2E9; --line: #E3E9DC; --line2: #CFD9C7;
  --muted: #5F7A5B; --fg: #1E3A2F; --accent: #3F6B45; --action: #1E3A2F; --on: #FBFCF8; --tint: #E6EFE0; --heart: #B4473A;
  --calm: #6b5aa6; --sleep: #8a6d1a; --deep: #5d6391; --focus: #2f6f62; --memory: #3c74a6; --relax: #9a5874; --ease: #557a5e; --rest: #4d7a55;
  --shadow: 0 1px 2px rgba(30,58,47,.06), 0 8px 24px rgba(30,58,47,.08);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: #E4E8DF; color: var(--fg); font-family: "Hanken Grotesk", -apple-system, sans-serif; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 28px 16px 40px; }
.caption { max-width: 390px; text-align: center; }
.caption h1 { margin: 0 0 4px; font: 500 26px/1.2 Spectral, Georgia, serif; }
.caption p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.45; }
.phone { position: relative; width: 390px; height: 844px; border-radius: 44px; background: var(--ground); overflow: hidden;
  box-shadow: 0 0 0 10px #1b2420, 0 30px 60px rgba(0,0,0,.25); display: flex; flex-direction: column; }
/* On a real phone the mockup is the whole screen. The wrappers must be full width too, or the
   phone (width: 100% of a shrink-to-fit parent) collapses to nothing. */
@media (max-width: 430px) {
  body { padding: 0; gap: 0; background: var(--ground); display: block; }
  .caption { display: none; }
  .phones, .phones figure { display: block; width: 100%; }
  .phone { width: 100%; height: 100vh; height: 100dvh; border-radius: 0; box-shadow: none; }
  .phone .top { padding-top: max(16px, env(safe-area-inset-top)); }
}
.serif { font-family: Spectral, Georgia, serif; }
.mono { font-family: "Space Mono", ui-monospace, monospace; }
.muted { color: var(--muted); }
button { font: inherit; color: inherit; cursor: pointer; }
svg.i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 54px 20px 8px; }
.brand { display: flex; align-items: center; gap: 8px; font: 500 20px Spectral, serif; }
.round { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line2); background: var(--card); display: grid; place-items: center; padding: 0; }
.play { border: none; background: var(--action); color: var(--on); border-radius: 50%; display: grid; place-items: center; padding: 0; }
.track { position: relative; height: 6px; border-radius: 3px; background: var(--line2); }
.track > span { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: var(--accent); }
.track > span::after { content: ""; position: absolute; right: -9px; top: -6px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.switch { width: 50px; height: 30px; border-radius: 15px; background: var(--line2); position: relative; border: none; padding: 0; flex: 0 0 auto; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch.on { background: var(--accent); } .switch.on::after { left: 23px; }
.chip { height: 34px; padding: 0 14px; border-radius: 17px; border: 1px solid var(--line2); background: var(--raised); font-size: 13px; font-weight: 500; white-space: nowrap; }
.chip.on { background: var(--action); border-color: var(--action); color: var(--on); font-weight: 600; }
.seedy { width: 40px; height: 40px; flex: 0 0 auto; }
#root { display: contents; }
.phones { display: flex; flex-wrap: wrap; gap: 40px; justify-content: center; }
.phones figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.phones figcaption { font-size: 13px; color: var(--muted); }
.flag { margin-top: 8px !important; display: inline-block; padding: 4px 10px; border-radius: 10px; background: #F6E7C9; color: #6B4E12 !important; font-size: 12px !important; }
body.embed { padding: 0; background: var(--ground); display: block; }
body.embed .phones { display: block; }
body.embed .phone { box-shadow: none; border-radius: 0; }
body.embed .phones figure + figure { display: none; }
.overview { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px; width: 100%; max-width: 1200px; }
.ov { display: flex; flex-direction: column; gap: 4px; color: var(--fg); text-decoration: none; }
.ov iframe { width: 390px; height: 844px; border: 0; transform: scale(.6); transform-origin: 0 0; margin-bottom: calc(844px * -.4); margin-right: calc(390px * -.4); border-radius: 30px; box-shadow: 0 0 0 8px #1b2420; pointer-events: none; background: var(--ground); }
.ov span { font-size: 13px; color: var(--muted); }

/* Seedy (ported from web/src/garden/seedy/seedy.css + garden.css) */
:root { --leaf: #3F6B45; --leaf2: #6A9A5F; --seed: #EBD39C; --seedline: #7A5C1C; --ring: rgba(63,107,69,.18); }
.sd-sprout .sd-body, .sd-sprout .sd-foot1, .sd-sprout .sd-foot2 { transform-box: view-box; }
.sd-sprout .sd-body { transition: transform .16s ease; }
.sd-sprout .sd-leaves { transform-origin: 32px 31px; animation: sd-sway 3.2s ease-in-out infinite; }
.sd-sprout .sd-eyes { transform-origin: 32px 43px; animation: sd-blink 4.6s infinite; }
.sd-mascot:hover .sd-body { transform: translateY(-2px); }
.sd-walking .sd-body { animation: sd-bob .3s ease-in-out infinite alternate; }
.sd-walking .sd-foot1 { animation: sd-step .3s ease-in-out infinite alternate; }
.sd-walking .sd-foot2 { animation: sd-step .3s ease-in-out infinite alternate-reverse; }
.sd-listening .sd-body { animation: sd-bob .45s ease-in-out infinite alternate; }
.sd-listening .sd-leaves { animation-duration: .9s; }
.sd-cheer .sd-body { animation: sd-cheer .6s ease-out; }
.sd-cheer .sd-leaves { animation: sd-flutter .6s ease-out; }
.sd-hop .sd-body { animation: sd-hop .9s cubic-bezier(.3,1.6,.5,1); }
.sd-sleepy .sd-leaves { animation: sd-droop 3s ease-in-out infinite; }
.sd-sleepy .sd-eyes { animation: none; transform: scaleY(.25); }
.sd-ring { position: absolute; inset: 4px; border-radius: 50%; background: var(--ring); animation: sd-listen 1.3s ease-out infinite; pointer-events: none; }
@keyframes sd-sway { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(6deg); } }
@keyframes sd-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes sd-bob { from { transform: translateY(0); } to { transform: translateY(-4px); } }
@keyframes sd-step { from { transform: translateY(0); } to { transform: translateY(-3px); } }
@keyframes sd-cheer { 0%, 100% { transform: translateY(0); } 35% { transform: translateY(-12px); } }
@keyframes sd-flutter { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 45% { transform: rotate(12deg); } 70% { transform: rotate(-6deg); } }
@keyframes sd-hop { 0%, 100% { transform: translateY(0) rotate(0); } 25% { transform: translateY(-6px) rotate(-5deg); } 50% { transform: translateY(0) rotate(0); } 70% { transform: translateY(-3px) rotate(4deg); } }
@keyframes sd-droop { 0%, 100% { transform: rotate(-12deg) translateY(1px); } 50% { transform: rotate(-16deg) translateY(2px); } }
@keyframes sd-listen { 0% { transform: scale(1); opacity: .45; } 100% { transform: scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .sd-sprout *, .sd-ring { animation: none !important; } }
