@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=DM+Sans:wght@400;500;700&display=swap');

:root {
  --green: #2D6A4F;
  --orange: #E07B1A;
  --gold: #C6A85A;
  --text: #1A1A2E;
  --muted: #6B7280;
  --bg: #FFFFFF;
  --bg-soft: #F8F9FA;
  --bg-gold: #FCF8EE;
  --bg-green: #EFF7F2;
  --border: rgba(26, 26, 46, 0.12);
  --border2: rgba(45, 106, 79, 0.35);
  --shadow: 0 2px 12px rgba(26, 26, 46, 0.07);
  --shadow-lg: 0 10px 30px rgba(26, 26, 46, 0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-nav {
  padding: 0 1.3rem;
  min-height: 110px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(26, 26, 46, 0.06);
}

.nav-cta {
  flex-shrink: 0;
  margin-left: auto;
  background: linear-gradient(135deg, var(--green), #3a8f6c);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.55rem 1.3rem;
  border-radius: 2rem;
  box-shadow: 0 3px 12px rgba(45, 106, 79, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(45, 106, 79, 0.35);
}

/* Subcopy under “Download your guide (PDF)” download CTAs */
.guide-pdf-email-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-sizing: border-box;
  width: fit-content;
  max-width: min(29rem, calc(100% - 2rem));
  text-wrap: balance;
  margin: 0.78rem auto 0;
  padding: 0.65rem 1.35rem 0.72rem 1rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: rgba(26, 26, 46, 0.55);
  background: linear-gradient(165deg, rgba(239, 247, 242, 0.62) 0%, rgba(252, 253, 252, 1) 40%, rgba(248, 249, 250, 1) 100%);
  border: 1px solid rgba(45, 106, 79, 0.125);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.95),
    0 2px 6px rgba(26, 26, 46, 0.05);
}

.guide-pdf-email-note::before {
  content: "";
  flex: 0 0 2.35rem;
  width: 2.35rem;
  height: 2.35rem;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none'%3E%3Cdefs%3E%3ClinearGradient id='mg' x1='14%25' y1='8%25' x2='86%25' y2='92%25'%3E%3Cstop stop-color='%231b4332'/%3E%3Cstop offset='1' stop-color='%2352b788'/%3E%3C/linearGradient%3E%3C/defs%3E%3Ccircle cx='32' cy='32' r='30' fill='url(%23mg)' stroke='%231b4332' stroke-opacity='0.35' stroke-width='1.5'/%3E%3Cg transform='translate(18 20)' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='22' height='18' rx='2.75' ry='2.75'/%3E%3Cpath d='M5.75 13.75L13.97 21l8.53-7.25'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 2px 5px rgba(27, 67, 50, 0.38));
}

/* Stripe trust line under checkout / payment CTAs */
.stripe-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 0.88rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
  line-height: 1.38;
  text-align: center;
}

/* Minimal guide header (step pages only) */
.guide-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 86px;
  padding: 0 2rem;
  background: #ffffff;
  border-bottom: none;
}
.guide-nav .logo-block {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  margin-left: 10px;
}
.guide-nav .logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
}
.guide-nav .logo-text { display: none; }
.guide-nav .step-counter {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6B7B6E;
  margin-left: auto;
  padding-left: 0;
}
.guide-nav .step-counter .sc-word { color: #6B7B6E; font-weight: 700; margin-right: 0.2rem; }
.guide-nav .step-counter .sc-num { color: #2F7746; font-weight: 900; font-size: 1.65rem; line-height: 1; }
.guide-nav .step-counter .sc-sep,
.guide-nav .step-counter .sc-total { color: #6B7B6E; font-weight: 700; }
.guide-nav + .grad-rule {
  height: 4px;
  border: none;
  background: linear-gradient(90deg, #E37818 0%, #EBB725 40%, #408145 72%, #2F7746 100%);
}

.logo-block { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; margin-left: 10px; flex-shrink: 0; }
.logo-img { height: 120px; width: auto; object-fit: contain; }
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-link {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 120px;
  width: auto;
  object-fit: contain;
}
.nav-label {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-left: auto;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo-text strong {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  display: block;
  line-height: 1.1;
}
.logo-text span {
  font-size: 0.64rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.step-counter { display: flex; align-items: baseline; gap: 0.18rem; font-size: 0.82rem; margin-left: auto; padding-left: 0.8rem; white-space: nowrap; flex-shrink: 0; }
.step-counter .sc-word { color: var(--muted); font-weight: 600; margin-right: 0.18rem; }
.step-counter .sc-num { font-size: 1.3rem; color: var(--gold); font-weight: 700; line-height: 1; }
.step-counter .sc-sep { color: var(--muted); font-size: 1rem; }
.step-counter .sc-total { color: var(--muted); font-size: 0.84rem; }

.grad-rule {
  height: 3px;
  width: 100%;
  border: none;
  background: linear-gradient(90deg, var(--orange) 0%, var(--gold) 45%, var(--green) 100%);
}

/* Desktop header parity with landing page */
@media (min-width: 641px) {
  .site-nav,
  .guide-nav {
    padding: 0 2rem;
    min-height: 86px;
    background: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 8px 24px rgba(28, 43, 30, 0.10);
    backdrop-filter: blur(10px) saturate(1.12);
    -webkit-backdrop-filter: blur(10px) saturate(1.12);
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .site-nav .logo-block,
  .guide-nav .logo-block {
    margin-left: 10px;
    transition: transform 0.2s ease;
  }

  .site-nav .logo-block:hover,
  .guide-nav .logo-block:hover { transform: translateY(-1px); }

  .site-nav .logo-img,
  .guide-nav .logo-img {
    height: 100px;
    width: auto;
    display: block;
    object-fit: contain;
  }

  .site-nav .logo-text,
  .guide-nav .logo-text { display: none; }
}

.progress-bar {
  display: none;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #E37818, #EBB725, #2F7746);
  transition: width 0.4s ease;
}

.guide-main {
  flex: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 1.7rem 1.2rem 4.5rem;
  width: 100%;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5.2vw, 2.9rem); font-weight: 700; color: var(--green); margin-bottom: 1rem; }
h1 em, h2 em { font-style: normal; color: var(--orange); }
h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); color: var(--green); margin-bottom: 0.6rem; margin-top: 1.9rem; }
h3 { font-size: 1rem; color: var(--text); margin-bottom: 0.35rem; font-weight: 700; }
p { color: var(--text); font-size: 1rem; margin-bottom: 1rem; max-width: 740px; }
p.intro { font-size: 1.08rem; color: var(--text); font-weight: 500; }
p strong { color: var(--text); font-weight: 700; }

.step-label {
  display: inline-block;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.callout {
  background: var(--bg-gold);
  border-left: 4px solid var(--gold);
  border-radius: 0 0.65rem 0.65rem 0;
  padding: 0.95rem 1.2rem;
  margin: 1.3rem 0;
  font-style: italic;
  color: var(--text);
  font-size: 0.96rem;
}

.action-box {
  background: var(--bg-green);
  border: 1.5px solid var(--border2);
  border-radius: 0.8rem;
  padding: 1.2rem 1.35rem;
  margin: 1.3rem 0;
}
.action-box h3 {
  color: var(--green);
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
}
.action-box p { color: var(--text); font-size: 0.95rem; margin: 0; max-width: 100%; }

.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin: 1.4rem 0; }
.card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  padding: 1.15rem 1.15rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, #E37818 0%, #EBB725 40%, #408145 72%, #2F7746 100%);
  transition: width 0.35s ease;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: rgba(45, 106, 79, 0.25);
}
.card:hover::before { width: 100%; }
.card h3 { font-size: 0.98rem; color: var(--green); margin-bottom: 0.28rem; }
.card p { font-size: 0.9rem; margin: 0; max-width: 100%; color: var(--muted); }

.disclaimer {
  background: #FFFCF5;
  border: 1px solid rgba(198, 168, 90, 0.45);
  border-left: 4px solid var(--gold);
  border-radius: 0 0.65rem 0.65rem 0;
  padding: 0.95rem 1.2rem;
  margin: 1.6rem 0;
}
.disclaimer p { font-size: 0.82rem; color: var(--muted); margin: 0; max-width: 100%; }
.disclaimer strong { color: var(--text); }

.nav-buttons {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  margin-top: 2.8rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border);
  gap: 0.9rem;
}
.nav-buttons > span:empty { display: block; width: 92px; }
.nav-step-info { font-size: 0.8rem; color: #8A9B8F; text-align: center; }
.nav-step-info strong { color: #2F7746; display: block; font-size: 0.95rem; font-weight: 700; }

/* Step 2-9: keep title block truly centered */
.nav-buttons--center {
  grid-template-columns: 1fr auto 1fr;
}
.nav-buttons--center .nav-step-info {
  justify-self: center;
  text-align: center;
}
.nav-buttons--center .btn-prev { justify-self: start; }
.nav-buttons--center .btn-next,
.nav-buttons--center .btn-upsell { justify-self: end; }

.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.72rem 1.3rem;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-nav:hover { transform: translateY(-1px); }
.btn-prev {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.12);
  color: #7A8C80;
  font-weight: 600;
  padding: 0.7rem;
  opacity: 0.85;
}
.btn-prev:hover {
  opacity: 1;
  border-color: #2F7746;
  color: #2F7746;
}
.btn-next {
  background: linear-gradient(135deg, #2F7746, #4FA36A);
  color: #fff;
  font-weight: 800;
  padding: 0.85rem;
  box-shadow: 0 8px 22px rgba(47,119,70,0.35);
  border: none;
  border-radius: 999px;
}
.next-btn {
  background: linear-gradient(135deg, #2F7746, #4FA36A);
}
.btn-next::after {
  content: "→";
  display: inline-block;
  margin-left: 0.2rem;
  transition: transform 0.2s ease;
}
.btn-next:hover {
  box-shadow: 0 12px 32px rgba(47,119,70,0.35);
}
.btn-next:hover::after {
  transform: translateX(4px);
}
.btn-next:active,
.next-btn:active {
  transform: scale(0.97);
}
.btn-upsell { background: linear-gradient(135deg, var(--orange), var(--gold)); color: #FFFFFF; border: none; }

.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border);
  padding: 1rem 1rem 1.2rem;
  text-align: center;
}
.site-footer .footer-logo { height: 76px; width: auto; margin-bottom: 0.18rem; }
.site-footer p { font-size: 0.82rem; color: var(--muted); margin: 0.15rem 0; max-width: 100%; }
.site-footer a { color: var(--green); text-decoration: none; font-weight: 700; }

.offer-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.6rem 1.35rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-lg);
}
.offer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--gold), var(--green));
}
.offer-card .oc-label {
  font-size: 0.66rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 0.55rem;
  font-weight: 700;
}
.offer-card h2 { font-size: 1.55rem; margin-bottom: 0.6rem; margin-top: 0; }
.offer-card p { font-size: 0.95rem; max-width: 100%; color: var(--text); }
.offer-price {
  font-size: 2.3rem;
  color: var(--green);
  font-weight: 700;
  margin: 0.95rem 0 0.2rem;
  display: block;
  line-height: 1;
}
.offer-price small { font-size: 0.86rem; color: var(--muted); font-weight: 500; margin-left: 0.3rem; }

