/* Cross the Peas waitlist: mobile first. Colors from the app's "Soft rainbow" planner theme
   (meal-plan-app-redesign/src/planner.css) and Stencil's brand README. Self-hosted Nunito (SIL OFL).
   Counsel: no ring or spiral holes anywhere, no script headings (headings use Nunito), no bottom tabs. */
@font-face { font-family: 'Nunito'; src: url('/fonts/Nunito-wght.ttf') format('truetype'); font-weight: 200 1000; font-style: normal; font-display: swap; }
:root {
  --ink: #2A2622; --muted: #5A5249; --paper: #FFFDF7; --cream: #FBF6EC; --dot: #DCD3C4; --line: #E6DDCC;
  --tab-plan: #F6B5AE; --tab-list: #B7E2C4; --tab-pantry: #FAE29E; --tab-meals: #B6D3F4; --tab-budget: #E7D5BC; --tab-export: #D5C6F2;
  --primary: #3F3A60; --primary-hover: #2E2A47; --on-primary: #FFFFFF; --warn: #9C2F1F;
  --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --note-shadow: 0 4px 8px rgba(60, 40, 10, .14);
}
[hidden] { display: none !important; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); line-height: 1.55; font-size: 1.0625rem;
  background-color: var(--paper);
  background-image: radial-gradient(circle at 1px 1px, var(--dot) 1.15px, transparent 1.5px); background-size: 22px 22px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 2px; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }
.wrap { width: min(100% - 32px, 760px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--font); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 1.85rem; font-weight: 850; letter-spacing: -.01em; }
h2 { font-size: 1.35rem; font-weight: 800; }
h3 { font-size: 1.05rem; font-weight: 800; margin-top: 1.1em; }
p { margin: 0 0 .8em; }

/* hero */
.hero { background: var(--cream); border-bottom: 1.5px solid var(--line); padding: 20px 0 28px; }
.hero-grid { display: grid; gap: 8px; }
.brand .lockup { width: min(78vw, 320px); margin: 0 auto; }
.tagline { font-weight: 700; font-size: 1.1rem; margin-bottom: .2em; }
.desc { color: var(--muted); font-weight: 600; margin-bottom: 1em; }
.benefits { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 10px; }
.benefits li { position: relative; padding: 10px 12px 10px 40px; background: #fff; border: 1.5px solid var(--line); border-radius: 10px; }
.benefits li::before { content: ""; position: absolute; left: 12px; top: 13px; width: 18px; height: 18px; border-radius: 50%;
  background: #3F7A4E; box-shadow: inset 0 0 0 4px #CFEAC0; }
.btn { display: inline-block; background: var(--primary); color: var(--on-primary); font: inherit; font-weight: 800; border: 0;
  border-radius: 999px; padding: 13px 22px; min-height: 48px; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--primary-hover); color: var(--on-primary); }

/* sticky-note cards: a pastel tab-colored top edge, like the app's page tabs */
main { padding: 24px 0 8px; display: grid; gap: 18px; }
.card { background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 18px 18px 10px; box-shadow: var(--note-shadow);
  border-top: 10px solid var(--tab, var(--tab-budget)); }
.note-plan { --tab: var(--tab-plan); } .note-meals { --tab: var(--tab-meals); } .note-list { --tab: var(--tab-list); }
.note-budget { --tab: var(--tab-budget); } .note-pantry { --tab: var(--tab-pantry); } .join { --tab: var(--tab-export); } .faq { --tab: var(--tab-list); }
.fine { font-size: .9rem; color: var(--muted); }
.trial { font-weight: 700; }

/* form */
form { display: grid; gap: 10px; margin: 6px 0 12px; }
label { font-weight: 700; }
input[type="email"] { font: inherit; width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid #8A7F6E; border-radius: 10px; background: #fff; color: var(--ink); }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--primary); }
.consent label { font-weight: 500; font-size: .95rem; }
.error { color: var(--warn); font-weight: 700; margin: 0; }
.thanks { background: #EEF8F1; border: 1.5px solid var(--tab-list); border-radius: 10px; padding: 14px 16px 6px; margin-bottom: 12px; }
.thanks h3 { margin-top: 0; }

.site-footer { padding: 18px 0 32px; text-align: center; color: var(--muted); font-size: .95rem; }
.site-footer p { margin: .3em 0; }

/* privacy and 404 */
.mini-head { background: var(--cream); border-bottom: 1.5px solid var(--line); padding: 10px 0; }
.mini-head img { width: 150px; }
.prose { margin-top: 24px; } .prose h2 { font-size: 1.15rem; margin-top: 1.2em; }
.notfound { text-align: center; } .notfound img { width: 200px; margin: 0 auto 12px; }

@media (min-width: 700px) {
  body { font-size: 1.1rem; }
  .wrap { width: min(100% - 64px, 1040px); }
  main .wrap, .prose { width: min(100% - 64px, 760px); }
  .hero { padding: 40px 0 48px; }
  .hero-grid { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 40px; }
  .brand .lockup { width: 100%; max-width: 440px; }
  h1 { font-size: 2.4rem; }
  .card { padding: 24px 28px 14px; }
  form { grid-template-columns: 1fr auto; align-items: end; }
  form > label { grid-column: 1 / -1; }
  form .consent, form .error, form .fine { grid-column: 1 / -1; }
  form .btn { grid-column: 1 / -1; justify-self: start; }
}
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent-line { font-size: .95rem; margin: 0; }
.callout { background: #FEF8E8; border: 1.5px solid var(--tab-pantry); border-radius: 10px; padding: 12px 14px 4px; margin: 0 0 1em; }
.prose ul { padding-left: 1.2em; margin: 0 0 .9em; } .prose li { margin: .3em 0; }
.prose h3 { font-size: 1rem; }
.policy-section { scroll-margin-top: 16px; }
.prose { overflow-wrap: anywhere; }
