/* Green Sphynx: colors pulled from the logo */
:root {
  --forest: #1f4d14;
  --leaf: #3f8f2a;
  --lime: #8cc63f;
  --sprout: #e4f2cf;
  --cream: #fdf8ec;
  --sun: #f2b632;
  --ink: #23301d;
  --muted: #5d6b55;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(31, 77, 20, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 18px;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; color: var(--forest); line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
a { color: var(--leaf); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.band { padding: 80px 0; }
.band-soft { background: var(--sprout); }
.band-green { background: var(--forest); color: #eaf5dc; }
.band-green h2, .band-green h3 { color: #fff; }
.section-lead { color: var(--muted); font-size: 1.1rem; margin-top: -.4em; margin-bottom: 2em; }
.band-green .section-lead { color: #cfe5b7; }

/* Buttons */
.btn {
  display: inline-block; background: var(--leaf); color: #fff; text-decoration: none;
  font-weight: 800; padding: 14px 26px; border-radius: 999px;
  box-shadow: 0 6px 0 var(--forest); transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--forest); }
.btn-ghost { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 3px var(--leaf); }
.btn-ghost:hover { box-shadow: inset 0 0 0 3px var(--forest); }
.btn-light { background: var(--lime); color: var(--forest); box-shadow: 0 6px 0 #0f2a09; font-size: 1.15rem; }
.btn-small { padding: 8px 18px; box-shadow: 0 4px 0 var(--forest); }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: 10px 24px; background: rgba(253, 248, 236, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(31, 77, 20, .08);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: "Fraunces", serif; font-weight: 800; font-size: 1.25rem; color: var(--forest); }
.brand img { width: 38px; height: 38px; }
.topbar nav { display: flex; align-items: center; gap: 22px; }
.topbar nav a:not(.btn) { text-decoration: none; color: var(--ink); font-weight: 600; }
.topbar nav a:not(.btn):hover { color: var(--leaf); }

/* Hero */
.hero {
  max-width: 1100px; margin: 0 auto; padding: 56px 24px 80px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
}
.hero-logo { width: 100%; filter: drop-shadow(0 12px 24px rgba(31, 77, 20, .18)); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .85rem; color: var(--leaf); margin: 0 0 .6em; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
.lead { font-size: 1.2rem; color: var(--muted); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }

/* Story */
.sig { font-family: "Fraunces", serif; font-size: 1.25rem; color: var(--forest); margin-top: 1.4em; }

/* Greens */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card { background: #fff; border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.card-icon { width: 72px; height: 72px; margin-bottom: 14px; }
.taste { font-weight: 800; color: var(--leaf); margin: -.3em 0 .6em; }

/* Prices */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price { position: relative; background: #fff; border-radius: var(--radius); padding: 32px 24px; text-align: center; box-shadow: var(--shadow); }
.price.featured { outline: 4px solid var(--lime); transform: translateY(-8px); }
.price .amount { font-family: "Fraunces", serif; font-weight: 800; font-size: 3rem; color: var(--forest); margin: 0; line-height: 1.1; }
.price .note { color: var(--muted); margin: .4em 0 0; }
.tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--sun); color: var(--forest); font-weight: 800; font-size: .8rem; padding: 4px 12px; border-radius: 999px; white-space: nowrap; }

/* Fund */
.fund { background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.fund-numbers { display: flex; justify-content: center; align-items: baseline; gap: 10px; margin-bottom: 18px; }
.fund-saved { font-family: "Fraunces", serif; font-weight: 800; font-size: 3rem; color: var(--forest); }
.fund-goal { color: var(--muted); font-size: 1.2rem; }
.bar { height: 30px; background: var(--sprout); border-radius: 999px; overflow: hidden; }
.bar-fill { position: relative; height: 100%; width: 0; background: linear-gradient(90deg, var(--leaf), var(--lime)); border-radius: 999px; transition: width 1.4s cubic-bezier(.2, .8, .2, 1); }
.paw { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 16px; }
.fund-updated { color: var(--muted); font-size: .95rem; margin: 14px 0 0; }

/* Order */
.steps { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: rgba(255, 255, 255, .07); border-radius: var(--radius); padding: 28px; }
.num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lime); color: var(--forest); font-weight: 800; margin-bottom: 12px; }
.steps p { margin: 0; color: #d6e9c3; }
.email-line { margin-top: 18px; color: #cfe5b7; }
.email-line a { color: #fff; }

/* Stock: html.sold-out (inStock: false in config.js) swaps ordering for sign-ups */
.when-sold-out { display: none; }
.sold-out .when-sold-out { display: revert; }
.sold-out .when-in-stock { display: none; }
.stock-pill { display: inline-block; background: var(--sun); color: var(--forest); font-weight: 800; font-size: .95rem; padding: 6px 16px; border-radius: 999px; }

/* Notify-me form */
.notify { max-width: 620px; margin: 0 auto; text-align: center; }
.notify-form { text-align: left; background: rgba(255, 255, 255, .07); border-radius: var(--radius); padding: 28px; }
.notify-form label { display: block; font-weight: 800; color: #fff; margin-bottom: 18px; }
.notify-form input[type="text"], .notify-form input[type="email"] {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 0; border-radius: 12px;
  font: inherit; color: var(--ink); background: #fff;
}
.notify-form input:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.optional { font-weight: 400; color: #cfe5b7; }
.notify-form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.notify-form legend { font-weight: 800; color: #fff; padding: 0; margin-bottom: 8px; }
.notify-form label.check { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin: 0 24px 0 0; }
.check input { width: 20px; height: 20px; accent-color: var(--lime); }
.cf-turnstile { margin-bottom: 18px; }
.notify-form .btn { width: 100%; border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 1.15rem; }
.notify-form .btn:disabled { opacity: .7; cursor: default; }
.form-note { margin: 14px 0 0; font-size: .95rem; color: #cfe5b7; text-align: center; }
.form-status { margin: 0; font-weight: 800; color: #fff; text-align: center; }
.form-status:not(:empty) { margin-top: 14px; }
.form-status a { color: #fff; }
.notify-form.done .notify-fields { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* FAQ */
details { background: #fff; border-radius: 16px; padding: 18px 22px; margin-bottom: 12px; box-shadow: 0 4px 14px rgba(31, 77, 20, .06); }
summary { cursor: pointer; font-weight: 800; color: var(--forest); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--leaf); }
details[open] summary::after { content: "−"; }
details p { margin: .8em 0 0; color: var(--muted); }

/* Footer */
footer { text-align: center; padding: 48px 24px; color: var(--muted); }
footer img { width: 56px; margin: 0 auto 10px; }
footer p { margin: .3em 0; }
.fine { font-size: .9rem; }

/* Small screens */
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 28px; gap: 20px; }
  .hero-logo { max-width: 420px; margin: 0 auto; }
  .hero-buttons { justify-content: center; }
  .cards, .prices, .steps { grid-template-columns: 1fr; }
  .price.featured { transform: none; }
  .topbar nav a:not(.btn) { display: none; }
  .band { padding: 60px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .bar-fill, .btn { transition: none; } }
