/* Singbud landing page
   A picture book for grown-ups. Flat colour blocks hold the layout; ink outlines belong to the
   illustrations only, the way they do in the app icon. No gradients, no blurry shadows. */

:root {
  --mint: #EDFBFC;
  --cream: #FFF7EC;
  --cream-deep: #F3E6D2;
  --teal: #91D7D7;
  --teal-dark: #74C7C8;
  --teal-deeper: #5BB0B1;
  --belly: #D3F0EB;
  --coral: #F27165;
  --coral-dark: #C9564B;
  --coral-text: #C24F44;
  --blush: #FDE1DE;
  --ink: #2E3D44;
  --ink-soft: #55656C;
  --cheek: #FAA39F;
  --yellow: #D7D79C;
  --sun: #F4EFC8;
  --dash: #B5C5CA;
  --white: #FFFFFF;

  --font-head: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-hand: 'Caveat', 'Segoe Print', cursive;

  --r-card: 28px;
  --r-lg: 34px;
  --wrap: 1180px;
  --gutter: 20px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--mint);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 1.45rem + 2.6vw, 3.25rem); }
h3 { font-size: 1.4rem; }
p { margin: 0; }

/* SVG text styles used by the illustrations */
.f-head { font-family: var(--font-head); font-weight: 700; }
.f-sans { font-family: var(--font-body); }
.f-b { font-weight: 700; }
.f-hand { font-family: var(--font-hand); font-weight: 700; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 999px;
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 12px; }

/* ---------- Sections ---------- */

section { position: relative; padding: 52px 0 64px; }
section[data-bg="mint"] { background: var(--mint); }
section[data-bg="cream"] { background: var(--cream); }
section[data-bg="teal"] { background: var(--teal); }
section[data-bg="coral"] { background: var(--coral); }

.wave { position: relative; height: 44px; margin: -1px 0; }
.wave svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.sec-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.sec-head-left { text-align: left; margin-left: 0; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1.2;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--coral-text);
  margin-bottom: 14px;
}
.sec-lede { margin: 16px auto 0; color: var(--ink-soft); font-size: 1.15rem; max-width: 46ch; }
.sec-head-left .sec-lede { margin-left: 0; }

.annot {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--coral-text);
}

/* ---------- Buttons ---------- */

.btn {
  --edge: var(--coral-dark);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px;
  padding: 12px 26px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 5px 0 var(--edge);
  transition: transform 90ms ease-out, box-shadow 90ms ease-out, background-color 150ms ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 0 var(--edge); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--edge); transition-duration: 40ms; }
.btn[disabled] { opacity: 0.65; cursor: default; transform: none; box-shadow: 0 5px 0 var(--edge); }

.btn-primary { background: var(--coral); color: var(--white); }
.btn-primary:hover { background: #F47E73; }
.btn-secondary { --edge: #A9DCDC; background: var(--white); color: var(--ink); }
.btn-secondary:hover { background: #FBFFFF; }
.btn-ink { --edge: #18242A; background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: #3A4B53; }
.btn-lg { min-height: 58px; padding: 14px 32px; font-size: 1.15rem; }
.btn-sm { min-height: 40px; padding: 7px 18px; font-size: 0.975rem; box-shadow: 0 3px 0 var(--edge); }
.btn-sm:hover { box-shadow: 0 4px 0 var(--edge); }
.btn-sm:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--edge); }

.btn-link {
  background: none; border: 0; padding: 8px 4px; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  color: var(--ink); text-decoration: underline; text-decoration-color: var(--coral);
  text-decoration-thickness: 2px; text-underline-offset: 5px;
}
.btn-link:hover { text-decoration-color: var(--ink); }

.pill {
  display: inline-flex; align-items: center;
  padding: 5px 15px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 3px 0 #CDEBEB;
  font-weight: 700; font-size: 0.95rem;
}

/* ---------- Brand ---------- */


.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
  font-family: var(--font-head); font-weight: 700; font-size: 1.7rem;
  letter-spacing: -0.01em;
}
/* Logo: Bud on his own, cut from the app icon. Rebuild with tools/make-mark.py */
.brand-tile { flex: none; display: inline-block; line-height: 0; }
.brand-tile img { max-width: none; } /* the global max-width would squash him */
/* Snug: the beak tip stops just short of the first letter */
.brand-tile img { width: 64px; height: 64px; margin: -6px -7px -6px -6px; }
.brand-sm { font-size: 1.3rem; gap: 10px; }
.brand-sm .brand-tile img { width: 42px; height: 42px; margin: -4px -5px -4px -4px; }
/* On the dark footer his ink outline and beak vanish, so he gets a thin mint sticker edge */
.footer-brand .brand-tile img {
  filter: drop-shadow(1.5px 0 0 var(--mint)) drop-shadow(-1.5px 0 0 var(--mint))
          drop-shadow(0 1.5px 0 var(--mint)) drop-shadow(0 -1.5px 0 var(--mint));
}

.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  background: rgba(255, 247, 236, 0.97);
  box-shadow: 0 3px 0 var(--cream-deep);
  transform: translateY(-115%);
  transition: transform 260ms cubic-bezier(.2,.8,.2,1);
}
.topbar.is-on { transform: none; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 62px; }

