/* echoGOAT — the colors come straight from the app's goat and meadow
   (app/scripts/goat.gd, meadow.gd), so the site and the toy feel like one thing. */

@font-face { font-family: "Fredoka"; font-weight: 500; font-display: swap; src: url("../fonts/fredoka-500.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 600; font-display: swap; src: url("../fonts/fredoka-600.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 700; font-display: swap; src: url("../fonts/fredoka-700.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url("../fonts/nunito-400.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 600; font-display: swap; src: url("../fonts/nunito-600.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url("../fonts/nunito-700.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("../fonts/nunito-800.woff2") format("woff2"); }

:root {
  --ink: #5a3a33;          /* the goat's outline */
  --ink-soft: #7d5d54;
  --paper: #fffaf2;
  --fur: #fbf2e4;
  --fur-hi: #fffdf8;
  --fur-sh: #e9d6bd;
  --caramel: #eeb06a;
  --caramel-hi: #f9cf94;
  --caramel-sh: #d38f48;
  --collar: #ff5d75;
  --collar-sh: #db3f5b;
  --pink: #ff6f91;
  --blush: #ffd3dd;
  --bell: #ffcb3a;
  --sky-top: #5fb9f0;
  --sky-low: #d2f0ff;
  --mint: #d6fff0;
  --sun: #ffd84d;
  --grass-far: #b4e397;
  --grass-far-sh: #94d47a;
  --grass: #86d064;
  --grass-sh: #4fae45;
  --grass-rim: #b9ef8f;
  --grass-deep: #3e9a3c;
  --dusk: #3d5fae;
  --dusk-low: #a7bde8;
  --p-yellow: #ffcf3a;
  --p-pink: #ff6f91;
  --p-blue: #5ed1ff;
  --p-green: #8fe36a;
  --p-purple: #b48cff;
  --p-orange: #ff9c48;

  --line: 3px;
  --radius: 28px;
  --pop: 0 6px 0 var(--ink);
  --pop-sm: 0 4px 0 var(--ink);
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --head: "Fredoka", "Nunito", ui-rounded, system-ui, sans-serif;
  --body: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.6 var(--body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(34px, 5.4vw, 60px); }
h3 { font-size: clamp(22px, 2.4vw, 27px); line-height: 1.15; }
strong { font-weight: 800; }
:focus-visible { outline: 4px solid var(--p-blue); outline-offset: 3px; border-radius: 10px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--collar);
  --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 60px; padding: 12px 28px;
  border: var(--line) solid var(--ink); border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 700 21px/1.1 var(--head); letter-spacing: 0.01em; text-decoration: none;
  box-shadow: var(--pop);
  cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.btn small { display: block; font: 700 13px/1 var(--body); opacity: .9; letter-spacing: .02em; }
.btn .btn-text { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--yellow { --bg: var(--p-yellow); --fg: var(--ink); }
.btn--big { min-height: 72px; padding: 14px 36px; font-size: 24px; }
.btn svg { flex: none; }
.price-tag {
  display: inline-block; padding: 3px 10px; margin-left: 2px;
  background: #fff; color: var(--collar-sh); border-radius: 999px; font-size: 16px; line-height: 1.2;
}

/* ---------- top bar ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 12px 0;
  transition: background .25s, box-shadow .25s, padding .25s;
}
.top.scrolled { background: rgba(255, 250, 242, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 3px 0 rgba(90, 58, 51, .12); padding: 8px 0; }
.top .wrap { display: flex; align-items: center; gap: 18px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 27px/1 var(--head); letter-spacing: -0.01em; }
.logo img { width: 44px; height: 44px; border-radius: 13px; border: var(--line) solid var(--ink); background: var(--sky-low); }
.logo b { color: var(--collar); font-weight: 700; }
.top nav { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.top nav a:not(.btn) { padding: 8px 14px; border-radius: 999px; text-decoration: none; font: 600 18px/1 var(--head); }
.top nav a:not(.btn):hover { background: rgba(255, 255, 255, .6); }
.top .btn { min-height: 46px; padding: 8px 20px; font-size: 18px; box-shadow: var(--pop-sm); }

/* ---------- hero: the meadow ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 920px);
  padding: 120px 0 0;
  background: linear-gradient(180deg, var(--sky-top) 0%, #8fd0f5 45%, var(--sky-low) 100%);
  transition: background 1s;
}
.hero.is-hearing { background: linear-gradient(180deg, #54c2e6 0%, #95dcef 45%, var(--mint) 100%); }
.hero.is-talking { background: linear-gradient(180deg, #6ab3f0 0%, #b3d8f3 45%, #ffe7c4 100%); }
.sun {
  position: absolute; z-index: -2; top: 70px; right: max(4vw, 24px);
  width: 120px; height: 120px; border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, #fff3a8, var(--sun) 62%);
  box-shadow: 0 0 0 14px rgba(255, 216, 77, .25), 0 0 80px 30px rgba(255, 230, 140, .45);
}
.sun::before {
  content: ""; position: absolute; inset: -110px; border-radius: 50%; z-index: -1;
  background: repeating-conic-gradient(from 0deg, rgba(255, 244, 190, .55) 0 7deg, transparent 7deg 22.5deg);
  -webkit-mask: radial-gradient(circle, #000 25%, transparent 70%); mask: radial-gradient(circle, #000 25%, transparent 70%);
  animation: spin 60s linear infinite;
}
.hero.is-talking .sun::before { animation-duration: 8s; }
@keyframes spin { to { transform: rotate(1turn); } }

.cloud {
  position: absolute; z-index: -2; height: 46px; border-radius: 999px; background: #fff; opacity: .95;
  box-shadow: inset 0 -6px 0 #e6f4fd;
  animation: drift linear infinite;
}
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; box-shadow: inset 0 -6px 0 #e6f4fd; }
.cloud::before { width: 58%; aspect-ratio: 1; left: 14%; bottom: 30%; }
.cloud::after { width: 38%; aspect-ratio: 1; right: 14%; bottom: 25%; }
.cloud.c1 { width: 170px; top: 150px; left: -10%; animation-duration: 95s; }
.cloud.c2 { width: 120px; top: 260px; left: 30%; animation-duration: 120s; animation-delay: -60s; opacity: .8; }
.cloud.c3 { width: 210px; top: 190px; left: 60%; animation-duration: 140s; animation-delay: -30s; }
@keyframes drift { from { transform: translateX(-30vw); } to { transform: translateX(130vw); } }

.hills { position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 46%; min-height: 260px; }
.hills svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.flower { position: absolute; width: 18px; height: 18px; animation: bob 3.2s ease-in-out infinite; }
.flower::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle, #ffb72e 0 26%, transparent 27%), var(--c, #ff7fa6);
  box-shadow: 0 0 0 3px rgba(90, 58, 51, .15);
  -webkit-mask: radial-gradient(circle at 50% 0, #000 32%, transparent 33%), radial-gradient(circle at 100% 50%, #000 32%, transparent 33%), radial-gradient(circle at 50% 100%, #000 32%, transparent 33%), radial-gradient(circle at 0 50%, #000 32%, transparent 33%), radial-gradient(circle, #000 45%, transparent 46%);
  mask: radial-gradient(circle at 50% 0, #000 32%, transparent 33%), radial-gradient(circle at 100% 50%, #000 32%, transparent 33%), radial-gradient(circle at 50% 100%, #000 32%, transparent 33%), radial-gradient(circle at 0 50%, #000 32%, transparent 33%), radial-gradient(circle, #000 45%, transparent 46%);
}
.flower::after { content: ""; position: absolute; left: 50%; top: 90%; width: 3px; height: 16px; margin-left: -1.5px; background: var(--grass-deep); border-radius: 2px; }
@keyframes bob { 50% { transform: translateY(-5px) rotate(6deg); } }
.hero.is-talking .flower { animation-duration: .45s; }

.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 24px; align-items: center;
  min-height: calc(min(100svh, 920px) - 120px);
}
.hero-copy { padding-bottom: 150px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 8px; margin-bottom: 18px;
  background: rgba(255, 255, 255, .85); border: 2px solid var(--ink); border-radius: 999px;
  font: 600 15px/1 var(--head);
}
.chip i { font-style: normal; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--collar); color: #fff; font-size: 12px; }
.hero h1 { font-size: clamp(46px, 7.4vw, 92px); line-height: .98; margin-bottom: 22px; }
.hero h1 .say { display: block; }
.hero h1 .back { display: block; color: #fff; -webkit-text-stroke: 0; text-shadow: 0 3px 0 var(--ink), 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 -3px 0 var(--ink), 2px 2px 0 var(--ink), -2px 2px 0 var(--ink), 2px -2px 0 var(--ink), -2px -2px 0 var(--ink), 0 8px 0 var(--ink); }
.hero h1 .back em { font-style: normal; color: var(--p-yellow); display: inline-block; animation: wiggle 2.6s ease-in-out infinite; transform-origin: 50% 80%; }
@keyframes wiggle { 0%, 70%, 100% { transform: rotate(0); } 76% { transform: rotate(-7deg) scale(1.06); } 84% { transform: rotate(6deg) scale(1.06); } 92% { transform: rotate(-3deg); } }
.lede { font-size: clamp(18px, 1.8vw, 21px); max-width: 33em; margin-bottom: 26px; font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 18px; }
.watch-link { display: inline-flex; align-items: center; gap: 10px; font: 700 19px/1 var(--head); text-decoration: none; padding: 8px 6px; }
.watch-link .play { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; border: var(--line) solid var(--ink); box-shadow: var(--pop-sm); transition: transform .15s; }
.watch-link:hover .play { transform: scale(1.08); }
.ticks { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 0; margin: 0; list-style: none; font: 700 15px/1.3 var(--body); }
.ticks li { display: flex; align-items: center; gap: 6px; }
.ticks li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--grass-sh) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* the goat on the hill, and what it hears and says */
.stage { position: relative; align-self: end; height: min(640px, 70vh); min-height: 440px; }
.goat-btn {
  position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%);
  width: min(600px, 112%); aspect-ratio: 1000 / 844;
  padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.goat-btn img { position: absolute; inset: auto 0 0 0; margin: auto; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; opacity: 0; pointer-events: none; }
.goat-btn img.on { opacity: 1; }
.goat-btn .goat-body { position: absolute; inset: 0; transform-origin: 50% 96%; animation: breathe 3.4s ease-in-out infinite; }
.goat-btn.hop .goat-body { animation: hop .55s cubic-bezier(.3, 1.6, .5, 1); }
.goat-btn.dance .goat-body { animation: dance .5s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.012, .99); } }
@keyframes hop { 0% { transform: scale(1.08, .9); } 35% { transform: translateY(-46px) scale(.95, 1.06); } 70% { transform: translateY(0) scale(1.06, .94); } 100% { transform: none; } }
@keyframes dance { 0%, 100% { transform: rotate(-3deg) translateY(0); } 25% { transform: rotate(0) translateY(-14px) scale(.98, 1.03); } 50% { transform: rotate(3deg) translateY(0) scale(1.03, .97); } 75% { transform: rotate(0) translateY(-10px); } }
.tap-hint {
  position: absolute; right: 2%; bottom: 46%; z-index: 3;
  font: 700 19px/1.1 var(--head); color: var(--ink); text-align: center;
  transform: rotate(8deg); pointer-events: none; transition: opacity .4s;
}
.tap-hint svg { margin: 4px auto 0; transform: rotate(-20deg); }
.stage.tapped .tap-hint { opacity: 0; }

.bubble {
  position: absolute; z-index: 4; max-width: 15ch;
  padding: 14px 22px 16px; border: var(--line) solid var(--ink); border-radius: 26px;
  background: #fff; box-shadow: var(--pop-sm);
  font: 700 clamp(22px, 2.4vw, 30px)/1.1 var(--head); text-align: center;
  opacity: 0; transform: scale(.4) translateY(20px); transform-origin: var(--tail-x, 20%) 110%;
  transition: opacity .2s, transform .35s cubic-bezier(.3, 1.7, .5, 1);
  pointer-events: none;
}
.bubble::after {
  content: ""; position: absolute; bottom: -17px; left: var(--tail-x, 20%); width: 26px; height: 26px; margin-left: -13px;
  background: inherit; border: inherit; border-width: 0 var(--line) var(--line) 0; transform: rotate(45deg) skew(10deg, 10deg); border-radius: 0 0 6px 0;
}
.bubble.show { opacity: 1; transform: none; }
.bubble .who { display: block; font: 800 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; opacity: .65; margin-bottom: 4px; }
.bubble--kid { left: 0; top: 6%; --tail-x: 75%; }
.bubble--goat { right: 0; top: 22%; --tail-x: 22%; background: var(--p-yellow); font-size: clamp(24px, 2.8vw, 34px); }
.bubble--goat .t span { display: inline-block; animation: squeak .5s ease-in-out infinite alternate; }
.bubble--goat .t span:nth-child(3n+1) { animation-delay: -.15s; }
.bubble--goat .t span:nth-child(3n+2) { animation-delay: -.3s; }
@keyframes squeak { from { transform: translateY(2px) rotate(-4deg); } to { transform: translateY(-4px) rotate(4deg); } }
.arcs { position: absolute; z-index: 2; left: 50%; bottom: 62%; width: 1px; height: 1px; opacity: 0; transition: opacity .3s; }
.stage.is-hearing .arcs { opacity: 1; }
.arcs i { position: absolute; top: -40px; width: 60px; height: 80px; border: 5px solid rgba(255, 255, 255, .95); border-radius: 50%; border-color: transparent rgba(255, 255, 255, .95) transparent transparent; animation: arc 1.1s ease-out infinite; }
.arcs i.l { right: 120px; transform: scaleX(-1); }
.arcs i.r { left: 120px; }
.arcs i:nth-child(odd) { animation-delay: -.55s; }
@keyframes arc { from { opacity: 0; translate: 60px 0; } 30% { opacity: 1; } to { opacity: 0; translate: -10px 0; } }
.arcs i.l { animation-name: arc-l; }
@keyframes arc-l { from { opacity: 0; translate: -60px 0; } 30% { opacity: 1; } to { opacity: 0; translate: 10px 0; } }
.fx { position: absolute; inset: 0; z-index: 5; pointer-events: none; overflow: visible; }
.fx b { position: absolute; font-style: normal; animation: float-up 1.4s ease-out forwards; }
@keyframes float-up { from { opacity: 0; transform: translate(0, 10px) scale(.4) rotate(0); } 15% { opacity: 1; } to { opacity: 0; transform: translate(var(--dx, 0), -160px) scale(1.1) rotate(var(--r, 30deg)); } }

/* a soft wave from one section into the next */
.wave { display: block; width: 100%; height: clamp(40px, 6vw, 90px); }

/* ---------- sections ---------- */
section { position: relative; }
.pad { padding: clamp(70px, 9vw, 120px) 0; }
.kicker { display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 14px/1 var(--head); letter-spacing: .1em; text-transform: uppercase; }
.center { text-align: center; }
.section-lede { font-size: clamp(18px, 1.9vw, 21px); max-width: 38em; margin: 16px auto 0; font-weight: 600; color: var(--ink-soft); }

/* the video */
.watch { background: var(--grass-sh); color: #fff; padding-top: clamp(56px, 7vw, 90px); }
.wave { pointer-events: none; }
.watch .kicker { background: #fff; color: var(--grass-deep); }
.watch h2 { color: #fff; text-shadow: 0 4px 0 rgba(30, 80, 30, .45); }
.watch .section-lede { color: #effbe6; }
.screen {
  position: relative; margin: 40px auto 0; max-width: 980px;
  border: 5px solid var(--ink); border-radius: 34px; overflow: hidden;
  background: #1d2a3a; box-shadow: 0 12px 0 var(--ink), 0 30px 60px rgba(20, 60, 20, .35);
  aspect-ratio: 16 / 9;
}
.screen video { width: 100%; height: 100%; object-fit: cover; background: #8fd0f5; }
.sound-on {
  position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px;
  border: 0; padding: 0; background: linear-gradient(180deg, transparent 50%, rgba(20, 30, 50, .35)); cursor: pointer; color: #fff;
  font: 700 22px/1.1 var(--head);
}
.sound-on .big-play {
  display: grid; place-items: center; width: clamp(84px, 12vw, 120px); aspect-ratio: 1; border-radius: 50%;
  background: var(--collar); border: 5px solid var(--ink); box-shadow: var(--pop);
  animation: pulse 1.8s ease-in-out infinite;
}
.sound-on .label { padding: 10px 18px; border-radius: 999px; background: rgba(90, 58, 51, .85); }
@keyframes pulse { 50% { transform: scale(1.07); } }
.screen.playing .sound-on { display: none; }
.screen.muted-preview .sound-on { background: rgba(20, 30, 50, .12); }
.under-video { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 26px; margin-top: 46px; }
.under-video .note { font: 700 16px/1.3 var(--body); color: #effbe6; }
.transcript { max-width: 760px; margin: 34px auto 0; color: #effbe6; }
.transcript summary { cursor: pointer; font: 700 16px/1 var(--head); text-align: center; list-style: none; }
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary::after { content: " +"; }
.transcript[open] summary::after { content: " –"; }
.transcript ol { margin: 18px 0 0; padding: 22px 26px 22px 46px; background: rgba(0, 0, 0, .12); border-radius: 20px; font-size: 16px; }
.transcript li { margin: 4px 0; }
.transcript .k { color: var(--p-yellow); font-weight: 800; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 30px); margin-top: 54px; counter-reset: step; }
.step {
  position: relative; padding: 26px 26px 30px; text-align: center;
  background: #fff; border: var(--line) solid var(--ink); border-radius: var(--radius); box-shadow: var(--pop);
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -22px; left: 50%; margin-left: -22px; width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; border: var(--line) solid var(--ink); background: var(--p-yellow); font: 700 22px/1 var(--head);
}
.step .pic { height: 210px; display: grid; place-items: end center; margin: 6px 0 16px; border-radius: 20px; background: radial-gradient(ellipse at 50% 100%, var(--grass-far) 0 40%, transparent 41%), linear-gradient(180deg, #a6dcf7, var(--sky-low)); overflow: hidden; }
.step .pic img { height: 190px; width: auto; max-width: 96%; object-fit: contain; object-position: 50% 100%; margin-bottom: 4px; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; font-size: 17px; color: var(--ink-soft); font-weight: 600; }
.step:nth-child(2) .pic { background: radial-gradient(ellipse at 50% 100%, var(--grass-far) 0 40%, transparent 41%), linear-gradient(180deg, #54c2e6, var(--mint)); }
.step:nth-child(3) .pic { background: radial-gradient(ellipse at 50% 100%, var(--grass-far) 0 40%, transparent 41%), linear-gradient(180deg, #6ab3f0, #ffe7c4); }
.no-buttons { margin: 40px auto 0; max-width: 680px; text-align: center; font: 600 clamp(19px, 2vw, 22px)/1.4 var(--head); }
.no-buttons mark { background: linear-gradient(transparent 55%, var(--caramel-hi) 55%); color: inherit; padding: 0 2px; }

/* moods */
.moods { background: linear-gradient(180deg, #fff1df, var(--paper)); }
.mood-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.2vw, 26px); margin-top: 50px; }
.mood {
  --bg: #fff;
  display: grid; grid-template-rows: 230px auto; overflow: hidden;
  background: var(--bg); border: var(--line) solid var(--ink); border-radius: var(--radius); box-shadow: var(--pop);
  transition: transform .2s;
}
.mood:hover { transform: translateY(-4px) rotate(-.6deg); }
.mood:nth-child(even):hover { transform: translateY(-4px) rotate(.6deg); }
.mood .pic { position: relative; display: grid; place-items: end center; background: var(--pic, #cdeefe); border-bottom: var(--line) solid var(--ink); overflow: hidden; }
.mood .pic img { height: 214px; width: auto; max-width: 92%; object-fit: contain; object-position: 50% 100%; }
.mood .txt { padding: 20px 22px 24px; }
.mood h3 { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.mood h3 .arrow { color: var(--collar); }
.mood p { margin: 0; font-size: 17px; font-weight: 600; color: var(--ink-soft); }
.mood .say {
  position: absolute; top: 14px; left: 14px; padding: 6px 12px; border-radius: 14px; border: 2px solid var(--ink);
  background: #fff; font: 700 17px/1 var(--head); transform: rotate(-4deg);
}
.mood--shout .pic { --pic: radial-gradient(circle at 50% 70%, #fff3b0, #ffcf3a 70%); }
.mood--shout .say { font-size: 22px; letter-spacing: .02em; }
.mood--whisper .pic { --pic: linear-gradient(180deg, #c9b8ff, #efe7ff); }
.mood--whisper .say { font-size: 13px; font-weight: 600; }
.mood--tap .pic { --pic: radial-gradient(circle at 50% 60%, #ffe3ea, #ffb3c4 75%); }
.mood--sounds .pic { --pic: linear-gradient(180deg, #8ee4ff, #dffaff); }
.mood--sleep .pic { --pic: linear-gradient(180deg, #2e4a92, #8ea9e0); }
.mood--sleep .pic::before { content: ""; position: absolute; top: 22px; right: 26px; width: 44px; height: 44px; border-radius: 50%; box-shadow: -12px 6px 0 0 #fff6c9; }
.mood--talk .pic { --pic: linear-gradient(180deg, #6ab3f0, #ffe7c4); }

/* the letter */
.story { background: var(--sky-low); background: linear-gradient(180deg, var(--paper), #e9f6ff 30%, #e9f6ff); }
.letter-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: center; max-width: 1000px; margin: 0 auto; }
.letter {
  position: relative; padding: clamp(28px, 4vw, 54px);
  background: #fffef9; border: var(--line) solid var(--ink); border-radius: 10px 30px 14px 26px;
  box-shadow: var(--pop), 0 20px 50px rgba(60, 90, 130, .18);
  transform: rotate(-1deg);
  background-image: repeating-linear-gradient(180deg, transparent 0 33px, rgba(95, 185, 240, .16) 33px 35px);
  background-position: 0 18px;
}
.letter::before {
  content: ""; position: absolute; top: -18px; left: 50%; width: 130px; height: 34px; margin-left: -65px;
  background: rgba(255, 207, 58, .75); border: 2px dashed rgba(90, 58, 51, .3); transform: rotate(-3deg);
}
.letter h2 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 18px; }
.letter p { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.75; }
.letter .sig { margin: 26px 0 0; font: 600 24px/1.2 var(--head); color: var(--collar-sh); transform: rotate(-2deg); display: inline-block; }
.letter .ps { margin-top: 20px; font-size: 16px; color: var(--ink-soft); }
.letter-side {
  text-align: center; font: 700 18px/1.2 var(--head);
}
.letter-side .pair { position: relative; display: grid; place-items: center; }
.letter-side img { width: 260px; filter: drop-shadow(0 8px 0 rgba(90, 58, 51, .12)); }
.letter-side p { margin-top: 10px; }

/* the grown-up stuff */
.grownups { background: var(--ink); color: #fff; }
.grownups h2 { color: #fff; }
.grownups .kicker { background: var(--p-yellow); color: var(--ink); }
.grownups .section-lede { color: #f1dcd2; }
.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px; }
.promise {
  padding: 26px 26px 28px; border-radius: 24px;
  background: #6b4840; border: 2px solid rgba(255, 255, 255, .12);
}
.promise .ico { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 16px; border-radius: 18px; background: var(--p-yellow); color: var(--ink); border: var(--line) solid #2c1b17; box-shadow: 0 4px 0 #2c1b17; }
.promise:nth-child(6n+2) .ico { background: var(--p-pink); }
.promise:nth-child(6n+3) .ico { background: var(--p-blue); }
.promise:nth-child(6n+4) .ico { background: var(--p-green); }
.promise:nth-child(6n+5) .ico { background: var(--p-purple); }
.promise:nth-child(6n+6) .ico { background: var(--p-orange); }
.promise h3 { color: #fff; margin-bottom: 8px; }
.promise p { margin: 0; color: #f1dcd2; font-size: 17px; }
.privacy-strip {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px;
  margin-top: 30px; padding: 20px 26px; border-radius: 22px; background: rgba(255, 255, 255, .08); border: 2px dashed rgba(255, 255, 255, .25);
}
.privacy-strip p { margin: 0; font-weight: 700; }
.privacy-strip a { color: var(--p-yellow); font-weight: 800; }
.label-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: #fff; color: var(--ink); font: 700 15px/1 var(--head); }

/* price */
.price { background: linear-gradient(180deg, var(--sky-low), #fff 60%); }
.price-card {
  position: relative; max-width: 860px; margin: 50px auto 0; padding: clamp(28px, 4vw, 50px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center;
  background: #fff; border: 4px solid var(--ink); border-radius: 36px; box-shadow: 0 10px 0 var(--ink);
}
.price-card { isolation: isolate; }
.price-card .goat { position: absolute; z-index: -1; right: -118px; top: 18%; width: 190px; transform: rotate(14deg); pointer-events: none; }
.big-line { margin: 0 0 18px; font: 700 clamp(38px, 4.4vw, 54px)/1.04 var(--head); color: var(--collar); letter-spacing: -0.01em; -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 0 5px 0 var(--ink); }
.amount { font: 700 clamp(84px, 11vw, 130px)/.9 var(--head); color: var(--collar); letter-spacing: -0.03em; text-shadow: 0 6px 0 var(--ink); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; }
.amount small { font-size: .4em; vertical-align: top; position: relative; top: .25em; }
.once { font: 700 26px/1.2 var(--head); margin-top: 12px; }
.price-card .sub { margin: 10px 0 0; color: var(--ink-soft); font-weight: 600; }
.included { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-weight: 700; font-size: 18px; }
.included li { display: flex; gap: 10px; align-items: center; }
.included li::before { content: ""; width: 26px; height: 26px; flex: none; border-radius: 50%; border: 2px solid var(--ink); background: var(--p-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='%235a3a33' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.included li.no::before { background: var(--blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 6l8 8M14 6l-8 8' fill='none' stroke='%235a3a33' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.compare { max-width: 760px; margin: 34px auto 0; text-align: center; font: 600 clamp(18px, 2vw, 22px)/1.45 var(--head); }

.stores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 860px; margin: 40px auto 0; }
.store {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  border: var(--line) solid var(--ink); border-radius: 22px; background: #fff; color: var(--ink); box-shadow: var(--pop-sm);
  text-decoration: none; cursor: pointer; text-align: left; font: inherit;
  transition: transform .12s, box-shadow .12s;
}
.store:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.store:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.store .s-ico { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--sky-low); border: 2px solid var(--ink); }
.store b { display: block; font: 700 19px/1.15 var(--head); }
.store span { display: block; font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.store.yours { background: var(--p-yellow); }
.store .yours-tag { position: absolute; top: -13px; right: 14px; padding: 4px 10px; border-radius: 999px; background: var(--collar); color: #fff; font: 700 12px/1 var(--head); border: 2px solid var(--ink); display: none; }
.store.yours .yours-tag { display: block; }
.store .soon { position: absolute; bottom: -12px; right: 14px; padding: 3px 9px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 11px/1.2 var(--head); letter-spacing: .06em; text-transform: uppercase; }
.store.live .soon { display: none; }

/* FAQ */
.faq-list { max-width: 820px; margin: 46px auto 0; display: grid; gap: 14px; }
.faq-list details { background: #fff; border: var(--line) solid var(--ink); border-radius: 22px; box-shadow: var(--pop-sm); overflow: hidden; }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 64px 20px 24px; position: relative; font: 700 20px/1.25 var(--head); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; width: 34px; height: 34px; margin-top: -17px; display: grid; place-items: center;
  border-radius: 50%; background: var(--p-yellow); border: 2px solid var(--ink); font: 700 22px/1 var(--head); transition: transform .2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--blush); }
.faq-list .a { padding: 0 24px 22px; font-size: 17px; color: var(--ink-soft); font-weight: 600; }
.faq-list .a p:last-child { margin: 0; }

/* last call */
.last {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background: linear-gradient(180deg, #6ab3f0 0%, #9ccff5 50%, #ffe7c4 100%);
  padding: clamp(80px, 10vw, 130px) 0 0;
}
.last h2 { font-size: clamp(42px, 7vw, 84px); text-shadow: 0 3px 0 var(--ink), 3px 0 0 var(--ink), -3px 0 0 var(--ink), 0 -3px 0 var(--ink), 2px 2px 0 var(--ink), -2px 2px 0 var(--ink), 2px -2px 0 var(--ink), -2px -2px 0 var(--ink), 0 8px 0 var(--ink); }
.last p { color: var(--ink); font: 700 clamp(18px, 2vw, 22px)/1.4 var(--head); margin: 18px auto 30px; max-width: 30em; }
.last .goat { width: min(380px, 70vw); margin: 40px auto 0; position: relative; z-index: 1; }
.last .ground { height: 120px; margin-top: -60px; background: var(--grass); border-top: 6px solid var(--grass-rim); border-radius: 50% 50% 0 0 / 60px 60px 0 0; }

/* footer */
.foot { background: var(--grass-deep); color: #e8f8df; padding: 34px 0 40px; font-size: 16px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: #fff; font-weight: 700; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .fine { width: 100%; margin: 6px 0 0; font-size: 14px; opacity: .85; }

/* "coming soon" note for store buttons that aren't live yet */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 100; width: min(440px, calc(100% - 32px));
  display: flex; gap: 14px; align-items: center; padding: 14px 18px;
  background: #fff; border: var(--line) solid var(--ink); border-radius: 22px; box-shadow: var(--pop);
  transform: translate(-50%, 160%); visibility: hidden; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), visibility 0s .35s;
}
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.toast img { width: 64px; flex: none; }
.toast b { display: block; font: 700 19px/1.2 var(--head); }
.toast span { font-size: 15px; font-weight: 600; color: var(--ink-soft); }

/* show-on-scroll */
.rise { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .3, 1); }
.rise.in { opacity: 1; transform: none; }
.rise.d1 { transition-delay: .1s; } .rise.d2 { transition-delay: .2s; } .rise.d3 { transition-delay: .3s; }

/* sub pages (privacy, support) */
.page-head { padding: 130px 0 50px; background: linear-gradient(180deg, var(--sky-top), var(--sky-low)); }
.page-head h1 { font-size: clamp(40px, 6vw, 64px); }
.page-head p { margin: 12px 0 0; font-weight: 700; }
.doc { padding: 50px 0 80px; }
.doc .wrap { max-width: 780px; }
.doc h2 { font-size: clamp(26px, 3vw, 34px); margin: 44px 0 14px; }
.doc h3 { margin: 28px 0 10px; font-size: 22px; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.doc .tldr { padding: 22px 26px; border: var(--line) solid var(--ink); border-radius: 24px; background: #fff; box-shadow: var(--pop-sm); font-weight: 700; font-size: 19px; }
.doc .tldr p:last-child { margin: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 16px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 2px solid #f0e2d0; vertical-align: top; }
.doc th { font-family: var(--head); }

/* ---------- smaller screens ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; min-height: 0; gap: 0; }
  .hero-copy { padding-bottom: 0; }
  .hero .lede { margin-inline: auto; }
  .cta-row, .ticks { justify-content: center; }
  .stage { height: 470px; min-height: 0; margin-top: 10px; }
  .goat-btn { width: min(470px, 100%); bottom: 26px; }
  .bubble--kid { left: 2%; top: 2%; }
  .bubble--goat { right: 2%; top: 14%; }
  .tap-hint { right: 0; bottom: 40%; font-size: 16px; }
  .hills { height: 300px; min-height: 0; }
  .steps, .mood-grid, .promise-grid { grid-template-columns: 1fr 1fr; }
  .letter-wrap { grid-template-columns: 1fr; }
  .letter-side { order: -1; }
  .letter-side img { width: 200px; margin: 0 auto; }
  .price-card { grid-template-columns: 1fr; text-align: center; }
  .price-card .goat { display: none; }
  .included { width: fit-content; margin: 0 auto; text-align: left; }
  .top nav a:not(.btn) { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .hero { padding-top: 96px; }
  .chip { font-size: 13px; }
  .stage { height: 400px; }
  .goat-btn { width: min(400px, 104%); }
  .bubble { padding: 10px 16px 12px; }
  .steps, .mood-grid, .promise-grid, .stores { grid-template-columns: 1fr; }
  .mood { grid-template-rows: 210px auto; }
  .mood .pic img { height: 196px; }
  .btn { width: 100%; }
  .cta-row { flex-direction: column; }
  .top .btn { width: auto; }
  .logo { font-size: 23px; }
  .logo img { width: 38px; height: 38px; }
  .sun { width: 80px; height: 80px; top: 80px; }
  .price-card .goat { display: none; }
  .foot .wrap { flex-direction: column; text-align: center; }
  .foot nav { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rise { opacity: 1; transform: none; }
}
