/* Programme: every session visible, grouped by week. */
/* Systems: stacked tiles by default. On a wide screen with JavaScript (.is-staged, set in app.js), one sticky
   stage shows the system whose title has reached the middle of the screen. */
.systems-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 28px; list-style: none; margin: 0; padding: 0; counter-reset: system; }
.system img, .inbox, .pipeline, .posts, .admin { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 7px; box-shadow: var(--shadow); }
/* Animated inbox (system 1), drawn on the 1600x1000 grid of the other screenshots: 1em = 16px of that grid.
   The resting state is the sorted inbox; .is-playing replays the sort from the unsorted one. */
.inbox, .pipeline, .posts, .admin { container-type: inline-size; aspect-ratio: 16 / 10; overflow: hidden; background: #fff; }
.inbox-ui { display: grid; grid-template-columns: 23.75em minmax(0, 1fr); height: 100%; font-size: 1cqw; line-height: 1.35; color: #1f221f; }
.inbox-ui p, .inbox-ui ul { margin: 0; padding: 0; max-width: none; list-style: none; font-size: inherit; line-height: inherit; }
.inbox-side { padding: 2.6em 1.75em; background: #f7f6f1; border-right: 1px solid #e9e9e2; }
.inbox-ui .inbox-brand { display: flex; align-items: center; gap: .5em; padding-left: .4em; color: #5f6368; font-size: 2.3em; }
.system .inbox-brand img { width: 1.35em; height: auto; border: 0; border-radius: 0; box-shadow: none; }
.inbox-ui .inbox-folder { display: flex; align-items: center; justify-content: space-between; margin-top: 1.55em; padding: .6em .7em; border-radius: .35em; background: #e9e9e0; font-size: 1.75em; font-weight: 600; }
.inbox-folder span, .inbox-side li span { color: #6b6f69; font-weight: 400; }
.inbox-ui .inbox-caption { margin: 2.3em 0 1.6em .85em; color: #6b6f69; font-size: 1.5em; text-transform: uppercase; }
.inbox-side li { display: flex; align-items: center; gap: .65em; height: 2.6em; padding: 0 .7em; font-size: 1.8em; }
.inbox-side li::before { content: ''; width: .62em; height: .62em; border-radius: 50%; background: var(--dot); }
.inbox-side li span { margin-left: auto; font-size: .9em; }
.inbox-ui .inbox-search { max-width: none; margin: .8em 1.57em .75em; padding: 0 1.15em; border-radius: 1.3em; background: #efefea; color: #6b6f69; font-size: 1.75em; line-height: 2.57; }
.inbox-ui .inbox-list { position: relative; border-top: 1px solid #e9e9e2; }
.inbox-mail { position: absolute; inset: 0 0 auto; display: flex; align-items: center; gap: .55em; height: 3.333em; padding: 0 1.47em; border-bottom: 1px solid #e9e9e2; background: #fff; font-size: 1.875em; font-weight: 600; white-space: nowrap; transform: translateY(calc(var(--to) * 100%)); z-index: calc(7 - var(--to)); --scan: calc(.2s + var(--from) * .28s); }
.inbox-mail--read { background: #f9f9f6; font-weight: 400; }
.inbox-sender { flex: 0 0 9.6em; overflow: hidden; text-overflow: ellipsis; }
.inbox-subject { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: #6b6f69; font-weight: 400; }
.inbox-subject span { color: #1f221f; font-weight: inherit; }
.inbox-mail:not(.inbox-mail--read) .inbox-subject span { font-weight: 600; }
.inbox-chip { flex-shrink: 0; padding: .32em .85em; border-radius: 2em; background: var(--chip); color: var(--chip-ink); font-size: .8em; font-weight: 600; }
:is(.inbox, .pipeline, .posts, .admin) [data-tone="reply"] { --dot: #c4462b; --chip: #fbe3da; --chip-ink: #bd4528; }
:is(.inbox, .pipeline, .posts, .admin) [data-tone="check"] { --dot: #dba520; --chip: #f8edcf; --chip-ink: #86610d; }
:is(.inbox, .pipeline, .posts, .admin) [data-tone="invoice"] { --dot: #4a78c0; --chip: #dfe9f7; --chip-ink: #2f5fa8; }
:is(.inbox, .pipeline, .posts, .admin) [data-tone="info"] { --dot: #a9aaa5; --chip: #efefec; --chip-ink: #555a54; }
:is(.inbox, .pipeline, .posts, .admin) [data-tone="done"] { --dot: #4a6048; --chip: #e2ebd9; --chip-ink: #3d5a35; }
@media (prefers-reduced-motion: no-preference) {
  .inbox.is-playing .inbox-mail { animation: inbox-move .9s cubic-bezier(.65, 0, .35, 1) calc(2.5s + var(--to) * .09s) backwards, inbox-unread .5s 2.8s backwards, inbox-bold .5s 2.8s backwards, inbox-scan .55s var(--scan); }
  .inbox.is-playing .inbox-subject span { animation: inbox-bold .5s 2.8s backwards; }
  .inbox.is-playing .inbox-chip { animation: inbox-pop .4s cubic-bezier(.34, 1.56, .64, 1) calc(var(--scan) + .15s) backwards; }
  .inbox.is-playing .inbox-chip--draft { animation-delay: calc(4s + var(--to) * .16s); }
  .inbox.is-playing .inbox-side li { animation: inbox-fade .5s calc(2.7s + var(--n) * .09s) backwards; }
}
@keyframes inbox-move { from { transform: translateY(calc(var(--from) * 100%)); } }
@keyframes inbox-unread { from { background-color: #fff; } }
@keyframes inbox-bold { from { font-weight: 600; } }
@keyframes inbox-scan { 50% { background-color: #f3eee0; } }
@keyframes inbox-pop { from { opacity: 0; transform: scale(.6); } }
@keyframes inbox-fade { from { opacity: .22; } }
/* Animated pipeline (system 5), on the same 1600x1000 grid. The resting state is the sorted board;
   .is-playing replays it from every card piled in the first column. */
.pipeline-ui { position: relative; isolation: isolate; height: 100%; padding: 0 3em; font-size: 1cqw; line-height: 1.3; color: #1f221f; }
.pipeline-head { display: flex; align-items: center; gap: 1.75em; height: 8.25em; padding-top: .7em; white-space: nowrap; }
.pipeline-title { font-size: 2.5em; font-weight: 600; letter-spacing: -.02em; }
.pipeline-total { font-size: 1.9em; color: #6b6f69; }
.pipeline-status { display: grid; justify-items: end; margin-left: auto; }
.pipeline-badge { grid-area: 1 / 1; padding: .35em .85em; border-radius: 2em; background: var(--chip); color: var(--chip-ink); font-size: 1.6em; font-weight: 600; }
.pipeline-badge--idle { opacity: 0; }
.pipeline-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5em; height: 51.25em; }
.pipeline-col { padding: 0 1.5em; border-radius: 1.25em; background: #f6f6f1; }
.pipeline-col--hot { background: #f6eee8; }
.pipeline-col-name { display: flex; align-items: center; justify-content: space-between; height: 2.96em; font-size: 1.75em; font-weight: 600; }
.pipeline-col-name span { color: #6b6f69; font-weight: 400; }
.pipeline-card { position: relative; z-index: var(--slot); height: 11.4em; margin-bottom: 1.1em; padding: 1.4em 1.6em; border: 1px solid #e3e3dc; border-radius: .75em; background: #fff; --deal: calc(.25s + (9 - var(--slot)) * .22s); }
.pipeline-name, .pipeline-note { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pipeline-name, .pipeline-amount { font-size: 1.75em; font-weight: 600; }
.pipeline-note { margin-top: .15em; color: #6b6f69; font-size: 1.56em; }
.pipeline-chip { display: inline-block; margin-top: .55em; padding: .3em .8em; border-radius: 2em; background: var(--chip); color: var(--chip-ink); font-size: 1.56em; font-weight: 600; white-space: nowrap; }
.pipeline-amount { display: block; margin-top: .6em; transform-origin: left; }
.pipeline-draft { position: absolute; top: 5.9em; left: 1em; width: 21em; padding: .9em 1.1em 1em; border-radius: .6em; background: #2d493c; box-shadow: 0 .5em 1.6em -.4em #1e322960; color: #fffdf6; font-size: 1.7em; line-height: 1.45; opacity: 0; }
.pipeline-draft b { display: block; margin-bottom: .35em; color: #cae0b8; font-size: .8em; font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .pipeline.is-playing .pipeline-card { animation: pipeline-deal .8s cubic-bezier(.65, 0, .35, 1) var(--deal) backwards; }
  .pipeline.is-playing :is(.pipeline-chip, .pipeline-amount) { animation: inbox-pop .4s cubic-bezier(.34, 1.56, .64, 1) calc(var(--deal) + .75s) backwards; }
  .pipeline.is-playing .pipeline-col-name span { animation: pipeline-in .4s 3.15s backwards; }
  .pipeline.is-playing .pipeline-draft { animation: pipeline-draft 2s 3.45s; }
  .pipeline.is-playing .pipeline-badge { animation: inbox-pop .4s cubic-bezier(.34, 1.56, .64, 1) 5.35s backwards; }
  .pipeline.is-playing .pipeline-badge--idle { animation: pipeline-out .3s 5.25s backwards; }
}
@keyframes pipeline-deal { from { transform: translate(calc(var(--col) * -23.875em), calc(var(--slot) * 3.8em - var(--row) * 12.5em)) rotate(var(--tilt)); } }
@keyframes pipeline-in { from { opacity: 0; } }
@keyframes pipeline-out { from { opacity: 1; } }
/* Animated content hub (system 6), same grid; it reuses the pipeline header and chip.
   The resting state shows every channel lit; .is-playing replays it from empty slots. */
.system .posts { background: #f7f7f3; }
.posts-ui { position: relative; height: 100%; padding: 0 3em; font-size: 1cqw; line-height: 1.3; color: #1f221f; }
.posts-links { position: absolute; inset: 0; width: 100%; height: 100%; }
.posts-links path { stroke: #b4bda6; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; }
.posts-flow { position: relative; display: grid; grid-template-columns: 28em 1fr 8.5em; align-items: center; justify-items: center; height: 51.25em; padding: 0 6em; }
.posts-idea, .posts-card, .posts-hub { border: 1px solid #e3e3dc; background: #fff; }
.posts-idea { padding: 1.8em 1.8em 2em; border-radius: .75em; }
.posts-label { display: block; color: #6b6f69; font-size: 1.4em; text-transform: uppercase; }
.posts-text { display: block; margin-top: .5em; font-size: 2.2em; font-weight: 600; }
.posts-hub { position: relative; display: grid; place-items: center; width: 9.375em; height: 9.375em; border-radius: 50%; }
.system .posts-hub img { width: 5em; height: 5em; border: 0; border-radius: 0; box-shadow: none; }
.posts-caption { position: absolute; top: 100%; display: grid; justify-items: center; margin-top: .5em; font-size: 1.75em; font-weight: 600; white-space: nowrap; }
.posts-caption .pipeline-chip { margin-top: .35em; font-size: .89em; }
.posts-list { display: grid; gap: 2.1875em; }
.posts-card { display: grid; place-items: center; width: 8.5em; height: 8.5em; border-radius: 1.7em; }
.system .posts-card img { width: 3.8em; height: 3.8em; border: 0; border-radius: 0; box-shadow: none; }
@media (prefers-reduced-motion: no-preference) {
  .posts.is-playing .posts-idea { animation: inbox-pop .45s cubic-bezier(.34, 1.56, .64, 1) .1s backwards; }
  .posts.is-playing .posts-links path { animation: posts-draw .6s ease-in-out calc(2s + var(--i) * .25s) backwards; }
  .posts.is-playing .posts-links path:first-child { animation-duration: .5s; animation-delay: .7s; }
  .posts.is-playing .posts-hub { animation: posts-pulse .8s 1.2s; }
  .posts.is-playing .posts-caption .pipeline-chip { animation: inbox-pop .4s cubic-bezier(.34, 1.56, .64, 1) 1.5s backwards; }
  .posts.is-playing .posts-card { animation: posts-fill .4s calc(2.5s + var(--i) * .25s) backwards; }
  .posts.is-playing .posts-card img { animation: posts-dim .4s calc(2.6s + var(--i) * .25s) backwards; }
}
@keyframes posts-draw { from { stroke-dashoffset: 1; } }
@keyframes posts-fill { from { border-style: dashed; border-color: #c9cdbf; background-color: transparent; transform: scale(.9); } }
@keyframes posts-dim { from { opacity: .3; filter: grayscale(1); } }
@keyframes posts-pulse { 40% { transform: scale(1.1); box-shadow: 0 0 0 1.1em #d9775730; } }
/* Animated month-end (system 7), same grid; it reuses the pipeline header, badge and chip.
   The resting state is the filled folder; .is-playing replays it from scattered suppliers and an empty folder. */
.system .admin { background: #f7f7f3; }
.admin-ui { position: relative; isolation: isolate; height: 100%; padding: 0 3em; font-size: 1cqw; line-height: 1.3; color: #1f221f; }
.admin-flow { display: grid; grid-template-columns: 29.5em 1fr; column-gap: 5em; align-items: center; height: 51.25em; }
.admin-sources { display: grid; grid-template-columns: 14em 14em; gap: 1.5em; }
.admin-source { position: relative; display: flex; align-items: center; gap: .5em; height: 3.75em; padding: 0 .6em; border: 1px solid #e3e3dc; border-radius: .45em; background: #fff; font-size: 1.6em; font-weight: 600; white-space: nowrap; --go: calc(.25s + var(--i) * .4s); }
.system .admin-source img { flex: none; width: 1.5em; height: 1.5em; border: 0; border-radius: 0; box-shadow: none; }
.admin-source i { position: absolute; top: -.25em; right: -.25em; width: .65em; height: .65em; border: .12em solid #f7f7f3; border-radius: 50%; background: #5d8a52; box-sizing: content-box; }
.admin-folder { height: 100%; border: 1px solid #e3e3dc; border-radius: .75em; background: #fff; }
.admin-folder-name { display: flex; align-items: center; gap: .6em; height: 3.57em; padding: 0 1.43em; font-size: 1.75em; font-weight: 600; }
.admin-folder-name .icon { width: 1.2em; height: 1.2em; color: var(--green); }
.admin-row { display: grid; grid-template-columns: 2.25em 1fr 8em 11em 8em 3em; align-items: center; height: 4.25em; padding: 0 2.5em; border-top: 1px solid #eeeee8; --go: calc(.25s + var(--i) * .4s); }
.admin-row span { font-size: 1.56em; white-space: nowrap; }
.admin-row span:nth-of-type(n + 3) { text-align: right; }
.admin-row span:nth-of-type(n + 2) { color: #6b6f69; }
.admin-row span:nth-of-type(3) { color: #1f221f; font-weight: 600; }
.admin-row span:last-child { color: #5d8a52; font-weight: 600; }
.admin-row .icon { position: relative; z-index: 2; width: 1.9em; height: 1.9em; color: var(--green); }
.admin-row--head { height: 3.25em; background: #f7f7f3; }
.admin-row.admin-row--head span { color: #6b6f69; font-size: 1.35em; font-weight: 400; }
.admin-total { display: flex; align-items: center; justify-content: space-between; height: 7.7em; padding: 0 2.5em; border-top: 1px solid #e3e3dc; }
.admin-total > span:first-child { color: #6b6f69; font-size: 1.56em; }
.admin-total b { margin-left: .6em; color: #1f221f; font-size: 1.35em; }
.admin-total .pipeline-chip { margin: 0; font-size: 1.7em; }
@media (prefers-reduced-motion: no-preference) {
  .admin.is-playing .admin-source { animation: admin-tidy .45s cubic-bezier(.34, 1.56, .64, 1) var(--go) backwards; }
  .admin.is-playing .admin-source i { animation: admin-missing .3s calc(var(--go) + .3s) backwards; }
  .admin.is-playing .admin-row .icon { animation: admin-fetch .65s cubic-bezier(.5, 0, .2, 1) calc(var(--go) + .15s) backwards; }
  .admin.is-playing .admin-row:not(.admin-row--head) span { animation: pipeline-in .35s calc(var(--go) + .7s) backwards; }
  .admin.is-playing .admin-total > * { animation: inbox-pop .4s cubic-bezier(.34, 1.56, .64, 1) 4.25s backwards; }
  .admin.is-playing .pipeline-badge { animation: inbox-pop .4s cubic-bezier(.34, 1.56, .64, 1) 3.95s backwards; }
  .admin.is-playing .pipeline-badge--idle { animation: pipeline-out .3s 3.85s backwards; }
}
@keyframes admin-tidy { from { transform: rotate(var(--tilt)) translateY(calc(var(--tilt) * .08em / 1deg)); } }
@keyframes admin-missing { from { background-color: #c4462b; } }
@keyframes admin-fetch { 0% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.3); } 20% { opacity: 1; } }
@keyframes pipeline-draft { 0%, 100% { opacity: 0; transform: translateY(-.5em) scale(.96); } 12%, 88% { opacity: 1; transform: none; } }
.system > h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-top: 18px; font-size: 19px; line-height: 1.3; letter-spacing: -.02em; text-wrap: balance; counter-increment: system; }
.system > h3::before { content: counter(system, decimal-leading-zero); flex: none; color: var(--accent); font-family: var(--serif); font-size: 22px; font-style: italic; font-weight: 400; letter-spacing: 0; line-height: 1; }
.system > h3 time { flex: 0 0 100%; order: -1; margin-bottom: -6px; color: var(--muted); font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.system > p { margin-top: 6px; max-width: 46ch; font-size: 15px; line-height: 1.6; }
@media (min-width: 821px) {
  .systems-grid.is-staged { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 0 56px; align-items: start; }
  .is-staged .system { display: contents; }
  .is-staged .system > :first-child { display: none; grid-column: 2; grid-row: 1 / span 12; position: sticky; top: max(110px, calc(50vh - 250px)); }
  .is-staged .system.is-active > :first-child { display: block; }
  .is-staged .system > :is(h3, p) { grid-column: 1; margin: 0; padding-left: 22px; border-left: 2px solid var(--line); opacity: .6; transition: opacity .25s, border-color .25s; }
  .is-staged .system > h3 { display: block; padding-top: 6px; font-size: 24px; line-height: 1.2; }
  .is-staged .system > h3::before { display: block; margin-bottom: 12px; font-size: 34px; }
  .is-staged .system > h3 time { display: block; margin-bottom: 8px; }
  .is-staged .system > p { padding-top: 10px; padding-bottom: clamp(90px, 22vh, 190px); font-size: 16px; }
  .is-staged .system:last-child > p { padding-bottom: 6px; }
  .is-staged .system.is-active > :is(h3, p) { border-color: var(--accent); opacity: 1; }
}
/* The incoming system slides up into the stage, so the change of scene is noticed. */
@media (min-width: 821px) and (prefers-reduced-motion: no-preference) {
  .is-staged .system.is-active > :first-child { animation: stage-in .45s cubic-bezier(.16, 1, .3, 1); }
}
@keyframes stage-in { from { opacity: 0; transform: translateY(26px) scale(.97); } }
@media (max-width: 820px) {
  .systems-grid { grid-template-columns: minmax(0, 1fr); }
}
.systems-note { margin-top: 36px; color: var(--muted); font-size: 13px; }
/* Survey verbatim under each system: the "before" this system answers. */
.system-before { display: block; margin-top: 12px; padding-left: 12px; border-left: 2px solid var(--line); color: var(--muted); font-family: var(--serif); font-size: 15px; font-style: italic; line-height: 1.5; }
.system-before small { display: block; margin-top: 3px; font-family: var(--sans); font-size: 12px; font-style: normal; }
.faq > div > .faq-ask { margin-top: 22px; color: var(--muted); }
.faq-ask a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.programme-section .curriculum-footer { font-size: 14px; margin-top: 30px; }

/* Hero: who teaches, and until when. */
.hero-proof { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 14px; line-height: 1.55; }
.hero-proof img { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.hero-proof strong { color: var(--ink); }
.hero-proof i { margin-inline: 3px; font-style: normal; }
.hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-description { margin-top: 10px; font-size: 15px; }
.hero #hero-title { max-width: none; font-size: clamp(34px, 3.7vw, 54px); line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.hero h1 em { display: block; }
/* Hero live frame: a shared screen, the webcam tile and the session being built. app.js cycles the slides. */
.hero-live { position: relative; margin: 0; padding: 0 10px; overflow: hidden; border-radius: 14px; background: #1c1f1c; box-shadow: var(--shadow); color: #fffefa; }
.hero-live-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 13px 4px; color: #d6dbcf; font-size: 12px; font-weight: 500; line-height: 1.4; }
.hero-live-on { display: inline-flex; align-items: center; gap: 8px; color: #fffefa; font-weight: 600; }
.hero-live-on i { width: 8px; height: 8px; border-radius: 50%; background: #ff0033; }
.hero-live-stage { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 8px; background: #fff; }
.hero-live-stage > img, .hero-live-stage > div > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.hero-live-stage > div { position: absolute; inset: 0; border: 0; border-radius: 0; box-shadow: none; opacity: 0; transition: opacity .5s; }
.hero-live-stage > div.is-shown { opacity: 1; }
/* The demo logos are sized under .system; the clones live outside it. */
.hero-live-stage .inbox-brand img { width: 1.35em; height: auto; }
.hero-live-stage .posts-hub img { width: 5em; height: 5em; }
.hero-live-stage .posts-card img { width: 3.8em; height: 3.8em; }
.hero-live-stage .admin-source img { flex: none; width: 1.5em; height: 1.5em; }
.hero-live-bar { padding: 16px 150px 18px 10px; }
.hero-live-bar small { display: block; color: #d6dbcf; font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.hero-live-bar strong { display: block; min-height: 2.5em; margin-top: 2px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; text-wrap: balance; }
.hero-live-weeks { display: flex; gap: 12px; margin-top: 14px; }
.hero-live-weeks span { display: flex; flex: 1; gap: 4px; }
.hero-live-weeks i { flex: 1; height: 4px; border-radius: 2px; background: #e8a98f; opacity: .4; transition: opacity .4s, background-color .4s; }
.hero-live-weeks i.is-qa { background: #b9c9ac; }
.hero-live-weeks i.is-current { background: #fffefa; opacity: 1; }
.hero-live-bar p { margin: 8px 0 0; color: #d6dbcf; font-size: 13px; }
.hero-live-cam { position: absolute; right: 18px; bottom: 18px; width: 128px; height: 128px; border: 3px solid #fffefa; border-radius: 14px; object-fit: cover; box-shadow: 0 10px 30px -10px #000c; }
@media (min-width: 961px) {
  .hero { padding-top: 72px; padding-bottom: 56px; }
  .hero-lead { max-width: 46ch; margin-top: 24px; }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}
@media (max-width: 620px) {
  .hero { gap: 24px; }
  .hero-live-bar { padding-right: 112px; }
  .hero-live-bar strong { font-size: 16px; }
  .hero-live-cam { right: 14px; bottom: 16px; width: 96px; height: 96px; }
  /* The hero button sits just below: one call to action per screen. */
  .nav > .button-small { display: none; }
}

/* Programme calendar: one column per week, each session a card with its date leaf. A sage band on phones. */
.sprint-cal p { margin: 0; }
.sprint-cal-head { color: var(--ink); font-size: 16px; font-weight: 600; }
.sprint-cal-weeks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 16px; margin-top: 22px; }
.sprint-cal-row { display: grid; gap: 8px; align-content: start; }
.sprint-cal-week { padding-bottom: 6px; font-family: var(--serif); font-size: 25px; font-style: italic; line-height: 1.1; }
.sprint-cal-cell { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: center; min-height: 78px; padding: 10px 14px 10px 10px; border-radius: 8px; background: var(--white); }
.sprint-cal-date { padding-right: 12px; border-right: 1px solid var(--line); color: #4d524b; font-size: 11px; font-weight: 600; line-height: 1.2; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.sprint-cal-date b { display: block; margin-bottom: 3px; color: var(--accent); font: 400 32px/1 var(--serif); letter-spacing: 0; }
.sprint-cal-cell strong { color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: -.015em; text-wrap: balance; }
.sprint-cal-cell[data-kind="qa"] { background: #d9e2cd; }
.sprint-cal-cell[data-kind="qa"] .sprint-cal-date { border-color: #b4c2a6; }
.sprint-cal-cell[data-kind="qa"] b { color: var(--green); }
.sprint-cal-cell[data-kind="qa"] strong { font-weight: 500; }
/* Preparation videos, optional: a video tile under the weeks, set apart from the eight sessions. */
.sprint-prep { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: center; margin-top: 34px; padding-top: 30px; border-top: 1px solid #d6d9cc; }
.sprint-prep-tile { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 10px; background: #1c1f1c; }
.sprint-prep-tile img { width: 46px; height: 46px; }
.sprint-prep-tile .icon { position: absolute; right: 10px; bottom: 10px; width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: #fffefa; color: #1c1f1c; }
.sprint-prep p { margin: 0; max-width: 62ch; color: #4d524b; font-size: 15px; line-height: 1.6; }
.sprint-prep .sprint-prep-tag { font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.sprint-prep h3 { margin: 4px 0 2px; font-size: 22px; line-height: 1.25; letter-spacing: -.02em; }
@media (max-width: 1100px) {
  .sprint-cal-weeks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .sprint-cal { padding: 22px 0 26px; background: var(--sage); box-shadow: 0 0 0 100vmax var(--sage); clip-path: inset(0 -100vmax); }
  .sprint-cal-weeks { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 14px; }
  .sprint-cal-week { padding: 0; color: #4d524b; font: 600 12px/1.4 var(--sans); letter-spacing: .09em; text-transform: uppercase; }
  .sprint-cal-cell { grid-template-columns: 44px minmax(0, 1fr); min-height: 0; padding: 6px 14px 6px 10px; border-radius: 7px; }
  .sprint-cal-date { padding-right: 10px; font-size: 12px; }
  .sprint-cal-date b { font-size: 26px; }
  .sprint-cal-cell strong { font-size: 14.5px; }
  .sprint-cal-cell[data-kind="qa"] { background: #cfd9c3; }
  .sprint-cal-cell[data-kind="qa"] .sprint-cal-date { border-color: #a9b89c; color: var(--ink); }
  .sprint-cal-cell[data-kind="qa"] b { color: #3b4a37; }
  .sprint-prep { grid-template-columns: 116px minmax(0, 1fr); gap: 16px; align-items: start; margin-top: 24px; padding-top: 22px; }
  .sprint-prep-tile img { width: 30px; height: 30px; }
  .sprint-prep-tile .icon { right: 6px; bottom: 6px; width: 20px; height: 20px; padding: 4px; }
  .sprint-prep h3 { font-size: 18px; }
  .sprint-prep p { font-size: 14px; }
}
}

/* The answer to the pile of tools. */
.tools-payoff { display: grid; gap: 14px; max-width: 35rem; margin: 38px auto 0; text-align: center; }
.tools-payoff p { font-size: 17px; line-height: 1.65; text-wrap: balance; }
.tools-payoff strong { color: var(--ink); }
.tools-payoff .tools-payoff-close { margin-top: 6px; color: var(--ink); font-size: 22px; font-weight: 600; line-height: 1.35; letter-spacing: -.025em; }

/* Closed registrations: waiting list. */
.registration-closed .checkout-selector-title { margin-bottom: 18px; }
.waitlist-form { display: grid; gap: 10px; margin-top: 20px; }
.waitlist-form p { color: var(--checkout-muted); font-size: 13px; }
.waitlist-form input { width: 100%; min-height: 54px; padding: 0 16px; border: 1px solid var(--checkout-line); border-radius: 5px; background: var(--white); color: var(--ink); font-size: 16px; }
.waitlist-form .button { border: 0; background: var(--white); color: #201f1c; cursor: pointer; }
.waitlist-form .button:hover { background: #eee9df; }
.waitlist-form input::placeholder { color: var(--muted); }
.waitlist-form input:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.enrollment-timeline li > strong { font-size: 16px; font-weight: 600; }

@media (max-width: 1100px) {
}
@media (max-width: 800px) {
  .systems-grid { gap: 30px 16px; }
  .system > h3 { font-size: 17px; margin-top: 14px; }
  .system > p { font-size: 14px; }
  .tools-payoff { margin-top: 30px; }
  .tools-payoff p { font-size: 16px; }
  .tools-payoff .tools-payoff-close { font-size: 20px; }
}

/* Format without the calendar: four plain commitments. */
#format .format-grid--plain { display: block; }
.format-grid--plain .format-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; padding-top: 0; border-top: 1px solid #52604f; }
.format-grid--plain .format-item { margin-bottom: 0; padding-block: 28px; }
.format-grid--plain .format-item:nth-last-child(-n+2) { border-bottom: 0; padding-bottom: 0; }
.format-grid--plain .format-item p { font-size: 15px; line-height: 1.7; }

/* Before / after, closing the tools section. */
.tools-interlude .mindset { margin-top: 44px; text-align: left; }
.tools-interlude .mindset p > span { font-size: 13px; }

/* Free videos versus the bootcamp: a dark, YouTube-like aside. */
.versus { margin-block: 72px; padding: 64px 56px; background: #201f1c; color: #f8f7f3; border-radius: 18px; }
.versus h2 { text-align: center; }
.versus h2 em { color: #dbcbb0; }
.versus-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto auto; column-gap: 40px; margin-top: 48px; }
.versus-side { display: grid; grid-template-rows: subgrid; grid-row: span 3; row-gap: 0; }
.versus-player, .versus-live { position: relative; min-height: 0; border-radius: 12px; overflow: hidden; }
.versus-player { aspect-ratio: 16 / 9; background: #0f0f0f; }
.versus-player img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .8; }
.versus-play { position: absolute; inset: 0; margin: auto; width: 68px; height: 49px; }
.versus-progress { position: absolute; inset: auto 0 0; height: 4px; background: #ff0033; }
.versus-badge { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 5px; background: #000000b3; color: #fffefa; font-size: 12px; font-weight: 600; line-height: 1.4; }
.versus-player .versus-badge { top: auto; bottom: 16px; }
.versus-badge--live i { width: 8px; height: 8px; border-radius: 50%; background: #ff0033; }
.versus-live { display: grid; align-content: center; padding: 54px 28px 20px; background: #2a2924; border: 1px solid #48473f; }
.versus-live ol { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.versus-live li { counter-increment: step; display: flex; align-items: baseline; gap: 14px; padding-block: 10px; border-top: 1px solid #48473f; font-size: 15px; line-height: 1.5; }
.versus-live li:first-child { border-top: 0; }
.versus-live li::before { content: counter(step, decimal-leading-zero); color: #a5a196; font-size: 12px; font-variant-numeric: tabular-nums; }
.versus-live li:nth-last-child(-n+2) { color: #e9cf8d; }
.versus-side h3 { margin-top: 24px; font-size: 20px; }
.versus-side--video h3 { color: #cecac0; }
.versus-side p { margin-top: 8px; max-width: 44ch; color: #cecac0; font-size: 16px; line-height: 1.65; }
.versus-side p strong { color: #f8f7f3; }
@media (max-width: 760px) {
  .versus { margin-block: 48px; padding: 40px 22px; border-radius: 12px; }
  .versus-grid { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 40px; margin-top: 32px; }
  .versus-side { display: block; }
}
.checkout-assurance.checkout-requirement .icon { color: #c2bfb3; }

/* Readability floor for captions. */
.cohort-strip { font-size: 13px; }
.trainer-credentials dd { font-size: 13px; }
.enrollment-timeline time { font-size: 13px; }
.enrollment-timeline li > span { font-size: 14px; }
.hero-price small { font-size: 13px; margin-top: 6px; }

/* Offer: first cohort, refund in plain sight. */
.offer-heading .offer-first { margin-top: 14px; font-size: 15px; }
.checkout-panel .checkout-assurance { display: flex; justify-content: center; gap: 9px; margin-top: 22px; color: #dedbd0; font-size: 14px; text-align: left; }
.checkout-assurance .icon { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; color: #8fd0ab; }
.checkout-assurance strong { color: var(--white); }
.closing-refund { margin-top: 8px; font-size: 13px; }
.closing-dream { max-width: 52ch; margin: 22px auto 0; color: var(--muted); font-size: 17px; line-height: 1.6; text-wrap: balance; }

@media (max-width: 800px) {
  .format-grid--plain .format-details { grid-template-columns: 1fr; }
  .format-grid--plain .format-item:nth-last-child(2) { border-bottom: 1px solid #52604f; padding-bottom: 28px; }
  .tools-interlude .mindset { margin-top: 32px; }
  .cohort-strip { font-size: 12px; }
}
@media (max-width: 620px) {
  /* The strip right below already carries the dates. */
}

/* Voices: real reviews from the previous course, ruled columns rather than cards. */
.voices { padding-block: 24px 96px; }
.voices h2 { max-width: 15em; font-size: clamp(30px, 3vw, 41px); }
.voices-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; margin-top: 40px; border-top: 1px solid var(--line); }
.voices figure { display: flex; flex-direction: column; gap: 22px; margin: 0; padding-top: 28px; }
.voices blockquote { margin: 0; }
.voices blockquote p { color: var(--ink); font-size: 18px; line-height: 1.6; letter-spacing: -.01em; text-wrap: pretty; }
.voices figcaption { margin-top: auto; color: var(--muted); font-size: 14px; line-height: 1.5; }
.voices figcaption { display: flex; align-items: center; gap: 14px; }
.voices figcaption img { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.voices figcaption strong { display: block; color: var(--ink); }
.voices-source { margin-top: 34px; font-size: 13px; }
.voices-source a { text-decoration: underline; text-decoration-color: var(--line); }
.voices-source a:hover { color: var(--accent); }
@media (max-width: 800px) {
  .voices { padding-block: 8px 64px; }
  .voices-list { grid-template-columns: 1fr; margin-top: 28px; border-top: 0; }
  .voices figure { gap: 14px; padding-block: 24px; border-top: 1px solid var(--line); }
  .voices blockquote p { font-size: 17px; }
  .voices-source { margin-top: 8px; }
    }

/* Trainer bio runs over three paragraphs. */
.trainer-intro-copy > p + p { margin-top: 12px; }

/* FAQ: grouped by theme, title pinned while the list scrolls. */
.faq-list { border-top: 0; }
.faq-list section + section { margin-top: 36px; }
.faq-list h3 { padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
@media (min-width: 621px) { .faq > div:first-child { position: sticky; top: 110px; align-self: start; } }

/* YouTube comment wall: mimics YouTube's light comment UI. */
.yt-wall { padding-block: 32px 96px; }
.yt-wall-heading h2 { max-width: 15em; font-size: clamp(30px, 3vw, 41px); }
.yt-wall-heading p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.yt-wall-list { columns: 3 300px; column-gap: 16px; margin: 40px 0 0; padding: 0; list-style: none; }
.yt-comment { display: flex; gap: 14px; break-inside: avoid; margin-bottom: 16px; padding: 18px 18px 12px; background: #fff; border: 1px solid rgba(0, 0, 0, .06); border-radius: 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); font-family: Roboto, Arial, sans-serif; color: #0f0f0f; }
.yt-avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-size: 18px; font-weight: 500; }
.yt-body { min-width: 0; }
.yt-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-bottom: 4px; font-size: 13px; line-height: 18px; }
.yt-head a { overflow-wrap: anywhere; color: #0f0f0f; font-weight: 500; }
.yt-head a:hover { text-decoration: underline; }
.yt-head time { color: #606060; font-size: 12px; }
.yt-text { color: #0f0f0f; font-size: 14px; line-height: 20px; overflow-wrap: anywhere; }
.yt-actions { display: flex; align-items: center; gap: 16px; margin-top: 8px; color: #606060; font-size: 12px; font-weight: 500; }
.yt-actions svg { width: 16px; height: 16px; fill: #0f0f0f; }
.yt-like { display: inline-flex; align-items: center; gap: 6px; }
.yt-dislike { transform: rotate(180deg); }
.yt-actions span:last-child { color: #0f0f0f; }
@media (max-width: 800px) {
  .yt-wall { padding-block: 8px 64px; }
  .yt-wall-list { margin-top: 28px; }
}
@media (max-width: 800px) {
  .yt-comment:nth-child(n + 7) { display: none; }
}

/* Hero live frame: tap or swipe to change demo (app.js). pan-y keeps vertical page scroll on touch. */
.hero-live { cursor: pointer; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.hero-live img { -webkit-user-drag: none; }