/* Log in: opens the welcome test at start/ */
.nav-login { flex: none; }
.topbar-actions { display: flex; align-items: center; gap: 16px; }
.topbar-login {
  font-weight: 700; text-decoration: none;
  padding: 6px 2px; border-bottom: 2px solid transparent;
}
.topbar-login:hover { border-bottom-color: var(--coral); }
/* Narrow phones: Bud's mark alone in the bar leaves room for Log in */
@media (max-width: 399px) { .topbar .brand-sm > span:last-child { display: none; } }
@media (max-width: 899px) { .topbar-login { display: none; } }

/* ---------- Phone menu ---------- */

.nav-end { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: var(--white); color: var(--ink);
  box-shadow: 0 3px 0 #A9DCDC;
  cursor: pointer;
  transition: transform 90ms ease-out, box-shadow 90ms ease-out;
  -webkit-tap-highlight-color: transparent;
}
.menu-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #A9DCDC; }
.topbar .menu-btn { width: 40px; height: 40px; }

.mmenu { position: fixed; inset: 0; z-index: 60; }
.mmenu-backdrop {
  position: absolute; inset: 0;
  background: rgba(46, 61, 68, 0.35);
  opacity: 0; transition: opacity 200ms ease;
}
.mmenu-panel {
  position: absolute; left: 0; right: 0; top: 0;
  max-height: 100%; overflow-y: auto;
  background: var(--cream);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  box-shadow: 0 6px 0 var(--cream-deep);
  padding: 12px var(--gutter) 26px;
  transform: translateY(-104%);
  transition: transform 240ms cubic-bezier(.2, .8, .2, 1);
}
.mmenu.is-open .mmenu-backdrop { opacity: 1; }
.mmenu.is-open .mmenu-panel { transform: none; }
.mmenu-head { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.mmenu-links { list-style: none; margin: 8px 0 0; padding: 0; }
.mmenu-links li + li { border-top: 2px dashed var(--cream-deep); }
.mmenu-links a {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 56px; padding: 6px 4px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
  text-decoration: none;
}
.mmenu-links a::after {
  content: ''; width: 9px; height: 9px;
  border-right: 2.6px solid var(--coral); border-top: 2.6px solid var(--coral);
  border-radius: 1px; transform: rotate(45deg); margin-right: 6px;
}
.mmenu-actions { display: grid; gap: 8px; justify-items: center; margin-top: 18px; }
.mmenu-actions .btn { width: 100%; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */

.hero { padding: 18px 0 40px; overflow: hidden; }
.hero-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: clamp(14px, 2vw, 26px); white-space: nowrap; }
.nav-links a {
  font-weight: 600; text-decoration: none;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { border-bottom-color: var(--coral); }

.hero-grid { display: grid; gap: 22px; align-items: center; margin-top: 26px; }

.hero-title {
  font-size: clamp(2.5rem, 1.5rem + 3.6vw, 4.1rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.nowrap { white-space: nowrap; }
.br-wide { display: none; }
.squiggle {
  position: relative; display: inline-block; white-space: nowrap;
  isolation: isolate; /* keeps the line behind the letters but above the page */
}
/* Sits under the descender of "g", not through it */
.squiggle-line {
  position: absolute; left: -3%; bottom: -0.14em; z-index: -1;
  width: 106%; height: 0.2em; overflow: visible;
}
.squiggle-line path {
  stroke-width: 0.075em;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.hero-title .squiggle-line path { animation: draw-on 0.9s cubic-bezier(.6, 0, .3, 1) 0.35s both; }
@keyframes draw-on { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.hero-subline {
  margin-top: 14px;
  font-family: var(--font-head); font-weight: 600;
  font-size: 1.25rem; line-height: 1.3;
  color: var(--coral-text);
}
.hero-lede { margin-top: 12px; font-size: 1.125rem; color: var(--ink-soft); max-width: 36ch; }
.hero-ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; }
.soon {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 24px; font-size: 0.975rem; color: var(--ink-soft);
}

.hero-art { position: relative; width: 100%; max-width: 560px; margin: 0 auto; }
.scene { width: 100%; height: auto; overflow: visible; }

/* The three steps under the phone on small screens, beside it on larger ones */
.callouts { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.callout { display: flex; align-items: center; gap: 10px; font-weight: 700; line-height: 1.25; }
.callout-num {
  flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--coral); color: var(--white);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
}
.scene-leader { display: none; }

/* ---------- Ribbon ---------- */

/* The tilted ribbon is wider than the screen. Clip it at <main> so the page can't scroll sideways
   (body's overflow-x: hidden still lets scrollIntoView and some phones shift it). clip keeps sticky working. */
main { overflow-x: clip; }

.ribbon {
  position: relative; z-index: 2;
  background: var(--coral);
  color: var(--cream);
  overflow: hidden;
  transform: rotate(-1.6deg);
  margin: 6px -20px;
  padding: 14px 0;
  box-shadow: 0 6px 0 var(--coral-dark);
}
.ribbon-track { display: flex; width: max-content; animation: ribbon 46s linear infinite; }
.ribbon ul { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0 11px; }
.ribbon li {
  white-space: nowrap;
  font-family: var(--font-head); font-weight: 600;
  font-size: 1.35rem;
}
.ribbon-note svg { width: 16px; height: 20px; color: var(--sun); }

/* ---------- Demo ---------- */

.demo { padding-top: 72px; }
.test-card {
  position: relative;
  max-width: 900px; margin: 0 auto;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: 0 10px 0 var(--cream-deep);
  padding: 22px 20px 28px;
  display: grid; gap: 4px;
}
.test-bud { display: flex; justify-content: center; }
.test-bud .bud-stage { width: 170px; }
.test-body { min-width: 0; }

.test-points { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.test-points li { padding-left: 36px; position: relative; }
.test-points li::before {
  content: ''; position: absolute; left: 0; top: 2px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7 11.5l3 3 5-6' fill='none' stroke='%232E3D44' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.test-points li.test-private::before {
  background: var(--belly) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Crect x='6.5' y='10' width='9' height='7' rx='2' fill='none' stroke='%232E3D44' stroke-width='2'/%3E%3Cpath d='M8.5 10V8.5a2.5 2.5 0 0 1 5 0V10' fill='none' stroke='%232E3D44' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.test-view > .btn { width: 100%; }
.test-status { font-size: 1.1rem; margin-bottom: 18px; }

.test-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.test-progress { font-weight: 700; color: var(--ink-soft); font-size: 0.95rem; }
.dots { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0; }
.dots li {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--white);
  transition: background-color 200ms ease, transform 200ms ease;
}
.dots li.is-now { background: var(--yellow); transform: scale(1.12); }
.dots li.is-hit { background: var(--teal); }
.dots li.is-miss { background: var(--cheek); }

.test-prompt { font-size: 1.6rem; margin-bottom: 14px; }
.chart-wrap { position: relative; border-radius: 22px; background: var(--mint); overflow: hidden; }
.chart { width: 100%; height: 200px; }
.chart-legend {
  position: absolute; right: 12px; top: 10px;
  display: flex; gap: 14px; font-size: 0.85rem; font-weight: 700;
}
.lg { display: inline-flex; align-items: center; gap: 6px; }
.lg::before { content: ''; width: 14px; height: 4px; border-radius: 4px; }
.lg-target::before { background: var(--teal-dark); }
.lg-you::before { background: var(--coral); height: 10px; width: 10px; border-radius: 50%; border: 2px solid var(--ink); }

.test-hint {
  min-height: 2.2em; margin-top: 14px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.4rem;
  text-align: center;
}
.test-hint.is-good { color: #3E9C9D; }
.test-controls { display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 10px; }
.test-controls[aria-disabled="true"] { visibility: hidden; }

.result { text-align: center; }
.result .eyebrow { margin-bottom: 6px; }
.result-score { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.5rem); }
.result-tier { margin-top: 14px; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--coral-text); }
.result-body { margin: 4px auto 0; max-width: 40ch; }
.result-distance { margin-top: 10px; color: var(--ink-soft); font-size: 0.95rem; }
.result-card {
  width: min(100%, 300px); aspect-ratio: 1; margin: 22px auto 0;
  border-radius: 24px; background: var(--cream);
  box-shadow: 0 6px 0 var(--cream-deep);
}
.result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.result-actions-quiet { margin-top: 10px; gap: 22px; }
.toast { min-height: 1.6em; margin-top: 8px; font-weight: 700; color: #3E9C9D; }

/* ---------- How it works ---------- */

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.step {
  border-radius: var(--r-card);
  padding: 22px 24px 28px;
  background: var(--white);
}
.step:nth-child(1) { background: var(--sun); }
.step:nth-child(2) { background: var(--white); }
.step:nth-child(3) { background: var(--blush); }
.step-art { width: 100%; max-width: 240px; height: auto; margin: 0 auto 10px; }
.step-num { font-family: var(--font-body); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.09em; color: var(--coral-text); }
.step h3 { font-size: 2rem; margin-top: 2px; }
.step-meta { font-weight: 700; margin-top: 6px; }
.step-body { margin-top: 10px; color: var(--ink-soft); }

/* ---------- 21-day path ---------- */

.trail { position: relative; max-width: 1040px; margin: 0 auto; }
.trail-line { display: none; }
.stops { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.stop {
  position: relative;
  display: grid; grid-template-columns: 72px 1fr; column-gap: 16px; align-items: center;
  padding: 10px 0;
}
.stop::before {
  content: ''; position: absolute; left: 35px; top: 0; bottom: 0;
  border-left: 3px dashed var(--dash);
  z-index: 0;
}
.stop:first-child::before { top: 50%; }
.stop:last-child::before { bottom: 50%; }
.stop-node { grid-row: span 2; width: 72px; height: 72px; position: relative; z-index: 1; }
.stop-day { font-family: var(--font-body); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.2; color: var(--coral-text); align-self: end; }
.stop-name {
  font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; line-height: 1.2; align-self: start;
}
.trail-annot { display: flex; align-items: center; gap: 6px; margin: 14px 0 0 88px; }
.trail-annot svg { width: 46px; height: 32px; transform: scaleY(-1) rotate(10deg); }

/* ---------- Big moment ---------- */

.moment .eyebrow { color: var(--ink); }
.moment .sec-lede { color: #2B4A50; margin-left: 0; }
.moment-grid { display: grid; gap: 40px; align-items: center; }

.chips { border: 0; padding: 0; margin: 28px 0 0; min-width: 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 18px 6px 6px;
  border: 0; border-radius: 999px;
  background: var(--white);
  box-shadow: 0 4px 0 var(--teal-deeper);
  font-weight: 700; font-size: 1rem;
  cursor: pointer;
  transition: transform 90ms ease-out, box-shadow 90ms ease-out, background-color 150ms ease;
}
.chip:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--teal-deeper); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--cream); box-shadow: 0 4px 0 #18242A; }
.chip-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; }
.chip-icon svg { width: 30px; height: 30px; }

.days { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 30px; }
.days-label { font-weight: 700; }
.days-value { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; line-height: 1; }
.range {
  --fill: 10%;
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 14px; margin: 14px 0 0;
  border-radius: 999px;
  background: linear-gradient(to right, var(--coral) 0 var(--fill), var(--cream) var(--fill) 100%);
  box-shadow: inset 0 0 0 2.5px var(--ink);
  cursor: pointer;
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--ink);
  box-shadow: 0 3px 0 var(--ink);
}
.range::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--ink);
  box-shadow: 0 3px 0 var(--ink);
}

.moment-art { display: flex; justify-content: center; }
.ticket {
  position: relative;
  display: grid; grid-template-columns: 1fr 112px;
  width: 100%; max-width: 500px;
  background: var(--cream);
  border-radius: 26px;
  box-shadow: 0 10px 0 var(--teal-deeper);
  transform: rotate(-2.5deg);
}
.ticket.is-punched { animation: punch 420ms ease-out; }
.ticket-main { padding: 26px 22px 28px 28px; min-width: 0; }
.ticket-kicker { font-family: var(--font-body); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--coral-text); }
.ticket-title {
  margin-top: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.7rem); line-height: 1.02;
}
.ticket-count { margin-top: 16px; }
.ticket-count span {
  display: inline-block;
  font-family: var(--font-head); font-weight: 700; font-size: 1.35rem;
  background: var(--sun); padding: 2px 16px; border-radius: 999px;
}
.ticket-plan { margin-top: 16px; color: var(--ink-soft); font-size: 0.98rem; }
.ticket-stub {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  border-left: 3px dashed var(--dash);
  padding: 18px 8px;
}
.ticket-stub::before, .ticket-stub::after {
  content: ''; position: absolute; left: -16px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--teal);
}
.ticket-stub::before { top: -15px; }
.ticket-stub::after { bottom: -15px; }
.ticket-icon { width: 76px; height: 76px; border-radius: 50%; background: var(--white); display: grid; place-items: center; }
.ticket-icon svg { width: 62px; height: 62px; }
.ticket-admit { font-weight: 700; font-size: 0.9rem; line-height: 1.2; text-align: center; }

