/* Peace of mind page: jump links, the promise cards, the draft-and-decide card,
   what Pea won't do, and the small print. Uses the shared tokens only. */

/* the hero Pea hugs its notebook (everything it knows, held close): a standing pose, a touch narrower */
.phero__pea--memory { width: clamp(132px, 19vw, 200px); }

/* jump links under the hero */
.pjump { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.pjump a { padding: 10px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink); font: 650 15px/1 var(--body); text-decoration: none; transition: border-color .2s, color .2s, transform .2s; }
.pjump a:hover { border-color: var(--pea-glow); color: var(--pea); transform: translateY(-1px); }

.psec { scroll-margin-top: calc(var(--nav-h) + 10px); }
.psec + .psec { padding-top: 0; }

/* promise cards: six, three over three */
.promise { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1040px; }
.promise .card h3 { font-size: clamp(21px, 2.2vw, 25px); }
/* tablets: two by two by two */
@media (max-width: 900px) {
  .promise { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .promise { grid-template-columns: 1fr; gap: 12px; }
  .promise .card { padding: 22px; }
}

/* the draft waiting for the owner's OK */
.draft { max-width: 560px; margin: 40px auto 0; padding: 18px 20px 18px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); text-align: left; }
.draft__top { display: flex; align-items: center; gap: 12px; }
.draft__top .pea-ico { flex: none; width: 36px; height: 42px; }
.draft__what { flex: 1; min-width: 0; }
.draft__what b { display: block; font: 700 16.5px/1.25 var(--body); }
.draft__what small { display: block; font-size: 14px; color: var(--muted); }
.draft__body { margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-size: 16.5px; line-height: 1.5; color: var(--ink); }
.draft__foot { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.draft__note { display: inline-flex; align-items: center; gap: 7px; margin-right: auto; font: 700 14.5px/1.2 var(--body); color: var(--brass); }
.draft__note svg { width: 18px; height: 18px; }
.draft__btn { padding: 10px 18px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); font: 700 15px/1 var(--body); color: var(--ink); }
.draft__btn--send { background: var(--band); color: var(--band-ink); box-shadow: 0 10px 22px -14px rgba(34, 56, 26, .8); }

/* what Pea won't do */
.wont { max-width: 560px; margin: 18px auto 0; padding: 24px 26px 26px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); text-align: left; }
.wont__h { font: 800 clamp(22px, 2.6vw, 27px)/1.1 var(--display); letter-spacing: -.03em; }
.wont__list { display: grid; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.wont__list li { position: relative; padding-left: 38px; font-size: 17px; line-height: 1.4; color: var(--ink); }
.wont__list li::before { content: ""; position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 50%; background: var(--brass-soft); box-shadow: inset 0 0 0 1.5px #e2c891; }
.wont__list li::after { content: ""; position: absolute; left: 8px; top: 11px; width: 10px; height: 2.5px; border-radius: 2px; background: var(--brass); }

/* Guard Pea words and the small print */
.gp-text { max-width: 34ch; margin: 30px auto 0; text-align: center; font: 700 clamp(19px, 2.3vw, 23px)/1.35 var(--display); letter-spacing: -.015em; color: var(--ink); text-wrap: balance; }
.pnotes { display: grid; gap: 10px; max-width: 620px; margin: 30px auto 0; padding: 20px 22px; border-radius: 20px; background: var(--paper-2); font-size: 15.5px; line-height: 1.5; color: var(--muted); text-align: left; }
.pnotes b { color: var(--ink); }
.pnotes a { font-weight: 700; text-underline-offset: 3px; }

/* close */
.close__pea { display: block; width: min(140px, 36vw); height: auto; margin: 0 auto 14px; filter: drop-shadow(0 16px 18px rgba(34, 56, 26, .2)); }
/* named their Pea? It wears the name tag here instead (site.js sets html.has-pea-name) */
.close .only-named { display: none; }
html.has-pea-name .close .only-named { display: block; }
html.has-pea-name .close .only-unnamed { display: none; }
.close__tag { width: calc(var(--h, 180px) * 656 / 820); margin: 0 auto 14px; filter: drop-shadow(0 16px 18px rgba(34, 56, 26, .2)); }
.close .h2 em { font-style: normal; color: var(--pea); }
#your-data { padding-top: clamp(36px, 6vw, 80px); }
@media (max-width: 480px) {
  .pjump { gap: 6px; }
  .pjump a { padding: 9px 11px; font-size: 13.5px; }
}
