/* ============================================================
   AI EMPLOYEES FOR SMALL BUSINESS OWNERS — Funnel Stylesheet
   Aesthetic: warm editorial / premium field-guide.
   Paper cream, evergreen ink, amber accent. Fraunces + Instrument Sans.
   ============================================================ */

:root {
  --paper: #faf6ef;
  --paper-deep: #f3ecdf;
  --ink: #16241d;
  --ink-soft: #43544a;
  --green: #1e5c43;
  --green-deep: #143d2d;
  --amber: #e9a13b;
  --amber-soft: #f7dfb8;
  --line: rgba(22, 36, 29, 0.14);
  --card: #fffdf8;
  --radius: 14px;
  --shadow: 0 2px 6px rgba(22, 36, 29, 0.06), 0 18px 40px -18px rgba(22, 36, 29, 0.25);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  /* faint paper grain */
  background-image:
    radial-gradient(rgba(22, 36, 29, 0.035) 1px, transparent 1px);
  background-size: 22px 22px;
}

img { max-width: 100%; }

/* ---------- Type ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 0.6em; }
h3 { font-size: 1.25rem; }

p { color: var(--ink-soft); }

.lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); }

em.swash {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--green);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(30, 92, 67, 0.08);
  border: 1px solid rgba(30, 92, 67, 0.25);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 1.2rem;
}

/* ---------- Layout ---------- */

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 22px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 22px; }

section { padding: clamp(56px, 9vw, 110px) 0; }

.section-alt { background: var(--paper-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-ink {
  background: var(--green-deep);
  color: var(--paper);
  background-image:
    radial-gradient(1200px 500px at 80% -10%, rgba(233, 161, 59, 0.16), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(30, 92, 67, 0.7), transparent 65%);
}
.section-ink h2, .section-ink h3 { color: var(--paper); }
.section-ink p { color: rgba(250, 246, 239, 0.82); }

/* Cards inside dark sections keep dark-on-light text */
.section-ink .employee-card h3 { color: var(--ink); }
.section-ink .employee-card p { color: var(--ink-soft); }
.section-ink .price-box li { color: var(--ink-soft); }

.center { text-align: center; }

/* ---------- Header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--ink);
}
.brand span { color: var(--green); font-style: italic; }

.header-cta { display: inline-flex; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 16px 30px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(30, 92, 67, 0.55);
}
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); }

.btn-amber {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 10px 24px -10px rgba(233, 161, 59, 0.65);
}
.btn-amber:hover { transform: translateY(-2px); filter: brightness(1.05); }

.btn-big { font-size: 1.12rem; padding: 19px 38px; }

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  font-weight: 600;
}
.btn-ghost:hover { border-color: var(--ink-soft); }

.btn-note {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 10px;
}

/* ---------- Hero ---------- */

.hero { padding: clamp(64px, 10vw, 130px) 0 clamp(56px, 8vw, 100px); position: relative; overflow: hidden; }

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 420px at 85% 0%, rgba(233, 161, 59, 0.18), transparent 65%),
    radial-gradient(600px 400px at 0% 100%, rgba(30, 92, 67, 0.12), transparent 60%);
  pointer-events: none;
}

.hero .wrap { position: relative; }

.hero h1 { max-width: 17ch; margin-bottom: 1.1rem; }
.hero .lead { max-width: 54ch; margin-bottom: 2rem; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}
.hero-points li {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-points li::before { content: "✓"; color: var(--green); font-weight: 800; }

/* ---------- Employee cards ---------- */

.roster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.employee-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px 18px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.2s ease;
}
.employee-card:hover { transform: translateY(-4px) rotate(-0.5deg); }

.employee-card .badge {
  position: absolute;
  top: -11px;
  left: 16px;
  background: var(--amber);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 10px;
}

.employee-card .avatar {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: rgba(30, 92, 67, 0.1);
  margin-bottom: 12px;
}