.includes-list { margin: 0.9rem 0 1.2rem; list-style: none; }
.includes-list li {
  display: flex;
  gap: 0.62rem;
  align-items: flex-start;
  padding: 0.44rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text);
}
.includes-list li:last-child { border: none; }
.includes-list .tick { color: var(--green); flex-shrink: 0; margin-top: 0.1rem; }

.btn-offer {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1rem;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-offer:hover { transform: translateY(-1px); }
.btn-offer-primary { background: linear-gradient(135deg, var(--green), #52B788); color: #FFFFFF; }
.btn-offer-secondary { background: #FFFFFF; border: 1.5px solid var(--gold); color: #8E6F22; }

/* Premium motion for toolkit/spreadsheet access pages only */
.download-access-page .btn-offer-primary,
.download-access-page .btn-offer-secondary { transition: all 0.18s ease; }

.download-access-page .btn-offer-primary {
  animation: pulseGlow 2.4s infinite;
}

.download-access-page .btn-offer-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(47,119,70,0.35);
}

.download-access-page .btn-offer-primary:active {
  transform: scale(0.98);
}

.download-access-page .btn-offer-secondary:hover {
  background: var(--bg-gold);
  border-color: var(--gold);
  color: #8E6F22;
  transform: translateY(-1px);
}

@keyframes pulseGlow {
  0% { box-shadow: 0 6px 20px rgba(47,119,70,0.25); }
  50% { box-shadow: 0 10px 30px rgba(47,119,70,0.45); }
  100% { box-shadow: 0 6px 20px rgba(47,119,70,0.25); }
}

.skip-link {
  display: block;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.84rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}
.skip-link:hover { color: var(--text); text-decoration: underline; }

.finish-note {
  margin-top: 12px;
  font-size: 0.85rem;
  opacity: 0.7;
}

.pdf-link {
  display: block;
  width: fit-content;
  margin: 1rem auto 1.2rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green);
  border: 1.5px solid var(--border2);
  border-radius: 999px;
  padding: 0.72rem 1.2rem;
  background: #FFFFFF;
  box-shadow: var(--shadow);
  transition: all 0.2s;
}

.pdf-link:hover {
  background: var(--bg-green);
  border-color: var(--green);
  transform: translateY(-1px);
}

.most-popular {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.7;
  margin-bottom: 8px;
}


@media (max-width: 640px) {
  .card-grid { grid-template-columns: 1fr; }
  .guide-main { padding: 1.5rem 1rem 3.4rem; }

  .guide-nav {
    height: 60px;
    padding: 0 16px;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .guide-nav .logo-block { align-items: center; }
  .guide-nav .logo-img { height: 85px; }
  .guide-nav .step-counter {
    font-size: 14px;
    font-weight: 600;
    color: #6B7B6E;
  }
  .guide-nav .step-counter .sc-num {
    font-size: 18px;
    font-weight: 800;
    color: #2F7746;
  }
  .guide-nav + .grad-rule {
    height: 3px;
    margin-top: 0;
  }

  .logo-img { height: 85px; }
  .logo-text { display: none; }
  .site-nav { padding: 0 0.9rem; min-height: 80px; }
  .nav-cta {
    font-size: 0.76rem;
    padding: 0.48rem 1rem;
  }
  .step-counter { font-size: 0.76rem; }
  .nav-label { font-size: 0.76rem; }

  /* step nav: Back | Title | Continue -> mobile optimized */
  .nav-buttons,
  .step-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "title title"
      "back next";
    gap: 0.6rem;
    align-items: center;
  }

  .nav-step-info { grid-area: title; }
  .btn-prev { grid-area: back; }
  .btn-next { grid-area: next; }

  .nav-step-info strong,
  .step-title {
    text-align: center;
    font-size: 1rem;
    line-height: 1.4;
    max-width: 260px;
  }

  .nav-step-info,
  .step-sub {
    text-align: center;
    font-size: 0.75rem;
    color: #8A9B8F;
  }

  .nav-buttons,
  .nav-actions {
    position: static;
    width: 100%;
    background: transparent;
    border-top: 0;
    box-shadow: none;
    padding: 0;
  }

  .nav-buttons a.btn-nav { width: 100%; }

  /* Step 1: center text, button below */
  .nav-buttons--single {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "next";
    gap: 0.65rem;
    align-items: center;
    justify-items: center;
  }
  .nav-buttons--single > span:empty { display: none; }
  .nav-buttons--single .nav-step-info { grid-area: title; text-align: center; }
  .nav-buttons--single .btn-next {
    grid-area: next;
    min-width: 170px;
    width: auto;
  }
  .nav-buttons--single .nav-step-info strong {
    display: block;
    font-size: 1.02rem;
    line-height: 1.25;
    margin-bottom: 0.12rem;
  }
  .nav-buttons--single .nav-step-info {
    font-size: 0.8rem;
    color: #8A9B8F;
  }

  .btn-prev,
  .back-btn {
    font-size: 0.85rem;
    padding: 0.7rem;
  }

  .btn-next,
  .next-btn {
    font-size: 0.9rem;
    padding: 0.85rem;
    font-weight: 800;
    border-radius: 999px;
  }

  .site-footer .footer-logo,
  .footer-logo {
    transform: scale(0.7);
    opacity: 0.8;
  }
}
