/* Campaign, webinar and blog post pages only (the Copilot landing page, the AI Capability Illusion webinar, the blog post template), on top of
   shared/product.css. Owned by the pages-campaign tab (3 Nov); the shared file is product-pages-2's. Linked from each page's body. */

/* ---------- campaign page: logo-and-button top bar, no menu, footer with logo and copyright only (full-site report, challenge 9) ---------- */
body:has(.lp-hero) .nav { min-width: min(66.667vw, 960px); }
body:has(.lp-hero) .nav ul, body:has(.lp-hero) .nav .menu-btn, body:has(.lp-hero) .nav .right > a:not(.btn) { display: none; }
body:has(.lp-hero) .nav .right { margin-left: auto; }
body:has(.lp-hero) .footer { padding: 48px 0 40px; }
body:has(.lp-hero) .footer .cols { display: none; }
body:has(.lp-hero) .footer .big-logo { margin-top: 0; }
@media (max-width: 767px) {
  body:has(.lp-hero) .nav .btn { display: inline-flex; min-height: 38px; padding: 0 14px 0 16px; font-size: 13px; }
  body:has(.lp-hero) .nav .logo img { height: 24px; }
}

/* hero: the booking pages' words-and-form layout (pages-booking.css), a wider headline */
.hero.lp-hero h1 { max-width: 18ch; font-size: clamp(38px, 4vw, 60px); }
.lp-tickset { display: grid; gap: 12px; }
.lp-ticks-h { font-weight: 500; }
.lp-stat { font-size: var(--t-small); color: var(--ink-soft); padding-top: 16px; border-top: 1px solid rgba(12, 53, 92, .15); }
.lp-stat b { color: var(--ink); }
.form-window h2 { text-wrap: balance; }

/* "Press play on a real lesson": the lesson in a phone, inside a colour frame */
.lp-stage { padding: clamp(24px, 4vw, 48px); }
.lp-phone { width: min(100%, 320px); aspect-ratio: 9 / 16; border-radius: 34px; border: 9px solid var(--ink); background: #000; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(12, 53, 92, .55); }
.lp-phone iframe { width: 100%; height: 100%; border: 0; display: block; }

/* library: two format cards and a wide "also included" card, then the 33 lessons with filter and search */
.lp-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lp-card { background: var(--cream); border-radius: var(--r-l); padding: clamp(24px, 3vw, 36px); display: grid; gap: 12px; align-content: start; }
.lp-card h3 { font-size: var(--t-h3); }
.lp-card p { color: var(--ink-soft); }
.lp-card-wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 56px); }
.lp-card-wide > div { display: grid; gap: 20px; }
.lp-card-wide img { width: 100%; height: auto; border-radius: var(--r-m); }
.lp-badge { justify-self: start; font-size: 12px; font-weight: 500; letter-spacing: .02em; padding: 5px 12px; border-radius: 999px; background: rgba(44, 209, 177, .18); color: var(--teal-text); white-space: nowrap; }
.lp-badge.is-course { background: rgba(255, 184, 80, .22); color: var(--sun-text); }
.lp-lab { font-size: var(--t-small); color: var(--ink-soft); }
.lp-lib { margin-top: clamp(40px, 5vw, 64px); }
.lp-lib-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 20px; }
.lp-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.lp-chips button { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--cream); color: var(--ink); font: 400 15px "Outfit", sans-serif; cursor: pointer; }
.lp-chips button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.lp-chips small { margin-left: 8px; opacity: .6; font-size: 13px; }
.lp-chips button:not([aria-pressed="true"]) small { color: var(--slate-text); opacity: 1; }
.lp-search { flex: 1 1 260px; }
.lp-search input { width: 100%; height: 44px; border-radius: 999px; border: 1px solid #cfd8e1; padding: 0 20px; font: 400 15px "Outfit", sans-serif; color: var(--ink); background: var(--paper); }
.lp-rows { border-top: 1px solid var(--line); }
.lp-row { border-bottom: 1px solid var(--line); }
.lp-row summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto auto 20px; gap: 16px; align-items: center; padding: 16px 4px; }
.lp-row summary::-webkit-details-marker { display: none; }
.lp-row summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--ink-soft); text-align: center; }
.lp-row[open] summary::after { content: "\2212"; }
.lp-row summary b { font-weight: 400; }
.lp-row.is-sample summary b { font-weight: 500; }
.lp-item { position: relative; }
.lp-slot { visibility: hidden; }
.lp-item > .lp-sample { position: absolute; }
.lp-sample { font-size: 13px; font-weight: 500; text-decoration: none; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; white-space: nowrap; }
.lp-body { padding: 0 4px 20px; color: var(--ink-soft); max-width: 760px; font-size: var(--t-body); }
.lp-body ul { margin: 10px 0 0; padding-left: 18px; }
.lp-empty { padding: 24px 4px; color: var(--ink-soft); }

