/* The velvet Pea across the page (5 October 2026). The drawn SVG Pea with the
   pink cheeks and the single tooth is retired; these rules place the locked
   front and its poses, cut out from JJ's Ideogram renders. */

img.pea-ico { object-fit: contain; object-position: 50% 100%; }

/* Hero: Pea spins in to say hello, then breathes and bobs while you read. */
.hero-pea { width: 70%; }
.hero-pea__img { display: block; width: 100%; height: auto; transform-origin: 50% 100%; filter: drop-shadow(0 26px 30px rgba(34, 56, 26, .22));
  animation: heroIn .8s cubic-bezier(.2, 1.3, .4, 1) .15s both, heroBob 3.6s ease-in-out 1.2s infinite; }
@keyframes heroIn {
  0% { opacity: 0; transform: scaleX(.08) scaleY(1.06) translateY(-8%); filter: blur(6px); }
  35% { opacity: 1; transform: scaleX(1.14) scaleY(.88); filter: blur(0) drop-shadow(0 26px 30px rgba(34, 56, 26, .22)); }
  60% { transform: scaleX(.95) scaleY(1.06) translateY(-3%); }
  82% { transform: scaleX(1.02) scaleY(.98); }
  100% { opacity: 1; transform: none; }
}
@keyframes heroBob { 0%, 100% { transform: translateY(0) scale(1, 1); } 50% { transform: translateY(-2.5%) scale(.99, 1.01); } }
@media (prefers-reduced-motion: reduce) { .hero-pea__img { animation: none; } }

/* The close: Pea in its pod, seats saved beside it. */
.close__pod { display: block; width: min(440px, 88%); height: auto; margin: 0 auto 10px; filter: drop-shadow(0 18px 22px rgba(34, 56, 26, .2)); }

/* The 404. */
.lost__pea { display: block; width: min(220px, 50vw); height: auto; margin: 0 auto 18px; filter: drop-shadow(0 18px 22px rgba(34, 56, 26, .2)); }

/* 5 October, later: the mark is just Pea and the hero says hi. */
.mark { gap: 8px; font-size: 27px; letter-spacing: -.045em; }
.mark span { color: var(--pea); }
.foot .mark { font-size: 23px; }
.hero h1 { font-size: clamp(64px, 12.6vw, 150px); }
.hero-pea__img { aspect-ratio: 704 / 820; object-fit: contain; object-position: 50% 100%; }
.hero-pea.is-cheer .hero-pea__img { animation: heroHop .75s cubic-bezier(.3, 0, .3, 1) 0s 3; }
@keyframes heroHop {
  0% { transform: scale(1.1, .88); }
  20% { transform: scale(.94, 1.08) translateY(-6%); }
  50% { transform: translateY(-16%) rotate(-3deg); }
  80% { transform: scale(1.06, .92); }
  100% { transform: none; }
}

/* The pass shows your Pea in its VIPea sunglasses. */
.pass__pea { width: 58px; height: 78px; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .25)); }

/* 5 October, version four: the hero line, all in hand, and the cards. */
.hero__lede { font-size: clamp(19px, 2.3vw, 24px); line-height: 1.4; }
.hero__lede b { color: var(--ink); font-weight: 750; }
.h2-em { font-style: normal; color: var(--pea); }

/* All in hand: Pea juggles everything you used to juggle, over a moving wall of
   the jobs you can hand it. */
.hand { padding-bottom: clamp(56px, 8vw, 96px); overflow: hidden; }
.juggle { --h: clamp(190px, 24vw, 280px); --t: 1.05s; position: relative; width: calc(var(--h) * .907); height: calc(var(--h) * 1.62); margin: 18px auto 0; }
.juggle__pea { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; filter: drop-shadow(0 22px 24px rgba(34, 56, 26, .22)); transform-origin: 50% 100%; animation: jugBob var(--t) ease-in-out infinite; }
@keyframes jugBob { 0%, 100% { transform: translateY(0) scale(1, 1); } 50% { transform: translateY(-2.5%) scale(.99, 1.01); } }
.juggle__balls { position: absolute; left: 0; right: 0; bottom: calc(var(--h) * .755); height: 0; }
.jball { position: absolute; left: 7%; top: 0; width: 0; height: 0; animation: jugX var(--t) linear infinite alternate; animation-delay: calc(var(--i) * var(--t) / -3); }
@keyframes jugX { from { left: 7%; } to { left: 93%; } }
.jball b { --s: calc(var(--h) * .16); position: absolute; left: calc(var(--s) / -2); top: calc(var(--s) / -2); width: var(--s); height: var(--s); border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .5), rgba(255, 255, 255, 0) 44%), var(--c);
  box-shadow: inset -3px -5px 9px rgba(0, 0, 0, .18), 0 10px 16px -8px rgba(0, 0, 0, .35); animation: jugY calc(var(--t) * 2) infinite; animation-delay: calc(var(--i) * var(--t) / -3); }