.employee-card h3 { font-size: 1.02rem; margin-bottom: 4px; }
.employee-card p { font-size: 0.88rem; line-height: 1.5; }
.employee-card .salary {
  margin-top: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green);
  border-top: 1px dashed var(--line);
  padding-top: 10px;
}

/* ---------- Pain list ---------- */

.pain-list { list-style: none; margin: 28px 0; display: grid; gap: 14px; }
.pain-list li {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: 10px;
  padding: 16px 20px;
  color: var(--ink-soft);
}
.pain-list li strong { color: var(--ink); }

/* ---------- Numbered steps ---------- */

.steps { display: grid; gap: 0; margin-top: 34px; counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-style: italic;
  color: var(--amber);
  line-height: 1;
}
.step h3 { margin-bottom: 6px; }

/* ---------- Includes / offer stack ---------- */

.stack { display: grid; gap: 18px; margin-top: 36px; }

.stack-item {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 18px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.stack-item .icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(30, 92, 67, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.stack-item h3 { margin-bottom: 6px; }
.stack-item p { font-size: 0.95rem; }
.stack-item .tag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  white-space: nowrap;
  background: rgba(30, 92, 67, 0.08);
  border-radius: 999px;
  padding: 5px 12px;
}
.stack-item .tag.bonus { color: #8a5a12; background: var(--amber-soft); }

/* ---------- For / not for ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 34px; }

.split-card {
  border-radius: var(--radius);
  padding: 30px 28px;
  border: 1px solid var(--line);
}
.split-card.yes { background: var(--card); }
.split-card.no { background: transparent; }

.split-card h3 { margin-bottom: 16px; }
.split-card ul { list-style: none; display: grid; gap: 12px; }
.split-card li { display: flex; gap: 10px; color: var(--ink-soft); font-size: 0.97rem; }
.split-card.yes li::before { content: "✓"; color: var(--green); font-weight: 800; }
.split-card.no li::before { content: "✕"; color: #b0483a; font-weight: 800; }

/* ---------- Honest proof ---------- */

.honesty {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 48px);
  position: relative;
}
.honesty::before {
  content: "“";
  position: absolute;
  top: -30px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--amber);
  line-height: 1;
}
.honesty p + p { margin-top: 1em; }

/* ---------- Guarantee ---------- */

.guarantee {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  align-items: center;
  background: var(--amber-soft);
  border: 1px solid rgba(233, 161, 59, 0.5);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 40px;
}
.guarantee .seal {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
  padding: 10px;
  box-shadow: 0 6px 16px -6px rgba(233, 161, 59, 0.8);
}
.guarantee h3 { margin-bottom: 6px; }
.guarantee p { font-size: 0.95rem; }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 12px; margin-top: 34px; }

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 22px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 1.4rem; color: var(--green); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 20px; font-size: 0.97rem; color: var(--ink-soft); }

/* ---------- Price block ---------- */

.price-box {
  background: var(--card);
  border: 2px solid var(--green);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: clamp(30px, 5vw, 50px);
  text-align: center;
  max-width: 560px;
  margin: 40px auto 0;
}

.price-box .price {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 4.4rem);
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}
.price-box .price sup { font-size: 0.4em; top: -0.9em; }
.price-box .price-sub { font-size: 0.92rem; color: var(--ink-soft); margin: 8px 0 24px; }

.price-box ul { list-style: none; text-align: left; margin: 0 auto 28px; max-width: 380px; display: grid; gap: 10px; }
.price-box li { display: flex; gap: 10px; font-size: 0.95rem; color: var(--ink-soft); }
.price-box li::before { content: "✓"; color: var(--green); font-weight: 800; }

/* ---------- Sticky mobile CTA ---------- */

.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--green-deep);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 60;
  transform: translateY(110%);
  transition: transform 0.3s ease;
  box-shadow: 0 -8px 24px rgba(22, 36, 29, 0.25);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta .sticky-price { color: var(--paper); font-weight: 700; font-size: 0.95rem; }
