/* ============================================================
   HappyDogs Funnel Stylesheet
   Shared by: lp-biting.html, lp-accidents.html, lp-crate.html,
              thank-you.html, reset.html, newsletter.html, shop.html,
              about.html, contact.html, privacy-policy.html
   v6_fable_medium — Garden theme design tokens.
============================================================ */
:root {
  --bg:          #FFF8EE;
  --green:       #6B9B5E;
  --green-dark:  #4E7843;
  --sage:        #E8C9A6;
  --sage-light:  #EAF0E4;
  --beige:       #F0E4C8;
  --beige-dark:  #E2D0AA;
  --terra:       #D96336;
  --terra-dark:  #BF4F25;
  --gold:        #F5C842;
  --gold-dark:   #E8A820;
  --white:       #FFFFFF;
  --text:        #3D2B1A;
  --text-2:      #6B5040;
  --text-muted:  #9B8070;
  --text-faint:  #B8A090;
  --border:      #E2D0AA;
  --border-2:    #D4C0A8;

  --font-head:   'Fraunces', Georgia, serif;
  --font-body:   'Nunito Sans', 'Inter', system-ui, sans-serif;

  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   20px;
  --r-2xl:  28px;
  --r-full: 9999px;

  --sh-sm: 0 2px 8px rgba(61,43,26,0.08), 0 1px 2px rgba(61,43,26,0.04);
  --sh-md: 0 4px 20px rgba(61,43,26,0.10), 0 2px 6px rgba(61,43,26,0.05);
  --sh-lg: 0 12px 40px rgba(61,43,26,0.12), 0 4px 12px rgba(61,43,26,0.06);
  --sh-xl: 0 24px 64px rgba(61,43,26,0.14), 0 8px 24px rgba(61,43,26,0.07);

  --max: 1080px;
  --pad: 24px;
}

