:root {
  --bg: #fbf7f1;
  --bg-soft: #f4ece1;
  --ink: #241c14;
  --ink-soft: #5c5046;
  --muted: #8a7d70;
  --accent: #1f9d5b;
  --accent-dark: #147a45;
  --cap: #147a45;
  --card: #ffffff;
  --line: #e7dccd;
  --radius: 18px;
  --maxw: 1080px;
  --shadow: 0 1px 2px rgba(40, 25, 10, .04), 0 8px 28px rgba(40, 25, 10, .06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.12;
  margin: 0 0 .5em;
}

a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

em { font-style: italic; color: var(--accent-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 241, .82);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.acorn { display: inline-flex; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: .95rem;
  font-weight: 500;
}
.nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 24px;
  border-radius: 999px;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(31, 157, 91, .32);
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 10px 26px rgba(31, 157, 91, .42);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: #fff; border-color: var(--accent); }
.btn-small { padding: 8px 16px; font-size: .9rem; background: var(--accent); color: #fff; }
.btn-small:hover { background: var(--accent-dark); color: #fff; }
.btn.full { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 88px 0 72px;
  background:
    radial-gradient(1200px 500px at 70% -10%, rgba(31, 157, 91, .12), transparent 60%),
    radial-gradient(900px 400px at 10% 0%, rgba(20, 122, 69, .07), transparent 55%);
  overflow: hidden;
}
/* Slow drifting green glow layered above the static hero gradient. */
.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(640px 420px at 72% 8%, rgba(31, 157, 91, .16), transparent 62%),
    radial-gradient(560px 380px at 18% 30%, rgba(20, 122, 69, .12), transparent 60%);
  will-change: transform, opacity;
  animation: hero-drift 22s ease-in-out infinite alternate;
}
.hero-inner { position: relative; z-index: 1; }

@keyframes hero-drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: .65;
  }
  50% {
    transform: translate3d(2.5%, 1.6%, 0) scale(1.06);
    opacity: 1;
  }
  100% {
    transform: translate3d(-2%, -1.4%, 0) scale(1.03);
    opacity: .8;
  }
}
.hero-inner { max-width: 760px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--accent-dark);
  margin: 0 0 18px;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 3.6rem); }
.lede {
  font-size: 1.22rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 22px 0 30px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.cost-flag {
  margin-top: 34px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  font-size: .98rem;
  color: var(--ink-soft);
  max-width: 640px;
  box-shadow: var(--shadow);
}
.cost-flag strong { color: var(--ink); }
sup a { color: var(--accent-dark); }

/* ---------- Bands ---------- */
.band { padding: 76px 0; }
.band-soft { background: var(--bg-soft); }
.kicker {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 700;
  font-family: "Inter", sans-serif;
}
.kicker-problem { color: #b1563a; }
.kicker-solution { color: var(--accent-dark); }
.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  text-align: center;
  margin-bottom: .3em;
}
.section-sub { color: var(--muted); margin-top: 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.big-text { font-size: 1.12rem; color: var(--ink-soft); }

/* Problem / Solution */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.col h2 { margin-bottom: 14px; }
.positioning {
  margin-top: 56px;
  text-align: center;
}
.pos-pill {
  display: inline-block;
  margin: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.pos-pill-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  font-weight: 600;
}

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(31, 157, 91, .14);
  border-color: var(--accent);
}
.card-icon { font-size: 1.8rem; margin-bottom: 12px; }
.card h3 { font-size: 1.3rem; }
.card p { color: var(--ink-soft); margin: 0; }

/* ---------- Start my day ---------- */
.feature { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%); }
.feature-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature-copy h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.feature-tagline {
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--accent-dark);
  margin-top: 18px;
}
.feature-demo {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.chat { display: flex; flex-direction: column; gap: 14px; }
.chat-you, .chat-claude {
  padding: 14px 18px;
  border-radius: 14px;
  font-size: .98rem;
  line-height: 1.5;
}
.chat-you {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
  max-width: 60%;
}
.chat-claude {
  align-self: flex-start;
  background: var(--bg-soft);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}
.dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 6px;
}

