/* James Brown Dog Training: large, high-contrast type for an older audience; ranch palette from the channel set */
:root {
  --bg: #fbf6ec; --card: #ffffff; --ink: #231c14; --muted: #5d5246; --line: #e6dccb;
  --leather: #8a4b1c; --green: #24412f; --go: #c2410c; --go-dark: #9a330a; --tick: #2f6b3a; --gold: #f2b84b;
  --radius: 14px; --shadow: 0 10px 30px rgba(35, 28, 20, .12);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 19px/1.6 -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
h1, h2, h3, .serif { font-family: "Bitter", Georgia, serif; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(32px, 5.4vw, 52px); margin: .2em 0 .35em; }
h2 { font-size: clamp(27px, 3.8vw, 38px); margin: 0 0 .5em; }
h3 { font-size: 23px; margin: 0 0 .3em; }
a { color: var(--leather); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 18px; }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 18px; }
section { padding: 64px 0; }
section.alt { background: #f3ead9; }
.kicker { color: var(--leather); font-weight: 700; font-size: 16px; letter-spacing: .02em; margin: 0; }
.lead { font-size: 22px; color: var(--muted); }
.small { font-size: 15px; color: var(--muted); }
.center { text-align: center; }

/* sticky bar + timer */
.bar { position: sticky; top: 0; z-index: 20; background: var(--green); color: #fff; font-size: 15px; }
.bar .wrap { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.bar b { color: var(--gold); }
.bar a.mini { background: var(--go); color: #fff; text-decoration: none; font-weight: 700; padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
.timer { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cd { font-variant-numeric: tabular-nums; font-weight: 800; background: rgba(255,255,255,.14); padding: 2px 8px; border-radius: 6px; }
.timer-box { background: #fff4e0; border: 2px solid var(--gold); border-radius: var(--radius); padding: 14px 18px; text-align: center; font-size: 18px; margin: 18px 0; }
.timer-box .cd { background: var(--green); color: #fff; font-size: 22px; padding: 4px 10px; }

/* buttons */
.btn { display: inline-block; background: var(--go); color: #fff; font-weight: 800; font-size: 22px; text-decoration: none; border: 0; cursor: pointer;
  padding: 18px 34px; border-radius: 12px; box-shadow: 0 6px 0 var(--go-dark); transition: transform .08s; text-align: center; line-height: 1.25; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(3px); box-shadow: 0 3px 0 var(--go-dark); }
.btn small { display: block; font-size: 15px; font-weight: 600; opacity: .9; }
.btn.full { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }
.cta { text-align: center; margin: 34px 0 6px; }
.cta .under { font-size: 15px; color: var(--muted); margin-top: 12px; }

/* hero */
.hero { padding: 40px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.trust { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 16px; color: var(--muted); }
.trust li::before { content: "✓ "; color: var(--tick); font-weight: 800; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 26px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 8px; text-align: center; }
.tile b { display: block; font-family: "Bitter", Georgia, serif; font-size: 30px; color: var(--green); line-height: 1.1; }
.tile span { font-size: 14px; color: var(--muted); }

/* CSS book mockup (until the real cover art arrives) */
.book { position: relative; width: min(340px, 78vw); aspect-ratio: 3 / 4.2; margin: 0 auto; transform: perspective(1200px) rotateY(-14deg);
  border-radius: 4px 12px 12px 4px; background: linear-gradient(160deg, #2c4c37 0%, #1d3426 70%); color: #fbf6ec; box-shadow: 18px 22px 40px rgba(0,0,0,.35);
  padding: 30px 26px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.book::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(255,255,255,.08)); }
.book .b-top { font-size: 15px; letter-spacing: .08em; color: var(--gold); font-weight: 700; }
.book .b-title { font-family: "Bitter", Georgia, serif; font-size: clamp(30px, 5vw, 40px); line-height: 1.05; font-weight: 800; }
.book .b-sub { font-size: 19px; line-height: 1.3; border-top: 2px solid var(--gold); padding-top: 12px; }
.book .b-badge { position: absolute; right: -10px; top: 16px; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 14px; padding: 6px 18px; transform: rotate(8deg); }
.book .b-foot { font-size: 14px; opacity: .85; }
.book.sm { width: 210px; padding: 18px 16px; }
.book.sm .b-title { font-size: 25px; }
.book.sm .b-sub { font-size: 14px; }
.book.blue { background: linear-gradient(160deg, #2b4a6b 0%, #1b324a 70%); }
.book.rust { background: linear-gradient(160deg, #8a4b1c 0%, #5e3010 70%); }

/* habit grid */
.groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 26px; }
.group { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.group h3 { color: var(--green); }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 4px 0 4px 30px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 4px; color: var(--tick); font-weight: 900; }
.crosses li::before { content: "✗"; color: #a22; }

/* note from James */
.note { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.note img { border-radius: 12px; width: 200px; height: 220px; object-fit: cover; object-position: 50% 20%; }
.sig { font-family: "Bitter", Georgia, serif; font-size: 24px; color: var(--leather); margin-top: 8px; }

/* worked example */
.days { display: grid; gap: 10px; margin: 20px 0; }
.day { display: grid; grid-template-columns: 92px 1fr; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.day b { font-family: "Bitter", Georgia, serif; color: var(--go); font-size: 20px; }
.breedline { background: #eef3ee; border-left: 5px solid var(--green); padding: 12px 16px; border-radius: 8px; margin: 14px 0; font-size: 18px; }

/* contents */
.parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 18px; }
.part { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.part .pn { font-size: 14px; font-weight: 800; color: var(--leather); letter-spacing: .05em; }
.part ul { padding-left: 20px; margin: 10px 0 0; }
.part li { margin: 7px 0; }
.part li em { color: var(--muted); font-style: normal; font-size: 16px; display: block; }

/* week strip */
.strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 20px; }
.strip div { background: var(--green); color: #fff; border-radius: 10px; padding: 12px 8px; text-align: center; font-size: 15px; line-height: 1.35; }
.strip b { display: block; color: var(--gold); font-family: "Bitter", Georgia, serif; font-size: 18px; }

/* offer box */
.offer { background: var(--card); border: 3px solid var(--green); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); max-width: 760px; margin: 0 auto; }
.offer .row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.price-big { font-family: "Bitter", Georgia, serif; font-size: 58px; font-weight: 800; color: var(--green); line-height: 1; }
.was { text-decoration: line-through; color: var(--muted); font-size: 24px; margin-left: 10px; }

/* faq */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 700; font-size: 20px; }
details p { margin: 10px 0 0; }

.guarantee { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: center; background: #fff; border: 2px dashed var(--leather); border-radius: 18px; padding: 24px; }
.seal { width: 120px; height: 120px; border-radius: 50%; background: var(--leather); color: #fff; display: grid; place-items: center; text-align: center;
  font-family: "Bitter", Georgia, serif; font-weight: 800; line-height: 1.05; font-size: 20px; box-shadow: inset 0 0 0 6px rgba(255,255,255,.25); }

footer { background: var(--ink); color: #cfc5b6; font-size: 15px; padding: 34px 0 60px; }
footer a { color: #f2d6a8; margin-right: 16px; }

/* checkout */
.plain { background: var(--bg); }
.co-grid { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: start; padding: 26px 0 60px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
label.f { display: block; font-weight: 700; font-size: 16px; margin: 14px 0 6px; }
input.f { width: 100%; font-size: 19px; padding: 13px 14px; border: 2px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
input.f:focus { outline: none; border-color: var(--green); }
.bumpbox { border: 3px dashed var(--go); background: #fff8ec; border-radius: 14px; padding: 16px 18px; margin: 22px 0; }
.bumpbox label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 18px; }
.bumpbox input { width: 26px; height: 26px; flex: none; margin-top: 2px; accent-color: var(--go); }
.bumpbox .yes { background: #ffe14d; font-weight: 800; padding: 0 6px; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.summary .row.tot { font-weight: 800; font-size: 21px; border-bottom: 0; }
.or { text-align: center; color: var(--muted); margin: 16px 0; font-size: 15px; }
.err { color: #a11d1d; font-weight: 700; min-height: 1.2em; margin: 10px 0; }
#payment-element { margin: 16px 0; }
.secure { font-size: 14px; color: var(--muted); text-align: center; margin-top: 12px; }
.setup-note { background: #fff1f1; border: 1px solid #f2b5b5; padding: 12px 14px; border-radius: 10px; font-size: 15px; }

/* upsell */
.progress { display: flex; justify-content: center; gap: 8px; font-size: 14px; color: var(--muted); margin: 18px 0 0; flex-wrap: wrap; }
.progress span { padding: 4px 12px; border-radius: 999px; background: #eee3d0; }
.progress .on { background: var(--green); color: #fff; }
.decline { display: block; text-align: center; margin: 18px auto 0; color: var(--muted); font-size: 16px; background: none; border: 0; text-decoration: underline; cursor: pointer; }
.pair { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin: 26px 0; }

/* downloads */
.downloads { list-style: none; padding: 0; }
.downloads a.dl { display: flex; justify-content: space-between; gap: 12px; align-items: center; background: #fff; border: 2px solid var(--green); border-radius: 12px;
  padding: 16px 18px; margin: 10px 0; text-decoration: none; color: var(--ink); font-weight: 700; }
.downloads a.dl span { background: var(--green); color: #fff; border-radius: 8px; padding: 6px 14px; font-size: 16px; white-space: nowrap; }
.tip { background: #fff4e0; border-left: 5px solid var(--gold); padding: 14px 16px; border-radius: 8px; }
table.receipt { width: 100%; border-collapse: collapse; }
table.receipt td { padding: 8px 0; border-bottom: 1px solid var(--line); }
table.receipt td:last-child { text-align: right; }
table.receipt .sum td { font-weight: 800; border-bottom: 0; }

@media (max-width: 860px) {
  .hero-grid, .co-grid { grid-template-columns: 1fr; }
  .hero-grid .book { order: -1; transform: none; width: 170px; padding: 14px 13px; }
  .hero-grid .book .b-top { font-size: 12px; }
  .hero-grid .book .b-title { font-size: 22px; }
  .hero-grid .book .b-sub { font-size: 12px; padding-top: 8px; }
  .hero-grid .book .b-badge { font-size: 11px; padding: 4px 12px; }
  .hero-grid .book .b-foot { display: none; }
  .hero { padding-top: 22px; }
  .bar .wrap > span:first-child { display: none; }
  .bar .wrap { gap: 8px; font-size: 14px; }
  .bar a.mini { padding: 6px 12px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .note { grid-template-columns: 1fr; }
  .note img { width: 100%; height: 260px; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .guarantee { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .day { grid-template-columns: 1fr; gap: 2px; }
  .btn { font-size: 20px; padding: 16px 20px; width: 100%; }
  section { padding: 46px 0; }
}

/* ---------- short sales page (warm traffic) ---------- */
.sp { font-family: Poppins, -apple-system, "Segoe UI", Roboto, sans-serif; background: #fff; }
.sp h1, .sp h2 { font-family: Poppins, sans-serif; font-weight: 800; letter-spacing: -.02em; }
.topbar { background: var(--green); color: #fff; text-align: center; font-size: 16px; font-weight: 600; padding: 9px 12px; position: sticky; top: 0; z-index: 20; }
.topbar b { color: var(--gold); }
.sp-hero { background: #fdf6e3; text-align: center; padding: 34px 18px 44px; }
.sp-hero h1 { font-size: clamp(36px, 6.4vw, 64px); line-height: 1.08; margin: 10px auto 14px; max-width: 900px; }
.hl { color: var(--go); }
.sp-sub { font-size: clamp(19px, 2.4vw, 23px); max-width: 760px; margin: 0 auto 26px; line-height: 1.5; }
mark { background: #ffe58a; padding: 0 4px; border-radius: 3px; font-weight: 700; color: inherit; }
.sp-shot { width: 100%; max-width: 900px; margin: 0 auto; border-radius: 16px; box-shadow: 0 18px 44px rgba(35,28,20,.22); }
.buy { max-width: 620px; margin: 26px auto 0; text-align: center; }
.btn.big { display: block; width: 100%; font-family: Poppins, sans-serif; font-size: clamp(24px, 3.4vw, 32px); padding: 22px 20px; border-radius: 14px; }
.textlink { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 19px; color: #1d4ed8; }
.pay { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 14px 0 8px; }
.pay span { font-size: 13px; font-weight: 800; border: 1px solid #d6d0c4; border-radius: 6px; padding: 4px 10px; background: #fff; color: #33302b; }
.fine { font-size: 15px; color: var(--muted); margin: 6px 0 0; }
.sp-sec { padding: 56px 18px; }
.sp-sec.alt { background: #fdf6e3; }
.sp-wrap { max-width: 1000px; margin: 0 auto; }
.narrowish { max-width: 760px; }
.sp h2 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 18px; }
.two { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.cover-img { width: 100%; max-width: 330px; border-radius: 6px; box-shadow: 0 16px 36px rgba(0,0,0,.28); justify-self: center; }
.ticks.big li { font-size: 20px; padding: 7px 0 7px 34px; }
.ticks.big li::before { font-size: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chips span { background: #fff; border: 2px solid var(--green); color: var(--green); font-weight: 600; font-size: 17px; padding: 8px 14px; border-radius: 999px; }
.page-img { width: 100%; max-width: 640px; margin: 0 auto; border: 1px solid #e6dccb; border-radius: 8px; box-shadow: 0 14px 36px rgba(35,28,20,.18); }
.cap { color: var(--muted); font-size: 17px; margin-top: 16px; }
.buybox { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: center; max-width: 820px; margin: 0 auto; background: #fff;
  border: 3px solid var(--green); border-radius: 20px; padding: 30px; box-shadow: var(--shadow); }
.buybox img { width: 240px; border-radius: 6px; box-shadow: 0 12px 28px rgba(0,0,0,.25); }
.buybox .btn.big { margin-top: 14px; }
.buybox .pay { justify-content: flex-start; }
.launch { font-weight: 700; color: var(--leather); margin: 8px 0 0; }
.launch .cd, .topbar .cd { background: var(--green); color: #fff; }
.topbar .cd { background: rgba(255,255,255,.16); }
.gband { background: var(--green); color: #fff; padding: 44px 18px; }
.gband .sp-wrap { display: grid; grid-template-columns: 130px 1fr; gap: 28px; align-items: center; max-width: 820px; }
.gband h2 { color: #fff; margin-bottom: 8px; }
.gband p { margin: 0; font-size: 19px; }
.gband .seal { background: var(--gold); color: var(--ink); width: 130px; height: 130px; }
.ps { max-width: 700px; margin: 30px auto 0; font-size: 19px; }
.sp details summary { font-size: 19px; }
.sp footer { margin-top: 0; }
@media (max-width: 760px) {
  .two, .buybox, .gband .sp-wrap { grid-template-columns: 1fr; text-align: center; }
  .buybox img { width: 170px; margin: 0 auto; }
  .buybox .pay { justify-content: center; }
  .cover-img { max-width: 220px; }
  .ticks.big { text-align: left; }
  .gband .seal { margin: 0 auto; }
  .sp-hero { padding-top: 22px; }
  .chips span { font-size: 15px; padding: 6px 11px; }
}
.hl { white-space: nowrap; }
.sp-shot { width: auto; max-width: 100%; max-height: min(560px, 50vh); }
@media (max-width: 760px) { .sp-shot { max-height: 44vh; } .buy { margin-top: 18px; } }
.cd { white-space: nowrap; }
mark { -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 2px; }
@media (max-width: 760px) { .topbar { font-size: 14px; padding: 7px 8px; } .sp-hero .kicker { font-size: 14px; } }
.buybox img, .cover-img, .page-img, .sp-shot { height: auto; }
.sp-hero h1 { max-width: 1100px; }
@media (min-width: 761px) { .sp-shot { max-height: min(520px, 46vh); } .sp-hero { padding-top: 26px; } .sp-sub { margin-bottom: 20px; } }
img.book3d { box-shadow: none; border-radius: 0; }
.cover-img.book3d { max-width: 380px; }
.buybox img.book3d { width: 260px; }
@media (max-width: 760px) { .cover-img.book3d { max-width: 260px; } .buybox img.book3d { width: 210px; } }
img.book3d { mix-blend-mode: multiply; }
/* bonuses + full stack */
.lead-s { font-size: 19px; color: var(--muted); margin: -6px 0 26px; }
.bonus { display: grid; grid-template-columns: 210px 1fr; gap: 30px; align-items: center; background: #fff; border: 2px solid #e8dcc3;
  border-radius: 18px; padding: 22px 28px; max-width: 880px; margin: 0 auto 18px; }
.bonus img { width: 210px; height: auto; }
.bonus h3 { font-family: Poppins, sans-serif; font-weight: 800; font-size: 26px; margin: 6px 0 6px; }
.bonus p { margin: 0 0 6px; font-size: 18px; }
.btag { display: inline-block; background: var(--green); color: #fff; font-weight: 800; font-size: 14px; padding: 5px 12px; border-radius: 999px; letter-spacing: .02em; }
.btag.gold { background: linear-gradient(135deg,#9c7428,#f3d77d 45%,#c99a3a); color: #2a1d0a; }
.launch-bonus { border: 3px solid #d9ad4a; background: #fffaf0; }
.buybox { grid-template-columns: 1.05fr 1fr; max-width: 1000px; }
.stackimg img { width: 100%; height: auto; }
.ticks.stack li { font-size: 18px; padding: 4px 0 4px 30px; }
@media (max-width: 760px) {
  .bonus { grid-template-columns: 1fr; text-align: center; padding: 20px; }
  .bonus img { width: 170px; margin: 0 auto; }
  .ticks.stack { text-align: left; display: inline-block; }
}
.summary .row.free span:last-child { color: var(--tick); font-weight: 800; }
.summary .row.free { font-size: 15px; color: var(--muted); }
.bumpimg { width: 64px; height: auto; flex: none; border-radius: 3px; box-shadow: 0 4px 10px rgba(0,0,0,.2); }
.upimg { width: 100%; max-width: 520px; height: auto; margin: 0 auto; }
.buybox { grid-template-columns: 1fr; max-width: 760px; text-align: center; gap: 18px; }
.stackimg img { max-width: 680px; margin: 0 auto; display: block; }
.buybox .ticks.stack { display: inline-block; text-align: left; margin: 6px 0 4px; }
.buybox .pay { justify-content: center; }

/* ---------- conversion hero (28 Oct): book stack + James + price + CTA above the fold ---------- */
.hero2 { text-align: left; padding: 22px 18px 34px; }
.hero-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.15fr; grid-template-areas: "copy img" "pts img" "buy img"; gap: 6px 40px; align-items: center; }
.hero-copy { grid-area: copy; } .hero-pts { grid-area: pts; } .hero-img { grid-area: img; } .hero-buy { grid-area: buy; align-self: start; }
.hero2 h1 { font-size: clamp(34px, 4.6vw, 56px); margin: 14px 0 12px; text-align: left; }
.hero2 .sp-sub { text-align: left; margin: 0 0 12px; font-size: clamp(17px, 1.7vw, 20px); }
.hero-img img { width: 100%; height: auto; display: block; mix-blend-mode: multiply; }
.byline { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 16px 5px 5px; box-shadow: 0 3px 10px rgba(35,28,20,.06); }
.byline img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: 50% 25%; }
.byline span { display: flex; flex-direction: column; font-size: 13px; color: var(--muted); line-height: 1.25; } .byline b { font-size: 16px; color: var(--ink); }
.hero-ticks { list-style: none; padding: 0; margin: 0 0 6px; } .hero-ticks li { position: relative; padding-left: 30px; margin: 7px 0; font-size: 17px; }
.hero-ticks li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: #fff; background: var(--tick); width: 21px; height: 21px; border-radius: 50%; font-size: 13px; font-weight: 800; display: grid; place-items: center; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 8px; }
.price-row .price-big { font-size: 46px; } .price-note { color: var(--go); font-weight: 700; font-size: 15px; }
.hero-buy .btn.big { margin: 0; }
.hero-buy .fine { text-align: left; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "img" "buy" "pts"; gap: 12px; }
  .hero-pts { text-align: center; } .hero2 h1 { margin: 12px 0 6px; } .hero2 .sp-sub { margin-bottom: 0; }
  .hero2 h1, .hero2 .sp-sub { text-align: center; } .hero-copy { text-align: center; } .hero-ticks { text-align: left; display: inline-block; }
  .price-row { justify-content: center; } .hero-buy .fine { text-align: center; }
}
/* James note */
.note { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: center; max-width: 980px; }
.note img { width: 100%; border-radius: 18px; box-shadow: var(--shadow); }
.note h2 { margin-top: 6px; } .note p { font-size: 18px; }
.sig { font-family: "Bitter", serif; font-style: italic; font-size: 26px !important; color: var(--leather); margin-top: 6px; }
@media (max-width: 760px) { .note { grid-template-columns: 1fr; text-align: center; gap: 18px; } .note img { width: 180px; margin: 0 auto; border-radius: 50%; aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; } .note p { text-align: left; } .note .kicker, .note h2, .sig { text-align: center; } }
.ps-face { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; float: left; margin: 0 14px 6px 0; }
/* sticky buy bar: phones only, appears once the hero button has scrolled away */
.stickybuy { display: none; }
@media (max-width: 760px) {
  .stickybuy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(35,28,20,.12); transform: translateY(110%); transition: transform .25s; font-size: 14px; color: var(--muted); }
  .stickybuy.on { transform: none; } .stickybuy b { font-size: 22px; color: var(--ink); }
  .stickybuy .btn { width: auto; font-size: 17px; padding: 12px 18px; }
  body.sp { padding-bottom: 76px; }
}
@media (max-width: 760px) { .note img { width: 170px; height: 170px; } }

/* ---------- conversion palette (28 Oct): the book's own colours. White page, cover forest green for trust,
   and ONE bright amber reserved for buy buttons only, so the action always stands out (isolation effect). ---------- */
:root { --bg: #ffffff; --ink: #15231a; --muted: #4b5a50; --line: #dde6df; --green: #1f3d2b; --tick: #2e7d46; --leather: #2e7d46;
        --go: #ffb703; --go-dark: #c98a00; --gold: #ffc83d; --urgent: #d62828; --tint: #f2f7f2; }
.btn { color: #15231a; box-shadow: 0 6px 0 var(--go-dark); } .btn:hover { background: #ffc21f; }
.btn small { color: #15231a; }
section.alt, .sp-sec.alt { background: var(--tint); }
.sp-hero { background: linear-gradient(180deg, #eef5ee 0%, #ffffff 100%); }
.hl { color: var(--tick); }
mark { background: #d9f0de; }
.price-note, .launch, .launch .cd { color: var(--urgent); } .launch .cd { background: #fde8e8; }
.topbar { background: var(--green); } .topbar b { color: var(--gold); } .topbar .cd { background: var(--urgent); color: #fff; }
.stickybuy .btn { color: #15231a; }
.timer-box, .tip { background: #fff8e1; } .bumpbox { background: #fffbea; border-color: var(--go-dark); }
.launch-bonus { background: #fffbea; border-color: var(--gold); }
.kicker { color: var(--tick); }

/* James with the book on a tablet */
.note { grid-template-columns: 340px 1fr; }
.note img.james-tab { border-radius: 18px; aspect-ratio: 2/3; object-fit: cover; }
@media (max-width: 760px) { .note img.james-tab { width: 100%; max-width: 360px; height: auto; border-radius: 18px; aspect-ratio: 2/3; } }
/* Look inside: real pages on a dark band */
.inside { background: var(--green); color: #fff; padding: 56px 18px 60px; }
.inside h2 { color: #fff; } .inside .lead-s { color: #d7e6da; } .kicker.light { color: var(--gold); }
.pages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 26px; max-width: 1080px; margin: 30px auto 10px; }
.pages figure { margin: 0; }
.pages img { width: 100%; height: auto; display: block; border-radius: 6px; box-shadow: 0 16px 34px rgba(0,0,0,.35); transition: transform .2s; background: #fff; }
.pages figure:nth-child(odd) img { transform: rotate(-1.2deg); } .pages figure:nth-child(even) img { transform: rotate(1.2deg); }
.pages img:hover { transform: scale(1.03) rotate(0); }
.pages figcaption { margin-top: 14px; font-size: 16px; color: #d7e6da; line-height: 1.4; } .pages figcaption b { display: block; color: #fff; font-size: 18px; }
.inside-cta { max-width: 560px; margin: 26px auto 0; }
@media (max-width: 760px) { .pages { grid-template-columns: 1fr 1fr; gap: 20px 14px; } .pages figcaption { font-size: 13px; } .pages figcaption b { font-size: 15px; } }
/* slashed values */
.val { margin: 8px 0 2px; font-size: 20px; } .val s { color: var(--muted); } .val b { color: var(--urgent); font-size: 22px; margin-left: 6px; letter-spacing: .02em; }
.vstack { width: 100%; border-collapse: collapse; margin: 6px 0 4px; font-size: 17px; }
.vstack td { padding: 10px 6px; border-bottom: 1px solid var(--line); vertical-align: top; } .vstack td:last-child { text-align: right; white-space: nowrap; font-weight: 700; }
.vstack small { display: block; color: var(--muted); font-size: 14px; } .vstack s { color: var(--muted); font-weight: 500; } .vstack em { font-style: normal; color: var(--urgent); font-weight: 800; margin-left: 4px; }
.vstack .tot td { font-size: 19px; font-weight: 800; border-bottom: 0; padding-top: 14px; } .vstack .tot s { color: var(--ink); font-weight: 800; }
.vstack .you td { font-size: 26px; font-weight: 900; color: var(--tick); background: var(--tint); border-radius: 8px; border-bottom: 0; }
.save { display: inline-block; margin: 6px 0 0; background: #fde8e8; color: var(--urgent); font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.note img.james-tab { width: 100%; height: auto; object-position: 50% 30%; }
.vstack td:first-child { text-align: left; }
.vstack .tot td:last-child span { font-weight: 800; }
@media (max-width: 760px) { .stickybuy > div { flex: 1 1 auto; min-width: 0; white-space: nowrap; } .stickybuy .btn { flex: none; display: inline-block; width: auto !important; font-size: 16px; padding: 12px 14px; margin: 0; } }

/* express checkout (Apple Pay / Google Pay) at the top of checkout */
#express-wrap { margin: 6px 0 4px; } .express-h { font-weight: 800; font-size: 15px; color: var(--muted); margin: 0 0 8px; text-transform: uppercase; letter-spacing: .06em; }
#express-wrap .or { margin: 16px 0 4px; }
