/* ============================================================
   Event cohorts (CGDent 2026 first): every cohort surface that is
   NOT inside the shared price card (those parts live in style.css).
   Loaded only when inc/cohort.php applies: a signed-in attendee, or
   the cohort's own landing page. Rules for the landing page are
   scoped to its own sections (.cg-hero, .lec, .cpdflow, .offer,
   .rail-section--cg) so an attendee's /join is never restyled.
   From the approved mockups: CGDent/website/mockups/.
   ============================================================ */
:root { --cg-green: #7fcf9b; }
/* The page flip at the deadline relies on [hidden]; nothing here may override it. */
[data-open-only][hidden], [data-closed-only][hidden], [data-cd-zone][hidden] { display: none !important; }

/* ---------- announcement line ---------- */
.annc--cohort strong { color: var(--blue-bright); font-weight: 600; }
.annc .cd-inline { color: var(--t-strong); font-weight: 700; font-variant-numeric: tabular-nums; }
.annc .annc-nw { white-space: nowrap; } /* each link whole, its dot attached (0.6.33) */
.annc .annc-sep { color: var(--t-soft); margin: 0 2px; }

/* ---------- /join kicker for an attendee ---------- */
.hero-kicker.hero-kicker--cg { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hero-kicker--cg img { height: 52px !important; width: auto; display: block; }
@media (max-width: 600px) { .hero-kicker--cg img { height: 42px !important; } }

/* ---------- the homepage band ---------- */
.cg-band { position: relative; z-index: 3; padding: 0 48px 64px; margin-top: -40px; }
.cg-band-head { max-width: 1280px; margin: 0 auto 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 28px; flex-wrap: wrap; padding: 26px 28px; border-radius: 18px; border: 1px solid rgba(122,175,201,0.28); background: linear-gradient(165deg, #1b2430 0%, #12171f 100%); }
.cg-band-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cg-band-brand img { display: block; }
.cg-band-brand .kicker { margin: 0; }
.cg-band-timer { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; }
.cg-band-timer .t-lbl { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--t-soft); }
.cg-band-timer .cd { gap: 14px; }
.cg-band-timer .cd-unit b { font-size: 30px; letter-spacing: -0.02em; }
.cg-band-timer .cd-unit i { font-size: 11px; }
.cg-band-timer .t-date { font-size: 12.5px; color: var(--t-mid); font-weight: 600; }
.cg-band-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.cg-label { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.cg-label .kicker { margin: 0; }
.lecture-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-elev); box-shadow: var(--shadow-lift); }
.lp-art { position: relative; display: block; aspect-ratio: 4 / 3; margin: 16px 0 16px 16px; border-radius: 12px; background: var(--navy-deep); overflow: hidden; border: 1px solid rgba(255,255,255,0.07); }
.lp-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out), filter .4s var(--ease-out); }
.lp-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,13,21,0) 45%, rgba(10,13,21,0.55) 100%); }
.lp-art .play { position: absolute; right: 14px; bottom: 18px; z-index: 2; width: 54px; height: 54px; border-radius: 50%; background: rgba(122,175,201,0.95); color: var(--navy-deeper); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 32px rgba(0,0,0,0.5); transition: all .3s var(--ease-out); }
.lp-art .play svg { width: 18px; height: 18px; fill: currentColor; transform: translateX(2px); }
.lp-art:hover img { transform: scale(1.03); filter: brightness(1.08); }
.lp-art:hover .play { background: var(--blue-bright); transform: scale(1.08); }
.lp-prog { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 5px; background: rgba(255,255,255,0.16); }
.lp-prog i { display: block; height: 100%; background: var(--blue); }
.lp-prog.complete i { background: var(--cg-green); }
.lp-body { padding: 26px 26px 22px; display: flex; flex-direction: column; }
.lp-body h2 { font-size: clamp(19px, 1.7vw, 23px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; margin-bottom: 12px; }
.lp-by { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--t-mid); font-weight: 600; margin-bottom: 16px; }
.lp-by img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.2); }
.lp-by span { color: var(--t-soft); font-weight: 400; }
.mini-steps { display: flex; flex-direction: column; gap: 2px; margin-bottom: 18px; border-top: 1px solid var(--line); }
.mstep { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.mstep .ic { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(122,175,201,0.13); border: 1px solid rgba(122,175,201,0.3); color: var(--blue-bright); }
.mstep .ic svg { width: 13px; height: 13px; }
.mstep .t { font-weight: 700; color: var(--t-strong); flex: 1; }
.mstep .s { color: var(--t-soft); font-size: 12px; }
.mstep.done .ic { background: rgba(127,207,155,0.13); border-color: rgba(127,207,155,0.4); color: var(--cg-green); }
.mstep.done .s { color: rgba(127,207,155,0.85); }
.mstep.locked { opacity: 0.55; }
.mstep.locked .ic { background: rgba(255,255,255,0.05); border-color: var(--line-2); color: var(--t-soft); }
.lp-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: auto; }
/* The band's buttons and the landing page's "Or claim your free lecture" (0.6.35). .cta-solid /
   .cta-ghost are styled only in course.css, lesson.css and speaker.css, which neither the
   homepage nor the landing page loads, so all three drew as bare text until now. Scoped to
   these containers so the course and watch pages keep their own button rules.
   Guard: CGDent/website/tests/cohort-css-harness.php. */