/* skills they will use the same day: six tiles */
.lp-skills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.lp-skills > div { background: var(--paper); border-radius: var(--r-l); padding: 28px; color: var(--ink-soft); }
.lp-skills b { display: block; color: var(--ink); font-size: var(--t-h4); font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 10px; }

/* quotes with their numbers (AO beside the pricing form, APM in the closing panel) */
.lp-quote { margin: 16px 0 0; display: grid; gap: 14px; padding: clamp(20px, 2.6vw, 32px); background: var(--cream); border-radius: var(--r-l); }
.lp-quote .ico { width: 48px; height: 48px; border-radius: var(--r-m); object-fit: contain; background: var(--paper); }
.lp-quote blockquote { margin: 0; font-size: var(--t-h4); font-weight: 400; line-height: 1.35; color: var(--ink); }
.lp-quote figcaption { font-size: var(--t-small); color: var(--ink-soft); }
.lp-quote figcaption b { color: var(--ink); }
.lp-qstat { font-size: var(--t-small); color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 12px; }
.lp-qstat b { color: var(--ink); }

/* Deb, the four format cards and the awards */
.lp-fmt { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: clamp(48px, 6vw, 80px); }
.lp-fcard { background: var(--paper); border-radius: var(--r-l); padding: clamp(24px, 3vw, 32px); display: grid; gap: 10px; align-content: start; overflow: hidden; }
.lp-fcard h3 { font-size: var(--t-h3); }
.lp-fcard p { color: var(--ink-soft); }
.lp-fcard.pic { grid-template-rows: auto 1fr; padding-bottom: 0; gap: 24px; }
.lp-fcard.pic > div { display: grid; gap: 10px; }
.lp-fcard.pic img { width: 100%; height: auto; align-self: end; border-radius: var(--r-m) var(--r-m) 0 0; }
.lp-awards { margin-top: clamp(48px, 6vw, 80px); display: grid; gap: 28px; }
.lp-awards h2 { font-size: var(--t-h3); }
.lp-award-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lp-award-row img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--paper); border-radius: var(--r-l); padding: clamp(16px, 2vw, 28px); }
.lp-ring img { width: 100%; height: auto; max-width: 520px; margin: 0 auto; }

/* FAQ: heading on the left, groups of open-and-close rows on the right */
.lp-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.lp-faq h2 { font-size: var(--t-h2); position: sticky; top: 96px; }
.lp-faq-group { margin: 40px 0 8px; }
.lp-faq-group:first-child { margin-top: 0; }
.lp-faq details { border-bottom: 1px solid var(--line); }
.lp-faq-group + details { border-top: 1px solid var(--line); }
.lp-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 17px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--ink-soft); }
.lp-faq details[open] summary::after { content: "\2212"; }
.lp-faq details p { padding: 0 0 20px; color: var(--ink-soft); max-width: 640px; }

/* closing panel: the ask, the call box and APM's quote on the left, the third form on the right */
.lp-final .panel { align-items: start; }
.lp-call { display: grid; gap: 10px; justify-items: start; padding-top: 20px; border-top: 1px solid rgba(12, 53, 92, .15); }
.lp-call h3 { font-size: var(--t-h4); }
.lp-call p { font-size: var(--t-body); font-weight: 400; color: var(--ink-soft); }
.lp-final .lp-quote { background: rgba(255, 255, 255, .7); }
.lp-final .lp-quote p { font-size: var(--t-small); }

