/* Course pages: the shared look of the live courses (Blueprint, Platonic Solids), after the Hello Geometry page
   (2 Nov 2026, Heike: "show the app, make it clear what they get … like Hello Geometry, but they see it's also live").
   Load after /brand-tokens.css. Classes start with cp- so nothing collides with a page's own styles or share.js (.dvs-share).
   Pieces:
     .cp-hero          two columns: text left (badge, title, lead, chips, buttons, a [data-dvs-share] holder), devices right
     .cp-live-badge    the pulsing "Live on Zoom" pill
     .cp-chips         small facts under the lead
     .cp-devices       laptop + tablet + phone with app screenshots (.cp-dev-laptop/.cp-dev-tablet/.cp-dev-phone)
     .cp-get           "What you get": 4 tiles (.cp-get-item with an svg, h3, p)
     .cp-sessions      the live sessions, filled by /course-live.js (<ul class="cp-sessions" data-course="blueprint">)
     .cp-steps         "Between the sessions": 3 phones with a step each (.cp-step, .cp-phone)
     .cp-section       a section with the site's spacing; .cp-kicker, .cp-title, .cp-lead for its head */

.cp-section { padding: clamp(64px, 9vw, 110px) 24px; }
.cp-section .cp-wrap { max-width: 1120px; margin: 0 auto; }
.cp-kicker { font-family: var(--font-sans, 'Outfit', sans-serif); font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent, #5FC4BA); text-align: center; margin: 0 0 12px; }
.cp-title { font-family: var(--font-serif, 'Cormorant Garamond', serif); font-weight: 500; font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.1;
  color: var(--text-primary, #F4EFE6); text-align: center; margin: 0 0 14px; }
.cp-title em { color: var(--accent, #5FC4BA); font-style: italic; }
.cp-lead { max-width: 680px; margin: 0 auto; text-align: center; font-size: 1.05rem; line-height: 1.7; color: var(--text-secondary, #C9C3B6); }

/* ---- hero ---- */
.cp-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 64px); align-items: center;
  max-width: 1240px; margin: 0 auto; padding: clamp(110px, 12vw, 150px) 24px clamp(56px, 8vw, 90px); }
.cp-hero-text { min-width: 0; }
.cp-hero .cp-badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.cp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; border: 1px solid rgba(95,196,186,.45); color: var(--accent, #5FC4BA); background: rgba(95,196,186,.08); }
.cp-live-badge { border-color: rgba(229,72,77,.55); color: #F7B4B6; background: rgba(229,72,77,.10); }
.cp-live-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #E5484D; box-shadow: 0 0 0 0 rgba(229,72,77,.6); animation: cp-pulse 1.8s infinite; }
@keyframes cp-pulse { 0% { box-shadow: 0 0 0 0 rgba(229,72,77,.55); } 70% { box-shadow: 0 0 0 9px rgba(229,72,77,0); } 100% { box-shadow: 0 0 0 0 rgba(229,72,77,0); } }
@media (prefers-reduced-motion: reduce) { .cp-live-badge::before { animation: none; } }
.cp-hero h1 { font-family: var(--font-serif, 'Cormorant Garamond', serif); font-weight: 500; font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.02; margin: 0 0 10px; color: var(--text-primary, #F4EFE6); }
.cp-hero h1 em { color: var(--accent, #5FC4BA); font-style: italic; }
.cp-hero .cp-sub { font-family: var(--font-serif, 'Cormorant Garamond', serif); font-size: clamp(1.25rem, 2.2vw, 1.6rem); color: var(--text-primary, #F4EFE6); margin: 0 0 16px; }
.cp-hero .cp-lead { text-align: left; margin: 0 0 20px; }
.cp-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; }
.cp-chips li { font-size: .86rem; font-weight: 500; color: var(--text-primary, #F4EFE6); border: 1px solid rgba(95,196,186,.38); border-radius: 999px; padding: 6px 14px; background: rgba(95,196,186,.06); }
.cp-buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cp-btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: .95rem; letter-spacing: .04em;
  text-decoration: none; border: 1px solid var(--accent, #5FC4BA); color: var(--accent, #5FC4BA); background: transparent; cursor: pointer; font-family: inherit; }
.cp-btn.cp-go { background: var(--accent, #5FC4BA); color: var(--on-accent, #0B1312); }
.cp-btn:hover { filter: brightness(1.08); }
.cp-next { margin: 14px 0 0; font-size: .92rem; color: var(--text-secondary, #C9C3B6); }
.cp-next b { color: var(--text-primary, #F4EFE6); font-weight: 600; }
.cp-hero [data-dvs-share] { margin-top: 18px; }
@media (max-width: 900px) {
  .cp-hero { grid-template-columns: 1fr; text-align: center; padding-top: 104px; }
  .cp-hero .cp-badge-row, .cp-chips, .cp-buttons { justify-content: center; }
  .cp-hero .cp-lead { text-align: center; margin-left: auto; margin-right: auto; }
}

/* ---- devices (as on the Hello Geometry page) ---- */
.cp-devices { position: relative; width: 100%; aspect-ratio: 1060 / 640; }
.cp-devices img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.cp-dev-laptop { position: absolute; left: 10%; top: 0; width: 80%; filter: drop-shadow(0 30px 50px rgba(0,0,0,.55)); }
.cp-dev-laptop .cp-screen { aspect-ratio: 1440 / 900; border: clamp(5px, 1vw, 11px) solid #1c2523; border-bottom-width: clamp(8px, 1.4vw, 15px);
  border-radius: clamp(8px, 1.4vw, 16px) clamp(8px, 1.4vw, 16px) 0 0; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.07); }
.cp-dev-laptop .cp-base { position: relative; height: clamp(7px, 1.3vw, 15px); margin: 0 -7%; background: linear-gradient(#3a4644, #151c1b); border-radius: 0 0 14px 14px / 0 0 100% 100%; }
.cp-dev-tablet { position: absolute; left: 0; bottom: 0; width: 27%; aspect-ratio: 820 / 1180; border: clamp(5px, .9vw, 10px) solid #1c2523; border-radius: clamp(12px, 2vw, 24px);
  overflow: hidden; background: #000; box-shadow: 0 30px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); }
.cp-dev-phone { position: absolute; right: 2%; bottom: 0; width: 17%; aspect-ratio: 585 / 1266; border: clamp(4px, .7vw, 8px) solid #1c2523; border-radius: clamp(14px, 2.6vw, 30px);
  overflow: hidden; background: #000; box-shadow: 0 30px 60px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08); }
@media (max-width: 700px) { .cp-devices { aspect-ratio: 1060 / 760; } .cp-dev-laptop { left: 6%; width: 88%; } .cp-dev-tablet { width: 32%; } .cp-dev-phone { width: 21%; right: 0; } }

/* ---- what you get ---- */
.cp-get { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.cp-get-item { padding: 24px 20px; border-radius: 16px; background: rgba(255,253,249,.04); border: 1px solid rgba(244,239,230,.12); border-top: 2px solid var(--accent, #5FC4BA); }
.cp-get-item svg { width: 34px; height: 34px; stroke: var(--accent, #5FC4BA); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.cp-get-item h3 { font-family: var(--font-serif, 'Cormorant Garamond', serif); font-weight: 600; font-size: 1.35rem; color: var(--text-primary, #F4EFE6); margin: 0 0 8px; }
.cp-get-item p { font-size: .95rem; line-height: 1.6; color: var(--text-secondary, #C9C3B6); margin: 0; }
@media (max-width: 960px) { .cp-get { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cp-get { grid-template-columns: 1fr; } }

/* ---- the live sessions (/course-live.js) ---- */
.cp-live-head { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; margin: 0 0 30px; color: var(--text-secondary, #C9C3B6); font-size: .95rem; }
.cp-sessions { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cp-session { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: rgba(255,253,249,.04); border: 1px solid rgba(244,239,230,.12); }
.cp-session.cp-past { opacity: .55; }
.cp-session.cp-next-up { border-color: var(--accent, #5FC4BA); box-shadow: 0 0 0 1px var(--accent, #5FC4BA); }
.cp-session-img { aspect-ratio: 1 / 1; background: #F4EFE6; overflow: hidden; }
.cp-session-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-session-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cp-session-when { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent, #5FC4BA); }
.cp-session-n { font-size: .82rem; color: var(--text-muted, #9AA39F); }
.cp-session h3 { font-family: var(--font-serif, 'Cormorant Garamond', serif); font-weight: 600; font-size: 1.25rem; line-height: 1.2; color: var(--text-primary, #F4EFE6); margin: 0; }
.cp-session p { font-size: .9rem; line-height: 1.55; color: var(--text-secondary, #C9C3B6); margin: 0; }
.cp-session-time { margin-top: auto; padding-top: 8px; font-size: .82rem; color: var(--text-muted, #9AA39F); }
.cp-session-tag { align-self: flex-start; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px;
  background: rgba(95,196,186,.14); color: var(--accent, #5FC4BA); }
.cp-sessions-msg { grid-column: 1 / -1; text-align: center; padding: 40px 20px; color: var(--text-muted, #9AA39F); font-style: italic; }
@media (max-width: 960px) { .cp-sessions { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cp-sessions { grid-template-columns: 1fr; } .cp-session { flex-direction: row; } .cp-session-img { width: 112px; flex: none; aspect-ratio: auto; } }

/* ---- between the sessions: the app ---- */
.cp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 44px; }
.cp-step { text-align: center; }
.cp-phone { width: 100%; max-width: 240px; aspect-ratio: 585 / 1266; border-radius: 34px; border: 7px solid #1c2523; background: #0B1312; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08); margin: 0 auto 26px; }
.cp-phone img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cp-step-n { font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent, #5FC4BA); margin: 0 0 6px; }
.cp-step h3 { font-family: var(--font-serif, 'Cormorant Garamond', serif); font-size: 1.35rem; font-weight: 600; color: var(--text-primary, #F4EFE6); margin: 0 0 10px; }
.cp-step p { font-size: .98rem; line-height: 1.65; color: var(--text-secondary, #C9C3B6); max-width: 320px; margin: 0 auto; }
@media (max-width: 860px) { .cp-steps { grid-template-columns: 1fr; gap: 56px; } }