.lp-cta .cta-solid { display: inline-flex; align-items: center; gap: 10px; background: var(--blue); color: var(--navy-deeper); padding: 15px 28px; border-radius: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; transition: all 0.3s var(--ease-out); box-shadow: 0 6px 22px rgba(122,175,201,0.22); }
.lp-cta .cta-solid:hover { background: var(--blue-bright); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(122,175,201,0.32); }
.lp-cta .cta-solid svg { width: 14px; height: 14px; }
.lp-cta .cta-ghost, .final .cta-ghost { display: inline-flex; align-items: center; gap: 9px; color: var(--t-strong); text-decoration: none; padding: 14px 24px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.28); font-size: 12.5px; font-weight: 600; transition: all 0.25s var(--ease); }
.lp-cta .cta-ghost:hover, .final .cta-ghost:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.05); }
.final .cta-ghost { padding: 16px 28px; margin: 0 0 0 10px; vertical-align: middle; }
@media (max-width: 560px) { .final .cta-ghost { margin: 12px 0 0; } }
.lp-note { font-size: 12px; color: var(--t-soft); margin-top: 12px; }
.price-card.price-card--band { padding: 28px 26px 24px; height: 100%; display: flex; flex-direction: column; }
.price-card--band h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; color: var(--t-strong); margin: 2px 0 8px; }
.price-card--band .band-sub { font-size: 13.5px; color: var(--t-mid); line-height: 1.55; }
.price-card--band .plan-pair { margin: 16px 0 18px; }
.price-card--band .deadline--card { margin-top: 14px; }
.price-card--band .plan-opt { padding: 14px 16px 16px; }
@media (max-width: 1100px) { .cg-band-inner { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
	.cg-band { padding: 0 16px 48px; }
	.lecture-panel { grid-template-columns: 1fr; }
	.lp-art { margin: 14px 14px 0; }
	.lp-body, .price-card--band { padding: 22px 20px 20px; }
}
@media (max-width: 700px) { .cg-band-head { padding: 20px; } .cg-band-brand img { height: 42px !important; } .cg-band-timer { align-items: flex-start; text-align: left; } .cg-band-timer .cd-unit b { font-size: 24px; } }

/* ---------- the course strip ---------- */
.cg-strip { background: var(--bg-deep); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 48px; }
.cg-strip-in { max-width: 1184px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; }
.cg-strip-l { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cg-strip .plate { line-height: 0; }
.cg-strip .txt { font-size: 13.5px; color: var(--t-mid); line-height: 1.5; }
.cg-strip .txt strong { color: var(--t-strong); font-weight: 600; }
.cg-strip-r { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.cg-strip .cd-lbl { font-size: 12px; color: var(--t-mid); margin-right: -4px; }
.cg-strip .lnk { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--t-mid); transition: color .2s, gap .25s; }
.cg-strip .lnk:hover { color: var(--blue-bright); gap: 10px; }
.cg-strip .lnk svg { width: 12px; height: 12px; }
@media (max-width: 760px) { .cg-strip { padding: 16px 24px; } }

/* ---------- the landing page hero ---------- */
.cg-hero { position: relative; overflow: hidden; background: var(--ink); margin-top: calc(-1 * var(--nav-h)); }
.cg-hero-bg { position: absolute; inset: 0; overflow: hidden; }
.cg-hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(28px) saturate(0.8) brightness(0.6); transform: scale(1.2); }
.cg-hero-bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 70% at 78% 30%, rgba(122,175,201,0.12) 0%, transparent 60%), linear-gradient(90deg, rgba(10,13,21,0.94) 0%, rgba(10,13,21,0.8) 52%, rgba(10,13,21,0.66) 100%), linear-gradient(180deg, rgba(10,13,21,0.6) 0%, rgba(10,13,21,0.2) 40%, var(--bg) 100%); }
.cg-hero-inner { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: calc(var(--nav-h) + 64px) 48px 80px; display: grid; grid-template-columns: minmax(0, 1.05fr) 430px; gap: 64px; align-items: start; }
.cg-cobrand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 28px; }
.cg-plate { line-height: 0; }
@media (max-width: 600px) { .cg-plate img { height: 46px !important; } }
.cg-cobrand .kicker { margin: 0; }
.cg-hero h1 { font-weight: 700; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.06; letter-spacing: -0.02em; margin-bottom: 20px; max-width: 620px; }
.cg-hero h1 .accent { color: var(--blue); }
.cg-sub { font-size: clamp(15px, 1.25vw, 17px); line-height: 1.65; color: var(--t-mid); max-width: 540px; margin-bottom: 26px; }
.cg-sub strong { color: var(--t-strong); font-weight: 600; }
.cg-lecture { display: flex; gap: 16px; align-items: center; max-width: 560px; padding: 12px; border: 1px solid var(--line-2); border-radius: 14px; background: rgba(255,255,255,0.035); margin-bottom: 22px; }
.cg-lecture-art { position: relative; flex: 0 0 128px; aspect-ratio: 4/3; border-radius: 9px; overflow: hidden; }
.cg-lecture-art img { width: 100%; height: 100%; object-fit: cover; }
.cg-lecture-art .p { position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: var(--navy-deeper); display: flex; align-items: center; justify-content: center; }
.cg-lecture-art .p svg { width: 11px; height: 11px; fill: currentColor; transform: translateX(1px); }
.cg-lecture h3 { font-size: 15px; font-weight: 700; line-height: 1.35; margin-bottom: 5px; }
.cg-lecture .by { font-size: 12.5px; color: var(--t-soft); }
.cg-lecture .by b { color: var(--t-mid); font-weight: 600; }
.cg-hero .deadline { max-width: 560px; }
.cg-hero .hero-card { background: linear-gradient(165deg, rgba(17,22,31,0.9) 0%, rgba(13,17,25,0.86) 100%); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(122,175,201,0.28); border-radius: 18px; padding: 30px 30px 26px; box-shadow: 0 30px 80px rgba(0,0,0,0.5); position: relative; overflow: hidden; }
.cg-hero .hero-card h2 { font-size: 23px; font-weight: 700; letter-spacing: -0.01em; margin: 2px 0 6px; }
.cg-hero .hero-card h2 + form { margin-top: 18px; }
.cg-hero .card-sub { font-size: 13.5px; color: var(--t-soft); margin-bottom: 20px; line-height: 1.5; }
.cg-hero .consent { margin: 4px 0 16px; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.cg-hero .notice { padding: 13px 15px; border-radius: 11px; font-size: 13px; line-height: 1.55; margin-bottom: 16px; }
.cg-hero .notice--info { background: rgba(122,175,201,0.08); border: 1px solid rgba(122,175,201,0.25); color: var(--t-mid); }
.cg-hero .notice a { color: var(--blue-bright); font-weight: 600; }
.cg-hero .state-card .big-tick { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(127,207,155,0.13); border: 1px solid rgba(127,207,155,0.4); color: var(--cg-green); margin-bottom: 16px; }
.cg-hero .state-card .big-tick svg { width: 20px; height: 20px; }
.cg-hero .state-card p { font-size: 14px; color: var(--t-mid); line-height: 1.65; margin-bottom: 18px; }
.cg-hero .state-card p strong { color: var(--t-strong); }
.cg-hero .state-card .price-cta + .price-cta { margin-top: 10px; }
.cg-hero .price-cta.ghosty { background: transparent; color: var(--t-strong); border: 1px solid rgba(255,255,255,0.28); }
.cg-hero .price-cta.ghosty:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.6); box-shadow: none; }