/* ---------- Features bento ---------- */

.bento { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.bento-card {
  position: relative;
  border-radius: var(--r-card);
  padding: 26px 24px;
  background: var(--white);
  display: flex; flex-direction: column; gap: 18px;
  overflow: hidden;
}
.bento-card h3 { font-size: 1.5rem; }
.bento-card p { margin-top: 8px; color: var(--ink-soft); }
.bento-art { width: 100%; height: auto; margin-top: auto; }
.b-pitch { background: #DDF3F0; }
.b-streak { background: var(--sun); }
.b-streak .bento-art { max-width: 320px; }
.b-bud { background: var(--blush); }
.b-countdown { background: var(--white); }
.b-countdown .bento-art { max-width: 230px; align-self: center; }
.b-privacy { background: var(--ink); color: var(--cream); }
.b-privacy p { color: #C9DADB; }
.b-privacy .bento-art { max-width: 220px; align-self: center; }
.b-offline { background: var(--white); }
.b-offline .bento-art { max-width: 300px; }

.bento-coach { display: flex; align-items: flex-end; gap: 8px; margin-top: auto; }
.bento-card .bubble {
  position: relative; flex: 1;
  background: var(--white);
  border-radius: 22px;
  padding: 14px 16px;
  margin: 0 0 44px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; line-height: 1.3;
  color: var(--ink);
}
.bubble::after {
  content: ''; position: absolute; right: -10px; bottom: 16px;
  border: 10px solid transparent; border-left-color: var(--white); border-right: 0;
}
.bento-bud { width: 118px; flex: none; transform: scaleX(-1); }

/* ---------- Pricing ---------- */

.plans { display: grid; gap: 34px; max-width: 860px; margin: 0 auto; align-items: stretch; }
.plan {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: var(--r-lg);
  padding: 32px 28px 30px;
  background: var(--white);
  box-shadow: 0 8px 0 #CDEBEB;
}
.plan-life { background: var(--coral); color: var(--white); box-shadow: 0 8px 0 var(--coral-dark); }
.plan-badge {
  position: absolute; top: -18px; right: 20px;
  background: var(--sun); color: var(--ink);
  border: 2.5px solid var(--ink); border-radius: 999px;
  padding: 3px 16px;
  font-weight: 800; font-size: 0.9rem; line-height: 1.4;
  transform: rotate(4deg);
}
.plan-name { font-size: 1.6rem; }
.plan-price {
  font-family: var(--font-head); font-weight: 600; font-size: 3.8rem; line-height: 1.05; margin-top: 6px;
}
.plan-price small { font-family: var(--font-body); font-size: 1.15rem; font-weight: 700; letter-spacing: 0; }
.plan-list { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 11px; flex: 1; align-content: start; }
.plan-list li { position: relative; padding-left: 32px; }
.plan-list li::before {
  content: ''; position: absolute; left: 0; top: 0.2em;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.5 9.3l2.3 2.3 4.4-5' fill='none' stroke='%232E3D44' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.plan-life .plan-list li::before { background-color: var(--cream); }
.plan-tear {
  position: relative;
  margin: 0 -28px 26px;
  border-top: 3px dashed rgba(255, 247, 236, 0.7);
}
.plan-tear::before, .plan-tear::after {
  content: ''; position: absolute; top: -16px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--cream);
}
.plan-tear::before { left: -15px; }
.plan-tear::after { right: -15px; }
.placeholder {
  background: var(--sun); color: var(--ink); border-radius: 6px; padding: 0 6px;
  font-family: ui-monospace, Menlo, monospace; font-size: 0.85em;
}

/* ---------- FAQ ---------- */

.faq-grid { display: grid; gap: 26px; }
.faq-side { display: grid; grid-template-columns: 1fr 120px; align-items: end; gap: 12px; }
.faq-side .sec-head { margin-bottom: 0; }
.faq-bud { width: 120px; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 4px 0 var(--cream-deep);
  overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.25rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--belly);
  display: grid; place-items: center;
  transition: transform 220ms ease, background-color 200ms ease;
}
.faq-item[open] .faq-toggle { transform: rotate(45deg); background: var(--cheek); }
.faq-item .faq-a { padding: 0 20px 20px; color: var(--ink-soft); max-width: 62ch; }

/* ---------- Start singing ---------- */

.annot-cream { color: var(--sun); position: absolute; right: -40px; top: -34px; transform: rotate(8deg); white-space: nowrap; }

.start { color: var(--cream); padding-bottom: 72px; }
.start .eyebrow { color: var(--sun); }
.start h2 { color: var(--white); }
.start .sec-lede { color: #FFE9E4; margin-left: 0; }
.start-grid { display: grid; gap: 10px; align-items: center; }
.start-bud { position: relative; width: 200px; margin: 0 auto; }
.start-steps { list-style: none; counter-reset: step; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.start-steps li {
  counter-increment: step;
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; color: var(--white);
}
.start-steps li::before {
  content: counter(step);
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream); color: var(--coral-text);
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem;
}
.start .fine { margin-top: 16px; font-size: 0.92rem; color: #FFE9E4; }

/* ---------- Footer ---------- */

.footer { background: var(--ink); color: var(--mint); padding: 40px 0 48px; }
.footer-inner { display: grid; gap: 20px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-name {
  font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; line-height: 1; color: var(--cream);
}
.footer-tag { font-weight: 600; font-size: 1.05rem; color: var(--cheek); }
.footer-fine { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 0.92rem; color: #B9CBCD; }
.footer-fine a { color: inherit; }

/* ---------- Bud ---------- */

.bud-stage { position: relative; }
.bud { width: 100%; height: auto; overflow: visible; }

/* ---------- Motion (gentle) ---------- */

@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
/* Logo: one small hello hop on load, a wiggle on hover or tap. Never loops. */
@keyframes logo-hop {
  0%, 100% { transform: translateY(0) rotate(0); }
  30% { transform: translateY(-6px) rotate(-6deg); }
  55% { transform: translateY(0) rotate(0); }
  72% { transform: translateY(-2px) rotate(2deg); }
}
@keyframes logo-wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: translateY(-3px) rotate(-9deg); }
  50% { transform: rotate(6deg); }
  75% { transform: rotate(-3deg); }
}
@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 95.5% { transform: scaleY(0.12); } }
@keyframes wave {
  0%, 55%, 100% { transform: rotate(0deg); }
  62% { transform: rotate(24deg); }
  70% { transform: rotate(4deg); }
  78% { transform: rotate(24deg); }
  86% { transform: rotate(0deg); }
}
@keyframes drift {
  0% { transform: translateY(6px); opacity: 0; }
  20%, 70% { opacity: 1; }
  100% { transform: translateY(-26px); opacity: 0; }
}
@keyframes sing-up { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-8deg); } }
@keyframes sing-lo { 0%, 100% { transform: rotate(2deg); } 50% { transform: rotate(12deg); } }
@keyframes hop {
  0%, 100% { transform: translateY(0) rotate(0); }
  30% { transform: translateY(-18px) rotate(-3deg); }
  55% { transform: translateY(0) rotate(0); }
  72% { transform: translateY(-7px); }
}
@keyframes tilt { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-4deg); } }
@keyframes sound { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
@keyframes ribbon { to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@keyframes punch { 0% { transform: rotate(-2.5deg) scale(1); } 40% { transform: rotate(-1deg) scale(1.03); } 100% { transform: rotate(-2.5deg) scale(1); } }
/* Hummingbird hover: a slow, loose figure of eight around one spot */
@keyframes hover {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-10px, -7px); }
  40% { transform: translate(-16px, 2px); }
  60% { transform: translate(-6px, 6px); }
  80% { transform: translate(6px, -4px); }
}
@keyframes flap { 0%, 100% { transform: rotate(8deg); } 50% { transform: rotate(-12deg); } }