@media (max-width: 1100px) {
  .lp-skills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .lp-cards, .lp-card-wide, .lp-skills, .lp-fmt, .lp-faq { grid-template-columns: minmax(0, 1fr); }
  .lp-award-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-faq h2 { position: static; }
  .lp-row summary { position: relative; display: flex; flex-wrap: wrap; gap: 8px 10px; padding-right: 32px; }
  .lp-row summary b { flex: 1 1 100%; }
  .lp-row summary > span:empty { display: none; }
  .lp-row summary::after { position: absolute; right: 4px; top: 16px; }
}

/* fixes after the first look (3 Nov): the "also included" picture held to a sensible height; a wide logo (APM) at its own width */
.lp-card-wide img { width: auto; max-width: 100%; max-height: 420px; justify-self: center; }
.lp-quote .ico.wide { width: auto; height: 36px; padding: 0; background: none; border-radius: 0; }

/* ---------- webinar page (The AI Capability Illusion): laid out as the Webinars replay page, with pages-booking.css and pages-hubs.css ---------- */
.wb-when { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: var(--t-lede); }
.wb-when svg { flex: none; color: var(--teal-deep); }
.wb-pic img { max-height: 420px; width: auto; border-radius: var(--r-m); }
.closer.with-form .ticks { font-size: var(--t-lede); font-weight: 400; }

/* ---------- blog post template: title over the still colour, the main picture pulled up over the sheet's edge, contents beside the body ---------- */
.post-hero { min-height: 0; text-align: left; padding: calc(var(--navh) + 64px) 0 clamp(140px, 14vw, 220px); }
.post-hero .wrap { justify-items: start; gap: 20px; max-width: calc(880px + 2 * var(--inner)); }
.post-hero h1 { font-size: clamp(36px, 4.2vw, 64px); max-width: 22ch; }
.post-hero .lede { max-width: 680px; }
.post-date { font-size: var(--t-small); color: var(--ink-soft); }
.post-main-pic { max-width: calc(1080px + 2 * var(--inner)); margin-top: calc(-1 * clamp(110px, 11vw, 180px)); position: relative; }
.post-main-pic img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--r-xl); box-shadow: 0 40px 80px -40px rgba(12, 53, 92, .45); }
.post-sec { padding-top: clamp(48px, 6vw, 88px); }
.post-grid { display: grid; grid-template-columns: 240px minmax(0, 720px); justify-content: center; gap: clamp(40px, 6vw, 96px); align-items: start; }
.post-toc { position: sticky; top: 96px; display: grid; gap: 14px; }
.post-toc h2 { font: 500 11px/1.4 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.post-toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); counter-reset: t; }
.post-toc li { counter-increment: t; }
.post-toc a { display: grid; grid-template-columns: 22px 1fr; gap: 6px; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.35; color: var(--ink-soft); text-decoration: none; transition: color .3s, border-color .3s; }
.post-toc a::before { content: counter(t); color: var(--mute); font-size: 12px; padding-top: 1px; }
.post-toc a:hover, .post-toc a.on { color: var(--ink); }
.post-toc a.on { border-left-color: var(--teal-deep); }

/* the post's body, as its CMS writes it */
.post-body { font-size: var(--t-body); line-height: 1.7; color: var(--ink); }
.post-body > * + * { margin-top: 1.1em; }
.post-body h2 { font-size: clamp(24px, 1.9vw, 28px); margin-top: 1.8em; scroll-margin-top: 96px; }
.post-body h3 { font-size: var(--t-h4); margin-top: 1.6em; scroll-margin-top: 96px; }
.post-body h4 { font-size: 18px; font-weight: 500; margin-top: 1.4em; }
.post-body > :first-child { margin-top: 0; }
.post-body p, .post-body li { color: #233f5c; }
.post-body a { color: var(--teal-text); text-underline-offset: 3px; }
.post-body a:hover { color: var(--ink); }
.post-body ul, .post-body ol { padding-left: 1.3em; display: grid; gap: .4em; }
.post-body li::marker { color: var(--teal-deep); }
.post-body figure { margin: 2em 0; }
.post-body figure img { width: 100%; height: auto; border-radius: var(--r-l); }
.post-body figure iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r-l); display: block; }
.post-body figcaption { margin-top: 10px; font-size: var(--t-small); color: var(--ink-soft); }
.post-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--teal); font-size: var(--t-h4); font-weight: 400; line-height: 1.45; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.posts.rel { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.post-closer .shot { width: 100%; height: auto; border-radius: var(--r-l); }

@media (max-width: 1100px) {
  .posts.rel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin: 0 auto; }
  .post-toc { position: static; }
}
@media (max-width: 767px) {
  .post-hero { padding: calc(var(--navh) + 40px) 0 120px; }
  .post-main-pic { margin-top: -96px; }
  .post-main-pic img { aspect-ratio: 4 / 3; }
  .post-body { font-size: 17px; }
  .posts.rel { grid-template-columns: minmax(0, 1fr); }
}
.post-closer .btns { justify-content: flex-start; }