/* ---------- the forms ---------- */
.cg-hero .field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; text-align: left; }
.cg-hero .field label { font-size: 13px; font-weight: 600; color: var(--t-mid); }
.cg-hero .field .hint { font-size: 11.5px; color: var(--t-soft); line-height: 1.45; }
.cg-hero .field input[type=text], .cg-hero .field input[type=email], .cg-hero .field input[type=password], .cg-hero .role-other input { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid var(--line-2); border-radius: 10px; padding: 12px 14px; font-size: 16px; color: var(--t-strong); font-family: inherit; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
.cg-hero .field input::placeholder, .cg-hero .role-other input::placeholder { color: rgba(255,255,255,0.32); }
.cg-hero .field input:focus, .cg-hero .role-other input:focus { outline: none; border-color: var(--blue); background: rgba(122,175,201,0.06); box-shadow: 0 0 0 3px rgba(122,175,201,0.18); }
.cg-hero .field.has-error input { border-color: rgba(217,154,154,0.7); }
.cg-hero .field-err { font-size: 12.5px; color: #f0b4b4; line-height: 1.5; }
.cg-hero .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cg-hero .name-hint { font-size: 11.5px; color: var(--t-soft); line-height: 1.45; margin: -7px 0 14px; text-align: left; }
.cg-hero fieldset.field { border: 0; padding: 0; min-width: 0; }
.cg-hero fieldset.field legend { font-size: 13px; font-weight: 600; color: var(--t-mid); padding: 0; margin-bottom: 7px; }
.cg-hero .role-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cg-hero .role-pill { position: relative; cursor: pointer; }
.cg-hero .role-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cg-hero .role-pill span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255,255,255,0.04); font-size: 14px; font-weight: 600; color: var(--t-mid); text-align: center; line-height: 1.25; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.cg-hero .role-pill:hover span { border-color: rgba(122,175,201,0.5); }
.cg-hero .role-pill input:checked + span { border-color: var(--blue); background: rgba(122,175,201,0.12); color: var(--t-strong); }
.cg-hero .role-pill input:focus-visible + span { box-shadow: 0 0 0 3px rgba(122,175,201,0.28); }
.cg-hero .role-other { display: flex; flex-direction: column; gap: 7px; margin-top: 10px; }
.cg-hero .role-other[hidden] { display: none; }
.cg-hero .role-other label { font-size: 13px; font-weight: 600; color: var(--t-mid); }
.cg-hero .pw-wrap { position: relative; }
.cg-hero .pw-wrap input { padding-right: 64px !important; }
.cg-hero .pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--t-soft); padding: 6px 8px; border-radius: 6px; background: none; border: 0; cursor: pointer; }
.cg-hero .pw-toggle:hover { color: var(--blue-bright); }
.cg-hero .check { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--t-soft); line-height: 1.5; text-align: left; cursor: pointer; }
.cg-hero .check input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }
.cg-hero .fine { font-size: 12px; color: var(--t-soft); line-height: 1.6; text-align: left; }
.cg-hero .fine a { color: var(--blue-bright); }
.cg-hero .fine a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cg-hero button[disabled] { opacity: 0.6; cursor: wait; }
@media (max-width: 420px) { .cg-hero .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- the lecture and CPD sections ---------- */
.lec { background: var(--bg-deep); border-top: 1px solid var(--line); }
.lec-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: start; }
.lec .preview-card { border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: var(--navy-deeper); box-shadow: var(--shadow-lift); }
.lec .preview-frame--card { position: relative; aspect-ratio: 4 / 3; background: #000; overflow: hidden; }
.lec .preview-frame--card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.72); }
.lec .preview-frame--card .play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 70px; height: 70px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(122,175,201,0.95); color: var(--navy-deeper); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 32px rgba(0,0,0,0.5); }
.lec .preview-frame--card .play svg { width: 24px; height: 24px; fill: currentColor; transform: translateX(2px); }
.lec .preview-caption { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 20px; background: rgba(255,255,255,0.03); border-top: 1px solid var(--line); flex-wrap: wrap; }
.lec .preview-caption .lbl { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-bright); }
.lec .preview-caption .sub { font-size: 12px; color: var(--t-soft); }
.speaker-mini { display: flex; gap: 18px; align-items: flex-start; margin-top: 22px; padding: 22px; background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 15px; }
.speaker-mini img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: center top; border: 2px solid rgba(122,175,201,0.35); flex-shrink: 0; }
.speaker-mini h4 { font-size: 16px; font-weight: 700; }
.speaker-mini .role { font-size: 11.5px; color: var(--blue-bright); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin: 2px 0 8px; }
.speaker-mini p { font-size: 13px; color: var(--t-mid); line-height: 1.65; }
.speaker-mini-link { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--blue-bright); }
.lec-body .lede { margin-bottom: 22px; }
.aims { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0 0 24px; padding: 0; }
.aims li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--t-mid); line-height: 1.6; }
.aims svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; color: var(--blue); }
.lec .detail-rows { border-top: 1px solid var(--line); }
.lec .detail-row { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.lec .detail-row .k { color: var(--t-soft); }
.lec .detail-row .v { color: var(--t-strong); font-weight: 600; text-align: right; }
.cpdflow { border-top: 1px solid var(--line); background: var(--bg); }
.cpdflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.flow-step { background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 15px; padding: 26px 26px 24px; }
.flow-step .n { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-bright); margin-bottom: 13px; display: flex; align-items: center; gap: 9px; }
.flow-step .n::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.flow-step h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.flow-step p { font-size: 13px; color: var(--t-soft); line-height: 1.6; }
.flow-step p strong { color: var(--t-mid); font-weight: 600; }

