/* ============================================================
   Little Sprigs — marketing site stylesheet
   Shared by the static pages in public/ (welcome, pricing,
   schools, privacy). Matches the app's palette in src/theme.js
   (T = ink #2B3A55, cream #FFF9EC, green #4CBB7F …) and its
   soft-card look (white card, 0 6px 0 drop). The app itself
   does not load this file.
   ============================================================ */

:root {
  --ink: #2B3A55;
  --ink-soft: #5A6B8C;
  --cream: #FFF9EC;
  --sky: #DFF3FF;
  --sun: #FFC94D;
  --green: #4CBB7F;
  --green-dark: #2F9A61;
  --clover: #2E9E5B;
  --pink: #F27E9D;
  --blue: #5B8DEF;
  --card-shadow: #D8E0EC;
  --ui: 'Arial Rounded MT Bold', 'Trebuchet MS', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--ui);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
}

img { max-width: 100%; height: auto; }

.wrap { max-width: 1020px; margin: 0 auto; padding: 0 20px; }

/* ----- header / nav ----- */
header.site {
  background: var(--cream);
  border-bottom: 3px solid #F0E6CF;
  padding: 14px 0;
}
header.site .wrap {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand img { width: 44px; height: 44px; border-radius: 12px; }
.brand span { font-size: 22px; font-weight: 800; }
nav.site { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
nav.site a {
  text-decoration: none; color: var(--ink-soft); font-weight: 700;
  padding: 8px 12px; border-radius: 12px; font-size: 15px;
}
nav.site a:hover { background: #F3ECD9; color: var(--ink); }
nav.site a.current { color: var(--ink); background: #F3ECD9; }
nav.site a.cta {
  background: var(--green); color: #fff; box-shadow: 0 4px 0 var(--green-dark);
}
nav.site a.cta:hover { background: var(--green-dark); }

/* ----- hero ----- */
.hero {
  background: linear-gradient(180deg, var(--sky) 0%, var(--cream) 100%);
  padding: 56px 0 40px;
  text-align: center;
}
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.2; margin-bottom: 14px; }
.hero p.sub { font-size: clamp(17px, 2.4vw, 21px); color: var(--ink-soft); max-width: 640px; margin: 0 auto 26px; }
.hero .badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 22px 0 6px; }
.hero .badges img { width: 56px; height: 56px; }

/* ----- buttons ----- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 800;
  padding: 14px 26px; border-radius: 18px; font-size: 17px;
  border: none; cursor: pointer; font-family: var(--ui);
}
.btn.primary { background: var(--green); color: #fff; box-shadow: 0 5px 0 var(--green-dark); }
.btn.primary:hover { background: var(--green-dark); }
.btn.soft { background: #fff; color: var(--ink); box-shadow: 0 5px 0 var(--card-shadow); }
.btn.sun { background: var(--sun); color: var(--ink); box-shadow: 0 5px 0 #E8A81F; }
.btn + .btn { margin-left: 10px; }

/* ----- sections & cards ----- */
section.band { padding: 44px 0; }
section.band.alt { background: #FDF4DF; }
section.band h2 { font-size: clamp(24px, 3.6vw, 32px); text-align: center; margin-bottom: 8px; }
section.band p.lead { text-align: center; color: var(--ink-soft); max-width: 680px; margin: 0 auto 30px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card {
  background: #fff; border-radius: 22px; padding: 24px;
  box-shadow: 0 6px 0 var(--card-shadow);
}
.card img.icon { width: 64px; height: 64px; margin-bottom: 10px; }
.card h3 { font-size: 20px; margin-bottom: 6px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }
.card ul { color: var(--ink-soft); font-size: 15.5px; padding-left: 20px; }
.card li { margin: 4px 0; }

/* ----- pricing ----- */
.price-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; align-items: stretch; }
.price {
  background: #fff; border-radius: 22px; padding: 28px 24px; text-align: center;
  box-shadow: 0 6px 0 var(--card-shadow); display: flex; flex-direction: column;
}
.price.featured { border: 3px solid var(--green); position: relative; }
.price .flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #fff; font-size: 13px; font-weight: 800;
  padding: 4px 14px; border-radius: 999px; white-space: nowrap;
}
.price .amount { font-size: 40px; font-weight: 800; margin: 8px 0 0; }
.price .per { color: var(--ink-soft); font-size: 14px; margin-bottom: 14px; }
.price ul { text-align: left; padding-left: 20px; color: var(--ink-soft); font-size: 15px; flex: 1; }
.price li { margin: 5px 0; }
.price .btn { margin-top: 18px; }
.strike { text-decoration: line-through; color: var(--ink-soft); font-size: 22px; font-weight: 700; }

/* ----- waitlist form ----- */
.waitlist {
  background: #fff; border-radius: 26px; padding: 32px;
  box-shadow: 0 7px 0 var(--card-shadow); max-width: 560px; margin: 0 auto;
}
.waitlist label, .waitlist .label { display: block; font-weight: 700; font-size: 15px; margin: 14px 0 4px; }
/* tick-any checkbox groups (the tester feedback form) */
.waitlist .choices { display: grid; gap: 8px; margin: 4px 0 2px; }
.waitlist .choices label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; margin: 0; font-size: 15.5px; color: var(--ink); }
.waitlist .choices input { width: 19px; height: 19px; margin-top: 2px; flex: none; }
.waitlist input[type="text"], .waitlist input[type="email"], .waitlist select, .waitlist textarea {
  width: 100%; padding: 12px 14px; font-size: 16px; font-family: var(--ui);
  border: 2px solid #D8E0EC; border-radius: 14px; background: #FBFDFF; color: var(--ink);
}
.waitlist textarea { min-height: 96px; resize: vertical; }
.waitlist input:focus, .waitlist select:focus, .waitlist textarea:focus { outline: 3px solid var(--sky); border-color: var(--blue); }
.waitlist .consent { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; font-size: 14px; color: var(--ink-soft); }
.waitlist .consent input { margin-top: 4px; width: 18px; height: 18px; }
.waitlist button { width: 100%; margin-top: 6px; }
.hidden { display: none; }

/* ----- prose pages (privacy) ----- */
.prose { max-width: 720px; margin: 0 auto; padding: 40px 20px 60px; }
.prose h1 { font-size: 30px; margin-bottom: 16px; }
.prose h2 { font-size: 21px; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-soft); font-size: 16px; }
.prose ul { padding-left: 22px; }
.prose .table-wrap { overflow-x: auto; margin: 8px 0 14px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--card-shadow); padding: 8px 10px; text-align: left; vertical-align: top; color: var(--ink-soft); }
.prose th { background: var(--sky); color: var(--ink); }
.prose code { font-size: 0.92em; }
.prose .updated { font-size: 14px; font-style: italic; margin-top: 26px; }

/* ----- the sprout, inline with text (replaces the 🌱 emoji) ----- */
.sprig { display: inline-block; height: 1.4em; width: auto; vertical-align: -0.35em; margin: 0 0.05em; }

/* ----- trust strip ----- */
.trust { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; padding: 10px 0 0; }
.trust span { color: var(--ink-soft); font-size: 15px; font-weight: 700; }

/* ----- footer ----- */
footer.site {
  background: var(--ink); color: #DDE6F5; padding: 34px 0; margin-top: 40px;
  font-size: 14.5px;
}
footer.site .wrap { display: flex; gap: 24px; flex-wrap: wrap; justify-content: space-between; }
footer.site a { color: #fff; }
footer.site .made { color: #9FB0CE; }
/* the company's legal particulars, which a company website must show */
footer.site .company { display: inline-block; margin-top: 4px; font-size: 13px; }

@media (max-width: 640px) {
  .btn + .btn { margin-left: 0; margin-top: 10px; }
  .hero { padding: 40px 0 30px; }
}