/* ---------- Reset + base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: var(--font-body); cursor: pointer; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Type ---------- */
.section-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.3px;
}
.section-label {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 800; letter-spacing: 1.4px;
  text-transform: uppercase; color: var(--green-dark); margin-bottom: 14px;
}
.section-label::before {
  content: ''; width: 16px; height: 2px;
  background: var(--green-dark); border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(180deg, #F2703C 0%, var(--terra) 55%, var(--terra-dark) 100%);
  color: #fff; border: none;
  padding: 17px 30px; border-radius: var(--r-full);
  font-size: 16px; font-weight: 800; text-decoration: none;
  transition: filter 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 4px 16px rgba(217,99,54,0.35);
  white-space: nowrap;
}
.btn-primary:hover {
  filter: brightness(1.07); transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 10px 30px rgba(217,99,54,0.48);
}
.btn-primary:active { transform: translateY(0); filter: brightness(0.97); }
.btn-primary.lg { padding: 20px 38px; font-size: 18px; }
.btn-quiet {
  display: inline-block; background: none; border: none;
  color: var(--text-muted); font-size: 14px; text-decoration: underline;
  text-underline-offset: 3px;
}
.btn-quiet:hover { color: var(--text-2); }

/* ---------- Full nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,248,238,0.93);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(61,43,26,0.1);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 36px; width: auto; transition: opacity 0.2s; }
.nav-logo:hover img { opacity: 0.85; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a {
  font-size: 13.5px; font-weight: 700; color: var(--text-2);
  text-decoration: none; transition: color 0.2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--terra); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--terra); color: #fff; border: none;
  padding: 9px 20px; border-radius: var(--r-full);
  font-size: 13.5px; font-weight: 800; text-decoration: none; transition: background 0.2s; white-space: nowrap;
}
.nav-cta:hover { background: var(--terra-dark); }
@media (max-width: 900px) { .nav-links { display: none; } }
/* Hide header CTA on mobile — it's cloned into the .nav-mobile drawer by nav.js */
@media (max-width: 900px) { .nav-right > .nav-cta { display: none; } }
/* Hamburger is injected as the first child of .nav-inner (before the logo) so
   it sits on the left; .nav-right is only used for the desktop links/CTA. */
@media (max-width: 900px) {
  .nav-inner { justify-content: flex-start; gap: 14px; }
  .nav-right { display: none; }
}

/* ---------- Hamburger button ---------- */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  margin-left: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
@media (max-width: 900px) { .nav-hamburger { display: flex; } }

/* Hamburger → X when open */
body.nav-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.nav-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile nav drawer ---------- */
.nav-mobile {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  z-index: 198;
  background: rgba(255,248,238,0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(61,43,26,0.12);
  padding: 16px 24px calc(20px + env(safe-area-inset-bottom));
  box-shadow: 0 8px 32px rgba(61,43,26,0.10);
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  font-size: 16px; font-weight: 700;
  color: var(--text-2);
  text-decoration: none;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--terra); }
.nav-mobile .nav-mobile-cta {
  display: block; text-align: center;
  background: var(--terra); color: #fff !important;
  border-radius: var(--r-full);
  padding: 13px 20px; margin-top: 14px;
  font-size: 15px; font-weight: 800;
  border-bottom: none !important;
}
.nav-mobile .nav-mobile-cta:hover { background: var(--terra-dark); }

/* ---------- LP hero ---------- */
.lp-hero { padding-top: 64px; /* fixed nav offset */ background: var(--bg); overflow: hidden; position: relative; }
.lp-hero-blob {
  position: absolute; top: 0; right: 0; width: 55%; height: 100%;
  background: linear-gradient(135deg, #F0E4C8 0%, #EAF0E4 100%);
  opacity: 0.55; border-radius: 0 0 0 50% / 0 0 0 30%;
  z-index: 0; pointer-events: none;
}
.lp-hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max); margin: 0 auto;
  padding: 56px var(--pad) 72px;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 56px; align-items: center;
}
.lp-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--beige); color: var(--green-dark);
  padding: 6px 14px; border-radius: var(--r-full);
  font-size: 12.5px; font-weight: 800; margin-bottom: 20px;
}
.lp-badge-dot { width: 7px; height: 7px; background: var(--terra); border-radius: 50%; }
.lp-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 700; line-height: 1.14; letter-spacing: -0.3px;
  margin-bottom: 18px;
}
.lp-hero h1 .accent { color: var(--terra); }
.lp-sub {
  font-size: 17.5px; line-height: 1.7; color: var(--text-muted);
  margin-bottom: 30px; max-width: 470px;
}
.lp-img-wrap { position: relative; }
.lp-img {
  width: 100%; height: 460px; object-fit: cover; object-position: center 20%;
  border-radius: var(--r-2xl); box-shadow: var(--sh-xl);
}
/* Transparent product shot — show the whole toolkit, no crop/frame */
.lp-img.lp-img--product {
  height: auto; object-fit: contain;
  border-radius: 0; box-shadow: none;
  filter: drop-shadow(0 22px 40px rgba(61,43,26,0.18));
}


/* ---------- Email form ---------- */
.email-row { display: flex; gap: 10px; max-width: 480px; }
.email-input {
  flex: 1; padding: 16px 20px;
  border: 2px solid var(--border-2); border-radius: var(--r-full);
  font-family: var(--font-body); font-size: 16px; color: var(--text);
  background: var(--white); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.email-input:focus { border-color: var(--terra); box-shadow: 0 0 0 3px rgba(217,99,54,0.12); }
.email-input::placeholder { color: var(--text-faint); }
.form-note { font-size: 13px; color: var(--text-muted); margin-top: 10px; }

/* ---------- Empathy strip ---------- */
.empathy { background: var(--white); padding: 56px var(--pad); text-align: center; }
.empathy-inner { max-width: 620px; margin: 0 auto; }
.empathy p { font-size: 17px; line-height: 1.75; color: var(--text-2); margin-bottom: 14px; }
.empathy .reassure { font-family: var(--font-head); font-size: 20px; font-weight: 600; color: var(--text); }

/* ---------- Checklist section ---------- */
.gets { background: var(--beige); padding: 64px var(--pad) 72px; }
.gets-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 36px;
}
.get-card {
  background: var(--white); border-radius: var(--r-lg);
  padding: 24px; box-shadow: var(--sh-sm);
  border: 1px solid rgba(61,43,26,0.06);
}
.get-card.featured { border: 2px solid var(--terra); position: relative; }
.get-card .tag {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--terra); margin-bottom: 8px;
}
.get-card h3 { font-family: var(--font-head); font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.get-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; }
.gets-more { text-align: center; font-size: 14px; color: var(--text-muted); margin-top: 22px; }

