/* Cluckly site — tokens from docs/design/design-brief.md §2 (locked palette) */
:root {
  --bg: #F7F5F0;
  --card: #FFFFFF;
  --border: #E5E1D8;
  --text: #2E2C28;
  --text2: #6E675C;
  --sage: #5F7355;
  --sage-dark: #4E5F45;
  --sage-tint: #EDF0E9;
  --oak: #C9A87C;
  --barn-red: #A64B3C;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1F1D19;
    --card: #2A2723;
    --border: #3A362F;
    --text: #F2EFE8;
    --text2: #A89F91;
    --sage-tint: #2E332B;
  }
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 980px; margin: 0 auto; padding: 0 24px; }

a { color: var(--sage); }

/* ---- Header ---- */
header {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  color: var(--text);
  text-decoration: none;
}
.brand .mark { font-size: 26px; }
nav { display: flex; gap: 22px; }
nav a {
  color: var(--text2);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
nav a:hover { color: var(--sage); }

/* ---- Hero ---- */
.hero { text-align: center; padding: 72px 0 48px; }
.hero h1 {
  font-size: clamp(34px, 6vw, 54px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  max-width: 720px;
  margin: 0 auto 20px;
}
.hero .sub {
  color: var(--text2);
  font-size: 20px;
  max-width: 620px;
  margin: 0 auto 32px;
}
.price-chip {
  display: inline-block;
  background: var(--sage);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  padding: 10px 22px;
  border-radius: 12px;
  margin-bottom: 28px;
}
.store-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.store-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 12px;
  min-width: 190px;
  line-height: 1.3;
}
.store-btn small { font-size: 12px; font-weight: 600; opacity: .8; }
.store-btn span { font-size: 19px; font-weight: 800; }
.store-btn.soon { opacity: .55; pointer-events: none; }
.hero .fine { color: var(--text2); font-size: 13px; margin-top: 18px; }

/* ---- Screenshots ---- */
.shots {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 32px 24px 48px;
  scroll-snap-type: x mandatory;
  justify-content: safe center;
}
.shots img {
  width: 240px;
  flex-shrink: 0;
  border-radius: 28px;
  border: 1px solid var(--border);
  scroll-snap-align: center;
}

/* ---- Sections ---- */
section { padding: 56px 0; }
section.tint { background: var(--sage-tint); }
h2 {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--text2);
  max-width: 560px;
  margin: 0 auto 40px;
}

/* ---- Feature grid ---- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 26px;
}
.feature .icon { font-size: 30px; margin-bottom: 10px; }
.feature h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.feature p { color: var(--text2); font-size: 15px; }

/* ---- Pricing ---- */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}
.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 30px;
}
.plan.full { border: 2px solid var(--sage); }
.plan h3 { font-size: 20px; font-weight: 800; }
.plan .amount { font-size: 34px; font-weight: 900; margin: 8px 0 2px; }
.plan .per { color: var(--text2); font-size: 14px; margin-bottom: 18px; }
.plan ul { list-style: none; }
.plan li {
  padding: 7px 0 7px 28px;
  position: relative;
  font-size: 15px;
}
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 800;
}

/* ---- Trust strip ---- */
.trust {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 36px;
}
.trust span {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text2);
}

/* ---- FAQ / prose pages ---- */
.prose { max-width: 720px; margin: 0 auto; padding: 48px 24px 72px; }
.prose h1 { font-size: 34px; font-weight: 900; margin-bottom: 8px; }
.prose .updated { color: var(--text2); font-size: 14px; margin-bottom: 32px; }
.prose h2 {
  text-align: left;
  font-size: 22px;
  margin: 36px 0 10px;
}
.prose p, .prose li { color: var(--text); margin-bottom: 12px; }
.prose ul { padding-left: 22px; margin-bottom: 12px; }
.prose .card-note {
  background: var(--sage-tint);
  border-radius: 12px;
  padding: 16px 20px;
  font-weight: 700;
  margin: 20px 0;
}

/* ---- FAQ items ---- */
details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
}
details summary {
  font-weight: 800;
  cursor: pointer;
  font-size: 16px;
}
details p { color: var(--text2); margin-top: 10px; font-size: 15px; }

/* ---- Footer ---- */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 48px;
  text-align: center;
  color: var(--text2);
  font-size: 14px;
}
footer nav {
  justify-content: center;
  margin-bottom: 14px;
}

@media (max-width: 600px) {
  .hero { padding: 48px 0 32px; }
  nav { gap: 14px; flex-wrap: wrap; justify-content: center; }
  header .wrap { justify-content: center; }
  .shots img { width: 200px; }
}