.brand-tile img { transform-origin: 50% 85%; }
.hero-nav .brand .brand-tile img { animation: logo-hop 0.8s cubic-bezier(.3, .7, .4, 1) 0.5s both; }
.brand:hover .brand-tile img, .brand:focus-visible .brand-tile img,
.footer-brand:hover .brand-tile img { animation: logo-wiggle 0.6s ease-in-out; }
.bud-float { animation: bob 4.5s ease-in-out infinite; }
.bud .bud-eye { animation: blink 5.5s infinite; }
.bud-wave .bud-wing { animation: wave 6s ease-in-out infinite; }
.bud-note { animation: drift 5s ease-in-out infinite; }
.bud-note-2 { animation-delay: 2.5s; }
.bud-note-3 { animation-delay: 1.2s; }
.bud-think { animation: tilt 7s ease-in-out infinite; transform-origin: 50% 80%; }
.bud-sing .bud-sound { opacity: 0.25; }
.bud-sing .bud-note { opacity: 0; animation: none; }
.bento-bud .bud-sound { animation: sound 1.4s ease-in-out infinite; }

.scene-lift { transform-origin: 519px 80px; }
.scene-lift.is-lifting .bud-wing { animation-duration: 0.32s; }
.scene-bud { animation: hover 7s ease-in-out infinite; }
.scene-bud .bud-wing { animation: flap 0.7s ease-in-out infinite; }
.scene-bud.is-singing .bud-beak-up { animation: sing-up 1.2s ease-in-out infinite; }
.scene-bud.is-singing .bud-beak-lo { animation: sing-lo 1.2s ease-in-out infinite; }
.scene-bud.is-singing .bud-sound { animation: sound 1.2s ease-in-out infinite; }
.scene-bud.is-singing .bud-note { animation: drift 3.6s ease-out infinite; }
.scene-dot { transform-box: fill-box; transform-origin: center; animation: pulse 2.2s ease-in-out infinite; }
.bento-dot { transform-box: fill-box; transform-origin: center; animation: pulse 2.2s ease-in-out infinite; }

