:root {
  --bg: #f7f1e6;
  --paper: #fffaf1;
  --ink: #2b1d14;
  --muted: #6e5b4b;
  --brown: #a8835f;
  --hay: #d4a845;
  --moss: #5d7a4a;
  --sky: #c9dde6;
  --radius: 18px;
  --shadow: 0 6px 0 rgba(43, 29, 20, .12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, var(--sky) 0, transparent 40%),
    var(--bg);
  line-height: 1.55;
}

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
  margin: 0 0 .5em;
}

h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); text-align: center; }

a { color: inherit; }

section { padding: 72px 24px; max-width: 1100px; margin: 0 auto; }

.sub { text-align: center; color: var(--muted); margin-top: -.3em; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font: inherit;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--hay);
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .08s, box-shadow .08s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn-ghost { background: var(--paper); }
.btn-small { padding: 8px 16px; font-size: .9rem; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 24px;
  background: rgba(247, 241, 230, .9);
  backdrop-filter: blur(6px);
  border-bottom: 2px dashed rgba(43, 29, 20, .15);
}
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; font-size: 1.3rem; }
.brand strong { color: var(--moss); }
.nav nav { display: flex; gap: 22px; }
.nav nav a { text-decoration: none; color: var(--muted); font-weight: 600; }
.nav nav a:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  padding-top: 56px;
}
.eyebrow {
  display: inline-block;
  background: var(--moss); color: #fff;
  padding: 4px 12px; border-radius: 999px;
  font-size: .85rem; font-weight: 700; letter-spacing: .03em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h1 em { color: var(--moss); font-style: italic; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 24px 0 8px; }
.fineprint { font-size: .8rem; color: var(--muted); }

.hero-art { position: relative; text-align: center; }
.pika-big {
  border: none; background: none; padding: 0; cursor: pointer;
  width: min(340px, 80%);
  animation: bob 3s ease-in-out infinite;
}
.pika-big img { width: 100%; display: block; filter: drop-shadow(0 14px 0 rgba(43,29,20,.12)); }
.pika-big.squish { animation: squish .35s ease; }

.bubble {
  position: absolute; top: 4%; right: 6%;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 20px;
  padding: 8px 16px;
  font-weight: 800; font-size: 1.3rem;
  transform: scale(0) rotate(-8deg);
  transform-origin: bottom left;
  transition: transform .18s cubic-bezier(.3,1.8,.6,1);
}
.bubble.show { transform: scale(1) rotate(-8deg); }
.eep-count { color: var(--muted); font-size: .9rem; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes squish {
  0% { transform: scale(1, 1); }
  40% { transform: scale(1.12, .86); }
  70% { transform: scale(.94, 1.08); }
  100% { transform: scale(1, 1); }
}

/* ---------- trusted ---------- */
.trusted { padding-top: 0; padding-bottom: 24px; text-align: center; }
.trusted p { color: var(--muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; }
.trusted ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px;
  font-weight: 700; color: var(--muted); opacity: .85;
}

/* ---------- features ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.card {
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform .15s;
}
.card:hover { transform: translateY(-4px) rotate(-.5deg); }
.card .icon { font-size: 2rem; }
.card p { color: var(--muted); margin: 0; }

/* ---------- pipeline ---------- */
.pipeline { text-align: center; }
.meter {
  position: relative;
  height: 32px;
  max-width: 640px;
  margin: 24px auto;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
}
.meter-fill {
  height: 100%; width: 0%;
  background: repeating-linear-gradient(45deg, var(--hay) 0 12px, #e2bc5e 12px 24px);
  transition: width .4s ease;
}
.meter-label {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-weight: 800; font-size: .9rem;
}
.board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px 0;
  text-align: left;
}
.col {
  background: rgba(168, 131, 95, .12);
  border: 2px dashed rgba(43, 29, 20, .25);
  border-radius: var(--radius);
  padding: 12px;
  min-height: 240px;
}
.col h4 { font-size: 1rem; margin-bottom: 10px; }
.col[data-stage="3"] { background: rgba(93, 122, 74, .14); }
.col-body { display: flex; flex-direction: column; gap: 8px; }
.item {
  font: inherit; text-align: left;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 12px;
  padding: 8px 10px;
  cursor: pointer;
  box-shadow: 0 3px 0 rgba(43,29,20,.15);
  animation: pop .25s ease;
}
.item:hover { background: #fff3d6; }
.item small { display: block; color: var(--muted); font-size: .75rem; }
.item.done { cursor: default; opacity: .85; }
@keyframes pop { from { transform: scale(.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- pricing ---------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 32px;
  align-items: stretch;
}
.tier {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.tier.featured { background: #fff3d6; transform: scale(1.03); }
.tier .tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--moss); color: #fff;
  padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700;
  white-space: nowrap;
}
.price { font-size: 2.2rem; font-weight: 800; margin: 0 0 10px; font-family: Georgia, serif; }
.price small { font-size: .9rem; color: var(--muted); font-weight: 400; font-family: inherit; }
.tier ul { padding-left: 1.1em; color: var(--muted); flex: 1; }
.tier ul li::marker { content: "🌾 "; }
.tier .btn { text-align: center; }

/* ---------- reviews ---------- */
.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
blockquote {
  margin: 0;
  background: var(--paper);
  border-left: 6px solid var(--hay);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 22px;
  box-shadow: var(--shadow);
}
blockquote p { font-family: Georgia, serif; font-size: 1.1rem; margin: 0 0 10px; }
cite { color: var(--muted); font-style: normal; font-size: .9rem; }

/* ---------- cta ---------- */
.cta {
  text-align: center;
  background: var(--moss);
  color: #fff;
  border-radius: 28px;
  margin: 40px auto 72px;
  max-width: 1000px;
}
.cta h2 { color: #fff; }
.signup { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.signup input {
  font: inherit;
  padding: 12px 18px;
  min-width: 280px;
  border-radius: 999px;
  border: 2px solid var(--ink);
}
.form-msg { min-height: 1.5em; font-weight: 700; }

/* ---------- footer ---------- */
footer { text-align: center; padding: 24px 24px 48px; color: var(--muted); }
footer .tiny { font-size: .8rem; }

/* ---------- confetti hay ---------- */
.hay-bit {
  position: fixed;
  pointer-events: none;
  font-size: 1.4rem;
  z-index: 50;
  animation: fall 1.4s ease-in forwards;
}
@keyframes fall {
  to { transform: translate(var(--dx), 110vh) rotate(var(--rot)); opacity: 0; }
}

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-cta { justify-content: center; }
  .lede { margin: 0 auto; }
  .nav nav { display: none; }
  .board { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