.sticky-cta .btn { padding: 12px 24px; font-size: 0.95rem; }

/* ---------- Checkout page ---------- */

.checkout-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
  margin-top: 36px;
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.panel h3 { margin-bottom: 16px; }

.order-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.97rem;
}
.order-line .item-name { font-weight: 600; }
.order-line .item-note { display: block; font-size: 0.83rem; color: var(--ink-soft); font-weight: 400; }
.order-line .item-price { font-weight: 700; white-space: nowrap; }
.order-line .item-price.free { color: var(--green); }

.order-total {
  display: flex;
  justify-content: space-between;
  padding: 18px 0 4px;
  font-weight: 800;
  font-size: 1.25rem;
  font-family: var(--font-display);
}

.trust-list { list-style: none; display: grid; gap: 12px; margin-top: 6px; }
.trust-list li { display: flex; gap: 10px; font-size: 0.93rem; color: var(--ink-soft); }
.trust-list li::before { content: "✓"; color: var(--green); font-weight: 800; }

.checkout-btn { width: 100%; margin-top: 22px; }

.secure-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 12px;
}

/* ---------- Upsell page ---------- */

.upsell-hero { padding: clamp(56px, 8vw, 90px) 0 30px; text-align: center; }

.progress-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green);
  background: rgba(30, 92, 67, 0.08);
  border: 1px solid rgba(30, 92, 67, 0.25);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 22px;
}

.upsell-card {
  max-width: 720px;
  margin: 30px auto 0;
  background: var(--card);
  border: 2px solid var(--amber);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 48px);
  text-align: left;
}

.compare-price { font-size: 1.05rem; color: var(--ink-soft); }
.compare-price s { color: #b0483a; }
.compare-price strong { font-family: var(--font-display); font-size: 2rem; color: var(--green); margin-left: 8px; }

.no-thanks {
  display: block;
  text-align: center;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-decoration: underline;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- Nav menu ---------- */

.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
  margin: 0 auto;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--green); }

/* ---------- Split hero ---------- */

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.cover-fan {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cover-fan img {
  position: absolute;
  width: 62%;
  max-width: 300px;
  border-radius: 10px;
  box-shadow: 0 24px 48px -18px rgba(22, 36, 29, 0.45);
  border: 1px solid rgba(22, 36, 29, 0.08);
}
.cover-fan img:nth-child(1) { transform: rotate(-8deg) translateX(-34%); z-index: 1; }
.cover-fan img:nth-child(2) { transform: rotate(7deg) translateX(34%) translateY(4%); z-index: 2; }
.cover-fan img:nth-child(3) { transform: rotate(-1deg) translateY(-2%); z-index: 3; }

/* ---------- A look inside ---------- */

.inside-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 44px;
}

.inside-card { display: flex; flex-direction: column; }

.inside-card .page-shot {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  min-height: 300px;
}
.inside-card .page-shot img {
  max-width: 100%;
  max-height: 300px;
  border-radius: 6px;
  box-shadow: 0 14px 30px -12px rgba(22, 36, 29, 0.35);
  transition: transform 0.2s ease;
}
.inside-card:hover .page-shot img { transform: scale(1.03) rotate(-0.5deg); }

.step-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}
.step-kicker span { color: var(--ink-soft); font-weight: 600; }

.inside-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.inside-card p { font-size: 0.95rem; flex: 1; }

.what-you-get {
  margin-top: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: 10px;
  padding: 14px 16px;
}
.what-you-get .wyg-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 4px;
}
.what-you-get p { font-size: 0.9rem; margin: 0; font-weight: 600; color: var(--ink); }

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 36px;
}
.pills span {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Reveal animation ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .cover-fan { height: 340px; margin-top: 10px; }
  .inside-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .stack-item { grid-template-columns: 46px 1fr; }
  .stack-item .tag { grid-column: 2; justify-self: start; }
  .guarantee { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .step { grid-template-columns: 44px 1fr; }
  .header-cta { display: none; }
}
