/* New course page (course-v2), scoped to .cp on top of home.css and topic.css. Same family as the home and topic pages
   (Lexend, Source Sans 3, green and yellow, soft rounded shapes), with the belt as this page's own motif. */
.cp { --cp-belt: var(--belt-green); --cp-belt-d: #0c7a3e; --cp-tip: var(--belt-yellow); --cp-ink: var(--hp-ink); --cp-red: #c8102e; --cp-line: var(--hp-line); --cp-info: #163f63; --cp-info-mid: #2b6a99; --cp-info-soft: #dbe9f4; --cp-info-wash: #eff5fa; }
/* Belt colours mean belts on this page, so dates, steps and statuses use --cp-info blue and never yellow or green. */
.cp--yellow { --cp-belt: var(--belt-yellow); --cp-belt-d: #cfa200; --cp-tip: #fff3b0; }
.cp--black { --cp-belt: var(--belt-black); --cp-belt-d: #0d2318; --cp-tip: var(--belt-green); }
.cp--upgrade { --cp-belt: var(--belt-upgrade); --cp-belt-d: #243d33; }
.cp--master { --cp-belt: var(--belt-master); --cp-belt-d: #35205e; }
.cp--lean { --cp-belt: var(--belt-lean); --cp-belt-d: #164667; }

.cp .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cp-sec { padding: 80px 0; color: var(--hp-text); }
.cp h2 { font-size: clamp(28px, 3.3vw, 40px); line-height: 1.15; font-weight: 700; color: var(--cp-ink); }
.cp h3 { font-size: 19px; font-weight: 600; color: var(--cp-ink); }
.cp .cp-lead { margin-top: 14px; max-width: 62ch; font-size: 19px; line-height: 1.5; color: var(--hp-muted); }

/* Buttons: the site's yellow pill */
.cp-go { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 12px 26px; border: 0; border-radius: 999px; background: var(--hp-yellow); color: #111 !important; font-family: var(--hp-head); font-size: 17px; font-weight: 600; line-height: 1.1; text-decoration: none !important; box-shadow: 0 8px 22px rgba(227, 208, 0, .45); transition: background .15s, box-shadow .15s, transform .1s; }
.cp-go:hover { background: var(--hp-yellow-600); box-shadow: 0 12px 28px rgba(227, 208, 0, .55); }
.cp-go:active { transform: scale(.98); }
.cp-go--sm { min-height: 44px; padding: 9px 22px; font-size: 15px; }
.cp-book { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 10px 22px; border: 2px solid var(--hp-green-700); border-radius: 999px; background: #fff; color: var(--hp-green-700) !important; font-family: var(--hp-head); font-size: 16px; font-weight: 600; line-height: 1.1; text-align: center; text-decoration: none !important; transition: background .15s, color .15s; }
.cp-book:hover { background: var(--hp-green-700); color: #fff !important; }
.cp-book[hidden] { display: none; }
.cp-book--sm { min-height: 44px; padding: 7px 18px; font-size: 15px; }
.cp-acts { display: flex; flex-direction: column; gap: 8px; }
.cp-go:focus-visible, .cp-book:focus-visible { outline: 3px solid var(--hp-green-700); outline-offset: 2px; }

/* First fold, like a product page: what you get on the left, a simple buy box on the right */
.cp-hero { padding: 26px 0 30px; background: linear-gradient(115deg, #fff8cf 0%, #e9f9ef 48%, #dfeffa 100%); }
.cp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(360px, .72fr); gap: 36px; align-items: stretch; }
.cp-hero__left { display: flex; flex-direction: column; min-width: 0; }
.cp .cp-hero h1 { margin-top: 12px; font-size: clamp(32px, min(3.5vw, 6.4vh), 52px); line-height: 1.08; font-weight: 700; letter-spacing: -.025em; color: var(--cp-ink); }
.cp .cp-hero__value { margin: 10px 0 0; max-width: 62ch; font-size: clamp(17px, 2.5vh, 20px); line-height: 1.4; color: var(--hp-text); }

/* The things you get, with what's included called out */
.cp-stage { flex: 1 1 auto; display: grid; grid-template-columns: 172px minmax(0, 1fr) 172px; gap: 10px; align-items: center; min-height: 270px; margin-top: 12px; }
.cp-calls { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.cp-call { position: relative; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 10px; background: rgba(255, 255, 255, .78); border-radius: 14px; color: var(--cp-ink) !important; text-decoration: none !important; box-shadow: 0 2px 8px rgba(13, 35, 24, .08); transition: transform .16s var(--ease-out), box-shadow .16s, background .16s; }
.cp-call:hover { background: #fff; transform: translateY(-2px); box-shadow: var(--hp-shadow); }
.cp-call__i { flex: none; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--cp-info-soft); color: var(--cp-info); }
.cp-call__i svg { width: 19px; height: 19px; }
.cp-call__t { min-width: 0; line-height: 1.15; }
.cp-call__t strong { display: block; font-family: var(--hp-head); font-size: 15px; font-weight: 700; }
.cp-call__t small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.2; color: var(--hp-muted); }

.cp-art { display: flex; flex-direction: column; justify-content: center; align-self: stretch; container-type: inline-size; }
.cp-art p { margin: 0; }
.cp-art__laptop { width: 90%; margin-left: auto; }
.cp-art__screen { padding: 3cqw 4cqw 4cqw; background: #fff; border: 2.4cqw solid var(--cp-ink); border-bottom-width: 3cqw; border-radius: 3.2cqw 3.2cqw 0 0; font-size: 4cqw; line-height: 1.2; color: var(--cp-ink); }
.cp-art__base { height: 3cqw; margin: 0 -6%; background: linear-gradient(180deg, #5b6b63, #35433c); border-radius: 0 0 3cqw 3cqw; }
.cp .cp-art__bar { display: flex; align-items: center; gap: 1.2cqw; padding-bottom: 2cqw; font-family: var(--hp-head); font-size: 4.2cqw; font-weight: 600; }
.cp-art__bar i { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: #b8c4cd; }
.cp-art__bar i:nth-child(3) { background: var(--hp-blue); margin-right: 1.5cqw; }
.cp .cp-art__row { display: flex; justify-content: space-between; align-items: center; gap: 2cqw; padding: 1.7cqw 0; border-top: 1px solid var(--cp-line); font-size: 3.9cqw; line-height: 1.2; }
.cp-art__row b { padding: .3cqw 2cqw; border-radius: 99px; background: var(--hp-soft); font-size: 3.4cqw; font-weight: 700; white-space: nowrap; }
.cp-art__row b.is-ok { background: var(--cp-info-soft); color: var(--cp-info); }
.cp-art__row b.is-go { background: var(--cp-info); color: #fff; }
.cp-art__cert { position: relative; z-index: 1; width: 58%; margin: -9cqw 0 0 1cqw; padding: 2.6cqw 3cqw 3cqw; background: #fff; border-radius: 2cqw; box-shadow: 0 12px 28px rgba(13, 35, 24, .24); transform: rotate(-4deg); }
.cp .cp-art__cert p { margin-bottom: 0; text-align: center; }
.cp-art__cert .cp-seal { display: block; width: 13cqw; margin: 0 auto; }
.cp .cp-art__cert-t { margin-top: 1.2cqw; font-family: var(--hp-head); font-size: 3.4cqw; line-height: 1.15; font-weight: 700; color: var(--cp-ink); }
.cp .cp-art__cert-n { margin-top: 1cqw; font-family: var(--hp-body); font-size: 3.6cqw; line-height: 1.15; color: var(--cp-ink); }
.cp .cp-art__cert-c { margin-top: .6cqw; font-family: var(--hp-body); font-size: 2.8cqw; line-height: 1.15; color: var(--hp-muted); }

/* Buy box */
.cp-buy { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 18px 20px 10px; background: #fff; border-radius: 22px; box-shadow: var(--hp-shadow-lg); }
.cp .cp-buy__price { margin: 0; font-family: var(--hp-head); line-height: 1; color: var(--cp-ink); }
.cp-buy__price small { font-size: 16px; font-weight: 600; color: var(--hp-muted); }
.cp-buy__price strong { font-size: clamp(46px, min(4.4vw, 8vh), 62px); font-weight: 700; letter-spacing: -.035em; }
.cp-buy__price span { font-size: 17px; font-weight: 500; color: var(--hp-muted); }
.cp-buy__price em { position: absolute; top: -13px; right: 18px; padding: 5px 13px; border-radius: 999px; background: var(--cp-red); color: #fff; font-size: 15px; font-style: normal; font-weight: 600; white-space: nowrap; box-shadow: 0 6px 14px rgba(200, 16, 46, .3); }
.cp-off { padding: 1px 8px; border-radius: 999px; background: var(--cp-red); color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; }
.cp .cp-buy__sub { margin: 4px 0 0; font-size: 14px; line-height: 1.3; color: var(--hp-muted); }
.cp-buy__fmts { display: flex; flex-direction: column; gap: 5px; margin-top: 12px; }
.cp-buy__fmts button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 5px 12px; border: 1.5px solid var(--cp-line); border-radius: 13px; background: #fff; text-align: left; color: var(--cp-ink); cursor: pointer; transition: border-color .12s, background .12s; }
.cp-buy__fmts button:hover { border-color: var(--hp-green); }
.cp-buy__fmts button[aria-checked="true"] { border-color: var(--hp-green); background: var(--hp-green-50); box-shadow: inset 0 0 0 1px var(--hp-green); }
.cp-buy__dot { flex: none; width: 18px; height: 18px; border: 2px solid #8b9a92; border-radius: 50%; background: #fff; }
.cp-buy__fmts button[aria-checked="true"] .cp-buy__dot { border: 5px solid var(--hp-green); }
.cp-buy__name { flex: 1 1 auto; min-width: 0; line-height: 1.15; }
.cp-buy__name b { display: block; font-family: var(--hp-head); font-size: 15px; font-weight: 600; }
.cp-buy__name small { display: block; margin-top: 1px; font-size: 13px; line-height: 1.15; color: var(--hp-muted); }
.cp-buy__low { flex: none; padding: 1px 7px; border-radius: 99px; background: var(--cp-info); color: #fff; font-size: 12px; font-weight: 700; }
.cp-buy__p { flex: none; font-family: var(--hp-head); font-size: 15px; font-weight: 700; white-space: nowrap; }
.cp-buy__date { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.cp-buy__date[hidden] { display: none; }
.cp-buy__date label { flex: none; margin: 0; font-weight: 600; font-size: 15px; color: var(--cp-ink); }
.cp-buy__date select { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 0 10px; border: 1.5px solid #8b9a92; border-radius: 12px; background: #fff; font-weight: 600; color: var(--cp-ink); }
/* Classroom: location, then that town's dates as cards */
.cp-buy__where { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.cp-buy__where[hidden], .cp-buy__days[hidden] { display: none; }
.cp-buy__where label { display: inline-flex; align-items: center; gap: 5px; flex: none; margin: 0; font-weight: 600; font-size: 15px; color: var(--cp-ink); }
.cp-buy__where label svg { width: 17px; height: 17px; color: var(--hp-green); }
.cp-buy__where select { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 0 10px; border: 1.5px solid #8b9a92; border-radius: 12px; background: #fff; font-weight: 600; color: var(--cp-ink); }
.cp-buy__where select:focus { outline: none; border-color: var(--hp-green); box-shadow: 0 0 0 3px var(--hp-green-50); }
.cp-buy__days { margin-top: 10px; animation: cp-days-in .25s ease-out; }
@keyframes cp-days-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.cp .cp-buy__days-h { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--hp-muted); }
.cp-buy__chips { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.cp-buy__chips button { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; min-height: 52px; padding: 7px 11px; border: 1.5px solid var(--cp-line); border-radius: 12px; background: #fff; text-align: left; color: var(--cp-ink); cursor: pointer; transition: border-color .12s, background .12s, transform .12s; }
.cp-buy__chips button:hover:not(:disabled) { border-color: var(--hp-green); transform: translateY(-1px); }
.cp-buy__chips button b { font-family: var(--hp-head); font-size: 14px; font-weight: 600; }
.cp-buy__chips button span { font-size: 14px; font-weight: 700; color: var(--hp-green-700); }
.cp-buy__chips button small.cp-flag { margin-top: 3px; padding: 0 7px; font-size: 11px; }
.cp-buy__chips button[aria-checked="true"] { border-color: var(--hp-green); background: var(--hp-green-50); box-shadow: inset 0 0 0 1px var(--hp-green); }
.cp-buy__chips button[aria-checked="true"]::after { content: ""; position: absolute; top: 8px; right: 9px; width: 16px; height: 16px; border-radius: 50%; background: var(--hp-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.cp-buy__chips button:disabled { cursor: not-allowed; opacity: .6; }
.cp-buy__chips button:disabled span { color: var(--hp-muted); font-weight: 600; }
.cp-buy__chips .cp-buy__chips-more { align-items: center; justify-content: center; border-style: dashed; color: var(--hp-green-700); font-weight: 600; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .cp-buy__days { animation: none; } }
.cp-buy__info { flex: 1 1 auto; min-height: 44px; padding-top: 8px; font-size: 14px; line-height: 1.3; }
.cp .cp-buy__info p { margin: 3px 0 0; font-size: 14px; line-height: 1.3; color: var(--hp-muted); }
.cp-buy__info .cp-dots { max-width: none; }
.cp-buy__info .cp-dots i { width: 7px; height: 7px; }
.cp-buy .cp-go, .cp-buy .cp-book { width: 100%; min-height: 50px; margin-top: 6px; }
.cp .cp-buy__more { display: flex; justify-content: center; gap: 12px; margin: 0; font-size: 14px; }
.cp-buy__more a { display: inline-flex; align-items: center; min-height: 40px; color: var(--hp-green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cp-tile__i { align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; color: var(--hp-green-700); }

@media (min-width: 1081px) {
}
@media (max-width: 1080px) {
  .cp-stage { order: 2; min-height: 0; }
  .cp-buy { order: 1; }
}
@media (max-width: 760px) {
  .cp-stage { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cp-art { grid-column: 1 / -1; grid-row: 1; padding-bottom: 16px; }
  .cp-calls { display: contents; }
  .cp-call { height: 100%; }
  .cp-buy { padding: 14px 14px 8px; }
  .cp-buy__name small { display: none; }
}
@media (prefers-reduced-motion: reduce) { .cp-call { transition: none; } }

.cp-flag { display: inline-block; padding: 1px 10px; border-radius: 999px; background: var(--cp-info-soft); color: var(--cp-info); font-family: var(--hp-head); font-size: 13px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.cp-flag--few { background: #fde8ea; color: #b00d26; }
.cp-flag--filling { background: #fdeee0; color: #a34300; }
.cp-flag--best { background: var(--cp-info); color: #fff; }
.cp-flag--full { background: #eceff1; color: #5c6a63; }

/* The cheapest courses: two tickets on the site's deep green */
.cp-deals { --notch: var(--hp-green-700); padding: 56px 0 44px; background: var(--hp-green-700); color: #fff; scroll-margin-top: 90px; }
.cp-deals__head { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 14px 48px; align-items: end; }
.cp .cp-deals h2 { color: #fff; }
.cp .cp-deals__head p { margin: 0; font-size: 18px; line-height: 1.5; color: #e7f5ed; }
.cp-deals__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 34px; }
.cp-deal { display: grid; grid-template-columns: minmax(0, 1fr) 236px; background: #fff; border-radius: 22px; color: var(--hp-text); box-shadow: 0 18px 40px rgba(0, 30, 15, .3); }
.cp-deal__main { padding: 24px 22px 22px 26px; }
.cp .cp-deal h3 { font-size: 17px; line-height: 1.3; font-weight: 600; color: var(--hp-green-700); }
.cp .cp-deal__when { margin: 6px 0 8px; font-family: var(--hp-head); font-size: clamp(23px, 2.1vw, 28px); line-height: 1.15; font-weight: 700; letter-spacing: -.015em; color: var(--cp-ink); }
.cp .cp-deal__main p { font-size: 16px; line-height: 1.4; }
.cp .cp-deal__note { margin-top: 10px; color: var(--hp-muted); font-size: 15px; }
.cp .cp-deal__soon { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 12px; font-weight: 600; color: var(--cp-info); }
.cp-deal__stub { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 216px; padding: 26px 20px 22px; border-left: 2px dashed #b9cfe0; border-radius: 0 22px 22px 0; background: var(--cp-info-wash); }
.cp-deal__stub::before, .cp-deal__stub::after { content: ""; position: absolute; left: -12px; width: 22px; height: 22px; border-radius: 50%; background: var(--notch); }
.cp-deal__stub::before { top: -11px; }
.cp-deal__stub::after { bottom: -11px; }
.cp-deal__seal { position: absolute; top: -18px; right: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 50%; background: var(--cp-red); color: #fff; font-family: var(--hp-head); font-size: 14px; font-weight: 600; line-height: 1; box-shadow: 0 8px 20px rgba(0, 30, 15, .3); transform: rotate(8deg); }
.cp-deal__seal b { font-size: 28px; font-weight: 700; letter-spacing: -.03em; }
.cp-deal__stub s { font-size: 17px; color: var(--hp-muted); }
.cp-deal__stub strong { font-family: var(--hp-head); font-size: 40px; line-height: 1.05; font-weight: 700; letter-spacing: -.03em; color: var(--cp-ink); white-space: nowrap; }
.cp-deal__stub strong small { font-family: var(--hp-body); font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--hp-muted); }
.cp-deal__inc { margin-bottom: 12px; font-size: 14px; color: var(--hp-muted); }
.cp-deal__stub .cp-go, .cp-deal__stub .cp-book { min-height: 48px; padding: 8px 14px; font-size: 16px; }
.cp-deals__next { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 26px; }
.cp .cp-deals__next h3 { font-size: 17px; font-weight: 600; color: #fff; }
.cp-deals__next ul { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-deals__next a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 16px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 999px; color: #fff !important; font-size: 16px; text-decoration: none !important; transition: background .15s, border-color .15s; }
.cp-deals__next a:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.cp-deals__next b { font-weight: 700; }
.cp-deals__next span { color: #fff; font-weight: 700; }
.cp .cp-deals__small { margin: 16px 0 0; font-size: 14px; color: #cfe8d9; }
@media (max-width: 1180px) {
  .cp-deals__grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
}
@media (max-width: 760px) {
  .cp-deals { padding: 40px 0 32px; }
  .cp-deals__head { grid-template-columns: minmax(0, 1fr); }
  .cp-deal { grid-template-columns: minmax(0, 1fr); }
  .cp-deal__main { padding: 20px 18px 18px; }
  .cp-deal__stub { min-height: 0; padding: 18px 18px 18px; border-left: 0; border-top: 2px dashed #b9cfe0; border-radius: 0 0 22px 22px; }
  .cp-deal__stub::before { top: -12px; left: -11px; }
  .cp-deal__stub::after { top: -12px; left: auto; right: -11px; bottom: auto; }
  .cp-deal__seal { top: 12px; right: 14px; width: 76px; height: 76px; }
  .cp-deal__seal b { font-size: 25px; }
}

.cp-dates { background: var(--hp-soft); scroll-margin-top: 90px; }
.cp-dates__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; margin-bottom: 22px; }
.cp-dates__head > div:first-child { flex: 1 1 480px; }
.cp-dates__head p { margin: 10px 0 0; max-width: 58ch; font-size: 18px; color: var(--hp-muted); }

.cp-card__was { display: block; font-size: 14px; color: var(--hp-muted); }

.cp-solo { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 28px; align-items: center; padding: 28px; background: #fff; border-radius: 26px; box-shadow: var(--hp-shadow-lg); }
.cp-solo p { margin: 8px 0 0; max-width: 62ch; }
.cp-solo .cp-row__price { text-align: right; line-height: 1.15; white-space: nowrap; }
.cp-solo .cp-row__price strong { display: block; margin-top: 3px; font-family: var(--hp-head); font-size: 32px; font-weight: 700; letter-spacing: -.02em; color: var(--cp-ink); }
.cp-solo .cp-row__price strong small { font-family: var(--hp-body); font-size: 15px; font-weight: 500; letter-spacing: 0; }
.cp-solo .cp-row__price > small { font-size: 14px; color: var(--hp-muted); }
.cp .cp-small { margin: 18px 4px 0; font-size: 14px; color: var(--hp-muted); }
@media (max-width: 760px) {
  .cp-solo { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px; }
  .cp-solo .cp-row__price { text-align: left; }
}

/* What's included, itemised like a receipt */
.cp-inc { background: var(--hp-cream); }
.cp-inc__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.cp .cp-inc .hp-answer { margin: 16px 0 24px; max-width: 54ch; font-size: 18px; line-height: 1.6; color: var(--hp-text); }
.cp-inc .hp-answer strong { color: var(--cp-ink); }
.cp-receipt-wrap { filter: drop-shadow(0 16px 30px rgba(60, 50, 0, .16)); }
.cp-receipt { padding: 24px 28px 34px; background: #fff; --tooth: 11px; mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--tooth)) no-repeat, conic-gradient(from -45deg at 50% 100%, transparent 0deg, #000 1deg 89deg, transparent 90deg) bottom / calc(var(--tooth) * 2) var(--tooth) repeat-x; -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--tooth)) no-repeat, conic-gradient(from -45deg at 50% 100%, transparent 0deg, #000 1deg 89deg, transparent 90deg) bottom / calc(var(--tooth) * 2) var(--tooth) repeat-x; border-radius: 18px 18px 0 0; }
.cp .cp-receipt__head { margin: 0 0 6px; padding-bottom: 12px; border-bottom: 2px solid var(--cp-ink); font-family: var(--hp-head); font-size: 19px; font-weight: 700; color: var(--cp-ink); }
.cp-receipt li { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px dashed var(--cp-line); }
.cp .cp-receipt h3 { font-size: 17px; line-height: 1.3; }
.cp .cp-receipt li p { margin: 2px 0 0; font-size: 15px; line-height: 1.35; color: var(--hp-muted); }
.cp-receipt li > span { flex: none; font-size: 15px; font-weight: 600; color: var(--hp-green-700); }
.cp .cp-receipt__line { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0 0; font-size: 17px; font-weight: 600; color: var(--cp-ink); }
.cp-receipt__line b { font-family: var(--hp-head); font-size: 22px; font-weight: 700; color: var(--hp-green-700); }
.cp .cp-receipt__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 10px 0 0; padding-top: 12px; border-top: 2px solid var(--cp-ink); font-size: 17px; font-weight: 600; color: var(--cp-ink); }
.cp-receipt__total b { font-family: var(--hp-head); font-size: 28px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.cp-receipt__total small { font-family: var(--hp-body); font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--hp-muted); }

/* Exam */
.cp-exam { background: #fff; }
.cp-exam__top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 44px; align-items: start; margin-top: 30px; }
.cp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 28px 0 0 !important; padding: 0 !important; list-style: none; }
.cp-steps li { display: flex; gap: 14px; align-items: flex-start; }
.cp-steps span { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--cp-info); color: #fff; font-family: var(--hp-head); font-size: 18px; font-weight: 700; }
.cp-steps b { display: block; font-family: var(--hp-head); font-size: 19px; font-weight: 600; line-height: 1.3; color: var(--cp-ink); }
.cp .cp-steps p { margin: 3px 0 0; font-size: 16px; line-height: 1.45; color: var(--hp-muted); }
.cp-papers { margin-top: 34px; }
.cp .cp-papers h3 { font-size: 21px; }
.cp-papers.cp-modes table { margin-top: 12px; }
.cp-papers.cp-modes thead th { background: var(--cp-info-soft); color: var(--cp-info); }
.cp-papers.cp-modes td b { font-family: var(--hp-head); font-size: 18px; font-weight: 700; color: var(--cp-ink); }
.cp-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; }
.cp-facts > div { padding: 12px 0; border-top: 1px solid var(--cp-line); }
.cp-facts dt { font-family: var(--hp-head); font-size: 15px; font-weight: 600; color: var(--cp-info); }
.cp-facts dd { margin: 2px 0 0; font-size: 16px; line-height: 1.4; color: var(--cp-ink); }
.cp .cp-spec__after { margin-top: 16px; max-width: 62ch; color: var(--hp-muted); }
.cp-quiz { position: sticky; top: 96px; padding: 24px; border-radius: 22px; background: var(--hp-cream); border: 1px solid #f0e7a8; box-shadow: var(--hp-shadow); }
.cp .cp-quiz h3 { font-size: 22px; line-height: 1.2; font-weight: 700; }
.cp .cp-quiz > p { margin: 6px 0 14px; font-size: 15px; line-height: 1.4; color: var(--hp-muted); }
.cp-quiz fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.cp-quiz legend { margin: 0 0 10px; border: 0; font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--cp-ink); }
.cp-quiz [data-o] { display: block; width: 100%; min-height: 46px; margin-bottom: 6px; padding: 8px 14px; border: 1px solid var(--cp-line); border-radius: 12px; background: #fff; text-align: left; font-weight: 600; line-height: 1.25; color: var(--cp-ink); cursor: pointer; transition: border-color .12s, background .12s; }
.cp-quiz [data-o]:hover { border-color: var(--hp-green); }
.cp-quiz [data-o].is-right { background: var(--hp-green); border-color: var(--hp-green); color: #fff; }
.cp-quiz [data-o].is-right::after { content: " (correct)"; }
.cp-quiz [data-o].is-wrong { background: var(--cp-red); border-color: var(--cp-red); color: #fff; }
.cp-quiz [data-o].is-wrong::after { content: " (not this one)"; }
.cp .cp-quiz__why { margin: 8px 0; font-size: 15px; line-height: 1.4; }
.cp-quiz__next { min-height: 44px; padding: 6px 20px; border: 0; border-radius: 999px; background: var(--hp-green); color: #fff; font-weight: 600; cursor: pointer; }
.cp .cp-quiz__score { margin: 0 0 6px; font-family: var(--hp-head); font-size: 26px; line-height: 1.15; font-weight: 700; color: var(--cp-ink); }

/* Learn: outcomes and the course outline explorer */
.cp-learn { background: var(--hp-soft); }
.cp-outcomes { display: grid; grid-template-columns: 1.2fr repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px !important; }
.cp-outcomes li { padding: 20px; background: #fff; border-radius: 18px; box-shadow: 0 1px 2px rgba(13, 35, 24, .06); }
.cp-outcomes .cp-tile__i { display: flex; margin-bottom: 10px; background: var(--cp-info-soft); color: var(--cp-info); }
.cp .cp-outcomes h3 { font-size: 18px; line-height: 1.25; }
.cp .cp-outcomes p { margin: 5px 0 0; font-size: 16px; line-height: 1.4; color: var(--hp-muted); }
.cp-outcomes .is-main { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; background: linear-gradient(150deg, var(--hp-green-700), var(--hp-green)); color: #fff; }
.cp .cp-outcomes .is-main h3 { font-size: 26px; line-height: 1.15; font-weight: 700; color: #fff; }
.cp .cp-outcomes .is-main p { margin-top: 8px; font-size: 17px; color: #e7f5ed; }
.cp-dmaic { display: flex; gap: 6px; margin-bottom: auto; padding-bottom: 28px; }
.cp-dmaic i { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, .16); font-family: var(--hp-head); font-size: 22px; font-style: normal; font-weight: 700; color: #fff; }
.cp-plan__head { margin-top: 56px; }
.cp-plan { margin-top: 22px; padding: 26px 30px 12px; background: #fff; border-radius: 22px; box-shadow: var(--hp-shadow); }
.cp-plan__part { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding-bottom: 14px; border-bottom: 4px solid var(--belt-green); }
.cp-plan--yellow .cp-plan__part { border-bottom-color: var(--belt-yellow); }
.cp-plan--black .cp-plan__part { border-bottom-color: var(--belt-black); }
.cp .cp-plan__part h3 { font-size: 24px; line-height: 1.2; font-weight: 700; }
.cp .cp-plan__part p { margin: 0; font-size: 15px; color: var(--hp-muted); }
.cp-plan__mods { margin: 0; padding: 0; list-style: none; }
.cp-plan__mod { display: grid; grid-template-columns: 34px minmax(0, 280px) minmax(0, 1fr); gap: 4px 12px; padding: 16px 0; }
.cp-plan__mod + .cp-plan__mod { border-top: 1px solid var(--cp-line); }
.cp-plan__num { font-family: var(--hp-head); font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--hp-muted); }
.cp .cp-plan__mod h4 { margin: 0; font-family: var(--hp-head); font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--cp-ink); }
.cp .cp-plan__topics { margin: 0; padding: 0 0 0 18px; columns: 2; column-gap: 28px; font-size: 16px; line-height: 1.5; color: var(--hp-text); list-style: disc; }
.cp-plan__topics li { break-inside: avoid; }
.cp-plan__more { margin-top: 8px; font-size: 15px; }
.cp-plan__more summary { display: inline-flex; align-items: center; min-height: 44px; color: var(--hp-green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cp .cp-plan__more p { margin: 0 0 8px; max-width: 72ch; line-height: 1.5; color: var(--hp-text); }
.cp-plan__more b { color: var(--cp-ink); font-weight: 600; }
@media (max-width: 1080px) { .cp-outcomes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cp-outcomes .is-main { grid-column: 1 / -1; grid-row: auto; } .cp-dmaic { margin-bottom: 0; padding-bottom: 18px; } }
@media (max-width: 760px) {
  .cp-outcomes { grid-template-columns: minmax(0, 1fr); }
  .cp-plan { padding: 20px 16px 6px; }
  .cp-plan__mod { grid-template-columns: 28px minmax(0, 1fr); }
  .cp-plan__body { grid-column: 2; }
  .cp .cp-plan__topics { columns: 1; }
}

/* Journey: the belt fills as you read */
.cp-way { background: #fff; }
.cp-way__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.cp .cp-way h2 { position: sticky; top: 100px; }
.cp-way__track { position: relative; padding-left: 66px; }
.cp-way__belt { position: absolute; left: 18px; top: 8px; bottom: 8px; width: 8px; border-radius: 8px; background: #e7ece9; overflow: hidden; }
.cp-way__belt i { position: absolute; inset: 0; display: block; background: linear-gradient(180deg, var(--cp-tip), var(--cp-belt) 45%); transform-origin: top; transform: scaleY(0); }
.cp-way li { position: relative; padding: 0 0 30px; }
.cp-way li:last-child { padding-bottom: 0; }
.cp-way li > span { position: absolute; left: -66px; top: 0; z-index: 1; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; border: 2px solid var(--cp-line); font-family: var(--hp-head); font-size: 16px; font-weight: 700; color: var(--hp-muted); transition: background .2s, border-color .2s, color .2s; }
.cp-way li.is-on > span { background: var(--hp-green); border-color: var(--hp-green); color: #fff; }
.cp .cp-way h3 { font-size: 20px; line-height: 1.3; padding-top: 8px; }
.cp .cp-way p { margin: 4px 0 0; max-width: 58ch; }

/* Certificate */
.cp-certs { background: var(--hp-sky); }
.cp-certs__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 60px; align-items: center; }
/* The seal: belt colours are right here, because it stands for the belt itself */
.cp-seal__tail { fill: var(--cp-belt-d); }
.cp-seal__edge { fill: var(--cp-belt); }
.cp-seal__face { fill: #fff; }
.cp-seal__ring { fill: none; stroke: var(--cp-belt); stroke-width: 2; stroke-dasharray: 2 5; stroke-linecap: round; }
.cp-seal__word { font-family: var(--hp-head); font-size: 17px; font-weight: 700; letter-spacing: 3px; fill: var(--cp-ink); }
.cp-seal__tick { fill: none; stroke: var(--cp-belt-d); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.cp-seal__belt { font-family: var(--hp-head); font-size: 19px; font-weight: 700; fill: var(--cp-ink); }

.cp-proud__stage { position: relative; display: flex; flex-direction: column; align-items: center; padding: 30px 32px 34px; overflow: hidden; border-radius: 26px; background: radial-gradient(circle at 50% 26%, #0f8a4a 0%, var(--hp-green-700) 58%, #04401f 100%); box-shadow: var(--hp-shadow-lg); }
.cp-proud .cp-seal { position: relative; z-index: 2; display: block; width: 176px; margin-bottom: -48px; filter: drop-shadow(0 10px 18px rgba(0, 30, 15, .38)); }
.cp-li { position: relative; z-index: 1; width: 100%; max-width: 440px; padding: 58px 22px 18px; overflow: hidden; background: #fff; border-radius: 18px; box-shadow: 0 14px 34px rgba(0, 30, 15, .32); }
.cp-li__who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.cp-li__av { flex: none; display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: var(--hp-soft); color: var(--cp-ink); font-family: var(--hp-head); font-size: 18px; font-weight: 700; }
.cp-li__who > div, .cp-li__row > div { min-width: 0; line-height: 1.25; }
.cp-li b { display: block; font-family: var(--hp-head); font-size: 16px; font-weight: 600; color: var(--cp-ink); overflow-wrap: anywhere; }
.cp-li__who b { font-size: 20px; font-weight: 700; }
.cp-li small { display: block; margin-top: 1px; font-size: 14px; color: var(--hp-muted); }
.cp .cp-li__h { margin: 14px 0 8px; padding-top: 12px; border-top: 1px solid var(--cp-line); font-family: var(--hp-head); font-size: 14px; font-weight: 600; color: var(--hp-muted); }
.cp-li__row { display: flex; align-items: center; gap: 12px; }
.cp-li__i { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--hp-soft); color: var(--cp-ink); }
.cp-li__i svg { width: 22px; height: 22px; }
.cp-proud__spark { position: absolute; z-index: 1; top: 22%; left: 50%; width: 12px; height: 12px; opacity: 0; background: var(--hp-yellow); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.cp .cp-proud__cap { margin: 12px 0 0; font-size: 15px; text-align: center; color: var(--hp-muted); }

/* One moment: the seal stamps down, the sparks fly, the card rises and a shine crosses it */
.cp-proud.is-waiting .cp-seal, .cp-proud.is-waiting .cp-li { opacity: 0; }
.cp-proud.is-in .cp-seal { animation: cp-stamp .6s cubic-bezier(.2, 1.3, .4, 1) .3s both; }
.cp-proud.is-in .cp-li { animation: cp-rise .55s var(--ease-out) both; }
.cp-proud.is-in .cp-li::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), transparent); transform: skewX(-18deg); animation: cp-shine .9s ease-out 1s both; pointer-events: none; }
.cp-proud.is-in .cp-proud__spark { animation: cp-spark .8s ease-out .62s both; }
.cp-proud.is-in .cp-proud__spark--1 { --x: -150px; --y: -30px; }
.cp-proud.is-in .cp-proud__spark--2 { --x: 150px; --y: -38px; animation-delay: .68s; }
.cp-proud.is-in .cp-proud__spark--3 { --x: -112px; --y: 46px; animation-delay: .74s; }
.cp-proud.is-in .cp-proud__spark--4 { --x: 118px; --y: 40px; animation-delay: .8s; }
@keyframes cp-stamp { from { opacity: 0; transform: scale(1.7) rotate(-14deg); } to { opacity: 1; transform: none; } }
@keyframes cp-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes cp-shine { from { left: -40%; } to { left: 120%; } }
@keyframes cp-spark { 0% { opacity: 0; transform: translate(0, 0) scale(.4); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(1.2) rotate(120deg); } }
@media (max-width: 760px) {
  .cp-proud__stage { padding: 24px 16px 22px; }
  .cp-proud .cp-seal { width: 140px; margin-bottom: -38px; }
  .cp-li { padding: 46px 16px 16px; }
}
.cp-certs__try { margin-top: 20px; }
.cp-certs__try label { display: block; margin: 0 0 6px; font-weight: 600; color: var(--cp-ink); }
.cp-certs__try input { width: 100%; max-width: 380px; min-height: 50px; padding: 0 16px; border: 1px solid #8b9a92; border-radius: 12px; background: #fff; font-size: 17px; color: var(--cp-ink); }

.cp-can { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; margin-top: 22px !important; }
.cp-can li { display: flex; gap: 12px; }
.cp-can .cp-tile__i { display: flex; flex: none; color: var(--cp-info); background: #fff; box-shadow: 0 2px 8px rgba(13, 35, 24, .08); }
.cp .cp-can h3 { font-size: 17px; line-height: 1.25; }
.cp .cp-can p { margin: 3px 0 0; font-size: 15px; line-height: 1.4; color: var(--hp-muted); }

/* Why us */
.cp-why { background: #fff; }
.cp-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 24px !important; border-radius: 22px; background: var(--hp-green-50); }
.cp-stats li { padding: 22px 24px; border-left: 1px solid #c9e4d4; }
.cp-stats li:first-child { border-left: 0; }
.cp-stats b { display: block; font-family: var(--hp-head); font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; font-weight: 700; letter-spacing: -.025em; color: var(--hp-green-700); }
.cp-stats span { display: block; margin-top: 4px; font-size: 16px; line-height: 1.3; color: var(--hp-text); }
.cp-why__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 28px; }
.cp .cp-why__grid p { margin: 4px 0 0; }
.cp-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.cp-quotes figure { margin: 0; padding: 20px 22px; background: var(--hp-soft); border-radius: 18px; }
.cp-quotes blockquote { margin: 8px 0 10px; padding: 0; border: 0; font-size: 17px; line-height: 1.45; color: var(--cp-ink); }
.cp-quotes figcaption { font-size: 15px; color: var(--hp-muted); }
.cp-quotes figcaption strong { color: var(--cp-ink); }
.cp .cp-why__more { margin-top: 18px; }

/* Which belt: drawn to scale */
.cp-which { background: var(--hp-soft); }
.cp-belts { margin-top: 24px !important; }
.cp-belts li { padding: 12px 0 14px; }
.cp-belts__strap { display: block; height: 20px; max-width: 100%; border-radius: 4px; background: linear-gradient(180deg, var(--belt-green), #0c7a3e); box-shadow: 0 3px 8px rgba(13, 35, 24, .14); }
.cp-belts li.is-yellow .cp-belts__strap { background: linear-gradient(180deg, var(--belt-yellow), #cfa200); }
.cp-belts li.is-black .cp-belts__strap { background: linear-gradient(180deg, #34423b, var(--belt-black)); }
.cp .cp-belts h3 { margin-top: 8px; font-size: 19px; }
.cp-belts em { margin-left: 6px; padding: 1px 10px; border-radius: 999px; background: var(--hp-green-50); color: var(--hp-green-700); font-family: var(--hp-body); font-size: 13px; font-style: normal; font-weight: 700; vertical-align: middle; }
.cp .cp-belts p { margin: 2px 0 0; max-width: 72ch; }
.cp-belts a { font-weight: 600; }
.cp .cp-which__h { margin-top: 18px; }
.cp-list { margin-top: 10px !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 28px; max-width: 880px; }
.cp-list li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.35; }
.cp-list svg { color: var(--hp-green); margin-top: 1px; }

/* Modes */
.cp-modes { background: #fff; }
.cp-modes table { width: 100%; margin-top: 22px; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--cp-line); border-radius: 18px; overflow: hidden; box-shadow: var(--hp-shadow); }
.cp-modes th, .cp-modes td { padding: 14px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--cp-line); font-size: 16px; line-height: 1.35; }
.cp-modes thead th { border-top: 0; background: var(--hp-green-50); color: var(--hp-green-700); font-family: var(--hp-head); font-size: 14px; font-weight: 600; }
.cp-modes tbody th { font-family: var(--hp-head); font-weight: 600; color: var(--cp-ink); }
.cp-modes td b { font-family: var(--hp-head); font-weight: 600; color: var(--cp-ink); }
.cp-modes tr.is-low th, .cp-modes tr.is-low td { background: var(--cp-info-wash); }
.cp-modes em { margin-left: 6px; padding: 1px 9px; border-radius: 999px; background: var(--cp-info); color: #fff; font-family: var(--hp-body); font-size: 13px; font-style: normal; font-weight: 700; white-space: nowrap; }

/* Teams */
.cp-teams { padding: 56px 0; background: var(--hp-blue); color: #fff; }
.cp-teams__in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 48px; }
.cp-teams__in > div { flex: 1 1 560px; }
.cp .cp-teams h2 { color: #fff; }
.cp .cp-teams p { margin-top: 10px; max-width: 62ch; color: #fff; }
.cp-teams .cp-list { grid-template-columns: minmax(0, 1fr); }
.cp-teams .cp-list svg { color: var(--hp-yellow); }

/* FAQ */
.cp-faqs { background: var(--hp-soft); }
.cp-faq__pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 8px; }
.cp-faq__pills button { min-height: 44px; padding: 4px 16px; border: 1px solid var(--cp-line); border-radius: 999px; background: #fff; font-weight: 600; color: var(--cp-ink); cursor: pointer; transition: background .12s; }
.cp-faq__pills button:hover { background: var(--hp-green-50); }
.cp-faq__pills button.is-on { background: var(--hp-green); border-color: var(--hp-green); color: #fff; }
.cp-faq { max-width: 900px; }
.cp-faq[hidden] { display: none; }
.cp .cp-faq__group { margin: 24px 0 8px; font-family: var(--hp-head); font-size: 19px; font-weight: 600; color: var(--cp-ink); }
.cp-faq details { margin-bottom: 6px; padding: 0 18px; background: #fff; border: 1px solid var(--cp-line); border-radius: 14px; }
.cp-faq summary { display: flex; align-items: center; gap: 14px; min-height: 50px; padding: 10px 0; cursor: pointer; list-style: none; }
.cp-faq summary::-webkit-details-marker { display: none; }
.cp-faq summary::after { content: "+"; margin-left: auto; font-size: 20px; line-height: 1; font-weight: 600; color: var(--hp-green); }
.cp-faq details[open] summary::after { content: "\2212"; }
.cp .cp-faq summary h3 { margin: 0; font-family: var(--hp-head); font-size: 16px; font-weight: 500; line-height: 1.3; color: var(--cp-ink); }
.cp-faq p { margin: 0; padding: 0 28px 14px 0; max-width: 72ch; }

/* Related */
.cp-related { background: #fff; padding: 56px 0; }
.cp-related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.cp .cp-related h3 { margin-bottom: 6px; font-size: 18px; }
.cp-related__locs { columns: 2; }
.cp-related a { display: inline-flex; align-items: center; min-height: 44px; }

/* Sticky price */
.cp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; border-top: 1px solid var(--cp-line); box-shadow: 0 -8px 24px rgba(13, 35, 24, .1); }
.cp-bar[hidden] { display: none; }
.cp-bar__in { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-top: 8px; padding-bottom: 8px; }
.cp .cp-bar p { margin: 0; line-height: 1.2; }
.cp-bar p span { margin-right: 12px; color: var(--hp-muted); }
.cp-bar p b { font-family: var(--hp-head); font-size: 18px; font-weight: 700; color: var(--cp-ink); }
.cp-bar p small { margin-left: 6px; color: var(--hp-muted); font-size: 14px; }
.cp-bar__acts { display: flex; flex: none; gap: 8px; }
@media (max-width: 560px) {
  .cp-bar__acts .cp-book { display: none; }
}

@media (max-width: 1080px) {
  .cp-inc__grid, .cp-exam__top, .cp-way__grid, .cp-certs__grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .cp-quiz, .cp .cp-way h2 { position: static; }
  .cp-why__grid, .cp-quotes { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 760px) {
  .cp-sec { padding: 52px 0; }
  .cp-steps { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .cp-facts, .cp-can { grid-template-columns: minmax(0, 1fr); }
  .cp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-stats li { padding: 16px; }
  .cp-stats li:nth-child(odd) { border-left: 0; }
  .cp-receipt { padding: 18px 16px 30px; }
  .cp-way__track { padding-left: 58px; }
  .cp-way__belt { left: 14px; }
  .cp-way li > span { left: -58px; width: 36px; height: 36px; }
  .cp-modes thead { display: none; }
  .cp-modes table, .cp-modes tbody, .cp-modes tr { display: block; width: 100%; }
  .cp-modes tr { padding: 12px 14px; border-top: 1px solid var(--cp-line); }
  .cp-modes tr:first-child { border-top: 0; }
  .cp-modes tbody th { display: block; padding: 0 0 6px; border: 0; }
  .cp-modes td { display: flex; justify-content: space-between; gap: 16px; padding: 3px 0; border: 0; text-align: right; }
  .cp-modes td::before { content: attr(data-label); color: var(--hp-muted); font-size: 14px; text-align: left; }
  .cp-bar p span { display: none; }
  .cp-bar p small { display: block; margin: 0; }
  .hp-seg { max-width: 100%; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .cp-go, .cp-way li > span { transition: none; }
}




/* First fold layout: the hero fills the screen on desktop; on smaller screens the order is headline, buy box, what you get. */
@media (min-width: 1081px) {
  .cp-hero { display: flex; min-height: var(--cp-fold, calc(100vh - 115px)); }
  .cp-hero > .hp-wrap { width: 100%; }
}
@media (max-width: 1080px) {
  .cp-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .cp-hero__left { display: contents; }
  .cp-buy { order: 1; margin-top: 8px; }
  .cp-stage { order: 2; margin-top: 12px; }
}
@media (max-width: 760px) {
  .cp-hero { padding: 16px 0 24px; }
  .cp .cp-hero h1 { font-size: clamp(30px, 8.6vw, 38px); }
  .cp .cp-hero__value { font-size: 17px; }
}
@media (min-width: 1081px) {
  .cp-buy { justify-content: space-between; }
  .cp-buy__fmts { flex: 1 1 auto; }
  .cp-buy__fmts button { flex: 1 1 auto; max-height: 78px; }
  .cp-buy__info { flex: 0 0 auto; }
}

/* Course + town page: the town line under the H1 */
.cp-town { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .7); border: 1px solid var(--hp-line); font-size: 15px; color: var(--hp-text); }
.cp-town .hp-i { width: 18px; height: 18px; color: var(--hp-green); flex: none; }
.cp-town a { font-weight: 600; color: var(--hp-green-700); text-decoration: underline; }

/* Courses built from the CMS (App\Support\CourseContent): the CMS text, styled to match the page */
.cp-about__in { max-width: 880px; }
.cp-about { background: #fff; }
.cp-cms { font-size: 17px; line-height: 1.7; color: var(--hp-text); }
.cp-cms * { font-family: inherit !important; max-width: 100%; }
.cp-cms p, .cp-cms ul, .cp-cms ol, .cp-cms table { margin: 0 0 14px !important; }
.cp-cms h2, .cp-cms h3, .cp-cms h4, .cp-cms h5 { margin: 22px 0 8px !important; font-family: var(--hp-head) !important; font-size: 20px !important; line-height: 1.3; color: var(--hp-ink) !important; }
.cp-cms ul, .cp-cms ol { padding-left: 22px; }
.cp-cms li { margin-bottom: 6px; }
.cp-cms ul li::marker { color: var(--hp-green); }
.cp-cms a { color: var(--hp-green-700) !important; font-weight: 600; }
.cp-cms strong, .cp-cms b { color: var(--hp-ink); }
.cp-cms table { display: block; overflow-x: auto; border-collapse: collapse; }
.cp-cms td, .cp-cms th { padding: 8px 10px; border: 1px solid var(--hp-line); }
.cp-cms--outline { padding: 22px 24px; border-radius: var(--hp-radius); background: #fff; border: 1px solid var(--hp-line); box-shadow: var(--hp-shadow); }
.cp-cms--receipt { padding: 4px 0 10px; font-size: 15.5px; }
.cp-points { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 18px 0 34px; padding: 0; }
.cp-points li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--hp-line); box-shadow: var(--hp-shadow); }
.cp-points p { margin: 0; font-size: 16.5px; line-height: 1.5; color: var(--hp-ink); }
@media (max-width: 700px) { .cp-points { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Course + town page: the town's dates, or the on-demand ways to train ---------- */
.cp-tw { padding: 64px 0; background: var(--hp-soft); }
.cp-tw__head { max-width: 820px; margin-bottom: 24px; }
.cp .cp-tw__head h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; }
.cp .cp-tw__head > p:not(.hp-kicker) { margin-top: 12px; font-size: 18px; color: var(--hp-muted); }
.cp .cp-tw h3 { font-size: 21px; line-height: 1.25; }
.cp-tw__alt, .cp-tw__note { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; font-size: 15px; color: var(--hp-muted); }
.cp-tw__alt .hp-i, .cp-tw__note .hp-i { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--hp-green); }
.cp-tw__alt a { font-weight: 600; color: var(--hp-green-700); text-decoration: underline; }
.cp-tw__none { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; padding: 22px 24px; border: 1.5px dashed #b9c8bf; border-radius: 18px; background: #fff; }
.cp-tw__none > div { flex: 1 1 380px; }
.cp .cp-tw__none p { margin: 6px 0 0; color: var(--hp-muted); }
.cp-tw__none-i, .cp-tw__way-i { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 16px; background: var(--hp-green-50); color: var(--hp-green); }
.cp-tw__none-i .hp-i, .cp-tw__way-i .hp-i { width: 26px; height: 26px; }
.cp-tw__ways { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: tw; }
.cp-tw__way { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; border: 1px solid var(--hp-line); border-radius: 18px; background: #fff; box-shadow: var(--hp-shadow); counter-increment: tw; transition: transform .2s, box-shadow .2s; }
.cp-tw__way:hover { transform: translateY(-3px); box-shadow: var(--hp-shadow-lg); }
.cp-tw__way::after { content: counter(tw); position: absolute; top: 18px; right: 20px; font-family: var(--hp-head); font-size: 40px; font-weight: 700; line-height: 1; color: var(--hp-line); }
.cp .cp-tw__way p { margin: 0; flex: 1 1 auto; color: var(--hp-muted); line-height: 1.55; }
.cp-tw__way strong { color: var(--hp-ink); }
.cp-tw__way--main { border: 2px solid var(--hp-green); background: linear-gradient(180deg, var(--hp-green-50), #fff 60%); }
.cp-tw__way--main .cp-tw__way-i { background: var(--hp-green); color: #fff; }
.cp-tw__req, .cp-tw__live { margin-top: 36px; }
.cp .cp-tw__live > p { margin: 6px 0 14px; color: var(--hp-muted); }
.cp-tw__req .df { margin-top: 14px; }
.cp-tw--key .cp-tw__live { padding-top: 28px; border-top: 1px solid var(--hp-line); }
@media (max-width: 900px) { .cp-tw__ways { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .cp-tw { padding: 44px 0; } .cp-tw__way, .cp-tw__none { padding: 20px 18px; } }
.cp-ondemand { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 14px 0 0; padding: 12px 16px; border: 1.5px dashed #b9c8bf; border-radius: 14px; background: #fff; font-size: 15px; color: var(--hp-muted); }
.cp-ondemand .hp-i { width: 18px; height: 18px; flex: none; color: var(--hp-green); }
.cp-ondemand b { color: var(--hp-ink); }
.cp-ondemand a { font-weight: 700; color: var(--hp-green-700); text-decoration: underline; }
/* Town strip: the words, then both links together on their own line */
.cp-town { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 6px 10px; }
.cp-town > .hp-i { margin-top: 2px; }
.cp-town__go { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 16px; }
/* The heading's descenders (g, y) need room above the town strip. */
.cp .cp-hero h1 + .cp-town { margin-top: 20px; }
