/* Shepherd Start — sales page styles (mobile first) */
@font-face { font-family: "Fraunces"; src: url(assets/fonts/fraunces-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(assets/fonts/fraunces-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(assets/fonts/fraunces-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url(assets/fonts/inter-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(assets/fonts/inter-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url(assets/fonts/inter-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #1f1a17;
  --ink-soft: #3b332d;
  --muted: #6b6158;
  --tan: #b8783f;
  --tan-dark: #8f5a2b;
  --tan-light: #f1e2cc;
  --cream: #fbf6ee;
  --forest: #2f4a3a;
  --forest-light: #e4ece6;
  --line: #e7dccd;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(31, 26, 23, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.6 "Inter", system-ui, sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 14px; }
h1 { font-size: clamp(32px, 7vw, 54px); }
h2 { font-size: clamp(27px, 5vw, 40px); }
h3 { font-size: 21px; }
p { margin: 0 0 14px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tan-dark); margin-bottom: 12px; display: block; }
.muted { color: var(--muted); }
section { padding: 64px 0; }
.bg-cream { background: var(--cream); }
.bg-ink { background: var(--ink); color: var(--cream); }
.bg-ink h2 { color: var(--cream); }

/* Announcement bar & header */
.topbar { background: var(--ink); color: var(--cream); font-size: 13px; text-align: center; padding: 9px 16px; letter-spacing: 0.02em; }
.topbar b { color: #e2b88a; font-weight: 600; }
header.site { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.logo { font-family: "Fraunces", serif; font-weight: 600; font-size: 21px; text-decoration: none; display: flex; align-items: center; gap: 9px; }
.logo span.dot { width: 26px; height: 26px; border-radius: 50%; background: var(--tan); display: inline-grid; place-items: center; color: #fff; font-size: 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--tan); color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; padding: 17px 30px; border-radius: 999px; box-shadow: 0 10px 24px rgba(184, 120, 63, 0.35); transition: transform 0.15s ease, background 0.15s ease; border: 0; cursor: pointer; }
.btn:hover { background: var(--tan-dark); transform: translateY(-1px); }
.btn.small { font-size: 15px; padding: 10px 18px; box-shadow: none; }
.btn.block { width: 100%; }
.cta-note { font-size: 14px; color: var(--muted); margin-top: 12px; }

/* Hero */
.hero { padding: 40px 0 56px; background: linear-gradient(180deg, var(--cream) 0%, #fff 100%); }
.hero .grid { display: grid; gap: 36px; align-items: center; }
.hero .sub { font-size: 19px; color: var(--ink-soft); }
.checks { list-style: none; padding: 0; margin: 20px 0 26px; }
.checks li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 21px; height: 21px; border-radius: 50%; background: var(--forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' stroke='white' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.price-line { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.price-line .price { font-family: "Fraunces", serif; font-size: 40px; font-weight: 600; }
.price-line .what { color: var(--muted); font-size: 15px; }
.buybox { display: flex; align-items: center; gap: 16px; margin: 18px 0 16px; }
.buybox .price-line { margin-bottom: 0; }
.buybox-what { margin: 0; font-size: 15px; color: var(--muted); }
.mini-book { flex: 0 0 84px; }
.mini-book img { width: 84px; height: auto; border-radius: 2px 5px 5px 2px; box-shadow: 8px 10px 22px rgba(31, 26, 23, 0.28); }
.hero-copy .checks { margin-top: 24px; }

/* Book mockup */
.mockup { position: relative; display: grid; place-items: center; padding: 10px 0 20px; }
.mockup .sheet { position: absolute; width: 58%; max-width: 300px; aspect-ratio: 8.5 / 11; transform: translate(30%, 6%) rotate(7deg); box-shadow: var(--shadow); border-radius: 4px; overflow: hidden; background: #fff; }
.mockup .sheet img { width: 100%; height: 100%; object-fit: cover; }
.mockup picture, .book picture { display: contents; }
.book { perspective: 1400px; width: 66%; max-width: 340px; position: relative; z-index: 2; }
.book .inner { position: relative; aspect-ratio: 8.5 / 11; transform: rotateY(-16deg) rotateX(3deg); transform-style: preserve-3d; border-radius: 3px 8px 8px 3px; box-shadow: 24px 30px 50px rgba(31, 26, 23, 0.3), 2px 2px 0 rgba(0, 0, 0, 0.05); overflow: hidden; }
.book .inner img { width: 100%; height: 100%; object-fit: cover; }
.book .inner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0.25) 0, rgba(255, 255, 255, 0.18) 2.5%, rgba(0, 0, 0, 0) 6%, rgba(0, 0, 0, 0) 100%); }

/* Problem cards */
.cards { display: grid; gap: 14px; margin-top: 30px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.card h3 { font-size: 19px; margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card .ico { font-size: 26px; margin-bottom: 8px; display: block; }
.callout { margin-top: 30px; font-family: "Fraunces", serif; font-style: italic; font-size: 22px; line-height: 1.4; color: var(--tan-dark); text-align: center; }

/* Split sections */
.split { display: grid; gap: 34px; align-items: center; }
.split .photo { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.split .photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.pillars { display: grid; gap: 14px; margin-top: 22px; }
.pillar { display: flex; gap: 14px; align-items: flex-start; }
.pillar .n { flex: 0 0 38px; height: 38px; border-radius: 50%; background: var(--tan); color: #fff; font-family: "Fraunces", serif; font-weight: 600; display: grid; place-items: center; font-size: 18px; }
.pillar h3 { font-size: 18px; margin: 4px 0 2px; font-family: "Inter", sans-serif; font-weight: 700; }
.pillar p { margin: 0; color: var(--muted); font-size: 16px; }

/* Contents */
.parts { display: grid; gap: 14px; margin-top: 28px; }
.part { background: #fff; border-radius: var(--radius); padding: 20px 22px; border: 1px solid var(--line); }
.part .lab { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tan-dark); }
.part h3 { margin: 4px 0 8px; font-size: 20px; }
.part ul { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: 15.5px; }
.part li { margin-bottom: 3px; }

.previews { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 20px 22px; margin: 34px -20px 0; -webkit-overflow-scrolling: touch; }
.previews figure { flex: 0 0 72%; max-width: 300px; margin: 0; scroll-snap-align: center; }
.previews img { border-radius: 8px; box-shadow: 0 10px 28px rgba(31, 26, 23, 0.16); background: #fff; aspect-ratio: 8.5 / 11; object-fit: cover; }
.previews figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; text-align: center; }
.swipe-hint { font-size: 13px; color: var(--muted); text-align: center; margin-top: -6px; }

/* Plan weeks */
.weeks { display: grid; gap: 12px; margin: 22px 0; }
.week { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 12px; padding: 14px 18px; }
.week b { color: #e2b88a; font-weight: 600; display: block; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.week span { color: #e9dfd3; font-size: 16px; }
.bg-ink .muted { color: #c9bcad; }

/* Printables */
.prints { display: grid; gap: 12px; margin-top: 26px; }
.print { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.print .num { flex: 0 0 34px; height: 34px; border-radius: 8px; background: var(--tan-light); color: var(--tan-dark); font-weight: 700; display: grid; place-items: center; }
.print b { display: block; font-size: 16px; }
.print span { font-size: 14.5px; color: var(--muted); }

/* Comparison */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 26px; font-size: 15.5px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare th, .compare td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--cream); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.compare thead th.us { background: var(--forest); color: #fff; }
.compare td.us { background: #f6faf7; font-weight: 600; color: var(--forest); }
.compare tr:last-child td { border-bottom: 0; }

/* Trust / method */
.method { display: grid; gap: 14px; margin-top: 26px; }
.method .item { background: var(--forest-light); border-radius: 12px; padding: 16px 18px; }
.method .item b { display: block; color: var(--forest); margin-bottom: 2px; }
.method .item span { font-size: 15.5px; color: var(--ink-soft); }

/* For / not for */
.fit { display: grid; gap: 16px; margin-top: 26px; }
.fit .box { border-radius: var(--radius); padding: 20px 22px; }
.fit .yes { background: var(--forest-light); }
.fit .no { background: #f6efe7; }
.fit h3 { font-size: 19px; }
.fit ul { margin: 0; padding-left: 20px; font-size: 16px; }
.fit li { margin-bottom: 6px; }

/* Offer */
.offer { background: #fff; border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 28px 22px; display: grid; gap: 26px; align-items: center; }
.offer .book { width: 62%; margin: 0 auto; }
.offer ul.checks li { font-size: 16px; }
.offer .price-line .price { font-size: 52px; }
.secure { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; font-size: 13px; color: var(--muted); margin-top: 14px; }

/* Guarantee */
.guarantee { display: flex; gap: 18px; align-items: center; background: var(--tan-light); border-radius: var(--radius); padding: 20px 22px; margin-top: 26px; }
.seal { flex: 0 0 74px; height: 74px; border-radius: 50%; border: 3px solid var(--tan-dark); color: var(--tan-dark); display: grid; place-items: center; text-align: center; font-weight: 700; font-size: 11px; line-height: 1.15; letter-spacing: 0.04em; text-transform: uppercase; }
.seal b { font-family: "Fraunces", serif; font-size: 22px; display: block; letter-spacing: 0; }
.guarantee p { margin: 0; font-size: 16px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 17.5px; padding: 16px 34px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 26px; color: var(--tan); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); font-size: 16px; padding-right: 20px; }

/* Final CTA */
.final { position: relative; color: #fff; text-align: center; padding: 90px 0; overflow: hidden; }
.final img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(31, 26, 23, 0.55), rgba(31, 26, 23, 0.82)); z-index: 1; }
.final .wrap { position: relative; z-index: 2; }
.final h2 { color: #fff; }
.final p { color: #eadfd2; font-size: 18px; }

/* Footer */
footer { background: var(--ink); color: #bfb2a3; font-size: 14px; padding: 40px 0 110px; }
footer a { color: #e2d6c8; }
footer .links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 12px 0; }
footer .legal { font-size: 13px; color: #9a8e81; max-width: 760px; }

/* Sticky mobile CTA */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; box-shadow: 0 -8px 24px rgba(31, 26, 23, 0.1); transform: translateY(110%); transition: transform 0.25s ease; }
.sticky.show { transform: translateY(0); }
.sticky .t { flex: 1; font-size: 14px; line-height: 1.3; }
.sticky .t b { font-family: "Fraunces", serif; font-size: 19px; display: block; }
.sticky .btn { padding: 13px 20px; font-size: 16px; box-shadow: none; }

/* Small phones: keep the header on one line */
@media (max-width: 759px) {
  .topbar { font-size: 12px; padding: 7px 12px; }
  .logo { font-size: 18px; white-space: nowrap; }
  .logo span.dot { width: 24px; height: 24px; font-size: 13px; }
  header.site .btn.small { font-size: 13px; padding: 8px 13px; white-space: nowrap; }
  .hide-sm { display: none; }
  /* Phones: product, price and button on the first screen; the big mockup is replaced by the small cover. */
  .hero { padding: 22px 0 40px; }
  .hero .mockup { display: none; }
  .hero .sub { font-size: 17px; margin-bottom: 0; }
  .hero-copy .btn.buy { width: 100%; }
}

/* Legal pages */
.doc { padding: 50px 0 80px; }
.doc h1 { font-size: clamp(30px, 6vw, 42px); }
.doc h2 { font-size: 22px; margin-top: 30px; }
.doc p, .doc li { font-size: 16px; color: var(--ink-soft); }

@media (min-width: 760px) {
  section { padding: 92px 0; }
  .hero { padding: 64px 0 84px; }
  .hero .grid { grid-template-columns: 1.08fr 0.92fr; gap: 50px; }
  .mini-book { display: none; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split.rev .photo { order: 2; }
  .parts { grid-template-columns: repeat(2, 1fr); }
  .previews { justify-content: flex-start; margin: 40px 0 0; padding: 8px 4px 24px; }
  .previews figure { flex-basis: 250px; }
  .swipe-hint { display: none; }
  .weeks { grid-template-columns: repeat(2, 1fr); }
  .prints { grid-template-columns: repeat(2, 1fr); }
  .method { grid-template-columns: repeat(3, 1fr); }
  .fit { grid-template-columns: 1fr 1fr; }
  .offer { grid-template-columns: 0.9fr 1.1fr; padding: 44px 48px; }
  .sticky { display: none; }
  footer { padding-bottom: 50px; }
}
