/* =========================================================
   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; }

/* =========================================================
   The Coverage Code page (owner request, October 18, 2026). The Playbook page's layout and rules above, with the book's dark
   "computer code" look in the hero and dark bands: near-black, gold and ice blue, with monospace labels. Scoped to main.cc.
   ========================================================= */
.cc { --cc-night: #0b0d12; --cc-blue: #8fd0ff; --cc-blue-text: #1f5f99; }
.cc .band-hero { background: var(--cc-night); }
.cc .band-hero h1 { color: #fff; }
.cc .band-hero .lead, .cc .band-hero .detail, .cc .band-hero .status-message { color: #d9d3c6; }
.cc .band-hero .punch { color: var(--gold-light); }
.cc .band-hero .counts li { color: #e8e2d4; border-color: rgba(226, 197, 133, .55); background: rgba(255, 255, 255, .04); }
.cc .band-hero .button.secondary { color: #fff; border-color: var(--gold-light); }
.cc .band-hero .button.secondary:hover { background: var(--gold); color: var(--black); }
.cc .band-hero .eyebrow, .cc .band-dark .eyebrow { color: var(--cc-blue); }
.cc .band-dark { background: var(--cc-night); }
.cc .eyebrow, .cc .file-tag, .cc .steps .num { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }
.cc .eyebrow { color: var(--cc-blue-text); letter-spacing: .14em; }
.cc .eyebrow::before { content: "> "; }
.cc .steps .num { color: var(--gold-dark); font-size: 30px; }
.cc .steps .num::before { content: "0"; }
.cc .steps li:nth-child(n+10) .num::before { content: ""; }
.cc .part-list li > span { display: block; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; color: var(--cc-blue-text); }
.cc .narrow .eyebrow { color: var(--cc-blue-text); }

/* ---------- Everything you get: the parts (cards with numbered rows) ---------- */
.cc .parts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 30px 0 0; }
.cc .part { min-width: 0; background: #fff; border: 1px solid #e3d7c2; border-top: 3px solid var(--gold); padding: 18px 22px 12px; }
.cc .part h3 { font-size: 24px; margin-bottom: 8px; }
.cc .part-list { list-style: none; padding: 0; margin: 0; }
.cc .part-list li { position: relative; padding: 10px 0 10px 54px; border-top: 1px solid #e3d7c2; font-family: var(--serif-display); font-size: 17px; line-height: 1.3; color: var(--ink); }
.cc .part-list li:first-child { border-top: 0; }
.cc .part-list b { position: absolute; left: 0; top: 10px; min-width: 40px; height: 24px; padding: 0 6px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #0b0d12; color: var(--gold-light); font-family: var(--sans); font-size: 12px; font-weight: 700; }
@media (max-width: 760px) { .cc .parts { grid-template-columns: 1fr; gap: 18px; } .cc .part-list li { font-size: 16.5px; } }
