/* =========================================================
   The Simple Lead Generation Playbook — ebook pages
   Loaded after css/styles.css, so the header, footer, fonts and colors
   are exactly the site's own. Everything here is scoped to main.ebook.
   ========================================================= */

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--gold); color: var(--black);
  padding: 10px 16px; font-family: var(--sans); font-size: 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

.ebook [hidden] { display: none !important; }
.ebook img { height: auto; }   /* the page images carry width/height attributes; keep their proportions */
.ebook .wrap { max-width: var(--max); margin: 0 auto; padding-inline: 24px; }

/* ---------- Bands (alternate like the rest of the site) ---------- */
.ebook .band { padding-block: 64px; }
.ebook .band-hero { background: var(--cream-2); padding-block: 0; }
.ebook .band-white { background: var(--white); }
.ebook .band-cream { background: var(--cream); }
.ebook .band-dark { background: var(--black); color: #f2ede3; }

/* ---------- Type ---------- */
.ebook h1 {
  font-family: var(--serif-display); font-weight: 600; color: var(--ink);
  font-size: clamp(38px, 5.2vw, 62px); line-height: 1.05; letter-spacing: -.01em;
  margin: 0 0 18px; text-wrap: balance;
}
.ebook h2 {
  font-family: var(--serif-display); font-weight: 500; color: var(--ink);
  font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; margin: 0 0 16px; text-wrap: balance;
}
.ebook h3 { font-family: var(--serif-display); font-weight: 600; font-size: 25px; line-height: 1.2; margin: 0 0 12px; color: var(--ink); }
.ebook p { margin: 0 0 16px; color: var(--body-text); }
.ebook .lead { font-size: 22px; color: var(--ink); }
.ebook .detail { font-family: var(--sans); font-size: 14px; line-height: 1.55; color: #6b6456; margin: 14px 0 0; }
.ebook .status-message { font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--gold-dark); margin: 12px 0 0; }
.ebook p a, .ebook li a, .ebook .detail a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.ebook p a:hover, .ebook li a:hover { color: var(--ink); }

.ebook .eyebrow { letter-spacing: .28em; font-size: 13px; gap: 14px; margin: 0 0 14px; }
.ebook .eyebrow::after { width: 64px; flex: 0 0 64px; }

.ebook .band-dark h2, .ebook .band-dark h3 { color: #fff; }
.ebook .band-dark p { color: #e6dfd2; }
.ebook .band-dark .detail { color: #bdb4a3; }
.ebook .band-dark .eyebrow { color: var(--gold-light); }
.ebook .band-dark p a, .ebook .band-dark .detail a { color: var(--gold-light); }
.ebook .band-dark p a:hover { color: #fff; }

/* ---------- Layout ---------- */
.ebook .two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.ebook .two > * { min-width: 0; }
.ebook .hero {
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: center;
  padding-block: 64px;
}
.ebook .hero > * { min-width: 0; }
.ebook .hero figure { margin: 0; }
.ebook .book { width: 100%; max-width: 330px; margin: 0 auto; box-shadow: 0 20px 44px rgba(0, 0, 0, .3); }

/* ---------- Buttons ---------- */
.ebook .actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 0; }
.ebook .button {
  display: inline-block; text-align: center; text-decoration: none; cursor: pointer;
  font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: 14px;
  padding: 16px 26px; color: var(--black);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: 1.5px solid var(--gold);
  transition: filter .15s, transform .15s;
}
.ebook .button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.ebook .button.secondary { background: transparent; color: var(--ink); }
.ebook .button.secondary:hover { background: var(--gold); color: var(--black); }
.ebook .band-dark .button.secondary { color: var(--gold-light); }
.ebook .button[aria-disabled="true"] {
  cursor: default; filter: none; transform: none;
  background: #e2dccf; border-color: #cfc6b4; color: #5a5448;
}
.ebook .band-dark .button[aria-disabled="true"] { background: #2a2824; border-color: #4a453c; color: #cfc6b4; }
.ebook a.button:focus-visible, .ebook summary:focus-visible, .skip:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

/* ---------- Lists ---------- */
.ebook .included { list-style: none; padding: 0; margin: 0 0 18px; }
.ebook .included li { position: relative; padding: 0 0 12px 28px; color: var(--body-text); }
.ebook .included li::before {
  content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px;
  background: var(--gold); transform: rotate(45deg);
}
.ebook .included strong { color: var(--ink); }
.ebook .band-dark .included li { color: #e6dfd2; }
.ebook .band-dark .included strong { color: #fff; }

/* ---------- Previews ---------- */
.ebook .previews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 28px 0 22px; }
.ebook .previews figure { margin: 0; }
.ebook .previews img { width: 100%; border: 1px solid #e3d7c2; box-shadow: 0 10px 26px rgba(0, 0, 0, .14); background: #fff; }
.ebook .previews figcaption { font-family: var(--sans); font-size: 14px; color: #5d574b; margin-top: 10px; }

/* ---------- Sample band ---------- */
.ebook .email-box { border: 1px solid rgba(201, 164, 92, .55); padding: 28px; }
.ebook .email-box h3 { margin-top: 0; }

/* ---------- FAQ ---------- */
.ebook .wrap.faq { max-width: var(--max); }   /* same left edge as the other sections */
.ebook .faq > * { max-width: 900px; }
.ebook details { border-bottom: 1px solid #d9c9ab; }
.ebook details:first-of-type { border-top: 1px solid #d9c9ab; }
.ebook summary {
  cursor: pointer; list-style: none; position: relative;
  font-family: var(--serif-display); font-size: 21px; line-height: 1.3; color: var(--ink);
  padding: 16px 40px 16px 0;
}
.ebook summary::-webkit-details-marker { display: none; }
.ebook summary::after {
  content: "+"; position: absolute; right: 6px; top: 12px;
  font-family: var(--sans); font-size: 24px; color: var(--gold-dark);
}
.ebook details[open] summary::after { content: "\2013"; }
.ebook details p { margin: 0 0 18px; }

/* ---------- Price / final call to action ---------- */
.ebook .price { font-family: var(--serif-display); font-size: 76px; line-height: 1; margin: 0 0 10px; color: var(--gold-light); }

/* ---------- Text pages (privacy, terms, team, thanks) ---------- */
.ebook .narrow { max-width: 860px; margin: 0 auto; }
.ebook .narrow h1 { font-size: clamp(36px, 5vw, 48px); }
.ebook .narrow h2 { font-size: 26px; font-weight: 600; margin: 34px 0 8px; }
.ebook .narrow p { color: #333; }
.ebook table { width: 100%; border-collapse: collapse; margin: 22px 0 26px; font-family: var(--sans); font-size: 16px; }
.ebook th { background: var(--black); color: var(--gold-light); text-align: left; font-weight: 500; padding: 12px 14px; }
.ebook td { padding: 12px 14px; border-bottom: 1px solid #e3d7c2; }
.ebook tbody tr:nth-child(even) { background: var(--cream); }

/* ---------- Walkthrough ---------- */
.ebook .walkthrough-slide {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding-block: 44px; border-bottom: 1px solid #eee3d0;
}
.ebook .walkthrough-slide > * { min-width: 0; }
.ebook .walkthrough-slide img { width: 100%; max-width: 440px; margin: 0 auto; border: 1px solid #e3d7c2; box-shadow: 0 10px 26px rgba(0, 0, 0, .14); }
.ebook .band-white:has(.walkthrough-slide) { padding-block: 16px 48px; }

/* ---------- Ebook links bar ---------- */
.ebook .ebook-links { background: var(--cream-2); padding: 26px 24px 20px; text-align: center; font-family: var(--sans); font-size: 14px; }
.ebook .ebook-links p { margin: 0 0 8px; color: var(--ink); }
.ebook .ebook-links a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--gold); margin: 0 10px; }
.ebook .ebook-links a:hover { color: var(--gold-dark); }
.ebook .ebook-links span { color: var(--gold-dark); }
.ebook .ebook-links .small { font-size: 12px; color: #6b6456; letter-spacing: .03em; }

/* ---------- Tablets and phones ---------- */
@media (max-width: 900px) {
  .ebook .two, .ebook .hero, .ebook .walkthrough-slide { grid-template-columns: 1fr; gap: 34px; }
  .ebook .hero { padding-block: 44px; }
  .ebook .book { max-width: 260px; }
  .ebook .previews { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .ebook .band { padding-block: 44px; }
  .ebook .band-hero { padding-block: 0; }
  .ebook .eyebrow { letter-spacing: .18em; font-size: 12px; }
  .ebook .eyebrow::after { display: none; }
  .ebook .lead { font-size: 19px; }
  .ebook .actions .button { width: 100%; }
  .ebook .previews { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .ebook .price { font-size: 60px; }
  .ebook .ebook-links a { display: inline-block; margin: 4px 8px; }
  .ebook .ebook-links span { display: none; }
  .ebook table { font-size: 14px; }
  .ebook th, .ebook td { padding: 10px 8px; }
}
@media (prefers-reduced-motion: reduce) { .ebook .button { transition: none; } .ebook .button:hover { transform: none; } }

/* =========================================================
   Sales page sections (owner request, October 9, 2026)
   ========================================================= */
.ebook .hero h1 { font-size: clamp(34px, 4.4vw, 56px); }
.ebook .hero .eyebrow { letter-spacing: .2em; }
.ebook .intro { max-width: 760px; font-size: 19px; }
.ebook .hero .punch {
  font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-dark); margin: 0;
}
.ebook .hero figure.cover { position: relative; width: 100%; max-width: min(330px, calc(100% - 24px)); margin: 0 auto; }   /* room for the badge */
.ebook .hero figure.cover .book { max-width: 100%; }
.ebook .price-badge {
  position: absolute; top: -22px; right: -22px; width: 98px; height: 98px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(circle at 32% 28%, var(--gold-light), var(--gold) 72%);
  border: 2px solid #fff4dc; box-shadow: 0 10px 24px rgba(0, 0, 0, .3); transform: rotate(-10deg);
  font-family: var(--serif-display); font-weight: 700; font-size: 34px; line-height: 1; color: var(--black);
}
.ebook .price-badge small {
  font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 4px;
}

/* counts row under the hero promise */
.ebook .counts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.ebook .counts li {
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .03em; color: var(--ink);
  background: rgba(255, 255, 255, .7); border: 1px solid rgba(201, 164, 92, .65); padding: 6px 12px;
}

/* problem list */
.ebook .pains { list-style: none; padding: 0; margin: 0 0 18px; }
.ebook .pains li { position: relative; padding: 0 0 14px 34px; font-size: 19px; line-height: 1.5; color: var(--ink); }
.ebook .pains li::before { content: "\2014"; position: absolute; left: 0; top: 0; color: var(--gold-dark); }

/* the LIMRA figure */
.ebook .stat {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; align-items: start;
  margin: 26px 0 0; padding: 22px 24px; background: var(--black); border-top: 3px solid var(--gold);
}
.ebook .stat > * { min-width: 0; }
.ebook .stat .stat-num { font-family: var(--serif-display); font-size: 64px; font-weight: 600; line-height: .95; color: var(--gold-light); margin: 0; }
.ebook .stat .stat-text { font-size: 16px; line-height: 1.5; color: #e6dfd2; margin: 0 0 8px; }
.ebook .stat .stat-source { font-family: var(--sans); font-size: 12px; color: #a99f8d; margin: 0; }
.ebook .push { font-size: 19px; color: var(--ink); }
.ebook .push strong { color: var(--gold-dark); }

/* a line from the book */
.ebook .book-quote {
  margin: 48px auto 0; max-width: 920px; text-align: center;
  border-top: 1px solid rgba(201, 164, 92, .7); border-bottom: 1px solid rgba(201, 164, 92, .7); padding-block: 30px 24px;
}
.ebook .book-quote blockquote { border: 0; padding: 0; margin: 0 0 12px; font-size: clamp(23px, 2.5vw, 31px); text-wrap: balance; }
.ebook .book-quote figcaption {
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-dark);
}
.ebook .rules-lead { margin: 40px 0 0; font-family: var(--serif-display); font-size: 24px; color: var(--ink); }
.ebook .rules-lead + .rules { margin-top: 16px; }

/* the four rules */
.ebook .rules { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ebook .rules li { background: var(--cream); border-top: 3px solid var(--gold); padding: 22px 20px 20px; }
.ebook .rules .n, .ebook .file-tag, .ebook .timeline .when, .ebook .toc-group h4 {
  display: block; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold-dark); margin: 0 0 8px;
}
.ebook .rules h3 { font-size: 24px; margin-bottom: 8px; }
.ebook .rules p { font-size: 16px; margin: 0; }

/* five steps */
.ebook .steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ebook .steps li { background: var(--white); border: 1px solid #e3d7c2; padding: 20px 18px; }
.ebook .steps .num { display: block; font-family: var(--serif-display); font-size: 36px; line-height: 1; color: var(--gold-dark); margin: 0 0 10px; }
.ebook .steps h3 { font-size: 21px; margin-bottom: 6px; }
.ebook .steps p { font-size: 15px; margin: 0; }

/* first 90 days */
.ebook .timeline { list-style: none; padding: 0; margin: 40px 0 6px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--gold); }
.ebook .timeline li { position: relative; padding: 22px 26px 0 0; }
.ebook .timeline li::before {
  content: ""; position: absolute; top: -8px; left: 0; width: 13px; height: 13px; background: var(--gold); transform: rotate(45deg);
}
.ebook .timeline h3 { font-size: 21px; margin-bottom: 6px; }
.ebook .timeline p { font-size: 15px; margin: 0; }

/* what's inside */
.ebook .files { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0 0; }
.ebook .file { background: var(--cream); border: 1px solid #e3d7c2; padding: 22px 22px 14px; }
.ebook .file.main { grid-column: span 2; grid-row: span 2; background: var(--white); border-top: 3px solid var(--gold); }
.ebook .file h3 { font-size: 23px; }
.ebook .file p { font-size: 16px; }
.ebook .file .included li { font-size: 16px; padding-bottom: 9px; }

/* add it up */
.ebook .tally {
  margin: 24px 0 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  background: var(--black); border-top: 3px solid var(--gold); padding: 24px 28px;
}
.ebook .tally > div { min-width: 0; }
.ebook .tally > div:first-child { flex: 1 1 340px; }
.ebook .tally p { color: #e6dfd2; margin: 0; }
.ebook .tally .tally-label {
  font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-light); margin: 0 0 6px;
}
.ebook .tally .tally-source { font-family: var(--sans); font-size: 12px; line-height: 1.5; color: #a99f8d; margin: 10px 0 0; }
.ebook .tally-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.ebook .tally .tally-price { font-family: var(--serif-display); font-size: 24px; color: #fff; }
.ebook .tally-price b { font-size: 36px; font-weight: 600; color: var(--gold-light); }

/* full contents */
.ebook details.toc { margin: 24px 0 0; border: 1px solid #e3d7c2; background: var(--white); padding: 0 22px; }
.ebook details.toc summary { font-size: 20px; }
.ebook .toc-groups { columns: 2; column-gap: 44px; padding: 6px 0 14px; }
.ebook .toc-group { break-inside: avoid; margin: 0 0 18px; }
.ebook .toc-group ol { list-style: none; padding: 0; margin: 0; }
.ebook .toc-group li { font-size: 16px; line-height: 1.4; padding: 4px 0 4px 40px; position: relative; color: var(--ink); }
.ebook .toc-group b { position: absolute; left: 0; top: 6px; font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--gold-dark); }

/* who it is for */
.ebook .for-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 22px; }
.ebook .for-list li {
  position: relative; background: var(--white); border: 1px solid #e3d7c2; padding: 16px 18px 16px 52px;
  font-size: 18px; line-height: 1.45; color: var(--ink);
}
.ebook .for-list li::before {
  content: "\2713"; position: absolute; left: 16px; top: 16px; width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold); color: var(--black); font-family: var(--sans); font-size: 13px; font-weight: 700;
}
.ebook .promise { margin: 22px 0 0; background: var(--black); border-left: 4px solid var(--gold); padding: 22px 26px; }
.ebook .promise p { margin: 0; font-size: 18px; color: #e6dfd2; }
.ebook .promise strong { color: var(--gold-light); }

/* author */
.ebook .author { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }   /* text centred beside the tall headshot */
.ebook .author > * { min-width: 0; }
.ebook .author figure { margin: 0; }
.ebook .portrait {
  width: 100%; height: auto;   /* owner: show the whole photo, no crop */
  border: 1px solid #e3d7c2; box-shadow: 0 16px 34px rgba(0, 0, 0, .18);
}
.ebook blockquote {
  margin: 4px 0 20px; padding: 2px 0 2px 22px; border-left: 3px solid var(--gold);
  font-family: var(--serif); font-style: italic; font-size: 25px; line-height: 1.35; color: var(--ink);
}

.ebook .creds {
  font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dark);
}
.ebook .band-dark .fineprint { font-family: var(--sans); font-size: 12px; line-height: 1.5; color: #9d958a; margin: 18px 0 0; }

/* details table and team box */
.ebook table.details { margin-top: 24px; background: var(--white); }
.ebook table.details th { width: 26%; vertical-align: top; }
.ebook table.details tbody tr:nth-child(even) { background: var(--white); }
.ebook table.details td a { color: var(--gold-dark); }
.ebook .team-box {
  margin: 24px 0 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
  background: var(--white); border: 1px solid rgba(201, 164, 92, .65); padding: 22px 24px;
}
.ebook .team-box h3 { margin-bottom: 4px; }
.ebook .team-box p { margin: 0; }

/* sticky buy bar: phones only, shown between the first and last buy buttons */
.ebook .buy-bar { display: none; }

@media (max-width: 1100px) {
  .ebook .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .ebook .rules { grid-template-columns: repeat(2, 1fr); }
  .ebook .steps { grid-template-columns: repeat(2, 1fr); }
  .ebook .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--gold); margin-left: 6px; }
  .ebook .timeline li { padding: 0 0 22px 26px; }
  .ebook .timeline li::before { top: 4px; left: -8px; }
  .ebook .files { grid-template-columns: repeat(2, 1fr); }
  .ebook .file.main { grid-column: span 2; grid-row: auto; }
  .ebook .hero figure.cover { max-width: 260px; }
  .ebook .price-badge { width: 86px; height: 86px; font-size: 30px; top: -18px; right: -18px; }
  .ebook .author { grid-template-columns: 1fr; gap: 30px; }
  .ebook .author figure { max-width: 340px; }
  .ebook .toc-groups { columns: 1; }
}
@media (max-width: 600px) {
  .ebook .hero h1 { font-size: 33px; }
  .ebook .hero { padding-block: 34px 40px; }
  /* phones: keep the main button on the first screen; the package list follows it */
  .ebook .hero > div:first-child { display: flex; flex-direction: column; }
  .ebook .hero > div:first-child > * { margin: 0; }
  .ebook .hero > div:first-child > .eyebrow { margin-bottom: 18px; }
  .ebook .hero > div:first-child > h1 { margin-bottom: 18px; }
  .ebook .hero > div:first-child > .punch { margin-top: 14px; }
  .ebook .hero > div:first-child > .actions { margin-top: 24px; }
  .ebook .hero > div:first-child > .detail { margin-top: 12px; }
  .ebook .hero > div:first-child > .status-message { margin-top: 8px; }
  .ebook .hero > div:first-child > .counts { order: 1; margin-top: 18px; }
  .ebook .counts li { font-size: 12px; padding: 5px 10px; }
  .ebook .intro, .ebook .pains li { font-size: 17px; }
  .ebook .rules, .ebook .steps, .ebook .files, .ebook .for-list { grid-template-columns: 1fr; }
  .ebook .price-badge { width: 76px; height: 76px; font-size: 26px; top: -14px; right: -10px; }
  .ebook .price-badge small { font-size: 10px; }
  .ebook .stat { padding: 18px; gap: 4px 16px; }
  .ebook .stat .stat-num { font-size: 48px; }
  .ebook .push, .ebook .for-list li, .ebook .promise p { font-size: 17px; }
  .ebook .tally { padding: 20px; }
  .ebook .tally-buy, .ebook .tally-buy .button { width: 100%; }
  .ebook .file.main { grid-column: auto; }
  .ebook blockquote { font-size: 22px; }
  .ebook table.details th { width: 34%; }
  .ebook .team-box .button { width: 100%; }
  .ebook .buy-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    align-items: center; justify-content: space-between; gap: 12px;
    background: #0d0d0d; border-top: 1px solid var(--gold);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    transform: translateY(110%); visibility: hidden; transition: transform .2s ease, visibility .2s;
  }
  .ebook .buy-bar.show { transform: none; visibility: visible; }
  .ebook .buy-bar p { margin: 0; font-family: var(--sans); font-size: 12px; line-height: 1.35; color: #cfc6b4; }
  .ebook .buy-bar strong { display: block; font-size: 14px; color: #fff; }
  .ebook .buy-bar .button { width: auto; padding: 13px 14px; font-size: 12px; letter-spacing: .08em; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) { .ebook .buy-bar { transition: none; } }

/* P.S. under the closing button */
.ebook .band-dark .ps { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.5; color: #f2ede3; margin: 22px 0 0; }
.ebook .band-dark .ps strong { font-style: normal; font-family: var(--sans); font-size: 13px; letter-spacing: .16em; color: var(--gold-light); margin-right: 4px; }

/* picture under "Don't leave your first years to luck" (owner's image, October 9) */
.ebook .push-image {
  display: block; width: 100%; max-width: 100%; height: auto; margin: 24px 0 0;
  border-top: 3px solid var(--gold); box-shadow: 0 16px 34px rgba(0, 0, 0, .18);
}

/* Header and footer: same rules as the site pages */
/* Header (owner requests, October 14, 2026): the logo and "Sponsor" label leave the top left and the bottom left. The top
   banner is slim: the menu button with the word MENU at the top left (every screen size), the ALIMAS wordmark
   (images/alimas-wordmark-header.jpg) in the middle, and a gold BOOK A CALL tab at the top right. The menu links open as a
   drop-down panel under the banner. The footer keeps its links, centred.
   12:04 pm (owner): on computers and tablets the banner keeps only BOOK A CALL, and the homepage shows gold AGENT CAREERS
   and AGENT LEADS GUIDE tabs side by side under the slideshow. On phones (up to 600 px) those two tabs sit with SCHEDULE A
   CALL on a centred row under the banner, on every page, and nothing is shown under the slideshow. */
.site-header .nav-wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0 20px; padding: 8px 24px; }
.site-header .brand-mark { grid-column: 2; grid-row: 1; justify-self: center; display: block; line-height: 0; }
.site-header .brand-mark img { display: block; width: 170px; max-width: 100%; height: auto; }
.site-header .nav-toggle { grid-column: 1; grid-row: 1; justify-self: start; display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); background: none; border: 1.5px solid var(--gold); padding: 7px 14px; cursor: pointer; line-height: 1; }
.site-header .nav-toggle .menu-icon { font-size: 22px; line-height: 1; }
.site-header .nav-toggle:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.site-header .head-ctas { grid-column: 3; grid-row: 1; justify-self: end; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; min-width: 0; }
.site-header .head-cta { font-family: var(--sans); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; line-height: 1.2; text-decoration: none; white-space: nowrap; color: var(--black); background: linear-gradient(135deg, var(--gold-light), var(--gold)); border: 1.5px solid var(--gold); padding: 9px 16px; }
.site-header .head-cta:hover, .site-header .head-cta:focus-visible { filter: brightness(1.08); }
.site-header .main-nav { grid-column: 1 / -1; grid-row: 3; display: none; flex-direction: column; align-items: stretch; gap: 6px; padding: 10px 0 14px; border-top: 1px solid rgba(201, 164, 92, .25); margin-top: 8px; }
.site-header .main-nav.open { display: flex; }
.site-header .main-nav a { text-align: center; }
.site-header .main-nav a.btn-outline-gold { padding: 9px 18px; line-height: 1.2; margin-top: 6px; }
.site-header .main-nav .btn-outline-gold + a { margin-top: 6px; }
.main-nav a { white-space: nowrap; }
@media (max-width: 600px) {
  .site-header .nav-wrap { padding: 10px 14px; column-gap: 8px; }
  .site-header .brand-mark img { width: 130px; }
  .site-header .nav-toggle { font-size: 12px; padding: 6px 10px; gap: 6px; }
  .site-header .nav-toggle .menu-icon { font-size: 18px; }
  /* October 21, 2026: only the Book a Call tab is left, so on phones it sits at the top right beside the wordmark */
  .site-header .head-ctas { min-width: 0; }
  .site-header .head-cta { white-space: normal; max-width: 150px; text-align: center; font-size: 10.5px; letter-spacing: .06em; padding: 8px 8px; }
}
.site-footer .footer-wrap { justify-content: center; text-align: center; }
/* Credit line above the copyright line, one line (owner request, October 20, 2026) */
.site-footer .footer-credit { text-align: center; font-family: var(--sans); font-size: 12px; letter-spacing: .05em; color: var(--gold-light); padding: 0 12px 8px; white-space: nowrap; }
@media (max-width: 600px) { .site-footer .footer-credit { font-size: clamp(8px, 2.35vw, 11px); letter-spacing: 0; padding: 0 8px 8px; } }
/* Tiny plain-text Desktop | Mobile links, bottom right of every page (owner request, October 20, 2026, 12:12 pm) */
.site-footer .view-links { text-align: right; font-family: var(--sans); font-size: 11px; line-height: 1.4; letter-spacing: .03em; color: #8d8878; padding: 4px 14px 10px; }
.site-footer .view-links a { color: #b9a36a; text-decoration: underline; text-underline-offset: 2px; }
.site-footer .view-links a[aria-current="true"] { color: #8d8878; text-decoration: none; cursor: default; pointer-events: none; }
/* Interim notice under the credit line: ALIMAS is only the website's name (owner request, October 20, 2026, 4:36 pm) */
.site-footer .footer-disclosure { max-width: 780px; margin: 0 auto; padding: 0 18px 10px; text-align: center; font-family: var(--sans); font-size: 11.5px; line-height: 1.5; letter-spacing: .02em; color: #a89f86; }

/* =========================================================
   Client-Tell page (owner request, October 17, 2026). The Playbook page's layout and rules above, in the book's own colours:
   the cream of its pages (#f4ead5), the seven-colour stripe across the top of its pages and its black cover. The boxes copy
   the book's look: dark outline and a solid offset shadow. Header and footer stay exactly the site's.
   Everything here is scoped to main.ct.
   ========================================================= */
.ct {
  --ct-paper: #f4ead5; --ct-ink: #1d1a16; --ct-line: #e2d2b1; --ct-night: #100e0b; --ct-muted: #5d5446;
  --ct-amber: #f7b731; --ct-orange: #f38f2b; --ct-tangerine: #ec632b; --ct-red: #de433c;
  --ct-magenta: #b53663; --ct-purple: #6f4799; --ct-blue: #2f63c2;
  /* darker versions of the stripe colours for small text on cream or white (contrast 4.9:1 or better) */
  --ct-accent: #b8321f; --ct-orange-text: #a8480f; --ct-magenta-text: #9c2b55; --ct-purple-text: #5f3b8a; --ct-blue-text: #2856a8;
  --ct-stripe: linear-gradient(180deg, #f7b731 0 14.29%, #f38f2b 14.29% 28.57%, #ec632b 28.57% 42.86%, #de433c 42.86% 57.14%,
               #b53663 57.14% 71.43%, #6f4799 71.43% 85.71%, #2f63c2 85.71% 100%);
  --ct-rule: linear-gradient(90deg, #f7b731 0 14.29%, #f38f2b 14.29% 28.57%, #ec632b 28.57% 42.86%, #de433c 42.86% 57.14%,
             #b53663 57.14% 71.43%, #6f4799 71.43% 85.71%, #2f63c2 85.71% 100%);
}

/* ---------- Bands ---------- */
.ct .band-hero { background: var(--ct-paper); }
.ct .band-hero::before { content: ""; display: block; height: 14px; background: var(--ct-stripe); }
.ct .band-cream { background: var(--ct-paper); }
.ct .band-dark { position: relative; background: var(--ct-night); }
.ct .band-dark::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--ct-stripe); }

/* ---------- Type and links ---------- */
.ct .eyebrow { color: var(--ct-accent); }
.ct .eyebrow::after { height: 3px; background: var(--ct-rule); }
.ct .band-dark .eyebrow { color: var(--ct-amber); }
.ct .narrow .eyebrow { color: var(--ct-accent); }
.ct .hero .punch, .ct .status-message { color: var(--ct-accent); }
.ct p a, .ct li a, .ct .detail a, .ct table.details td a { color: var(--ct-accent); }
.ct p a:hover, .ct li a:hover { color: var(--ct-ink); }
.ct .band-dark p a, .ct .band-dark .detail a { color: var(--ct-amber); }
.ct .band-dark p a:hover { color: #fff; }

/* ---------- Buttons: the cover's amber and orange ---------- */
.ct .button { color: var(--ct-ink); background: linear-gradient(135deg, var(--ct-amber), var(--ct-orange)); border-color: #e08a22; }
.ct .button.secondary { background: transparent; color: var(--ct-ink); border-color: var(--ct-ink); }
.ct .button.secondary:hover { background: var(--ct-ink); color: var(--ct-paper); }
.ct .band-dark .button.secondary { color: var(--ct-amber); border-color: var(--ct-amber); }
.ct .button[aria-disabled="true"] { background: #e6dccb; border-color: #cfc3ad; color: #564e42; }
.ct .band-dark .button[aria-disabled="true"] { background: #2a2620; border-color: #4a4338; color: #d4c9b4; }
.ct a.button:focus-visible, .ct summary:focus-visible { outline-color: var(--ct-tangerine); }

/* ---------- Hero ---------- */
.ct .book { box-shadow: 0 22px 46px rgba(29, 26, 22, .4); }
.ct .price-badge {
  background: radial-gradient(circle at 32% 28%, #ffd679, var(--ct-amber) 48%, var(--ct-orange) 100%);
  border-color: #fff4dc; color: var(--ct-ink);
}
.ct .counts li { background: rgba(255, 255, 255, .72); border-color: #d9bf93; color: var(--ct-ink); }

/* ---------- Sound familiar ---------- */
.ct .pains-lead { font-size: 19px; line-height: 1.5; color: var(--ct-ink); margin: 0 0 14px; }
.ct .pains li::before { color: var(--ct-accent); }
.ct .push strong { color: var(--ct-accent); }
.ct .stat { position: relative; background: var(--ct-night); border-top: 0; padding-top: 32px; }
.ct .stat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--ct-stripe); }
.ct .stat .stat-num { color: var(--ct-amber); }
.ct .book-quote {
  border-top: 0; border-bottom: 0; padding-block: 32px 26px;
  background: var(--ct-rule) top center / 100% 3px no-repeat, var(--ct-rule) bottom center / 100% 3px no-repeat;
}
.ct .book-quote figcaption { color: var(--ct-accent); }

/* the four house rules and the five parts of every chapter: boxes like the book's */
.ct .rules li, .ct .steps li, .ct .part {
  border: 2px solid var(--ct-ink); border-radius: 6px; box-shadow: 4px 4px 0 var(--ct-ink);
}
.ct .rules li { background: var(--ct-paper); }
.ct .steps li { background: #fff; }
.ct .rules li:nth-child(1) .n { color: var(--ct-accent); }
.ct .rules li:nth-child(2) .n { color: var(--ct-orange-text); }
.ct .rules li:nth-child(3) .n { color: var(--ct-purple-text); }
.ct .rules li:nth-child(4) .n { color: var(--ct-blue-text); }
.ct .steps li:nth-child(1) .num { color: var(--ct-accent); }
.ct .steps li:nth-child(2) .num { color: var(--ct-orange-text); }
.ct .steps li:nth-child(3) .num { color: var(--ct-magenta-text); }
.ct .steps li:nth-child(4) .num { color: var(--ct-purple-text); }
.ct .steps li:nth-child(5) .num { color: var(--ct-blue-text); }

/* ---------- Your first seven days: one stripe colour per day ---------- */
.ct .days-title { margin: 46px 0 6px; font-size: 27px; }
/* days 1-4 down the left column and 5-7 down the right (one column on phones) */
.ct .days {
  list-style: none; padding: 0; margin: 18px 0 8px;
  display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, auto); grid-auto-flow: column; gap: 12px 22px;
}
.ct .days li {
  min-width: 0; display: grid; grid-template-columns: 82px 1fr; gap: 14px; align-items: start;
  background: #fff; border: 1.5px solid var(--ct-line); border-radius: 6px; padding: 13px 16px;
}
.ct .days .when {
  display: block; margin: 1px 0 0; padding: 4px 6px; border-radius: 3px; text-align: center;
  font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
}
.ct .days li:nth-child(1) .when { background: var(--ct-amber); color: var(--ct-ink); }
.ct .days li:nth-child(2) .when { background: var(--ct-orange); color: var(--ct-ink); }
.ct .days li:nth-child(3) .when { background: var(--ct-tangerine); color: var(--ct-ink); }
.ct .days li:nth-child(4) .when { background: var(--ct-red); color: #fff; }
.ct .days li:nth-child(5) .when { background: var(--ct-magenta); color: #fff; }
.ct .days li:nth-child(6) .when { background: var(--ct-purple); color: #fff; }
.ct .days li:nth-child(7) .when { background: var(--ct-blue); color: #fff; }
.ct .days p { margin: 0; font-size: 17px; line-height: 1.45; color: var(--ct-ink); }

/* ---------- Everything you get: the six parts ---------- */
.ct .parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 30px 0 0; }
.ct .part { min-width: 0; background: #fff; padding: 0 22px 14px; overflow: hidden; }
.ct .part::before { content: ""; display: block; height: 8px; margin: 0 -22px 18px; background: var(--ct-stripe); }
.ct .part .file-tag { color: var(--ct-accent); }
.ct .part h3 { font-size: 24px; margin-bottom: 8px; }
.ct .part-list { list-style: none; padding: 0; margin: 0; }
.ct .part-list li {
  position: relative; padding: 11px 0 11px 42px; border-top: 1px solid var(--ct-line);
  font-family: var(--serif-display); font-size: 17px; line-height: 1.3; color: var(--ct-ink);
}
.ct .part-list li:first-child { border-top: 0; }
.ct .part-list b {
  position: absolute; left: 0; top: 10px; width: 29px; height: 29px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--ct-ink); color: var(--ct-paper); font-family: var(--sans); font-size: 12px; font-weight: 700;
}
.ct .part-list span { display: block; margin-top: 5px; font-family: var(--sans); font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--ct-muted); }
.ct .also { margin: 24px 0 0; font-size: 18px; color: var(--ct-ink); }
.ct .tally { position: relative; background: var(--ct-night); border-top: 0; padding-top: 34px; }
.ct .tally::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--ct-stripe); }
.ct .tally .tally-label, .ct .tally-price b { color: var(--ct-amber); }
.ct details.toc { border: 2px solid var(--ct-ink); border-radius: 6px; }
.ct .toc-group h4, .ct .toc-group b { color: var(--ct-accent); }
.ct .toc-group li small { display: block; margin-top: 3px; font-family: var(--sans); font-size: 13px; line-height: 1.45; color: var(--ct-muted); }

/* ---------- Dark bands ---------- */
.ct .included li::before { background: var(--ct-tangerine); }
.ct .band-dark .included li::before { background: var(--ct-amber); }
.ct .band-dark .price { color: var(--ct-amber); }
.ct .band-dark .ps strong { color: var(--ct-amber); }

/* ---------- Who it is for ---------- */
.ct .for-list li { border-color: var(--ct-line); }
.ct .for-list li::before { background: var(--ct-amber); color: var(--ct-ink); }
.ct .promise { position: relative; background: var(--ct-night); border-left: 0; padding-left: 40px; }
.ct .promise::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; background: var(--ct-rule); }
.ct .promise strong { color: var(--ct-amber); }

/* ---------- Fine print and questions ---------- */
.ct table.details th { background: var(--ct-ink); color: var(--ct-amber); }
.ct table.details td { border-bottom-color: var(--ct-line); }
.ct .faq details { border-bottom-color: #d8c49c; }
.ct .faq details:first-of-type { border-top-color: #d8c49c; }
.ct summary::after { color: var(--ct-accent); }

/* ---------- Links bar under the page ---------- */
.ct .ebook-links { background: var(--ct-paper); border-top: 1px solid var(--ct-line); }
.ct .ebook-links a { border-bottom-color: var(--ct-tangerine); }
.ct .ebook-links a:hover { color: var(--ct-accent); }
.ct .ebook-links span[aria-hidden] { color: var(--ct-accent); }

/* ---------- Tablets and phones ---------- */
@media (max-width: 900px) { .ct .parts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .ct .band-hero::before { height: 10px; }
  .ct .band-dark::before { height: 8px; }
  .ct .parts { grid-template-columns: 1fr; gap: 20px; }
  .ct .rules li, .ct .steps li, .ct .part { box-shadow: 3px 3px 0 var(--ct-ink); }
  .ct .days { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; gap: 10px; }
  .ct .days li { grid-template-columns: 78px 1fr; gap: 12px; padding: 12px; }
  .ct .pains-lead, .ct .also { font-size: 17px; }
  .ct .part-list li { font-size: 17px; }
  .ct .promise { padding-left: 32px; }
  .ct .promise::before { width: 10px; }
  .ct .buy-bar { background: var(--ct-night); border-top: 0; }
  .ct .buy-bar::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 6px; background: var(--ct-stripe); }
}