/* ---------- fixes from review, 3 Nov (review/campaign.md) ---------- */
/* 1: "Request pricing" jumps land on the form card. product.css's scroll-padding-top (88px) already clears the floating top bar
   (10px down, 56px tall) by 22px, so the card takes no extra margin of its own. */
.lp-jump { scroll-margin-top: 0; }
/* 2: on phones the hero reads H1, lead, form, then the format ticks and the AO line */
@media (max-width: 700px) {
  .lp-hero .wrap { gap: 24px; }
  .hero.lp-hero .words { display: contents; }
  .lp-hero h1 { order: 1; }
  .lp-hero .lede { order: 2; }
  .lp-hero .form-window { order: 3; }
  .lp-hero .lp-tickset { order: 4; }
  .lp-hero .lp-stat { order: 5; }
  .lp-hero .ticks.rich { order: 4; } /* pricing-copilot's hero ticks (3 Nov) */
}
/* 5: the lesson list shows its first 8 rows until "Show all" */
.lp-more { margin-top: 20px; }
.lp-more[hidden] { display: none; }
/* 11 (webinar): the hero form card's title is a paragraph styled as the card heading, so the page's H3s don't sit under it */
.form-window .fw-title { font-size: var(--t-h3); font-weight: 300; letter-spacing: -0.035em; line-height: 1.05; text-wrap: balance; color: var(--ink); margin-bottom: 8px; }

/* ---------- Copilot sample lessons (pages-copilot tab, 3 Nov): the lesson player fills the hero, on the page's wash ---------- */
.hero.lp-player { min-height: 0; display: block; padding: calc(var(--navh) + 40px) 0 64px; }
/* Blog and Copilot fix list 1 (3 Nov): the lesson player takes focus on load and scrolled this box, hiding the course title; a clipped box can't be scrolled by script. */
.lp-player { overflow: clip; }
.lp-player iframe { display: block; width: 100%; height: 1200px; border: 0; border-radius: var(--r-l); background: #fff; box-shadow: 0 24px 60px rgba(12, 53, 92, .12); }
@media (max-width: 700px) { .hero.lp-player { padding: calc(var(--navh) + 24px) 0 40px; } .lp-player .wrap { padding-inline: 12px; } }

/* ---------- Second Copilot landing page (pages-copilot tab, 3 Nov): the featured lesson beside the hero's words ---------- */
.lp-feature { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; justify-self: stretch; background: rgba(255, 255, 255, .72); border-radius: var(--r-xl); padding: clamp(20px, 2.5vw, 32px); text-align: left; }
.lp-feature .lp-phone { width: 220px; }
.lp-feature-words { display: grid; gap: 12px; }
.lp-feature-words h2 { font-size: var(--t-h4); font-weight: 400; letter-spacing: -0.02em; line-height: 1.2; }
.lp-feature-words p { color: var(--ink-soft); }
.lp-tickset .btns { margin-top: 8px; justify-content: flex-start; }
.lp-centre { justify-content: center; margin-top: 40px; }
@media (max-width: 1100px) { .lp-feature { grid-template-columns: minmax(0, 1fr); justify-items: center; } }
@media (max-width: 700px) { .lp-hero .lp-feature { order: 6; } }
/* Full sweep, 11 Nov (golive-order/full-sweep-11nov/report.md) */
/* 32: small pictures in old posts (123 to 600px wide) were stretched to the column. */
.post-body figure img { width: auto; max-width: 100%; display: block; margin-inline: auto; }