/* ---------- the landing page's offer ---------- */
.offer { padding: 92px 48px; background: radial-gradient(ellipse 70% 100% at 50% 0%, rgba(122,175,201,0.12) 0%, transparent 55%), linear-gradient(180deg, #0e1623 0%, var(--bg-deep) 100%); border-top: 1px solid var(--line); }
.offer-inner { max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: 1fr 430px; gap: 64px; align-items: center; }
.offer h2 { font-size: clamp(26px, 3vw, 40px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 18px; }
.offer .lede { margin-bottom: 26px; max-width: 470px; }
.offer .lock-note { margin-top: 26px; max-width: 470px; }
.offer .lock-note strong { display: block; margin-bottom: 4px; }
.rail-section--cg { border-top: 1px solid var(--line); }

@media (max-width: 1060px) {
	.cg-hero-inner { grid-template-columns: 1fr; gap: 40px; padding: calc(var(--nav-h) + 44px) 24px 56px; }
	.cg-hero .hero-card { max-width: 520px; width: 100%; }
	.offer-inner, .lec-grid { grid-template-columns: 1fr; gap: 40px; }
	.offer { padding: 64px 24px; }
	.offer .price-card { max-width: 480px; width: 100%; }
}
/* Phones: the form follows the headline directly. At a stand the scan has to land on
   something to fill in, so the lecture card and countdown move below the form. */
@media (max-width: 760px) {
	.cg-hero-inner { gap: 0; }
	.cg-left { display: contents; }
	/* The open-state wrapper joins the grid too, but ONLY while shown: display:contents
	   on a [hidden] element would override hidden, and the closed state could never hide it. */
	.cg-left > [data-open-only]:not([hidden]), .cg-left > [data-closed-only]:not([hidden]) { display: contents; }
	.cg-hero-inner > [data-closed-only] { order: 3; }
	.cg-cobrand { order: 1; } .cg-head { order: 2; }
	.cg-hero-inner > .hero-card { order: 3; margin: 4px 0 26px; }
	.cg-lecture { order: 4; } .cg-hero .deadline { order: 5; }
	.cg-sub { margin-bottom: 22px; }
}
@media (max-width: 820px) { .cpdflow-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cg-lecture-art { flex-basis: 96px; } .cg-hero .hero-card { padding: 24px 20px 22px; } }