.jball svg { width: 50%; height: 50%; }
/* High throw left to right, lower throw back, so the paths cross like a real juggler's. */
@keyframes jugY {
  0% { transform: translateY(0); animation-timing-function: cubic-bezier(.33, .66, .66, 1); }
  25% { transform: translateY(calc(var(--h) * -.6)); animation-timing-function: cubic-bezier(.33, 0, .66, .33); }
  50% { transform: translateY(0); animation-timing-function: cubic-bezier(.33, .66, .66, 1); }
  75% { transform: translateY(calc(var(--h) * -.34)); animation-timing-function: cubic-bezier(.33, 0, .66, .33); }
  100% { transform: translateY(0); }
}
.mq { display: grid; gap: 12px; margin-top: 30px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.mq-row { display: flex; gap: 10px; width: max-content; animation: mq var(--sp, 60s) linear infinite; }
.mq-row--rev { animation-direction: reverse; }
.mq:hover .mq-row { animation-play-state: paused; }
.mq-row span { flex: none; display: inline-flex; align-items: center; gap: 9px; padding: 11px 17px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 10px 22px -18px rgba(34, 56, 26, .5); font: 650 15.5px/1 var(--body); color: var(--ink); white-space: nowrap; }
.mq-row span::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--pea-hi); }
.mq-row span:nth-child(3n+2)::before { background: #e6b93f; }
.mq-row span:nth-child(3n)::before { background: #5b8def; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 5px)); } }
@media (max-width: 640px) {
  .mq-row span { padding: 10px 14px; font-size: 14.5px; }
}
/* The juggling and the moving rows play even when the computer asks for reduced
   motion (JJ, 5 Oct: Windows with animations off reports reduced motion, and he
   wants them moving on desktop as they do on his phone). They're slow and steady,
   and the rows pause under the pointer. */

/* The six cards under the morning page: icon beside the title, tighter type. */
.feats .feat:not(.feat--today) { grid-template-columns: 44px 1fr; column-gap: 16px; row-gap: 6px; align-content: start; }
.feats .feat:not(.feat--today) .feat__ico { grid-row: span 2; }
.feats .feat:not(.feat--today) h3 { font-size: clamp(22px, 2.2vw, 26px); line-height: 1.05; align-self: center; }
.feats .feat:not(.feat--today) p { font-size: 16px; }
@media (max-width: 640px) {
  .feats .feat:not(.feat--today) { padding: 20px; grid-template-columns: 40px 1fr; column-gap: 14px; }
  .feats .feat:not(.feat--today) .feat__ico { width: 40px; height: 40px; }
}

/* 5 October, version five (JJ: no monthly subscription up front, your data
   stays yours, one VIPea offer with a founder's badge). */
.hero-own { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.own-pill, .works-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font: 750 15.5px/1.15 var(--body); color: var(--ink); }
.own-pill { background: var(--brass-soft); border: 1px solid #e6d3a8; }
.own-pill svg { width: 19px; height: 19px; color: var(--brass); flex: none; }
.works-pill { background: var(--card); border: 1px solid var(--line); font-weight: 700; }
.works-pill svg { width: 15px; height: 15px; color: var(--pea-hi); flex: none; }

.kicker--band { color: #b6e07f; }
.kicker--band::before { background: #b6e07f; box-shadow: 0 0 0 4px rgba(182, 224, 127, .2); }
.band__h { margin-top: 16px; font: 800 clamp(40px, 6.6vw, 82px)/.98 var(--display); letter-spacing: -.045em; }
.band__h em { font-style: normal; color: #b6e07f; }
.band__p { max-width: 36ch; margin: 22px auto 0; font-size: clamp(18px, 2.2vw, 21px); line-height: 1.5; color: var(--band-muted); }
.band .facts span { display: inline-flex; align-items: center; gap: 8px; }
.band .facts svg { width: 17px; height: 17px; color: #b6e07f; }
.band__quote { max-width: 760px; margin: 44px auto 0; padding-top: 34px; border-top: 1px solid rgba(238, 243, 230, .14); }
.band__quote blockquote { margin: 0; font: 800 clamp(22px, 3vw, 34px)/1.15 var(--display); letter-spacing: -.025em; text-wrap: balance; }
.band__quote blockquote em { font-style: normal; color: #b6e07f; }
.band__quote figcaption { margin-top: 14px; font: 700 15px var(--body); color: var(--band-muted); }

.vip { list-style: none; display: grid; gap: 10px; width: fit-content; max-width: 100%; margin: 22px auto 0; padding: 0; text-align: left; }
.vip li { display: flex; align-items: flex-start; gap: 10px; font: 650 18px/1.35 var(--body); }
.vip svg { flex: none; width: 22px; height: 22px; margin-top: 1px; padding: 3px; border-radius: 50%; background: var(--pea-hi); color: #fff; }
.close .join { margin-top: 24px; }

@media (max-width: 600px) {
  .own-pill, .works-pill { font-size: 14.5px; padding: 9px 14px; }
  .vip li { font-size: 16.5px; }
  .band__p { font-size: 17px; }
}
.share-h { margin-top: 26px; font-weight: 700; color: var(--ink); }
.share-h + .share { margin-top: 12px; }
.lede, .band__p { text-wrap: balance; }
.fine { text-wrap: balance; }
@media (max-width: 600px) {
  .band .facts { gap: 8px; }
  .band .facts span { padding: 8px 13px; font-size: 14.5px; }
}

/* 5 October, version six: the levels are back, the ownership section is a tidy
   grid, the questions are answered by Pea, and the I-draft-you-decide line. */
.grow-peas { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); justify-items: center; align-items: end; gap: 22px clamp(6px, 1.6vw, 20px); max-width: 860px; margin: 38px auto 8px; }
.grow-peas figure { margin: 0; text-align: center; }
.grow-peas img { display: block; height: clamp(104px, 13vw, 158px); width: auto; margin: 0 auto; transform-origin: 50% 100%; filter: drop-shadow(0 12px 14px rgba(34, 56, 26, .18)); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.grow-peas figure:hover img { transform: translateY(-6%) scale(1.04); }
.grow-peas figcaption { margin-top: 8px; font: 700 13.5px/1.2 var(--body); color: var(--muted); }
.grow-peas figcaption b { color: var(--pea); }
.grow-peas .is-top { position: relative; }
.grow-peas .is-top::before { content: ""; position: absolute; left: 50%; bottom: 18%; width: 120%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 214, 110, .5), rgba(255, 214, 110, 0)); z-index: -1; }
.grow-peas .is-top figcaption, .grow-peas .is-top figcaption b { color: var(--brass); }
@media (max-width: 640px) { .grow-peas { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grow-peas img { height: 108px; } }

.own-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 980px; margin: 36px auto 0; padding: 0; text-align: left; }
.own-grid li { display: grid; align-content: start; gap: 6px; padding: 20px 18px 22px; border-radius: 20px; background: rgba(238, 243, 230, .07); border: 1px solid rgba(238, 243, 230, .14); }
.own-grid i { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 8px; border-radius: 13px; background: rgba(182, 224, 127, .16); color: #b6e07f; }
.own-grid svg { width: 22px; height: 22px; }
.own-grid b { font: 800 19px/1.15 var(--display); letter-spacing: -.01em; color: var(--band-ink); }
.own-grid span { font-size: 15.5px; line-height: 1.4; color: var(--band-muted); }
@media (max-width: 900px) { .own-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .own-grid { grid-template-columns: 1fr; } .own-grid li { grid-template-columns: 42px 1fr; column-gap: 14px; align-items: center; } .own-grid i { grid-row: span 2; margin: 0; } }

/* Ownership band with Pea on every card instead of line icons (JJ, 9 Oct: "no Pea
   on it... the icons are boring"). Each Pea stands on the top edge of its card. */
.own-grid--pea { gap: 14px; margin-top: 70px; text-align: center; }
.own-grid--pea li { justify-items: center; padding: 0 18px 24px; background: linear-gradient(180deg, rgba(238, 243, 230, .11), rgba(238, 243, 230, .05)); }
.own-grid--pea .own__pea { position: relative; display: grid; place-items: end center; width: 120px; height: 112px; margin: -48px 0 12px; font-size: 0; }
.own-grid--pea .own__pea::before { content: ""; position: absolute; left: 50%; bottom: -6px; width: 120px; height: 120px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, rgba(182, 224, 127, .34) 0%, rgba(182, 224, 127, 0) 68%); }
.own-grid--pea .own__pea img { position: relative; display: block; width: auto; height: 112px; max-width: 124px; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .35)); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.own-grid--pea b, .own-grid--pea li > span:last-child { text-wrap: balance; }
.own-grid--pea li:hover .own__pea img { transform: translateY(-6px) rotate(-4deg); }
@media (max-width: 900px) { .own-grid--pea { row-gap: 62px; } }
@media (max-width: 460px) {
  .own-grid--pea { row-gap: 12px; margin-top: 30px; text-align: left; }
  .own-grid--pea li { grid-template-columns: 76px 1fr; justify-items: start; padding: 14px 16px 14px 8px; }
  .own-grid--pea .own__pea { grid-row: span 2; width: 76px; height: 80px; margin: 0; }
  .own-grid--pea .own__pea img { height: 80px; max-width: 76px; }
  .own-grid--pea b, .own-grid--pea li > span:last-child { text-wrap: wrap; }
  .own-grid--pea .own__pea::before { width: 80px; height: 80px; bottom: -4px; }
}
@media (prefers-reduced-motion: reduce) { .own-grid--pea .own__pea img { transition: none; } .own-grid--pea li:hover .own__pea img { transform: none; } }

/* Just tell Pea: a little voice wave on the spoken request, and the closing line */
.talk__wave { display: inline-flex; align-items: center; gap: 2px; height: 12px; margin-left: 4px; }
.talk__wave b { width: 2.5px; height: 100%; border-radius: 2px; background: currentColor; animation: talkwave 1.1s ease-in-out infinite; }
.talk__wave b:nth-child(1) { animation-delay: -.9s; } .talk__wave b:nth-child(2) { animation-delay: -.3s; }
.talk__wave b:nth-child(3) { animation-delay: -.6s; } .talk__wave b:nth-child(4) { animation-delay: -.15s; } .talk__wave b:nth-child(5) { animation-delay: -.75s; }
@keyframes talkwave { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.talk__end { margin: 34px auto 0; font: 800 clamp(22px, 2.8vw, 30px)/1.2 var(--display); letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.talk__end em { font-style: normal; color: var(--pea); }

.okline { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 12px 20px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 16px; line-height: 1.35; color: var(--muted); text-align: left; }
.okline svg { flex: none; width: 22px; height: 22px; color: var(--pea); }
.okline b { color: var(--ink); }

.faq__pea { display: block; width: 92px; height: auto; margin: 0 auto 12px; filter: drop-shadow(0 12px 14px rgba(34, 56, 26, .2)); }
.faq--pea .ans { display: flex; align-items: flex-end; gap: 12px; padding: 0 0 20px; }
.faq--pea .ans .pea-ico { flex: none; width: 34px; height: 40px; }
.faq--pea .ans p { padding: 13px 17px; border-radius: 18px 18px 18px 6px; background: var(--pea-soft); color: var(--ink); font-weight: 550; line-height: 1.45; }
.faq--pea details[open] { border-color: var(--pea-glow); }

/* 6 October, version seven: the mark shows all of Pea, sprout to feet (JJ: the
   head-only picture cut off his feet), and the answers to the questions are
   plain bubbles now the copy talks about Pea rather than as Pea. */
.mark .pea-ico { width: 40px; height: 47px; }
.foot .mark .pea-ico { width: 34px; height: 40px; }
.faq--pea .ans p { border-radius: 18px; }
.hand .lede b { color: var(--ink); font-weight: 750; }

/* 9 October: the official wordmark, "pea" with the sprout curling out of the p,
   taken from JJ's studio sign. It replaces the little Pea picture and the typed
   name in the top bar and the footer. Built by tools/logo.py. */
.mark__logo { display: block; width: auto; height: 50px; transform-origin: 20% 80%; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.mark:hover .mark__logo { transform: rotate(-3deg) scale(1.04); }
.foot .mark { margin-bottom: 10px; }
.foot .mark .mark__logo { height: 40px; }
@media (max-width: 600px) { .mark__logo { height: 40px; } }
@media (prefers-reduced-motion: reduce) { .mark__logo { transition: none; } .mark:hover .mark__logo { transform: none; } }
