/* Elm Dirt — Owned Funnel · shared styles
   Brand tokens harvested from the live Plant Juice funnel (buy.elmdirt.com/plant-juice-1). */
:root {
  --ed-green: #104817;
  --ed-green-dark: #0b3010;
  --ed-gold: #f5a623;
  --ed-rose: #993c50;
  --ed-ink: #252a32;
  --ed-muted: #5b6470;
  --ed-line: #e6e3dc;
  --ed-bg: #f6f4ee;
  --ed-card: #ffffff;
  --ed-radius: 14px;
  --ed-shadow: 0 6px 24px rgba(16,72,23,.10);
  --ed-shadow-lg: 0 14px 40px rgba(16,72,23,.16);
  --ed-maxw: 920px;
  --ed-font: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--ed-font); color: var(--ed-ink);
  background: var(--ed-bg); line-height: 1.5; font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1,h2,h3 { font-weight: 700; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 5vw, 40px); }
h2 { font-size: clamp(22px, 4vw, 30px); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--ed-maxw); margin: 0 auto; padding: 0 18px; }
.narrow { max-width: 560px; }

/* Sticky promo bar */
.promo-bar {
  position: sticky; top: 0; z-index: 50; background: var(--ed-green);
  color: #fff; text-align: center; padding: 10px 16px; font-size: 14px; font-weight: 600;
}
.promo-bar a { color: var(--ed-gold); text-decoration: underline; }

/* Proof bar */
.proof-bar {
  display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap;
  margin: 16px auto; padding: 11px 18px; max-width: 600px; background: #fff;
  border: 1px solid #eadfe3; border-radius: 999px; box-shadow: var(--ed-shadow);
  font-size: 14px;
}
.proof-bar .stars { color: var(--ed-gold); font-size: 18px; letter-spacing: 2px; }
.proof-bar b { color: var(--ed-green); }
.proof-bar .sep { color: var(--ed-rose); }

/* Hero */
.hero { text-align: center; padding: 26px 0 8px; }
.hero h1 .hl { background: linear-gradient(transparent 62%, #fff2cf 62%); }
.hero .sub { color: var(--ed-muted); max-width: 640px; margin: 0 auto 18px; font-weight: 500; }
.video-frame {
  position: relative; width: 100%; max-width: 640px; margin: 0 auto 20px; aspect-ratio: 1/1;
  border: 8px solid var(--ed-green); border-radius: var(--ed-radius); overflow: hidden; background:#000;
}
.video-frame iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }

/* Bullets */
.bullets { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.bullets li { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; }
.bullets li::before { content: "✔"; color: var(--ed-green); font-weight: 700; }

/* Cards / sections */
.card { background: var(--ed-card); border: 1px solid var(--ed-line); border-radius: var(--ed-radius); box-shadow: var(--ed-shadow); padding: 22px; }
.section { padding: 28px 0; }
.center { text-align: center; }

/* Offer grid */
.offers { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 18px; }
@media (min-width: 760px){ .offers { grid-template-columns: 1fr 1fr; } }
.offer {
  position: relative; background: #fff; border: 2px solid var(--ed-line); border-radius: var(--ed-radius);
  padding: 18px; box-shadow: var(--ed-shadow); display: flex; flex-direction: column; gap: 12px;
}
.offer.popular { border-color: var(--ed-green); }
.offer .tag {
  position: absolute; top: -12px; left: 18px; background: var(--ed-green); color: #fff;
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; letter-spacing: .5px;
}
.offer.best .tag { background: var(--ed-gold); color: var(--ed-green-dark); }
.offer .draft-tag { position:absolute; top:-12px; right:14px; background:#b45309; color:#fff; font-size:11px; font-weight:700; padding:3px 9px; border-radius:999px; }
.offer h3 { margin: 4px 0 0; }
.offer .lines { font-size: 14px; color: var(--ed-muted); }
.offer .price { font-size: 28px; font-weight: 800; color: var(--ed-green); }
.offer .price small { font-size: 14px; color: var(--ed-muted); font-weight: 600; text-decoration: line-through; margin-left: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; border: 0; cursor: pointer; font-family: inherit; font-weight: 700;
  font-size: 18px; line-height: 1.2; padding: 16px 22px; border-radius: 999px;
  background: var(--ed-gold); color: var(--ed-green-dark); text-decoration: none;
  box-shadow: 0 6px 16px rgba(245,166,35,.35); transition: transform .06s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.04); }
.btn:active { transform: translateY(1px); }
.btn.green { background: var(--ed-green); color: #fff; box-shadow: 0 6px 16px rgba(16,72,23,.3); }
.btn.ghost { background: #fff; color: var(--ed-muted); border: 1px solid var(--ed-line); box-shadow: none; font-size: 15px; font-weight: 600; }
.btn.sm { font-size: 15px; padding: 11px 16px; }

/* Checkout layout */
.checkout-grid { display: grid; gap: 22px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 880px){ .checkout-grid { grid-template-columns: 1.2fr .9fr; } }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ed-muted); margin-bottom: 5px; }
.field input, .field select {
  width: 100%; padding: 12px 13px; border: 1px solid var(--ed-line); border-radius: 10px;
  font-family: inherit; font-size: 16px; background: #fff;
}
.field input:focus, .field select:focus { outline: 2px solid var(--ed-green); border-color: var(--ed-green); }
.row-2 { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.check-row { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ed-muted); }
.check-row input { width: auto; }

/* Order summary */
.summary { position: sticky; top: 70px; }
.summary .line { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--ed-line); font-size: 15px; }
.summary .line .qty { color: var(--ed-muted); font-size: 13px; }
.summary .line.free .amt { color: var(--ed-green); font-weight: 700; }
.summary .total { display: flex; justify-content: space-between; font-weight: 800; font-size: 20px; padding-top: 12px; color: var(--ed-green); }
.summary .secure { font-size: 12px; color: var(--ed-muted); margin-top: 12px; text-align: center; }

/* Upsell */
.upsell { text-align: center; }
.upsell .ribbon { display:inline-block; background: var(--ed-rose); color:#fff; font-weight:700; font-size:13px; padding:5px 14px; border-radius:999px; margin-bottom:10px; }
.upsell .yes { margin-top: 14px; }
.upsell .no { margin-top: 10px; }
.upsell-img { max-width: 320px; margin: 0 auto 16px; border-radius: var(--ed-radius); }

/* Thank you */
.bonus-list { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.bonus-list li { display: flex; gap: 10px; padding: 12px 14px; background: #fff; border: 1px solid var(--ed-line); border-radius: 10px; }
.bonus-list li .ico { color: var(--ed-gold); font-weight: 800; }

/* Misc */
.guarantee { display: flex; gap: 12px; align-items: center; justify-content: center; color: var(--ed-green); font-weight: 600; margin-top: 14px; }
.footer { text-align: center; color: var(--ed-muted); font-size: 13px; padding: 30px 18px; }
.dev-flag { background:#fffbeb; border:1px dashed #b45309; color:#7c2d12; font-size:12px; padding:8px 12px; border-radius:8px; margin:10px 0; }
[hidden] { display: none !important; }