/* ---------- Pricing ---------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
  align-items: stretch;
}
.tier {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tier:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(31, 157, 91, .16);
  border-color: var(--accent);
}
.tier-featured {
  border: 2px solid var(--accent);
  box-shadow: 0 14px 40px rgba(201,123,60,.18);
}
.tier-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
}
.tier h3 { font-size: 1.45rem; margin-bottom: 8px; }
.price span {
  font-family: "Fraunces", serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--ink);
}
.tier-line { color: var(--muted); margin: 4px 0 18px; font-size: .95rem; }
.tier ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}
.tier li {
  padding: 8px 0 8px 26px;
  position: relative;
  color: var(--ink-soft);
  font-size: .96rem;
  border-bottom: 1px solid #f1e8da;
}
.tier li:last-child { border-bottom: none; }
.tier li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.tier li.addon::before { content: "+"; color: var(--cap); }
.pricing-note {
  text-align: center;
  margin-top: 28px;
  color: var(--muted);
  font-size: .92rem;
}

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 44px auto 36px;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.steps li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: var(--shadow);
}
.step-num {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: "Fraunces", serif;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}
.steps h3 { font-size: 1.15rem; margin-bottom: 2px; }
.steps p { margin: 0; color: var(--ink-soft); }

/* ---------- Trust ---------- */
.band-trust { background: var(--bg-soft); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.trust-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.trust-item p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ---------- Footnote ---------- */
.band-footnote { padding: 28px 0; }
.footnote { color: var(--muted); font-size: .85rem; margin: 0; max-width: 720px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #d9cdbf;
  padding: 48px 0;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.footer-brand {
  display: flex; align-items: center; gap: 8px;
  font-family: "Fraunces", serif; font-weight: 700; font-size: 1.2rem; color: #fff;
}
.footer-tag { color: #b6a896; margin: 0; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; margin: 6px 0; }
.footer-links a { color: #e6d9c8; font-size: .92rem; }
.footer-links a:hover { color: #fff; }
.copyright { color: #8c7e6e; font-size: .82rem; margin: 8px 0 0; }

/* ---------- Acorn idle motion ---------- */
.acorn svg {
  transform-origin: 50% 100%;
  animation: acorn-bob 6s ease-in-out infinite;
  will-change: transform;
}
@keyframes acorn-bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-1.5px) rotate(-2deg); }
}

/* ---------- Scroll reveal (progressive enhancement) ----------
   Initial hidden state is scoped under .js, which is only added by
   script.js. With JS disabled, content stays fully visible. */
.js .band,
.js .card,
.js .tier,
.js .steps li,
.js .trust-item,
.js .hero-inner > * {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity .55s ease,
    transform .55s cubic-bezier(.22, .61, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.js .revealed {
  opacity: 1;
  transform: none;
}

/* ---------- Reduced motion: disable all of the above ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::before { animation: none; opacity: .8; }
  .acorn svg { animation: none; }
  .btn,
  .card,
  .tier { transition: none; }
  .btn:hover,
  .card:hover,
  .tier:hover { transform: none; }
  /* Reveal targets: instantly visible, no transform/transition. */
  .js .band,
  .js .card,
  .js .tier,
  .js .steps li,
  .js .trust-item,
  .js .hero-inner > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links a:not(.btn) { display: none; }
  .two-col, .feature-inner { grid-template-columns: 1fr; gap: 32px; }
  .cards, .tiers, .trust-grid { grid-template-columns: 1fr; }
  .tier-featured { order: -1; }
  .hero { padding: 60px 0 52px; }
  .band { padding: 56px 0; }
  .chat-you { max-width: 80%; }
}
@media (max-width: 480px) {
  .cta-row { flex-direction: column; }
  .btn { width: 100%; }
  .btn-small { width: auto; }
}