/* ---------- Final CTA ---------- */
.lp-cta { background: var(--green-dark); padding: 72px var(--pad); text-align: center; }
.lp-cta .section-title { color: var(--white); }
.lp-cta p.sub { font-size: 16.5px; color: rgba(255,255,255,0.8); margin: 14px auto 28px; max-width: 480px; }
.lp-cta .email-row { margin: 0 auto; }
.lp-cta .form-note { color: rgba(255,255,255,0.65); }
.lp-cta .email-input { border-color: transparent; }

/* ---------- Mini FAQ ---------- */
.mini-faq { background: var(--bg); padding: 56px var(--pad); }
.mini-faq-list { max-width: 640px; margin: 28px auto 0; }
.faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 18px 22px; margin-bottom: 10px; cursor: pointer;
}
.faq-q { display: flex; align-items: center; justify-content: space-between; font-weight: 800; font-size: 15.5px; }
.faq-chevron { color: var(--terra); font-size: 20px; font-weight: 400; }
.faq-a { display: none; padding-top: 10px; font-size: 15px; color: var(--text-2); line-height: 1.65; }
.faq-item.open .faq-a { display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--bg); border-top: 1px solid var(--border); padding: 28px var(--pad); text-align: center; }
.footer p { font-size: 13px; color: var(--text-muted); }
.footer a { color: var(--text-muted); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  background: var(--white); border-top: 1px solid var(--border);
  padding: 10px 16px max(14px, calc(10px + env(safe-area-inset-bottom)));
  box-shadow: 0 -6px 24px rgba(61,43,26,0.12);
  text-align: center;
}
.sticky-cta a {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #F2703C 0%, var(--terra) 55%, var(--terra-dark) 100%);
  color: #fff; font-weight: 800; font-size: 14px;
  padding: 10px 26px; border-radius: var(--r-full); text-decoration: none;
}

/* ============================================================
   THANK-YOU / TRIPWIRE PAGE
============================================================ */
.ty-confirm { background: var(--sage-light); padding: 48px var(--pad); padding-top: calc(48px + 64px); text-align: center; }
.ty-check {
  width: 56px; height: 56px; margin: 0 auto 18px;
  background: var(--green); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 900;
}
.ty-confirm h1 { font-family: var(--font-head); font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; margin-bottom: 10px; }
.ty-confirm p { font-size: 16px; color: var(--text-2); max-width: 520px; margin: 0 auto; }
.ty-steps {
  display: flex; justify-content: center; gap: 28px;
  margin-top: 26px; flex-wrap: wrap;
}
.ty-step { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 700; color: var(--text-2); }
.ty-step-num {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--green);
  color: var(--green-dark); font-size: 12px; font-weight: 900;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ---------- Offer box ---------- */