.is-singing .bud-beak-up { animation: sing-up 0.42s ease-in-out infinite; }
.is-singing .bud-beak-lo { animation: sing-lo 0.42s ease-in-out infinite; }
.is-singing .bud-sound { animation: sound 0.42s ease-in-out infinite; }
.is-singing .bud-note { animation: drift 1.6s ease-out infinite; }
.is-hopping { animation: hop 0.9s ease-out; }
.bud-cheer { animation: hop 1.1s ease-out 0.1s; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
  .reveal { opacity: 1; transform: none; }
  .btn:active, .btn:hover { transform: none; }
  .bud-sing .bud-sound { opacity: 1; }
  .ribbon-track ul[aria-hidden] { display: none; }
}

/* ---------- Larger screens ---------- */

@media (min-width: 560px) {
  :root { --gutter: 28px; }
  .br-wide { display: inline; }
  .scene-leader { display: inline; }
  .callouts { margin: 0; }
  .callout {
    position: absolute; width: max-content; max-width: 10.5rem;
    background: var(--white); border-radius: 16px;
    padding: 8px 12px 8px 8px;
    box-shadow: 0 3px 0 #E6DFBF;
    font-size: 0.9rem;
  }
  .c1 { left: 73%; top: 27%; }
  .c2 { right: 73%; top: 67%; }
  .c3 { left: 74%; top: 51%; }
  .hero-ctas { flex-direction: row; flex-wrap: wrap; }
  .test-view > .btn { width: auto; }
  .test-card { padding: 28px 32px 32px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .b-pitch, .b-offline { grid-column: 1 / -1; }
}

@media (min-width: 760px) {
  .wave { height: 64px; }
  .plans { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .chart { height: 240px; }
  .test-card { grid-template-columns: 190px 1fr; gap: 28px; align-items: start; }
  .test-bud { position: sticky; top: 90px; padding-top: 10px; }
  .test-bud .bud-stage { width: 190px; }
  .test-view[data-view="intro"] { padding-top: 22px; }

  /* Path runs left to right on a wavy line */
  .trail-line { display: block; position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 120px; }
  .stops { grid-template-columns: repeat(5, 1fr); gap: 12px; }
  .stop { grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: 8px; padding: 0; }
  .stop::before { display: none; }
  .stop-node { grid-row: auto; width: 84px; height: 84px; }
  .stop:nth-child(1) { margin-top: 26px; }
  .stop:nth-child(3) { margin-top: 40px; }
  .stop:nth-child(4) { margin-top: 2px; }
  .stop:nth-child(5) { margin-top: 26px; }
  .stop-day, .stop-name { align-self: auto; }
  .trail-annot { position: absolute; left: 25%; top: 200px; margin: 0; }
  .trail { padding-bottom: 60px; }
}

@media (min-width: 900px) {
  section { padding: 76px 0 92px; }
  .demo { padding-top: 96px; }
  .wave { height: 80px; }
  /* The hero fills the first screen minus the ribbon, so the ribbon sits on the fold's bottom edge. */
  .hero { padding: 22px 0 28px; min-height: calc(100svh - 70px); display: flex; flex-direction: column; }
  .hero > .wrap { flex: 1; display: flex; flex-direction: column; }
  .nav-links { display: flex; }
  .menu-btn, .mmenu { display: none !important; }
  .hero-grid { flex: 1; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 12px; align-content: center; }
  /* Scene height follows the window so the ribbon below peeks in on laptop screens.
     600 / 640 is the scene's aspect ratio. */
  .hero-art {
    max-width: none;
    width: clamp(380px, calc((100svh - 280px) * 0.9375), 100%);
    justify-self: end;
    margin: 0 -10px 0 0;
  }
  .ribbon { margin: 0 -40px; }
  .moment-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
  .bento { grid-template-columns: repeat(6, 1fr); gap: 18px; }
  .b-pitch { grid-column: span 4; flex-direction: row; align-items: center; }
  .b-pitch .bento-text { flex: 0 0 38%; }
  .b-pitch .bento-art { margin: 0; flex: 1; min-width: 0; }
  .b-streak, .b-bud, .b-countdown, .b-privacy { grid-column: span 2; }
  .b-offline { grid-column: span 6; flex-direction: row; align-items: center; justify-content: space-between; }
  .b-offline .bento-art { margin: 0; flex: 0 0 300px; }
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
  .faq-side { position: sticky; top: 100px; grid-template-columns: 1fr; }
  .faq-bud { width: 250px; margin-top: 24px; }
  .start-grid { grid-template-columns: 300px 1fr; gap: 48px; }
  .start-bud { width: 260px; }
  .footer-inner { grid-template-columns: auto 1fr; align-items: center; column-gap: 40px; }
  .footer-fine { justify-content: flex-end; }
}

/* ---------- Songs: three ways ---------- */
.ways { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 20px; max-width: 1080px; }
.way { position: relative; background: var(--white); border-radius: var(--r-card); padding: 28px 26px 30px; box-shadow: 0 6px 0 #CDEBEB; }
.way h3 { font-size: 1.45rem; margin-top: 6px; }
.way > p:last-child { margin-top: 10px; color: var(--ink-soft); }
.way-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--mint); margin-bottom: 14px; }
.way-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.way-icon .f { fill: var(--coral); }
.way-tag { display: inline-block; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--coral-text, #C24F44); }
@media (min-width: 900px) { .ways { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Pricing comparison ---------- */
.compare-wrap { max-width: 560px; margin: 44px auto 0; }
.compare-title { text-align: center; font-size: 1.3rem; margin-bottom: 12px; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.compare th, .compare td { background: var(--white); padding: 14px 18px; text-align: left; font-weight: 700; }
.compare th { border-radius: 16px 0 0 16px; }
.compare td { border-radius: 0 16px 16px 0; text-align: right; color: var(--ink-soft); }
.compare .is-us th, .compare .is-us td { background: var(--teal); color: var(--ink); }
.compare-note { text-align: center; color: var(--ink-soft); font-size: 0.85rem; margin-top: 6px; }

/* ---------- Tick lists (song coach, jam) ---------- */
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 0.2em;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.5 9.3l2.3 2.3 4.4-5' fill='none' stroke='%232E3D44' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.ticks-dark li { color: #E3EEEF; }

/* ---------- Song coach (top of Songs) ---------- */
.coach {
  display: grid; gap: 26px;
  max-width: 1080px; margin: 0 auto 28px;
  padding: 30px 24px 26px;
  border-radius: var(--r-lg);
  background: var(--ink); color: var(--cream);
  box-shadow: 0 8px 0 #1E2A30;
}
.coach .way-tag { color: var(--sun); }
.coach-title { font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); color: var(--white); margin-top: 6px; }
.coach-body { margin-top: 14px; color: #C9DADB; max-width: 52ch; }
.coach-label { display: block; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: #A9C4C6; }
.coach-sources { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.coach-src { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.coach-src li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px 6px 8px; border-radius: 999px;
  background: var(--cream); color: var(--ink); font-weight: 700;
  box-shadow: 0 3px 0 #18242A;
}
.coach-src svg { width: 26px; height: 26px; padding: 3px; border-radius: 50%; background: var(--teal); fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.coach-src .f { fill: var(--coral); stroke: var(--ink); }
.coach-side { min-width: 0; }
.coach-svg { width: 100%; height: auto; border-radius: 26px; }
.coach-side .coach-label { margin-top: 18px; }
.coach-steps { list-style: none; counter-reset: step; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.coach-steps li {
  counter-increment: step;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px 5px 5px; border-radius: 999px;
  background: #3B4D55; color: var(--cream); font-weight: 600; font-size: 0.95rem; line-height: 1.3;
}
.coach-steps li::before {
  content: counter(step);
  display: grid; place-items: center; flex: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--teal); color: var(--ink); font-weight: 800; font-size: 0.85rem;
}
.coach-steps li:last-child::before { background: var(--coral); color: var(--white); }
.coach-note { padding-top: 18px; border-top: 2px dashed #4A5D65; color: #A9C4C6; font-size: 0.95rem; }

/* ---------- Jam with Bud's band ---------- */
.band-grid { display: grid; gap: 34px; align-items: center; }
.band-copy .sec-head { margin-bottom: 0; }
.band-art { position: relative; max-width: 520px; width: 100%; justify-self: center; }
.jam-svg { width: 100%; height: auto; filter: drop-shadow(0 8px 0 var(--cream-deep)); }
.band-bud { position: absolute; width: 108px; right: -6px; top: -54px; }
.band-bud .bud-sound { animation: sound 1.4s ease-in-out infinite; }

.styles-wrap { margin-top: 48px; text-align: center; }
.styles-title { font-size: 1.3rem; }
.styles { list-style: none; margin: 16px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 980px; }
.style {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 5px 16px 5px 5px; border-radius: 999px;
  background: var(--white); font-weight: 700;
  box-shadow: 0 4px 0 color-mix(in srgb, var(--sc) 30%, var(--cream-deep));
}
.style-emblem {
  display: grid; place-items: center; flex: none;
  width: 34px; height: 34px; border-radius: 12px;
  background: var(--sc); color: var(--white);
  transform: rotate(calc((var(--i) - 5.5) * 1.5deg));
}
.style-emblem svg { width: 16px; height: 16px; }
.styles-free { margin-top: 16px; color: var(--ink-soft); font-size: 0.95rem; }

.studio {
  display: grid; gap: 24px; align-items: center;
  max-width: 1080px; margin: 48px auto 0;
  padding: 28px 24px;
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: 0 8px 0 var(--cream-deep);
}
.studio-title { font-size: clamp(1.7rem, 1.35rem + 1.4vw, 2.3rem); margin-top: 6px; }
.studio-body { margin-top: 12px; color: var(--ink-soft); }
.studio-note { margin-top: 12px; font-weight: 700; font-size: 0.95rem; }
.studio-art { min-width: 0; }
.studio-svg { width: 100%; height: auto; }
.presets { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.presets li { padding: 4px 14px; border-radius: 999px; background: var(--mint); font-weight: 700; font-size: 0.92rem; box-shadow: inset 0 0 0 2px var(--belly); }
.presets li.is-on { background: var(--ink); color: var(--cream); box-shadow: none; }

/* ---------- Pitch games ---------- */
.game-cards { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 20px; max-width: 1080px; }
.game { background: var(--white); border-radius: var(--r-card); overflow: hidden; box-shadow: 0 6px 0 #CDEBEB; display: flex; flex-direction: column; }
.game-art { position: relative; border-bottom: 3px solid var(--ink); }
.game-art svg { width: 100%; height: auto; }
.game-bud { position: absolute; width: 30%; max-width: 110px; }
.game-flight .game-bud { left: 7%; top: 24%; transform: rotate(-8deg); }
.game-bubbles .game-bud, .game-copy .game-bud { left: 6%; bottom: 6%; }
.game-bud .bud-sound { animation: sound 1.4s ease-in-out infinite; }
.game-text { padding: 20px 24px 26px; }
.game-text h3 { font-size: 1.45rem; margin-top: 10px; }
.game-text > p:last-child { margin-top: 8px; color: var(--ink-soft); }
.game-tag {
  display: inline-block; padding: 2px 12px; border-radius: 999px;
  background: var(--blush); color: var(--coral-text);
  font-weight: 800; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase;
}
.game-tag.is-free { background: var(--teal); color: var(--ink); }
.games-note { max-width: 60ch; margin: 26px auto 0; text-align: center; color: var(--ink-soft); }

/* Family card art in the features bento */
.b-family { background: var(--white); }
.b-family .bento-art { max-width: 300px; align-self: center; }

@media (max-width: 559px) {
  .styles { gap: 8px; }
  .style { font-size: 0.92rem; padding-right: 13px; gap: 7px; }
  .style-emblem { width: 28px; height: 28px; border-radius: 10px; }
  .style-emblem svg { width: 13px; height: 13px; }
}
@media (min-width: 560px) {
  .coach { padding: 36px 34px 30px; }
  .studio { padding: 32px 34px; }
}
@media (min-width: 760px) {
  .game-cards { grid-template-columns: repeat(3, 1fr); }
  .game-text { padding: 18px 20px 24px; }
}
@media (min-width: 900px) {
  .b-family { grid-column: span 2; }
  .coach { grid-template-columns: 1fr 1.05fr; column-gap: 40px; padding: 44px 44px 32px; }
  .coach-note { grid-column: 1 / -1; }
  .band-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .band-bud { width: 130px; right: -20px; top: -70px; }
  .studio { grid-template-columns: 1fr 1fr; gap: 44px; padding: 36px 44px; }
  .game-text { padding: 20px 24px 26px; }
}

/* Eight nav links only fit beside the logo from about 1080px; below that, drop "How it works" (it's the next section anyway) */
@media (min-width: 900px) and (max-width: 1079px) {
  .nav-roomy { display: none; }
}