.offer-wrap { padding: 64px var(--pad) 80px; }
.offer-eyebrow {
  text-align: center; font-size: 12px; font-weight: 800;
  letter-spacing: 1.6px; text-transform: uppercase; color: var(--terra); margin-bottom: 12px;
}
.offer-box {
  max-width: 760px; margin: 0 auto;
  background: var(--white); border: 2px solid var(--terra);
  border-radius: var(--r-2xl); box-shadow: var(--sh-lg);
  padding: 44px 44px 40px; position: relative;
}
.offer-ribbon {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--terra); color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  padding: 7px 20px; border-radius: var(--r-full); white-space: nowrap;
}
.offer-box h2 { font-family: var(--font-head); font-size: clamp(24px, 3vw, 34px); font-weight: 700; line-height: 1.2; text-align: center; margin-bottom: 14px; }
.offer-box .lead { text-align: center; font-size: 16.5px; color: var(--text-2); line-height: 1.7; max-width: 560px; margin: 0 auto 28px; }
.offer-bullets { max-width: 520px; margin: 0 auto 28px; }
.offer-bullet { display: flex; gap: 12px; margin-bottom: 14px; font-size: 15.5px; color: var(--text-2); line-height: 1.55; }
.offer-bullet::before {
  content: '\2713'; display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; background: var(--sage-light); color: var(--green-dark);
  border-radius: 50%; font-size: 11px; font-weight: 900; flex-shrink: 0; margin-top: 2px;
}
.offer-bullet strong { color: var(--text); }
.price-row { display: flex; align-items: baseline; justify-content: center; gap: 12px; margin-bottom: 6px; }
.price-old { font-size: 20px; color: var(--text-faint); text-decoration: line-through; }
.price-now { font-family: var(--font-head); font-size: 44px; font-weight: 700; color: var(--text); }
.price-note { text-align: center; font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.offer-cta { text-align: center; }
.offer-cta .btn-primary { width: 100%; max-width: 420px; }
.offer-decline { text-align: center; margin-top: 18px; }
.guarantee {
  display: flex; align-items: center; gap: 14px;
  max-width: 520px; margin: 30px auto 0;
  background: var(--sage-light); border-radius: var(--r-lg); padding: 16px 20px;
}
.guarantee-icon { font-size: 26px; flex-shrink: 0; }
.guarantee p { font-size: 13.5px; color: var(--text-2); line-height: 1.55; }

/* ============================================================
   RESET SALES PAGE extras
============================================================ */
.week-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 36px; }
.week-card {
  background: var(--white); border-radius: var(--r-lg); padding: 26px;
  box-shadow: var(--sh-sm); border: 1px solid rgba(61,43,26,0.06);
}
.week-card .week-tag {
  display: inline-block; background: var(--beige); color: var(--green-dark);
  font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 4px 12px; border-radius: var(--r-full); margin-bottom: 12px;
}
.week-card h3 { font-family: var(--font-head); font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.week-card p { font-size: 14.5px; color: var(--text-muted); line-height: 1.65; }

.compare { background: var(--white); padding: 72px var(--pad); }
.compare-table {
  max-width: 720px; margin: 36px auto 0;
  border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
}
.compare-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr; }
.compare-row > div { padding: 14px 18px; font-size: 14.5px; border-bottom: 1px solid var(--border); }
.compare-row:last-child > div { border-bottom: none; }
.compare-row.head > div { background: var(--beige); font-weight: 800; font-size: 13.5px; }
.compare-row > div:nth-child(2), .compare-row > div:nth-child(3) { text-align: center; }
.compare-yes { color: var(--green-dark); font-weight: 800; }
.compare-no { color: var(--text-faint); }

.day-sample {
  max-width: 640px; margin: 36px auto 0;
  background: var(--white); border-radius: var(--r-xl);
  box-shadow: var(--sh-md); border: 1px solid rgba(61,43,26,0.07);
  padding: 32px 36px;
}
.day-sample .day-tag { font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--terra); margin-bottom: 10px; }
.day-sample h3 { font-family: var(--font-head); font-size: 21px; font-weight: 700; margin-bottom: 16px; }
.day-line { display: flex; gap: 12px; font-size: 15px; color: var(--text-2); margin-bottom: 10px; line-height: 1.55; }
.day-line .t { font-weight: 800; color: var(--text); min-width: 84px; flex-shrink: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .lp-hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 40px var(--pad) 56px; }
  .lp-img { height: 340px; }
  .gets-grid { grid-template-columns: 1fr; }
  .week-grid { grid-template-columns: 1fr; }
  .email-row { flex-direction: column; }
  .email-row .btn-primary { width: 100%; }
  .offer-box { padding: 36px 22px 32px; }
  .sticky-cta { display: block; }
  body.has-sticky { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  .compare-row > div { padding: 11px 10px; font-size: 13px; }
}
