/* United Leadership Group membership platform: premium design layer.
   Loaded last on every page. Carries the main website's canonical tokens (assets/styles.css of
   the daniel-willis-unitedleadershipgroup repo), its header, buttons, glass, footer and type
   behaviour, and re-skins every generic platform component so the member wing reads as the same
   digital property. Gold is a restrained accent only. Platform tokens in site.css stay untouched. */

/* ================= tokens (copied from the main site) ================= */
:root {
  --navy: #06101e; --navy-2: #0c0f22; --deep: #09203c; --panel: #0e2035; --panel-2: #10233b;
  --blue: #1769ed; --blue-2: #2679fb; --action: #168bff; --ice: #8acaff; --paper: #edf2f8; --white: #f6f8fd;
  --muted: #b6c3d3; --muted-2: #c2ccda; --dim: #7f97b3; --gold: #d6a642; --good: #4cd39c; --warn: #e0b04c; --bad: #ff8686;
  --line: rgba(188, 215, 255, .16); --line-2: rgba(216, 234, 255, .28);
  --font-display: 'Barlow Condensed', 'Arial Narrow', Impact, Arial, sans-serif; --font-body: 'Manrope', Arial, Helvetica, sans-serif;
  --ease-out: cubic-bezier(.23, 1, .32, 1); --header-h: 86px;
  --r-hero: 18px; --r-panel: 14px; --r-card: 12px; --r-inset: 10px; --r-btn: 5px; --portal-w: 264px;
}
@font-face { font-family: 'Barlow Condensed'; src: url('/assets/fonts/barlow-condensed-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/assets/fonts/barlow-condensed-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/assets/fonts/manrope-variable.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }

/* ================= base ================= */
html { background: var(--navy); scroll-behavior: smooth; }
body { margin: 0; background: var(--navy); color: var(--white); font-family: var(--font-body); font-size: 16.5px; line-height: 1.62; -webkit-font-smoothing: antialiased; }
body .site-bg { display: none; }
#progress { background: var(--blue); }
::selection { background: var(--blue); color: #fff; }
a { color: inherit; }
img, svg, video { max-width: 100%; }
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; line-height: 1.02; text-transform: none; color: var(--white); text-wrap: balance; margin: 0 0 .5em; }
h1 { font-size: clamp(3.2rem, 6.2vw, 6.2rem); max-width: 15ch; line-height: .98; }
h2 { font-size: clamp(2.4rem, 4.2vw, 4.4rem); max-width: 18ch; }
h3 { font-size: clamp(1.5rem, 2vw, 2.1rem); }
h4, h5, h6 { color: var(--white); font-family: var(--font-body); }
p { text-wrap: pretty; }
.pop { display: inline-block; color: var(--ice); background-image: linear-gradient(120deg, #1769ed 0%, #8acaff 35%, #eef5ff 50%, #8acaff 65%, #1769ed 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1.18; padding-bottom: .05em; }
.pop[data-visible] { animation: pop-sheen 5s linear 700ms infinite; }
@keyframes pop-sheen { to { background-position: -220% 0; } }
.lede { max-width: 560px; color: #d2dce8; font-size: 1.12rem; line-height: 1.65; }
.muted { color: var(--muted); }
.eyebrow { color: var(--ice); font-size: .92rem; font-weight: 700; display: flex; align-items: center; gap: 12px; margin-bottom: 20px; text-transform: none; letter-spacing: 0; }
.eyebrow::before { content: ''; width: 28px; height: 3px; background: currentColor; }
.wrap { width: min(1280px, calc(100% - 80px)); max-width: none; margin-inline: auto; padding: 0; }
.wrap.narrow { width: min(820px, calc(100% - 80px)); }
.skip { position: absolute; left: -999px; top: 12px; z-index: 100; padding: 10px 16px; background: var(--blue); color: #fff; border-radius: 5px; }
.skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }
[hidden] { display: none !important; }
.ulg-kicker, .section-label, .stat-k, .form-label, .lbl-t, .k { color: var(--ice); font-size: .78rem; font-weight: 700; letter-spacing: .02em; text-transform: none; }
.lbl-t, .form-label { color: var(--muted-2); font-size: .82rem; }
.text-deep, .text-ink, .text-surface { color: var(--white) !important; }
.text-ink-2, .text-surface\/60, .text-surface\/70 { color: var(--muted) !important; }
.text-brand-3, .text-brand { color: var(--ice) !important; }
.text-warn { color: var(--warn) !important; }
.text-good, .text-good-3 { color: var(--good) !important; }
.quiet-link, .text-link, .foot-link, .textlink { color: var(--ice); font-weight: 700; }
.textlink { display: inline-block; border-bottom: 1px solid currentColor; padding-bottom: 3px; text-decoration: none; }
.textlink:hover { color: #fff; }
hr, .divide-deep\/6 > * + * { border-color: var(--line) !important; }

/* ================= glass family ================= */
.glass-hero, .glass-panel, .glass-card, .glass-inset { color: var(--white); }
.glass-hero { background: linear-gradient(135deg, rgba(255,255,255,.075), rgba(138,202,255,.018)), rgba(7,25,46,.60); border: 1px solid rgba(216,234,255,.28); border-right-color: rgba(198,222,255,.16); border-bottom-color: rgba(198,222,255,.16); border-radius: var(--r-hero); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 24px 70px rgba(2,7,24,.30); backdrop-filter: blur(18px) saturate(125%); -webkit-backdrop-filter: blur(18px) saturate(125%); }
.glass-panel { background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(23,105,237,.025)), rgba(9,32,60,.72); border: 1px solid rgba(188,215,255,.20); border-radius: var(--r-panel); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 20px 55px rgba(0,0,0,.24); backdrop-filter: blur(14px) saturate(115%); -webkit-backdrop-filter: blur(14px) saturate(115%); }
.glass-card { background: linear-gradient(155deg, rgba(255,255,255,.035), rgba(11,32,61,.58)); border: 1px solid rgba(188,215,255,.15); border-radius: var(--r-card); box-shadow: inset 0 1px 0 rgba(255,255,255,.045); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
@media (hover: hover) { .glass-card:hover { transform: translateY(-2px); border-color: rgba(138,202,255,.34); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 40px rgba(2,7,24,.28); } }
.glass-inset { background: rgba(4, 14, 28, .55); border: 1px solid rgba(188,215,255,.12); border-radius: var(--r-inset); box-shadow: inset 0 1px 0 rgba(255,255,255,.03); }
@supports not (backdrop-filter: blur(1px)) { .glass-hero { background: #0b2340; } .glass-panel { background: #0c2139; } .glass-card { background: #0f2238; } }
.g-pad { padding: 30px; } .g-pad-lg { padding: 40px; } .g-pad-sm { padding: 20px; }

/* ================= buttons (main-site geometry) ================= */
.btn, .ulg-btn, .btn-brand, .btn-glass, .btn-solid, .btn-deep, .btn-ghost-dark, .um-btn {
  display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 54px; padding: 13px 23px; border: 1px solid var(--blue); border-radius: var(--r-btn); background: var(--blue); color: #fff !important;
  font-family: var(--font-body); font-size: .94rem; font-weight: 700; line-height: 1.35; text-align: center; text-transform: none; letter-spacing: 0; text-shadow: none; text-decoration: none; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate; transition: transform 140ms var(--ease-out), background-color 160ms ease, border-color 160ms ease; box-shadow: none;
}
.btn::after, .ulg-btn::after { content: ''; flex: none; width: 8px; height: 8px; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); transition: transform 180ms var(--ease-out); }
.btn::before, .ulg-btn::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.55) 50%, transparent 65%); transform: translateX(-120%); pointer-events: none; animation: btn-shimmer 4.5s var(--ease-out) infinite; }
@keyframes btn-shimmer { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.btn:hover, .ulg-btn:hover { transform: translateY(-2px); background: var(--blue-2); border-color: var(--blue-2); }
.btn:hover::after, .ulg-btn:hover::after { transform: rotate(45deg) translate(3px, -3px); }
.btn:active, .ulg-btn:active { transform: translateY(0); }
.btn.secondary, .ulg-btn.ghost, .btn-glass, .btn-ghost-dark, .btn-link, .um-btn.um-secondary { background: rgba(6,16,30,.55); border-color: #68778b; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn.secondary:hover, .ulg-btn.ghost:hover, .btn-glass:hover, .btn-ghost-dark:hover, .btn-link:hover { background: #26364b; border-color: #8aa0bb; }
.btn.secondary::before, .ulg-btn.ghost::before, .btn-glass::before { display: none; }
.btn.small, .btn.min-h-9, .btn.min-h-10, .btn.min-h-11, .offer-actions .ulg-btn { min-height: 42px; padding: 10px 16px; font-size: .84rem; gap: 10px; }
.btn.quiet::after, .btn-link::after, .btn.h-\[52px\]::after { display: none; }
.btn.h-\[52px\].w-\[52px\] { min-height: 52px; width: 52px; padding: 0; }
.btn .ic { width: 18px; height: 18px; background: transparent !important; border-radius: 0; padding: 0; }
.btn.w-full, .ulg-btn.w-full { width: 100%; }
.btn[disabled], .ulg-btn[disabled] { opacity: .55; cursor: wait; transform: none; }
.action-row, .ulg-actions, .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* buttons that carry their own icon (template markup) drop the chevron */
.btn:has(> .ic)::after, .btn:has(> svg)::after { display: none; }
.btn:has(> .ic), .btn:has(> svg) { gap: 10px; }

/* ================= header (main-site treatment) ================= */
.header { position: sticky; top: 0; z-index: 60; background: rgba(4, 8, 16, .42); border-bottom: 1px solid #29374b4d; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: background-color 220ms ease, border-color 220ms ease; }
.header.is-scrolled { background: rgba(4, 8, 16, .8); }
.nav { min-height: var(--header-h); display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; margin-right: auto; line-height: 1.1; text-decoration: none; }
.brand-logo { width: 250px; height: auto; max-height: 84px; display: block; object-fit: contain; }
.navlinks { display: flex; gap: 27px; align-items: center; font-size: .82rem; font-weight: 600; }
.navlinks a { color: var(--white); white-space: nowrap; text-decoration: none; transition: color .18s ease; }
.navlinks a:hover, .navlinks a[aria-current="page"] { color: var(--ice); }
.navlinks a.nav-ext, .navlinks .nav-signin { color: var(--muted); }
.navlinks a.nav-ext:hover, .navlinks .nav-signin:hover { color: var(--ice); }
.desktop-cta { flex: none; }
.menu-toggle { display: none; background: none; border: 1px solid #56637a; border-radius: 4px; padding: 9px 13px; color: var(--white); font: 700 .85rem var(--font-body); cursor: pointer; min-height: 44px; }
body.members .header [data-nav-signedin], body.members .header [data-nav-cta], body.admin .header [data-nav-cta] { display: none !important; }
.menu { position: fixed; inset: 0; z-index: 90; background: rgba(5, 10, 20, .96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); display: flex; flex-direction: column; padding: 18px 24px 34px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .25s ease, visibility 0s linear .25s; }
.menu.open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .25s ease; }
.menu__top { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.menu__brand img { width: 170px; height: auto; }
.menu__links { display: flex; flex-direction: column; margin-top: 26px; }
.menu__links a { color: var(--white); font-family: var(--font-display); font-size: 2.1rem; font-weight: 700; padding: 13px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.menu__links a:hover { color: var(--ice); }
.menu__links a.nav-ext { color: var(--muted); }
.menu__cta { margin-top: auto; width: 100%; }
.menu__note { color: var(--muted); font-size: .84rem; margin: 12px 0 0; text-align: center; }

/* ================= hero system ================= */
.hero { position: relative; isolation: isolate; min-height: 740px; display: flex; align-items: center; overflow: hidden; margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h); }
.hero-picture, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--mop, 60% 40%); z-index: -3; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,29,46,.72), rgba(8,29,46,.06) 80%), linear-gradient(0deg, #06101e, transparent 28%); }
.hero::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 150px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(3,10,20,.5), transparent); }
.hero > .wrap { padding-top: 80px; padding-bottom: 112px; }
.hero h1 { max-width: 16ch; font-size: clamp(3.7rem, 7vw, 6.7rem); margin-bottom: 26px; animation: hero-enter 650ms var(--ease-out) both; }
.hero .lede { animation: hero-enter 650ms 70ms var(--ease-out) both; margin-bottom: 32px; }
.hero .actions { animation: hero-enter 650ms 140ms var(--ease-out) both; margin-top: 0; }
@keyframes hero-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-bottom { position: absolute; bottom: 28px; left: 0; right: 0; color: #c2ccda; font-size: .8rem; }
.hero-bottom .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.video-control { background: rgba(8,29,46,.6); color: #fff; border: 1px solid rgba(255,255,255,.45); border-radius: 40px; padding: 9px 18px; font-size: .78rem; font-weight: 700; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); cursor: pointer; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) 400px; gap: 60px; align-items: center; }
.hero-grid .glass-hero { padding: 30px; }
.first-20 h2, .first-20 h3 { font-size: 1.45rem; margin-bottom: 4px; max-width: none; }
.first-20 > p { color: var(--muted); margin: 0 0 14px; font-size: .95rem; }
.first-20 ol { list-style: none; padding: 0; margin: 0 0 18px; }
.first-20 li { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.first-20 li b { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--ice); min-width: 34px; }
.first-20 li div { font-weight: 700; }
.first-20 li small { display: block; color: var(--muted); font-weight: 500; margin-top: 3px; font-size: .88rem; }
.subhero { position: relative; isolation: isolate; overflow: hidden; margin-top: calc(var(--header-h) * -1); padding: calc(var(--header-h) + 70px) 0 80px; min-height: 520px; display: flex; align-items: center; }
.subhero .section-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--mop, 65% 40%); z-index: -3; }
.subhero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,16,30,.88), rgba(6,16,30,.25) 70%), linear-gradient(0deg, #06101e, transparent 40%); }
.subhero h1 { max-width: 18ch; font-size: clamp(3.2rem, 6.4vw, 6.4rem); }
.subhero .lede { max-width: 590px; }
.hero-signature { position: absolute; top: 150px; right: 6%; z-index: 2; pointer-events: none; }
.hero-signature svg { display: block; width: 380px; max-width: 34vw; height: auto; }
.signature { display: inline-flex; align-items: center; line-height: 0; }
.signature svg { display: block; width: 190px; max-width: 100%; height: auto; }
.signature .pen { animation-play-state: paused; }
.signature.in-view .pen { animation-play-state: running; }

/* ================= sections ================= */
.section { padding: 100px 0; }
.section.tight { padding: 70px 0; }
.section.light { background: var(--paper) !important; color: #0c1b2d; }
.section.light h2, .section.light h3 { color: #0c1b2d; }
.section.light p { color: #46556b; }
.section.light .eyebrow { color: #1262d5; }
.section-head { display: flex; justify-content: space-between; gap: 60px; align-items: end; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 0; }
.section-head p { max-width: 430px; color: var(--muted); margin: 0; }
.identity-line { border-block: 1px solid var(--line); background: rgba(8, 21, 36, .6); }
.identity-line .wrap { display: flex; justify-content: space-between; gap: 25px; color: #d6e0ed; font-size: .9rem; padding: 18px 0; }
.identity-line span::before { content: '\2713'; color: var(--ice); margin-right: 8px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; margin-top: 50px; }
.feature { border-top: 2px solid #3778ca; padding-top: 24px; background: none; border-radius: 0; min-height: 0; display: block; }
.feature h3 { font-size: 1.7rem; margin: 0 0 10px; }
.feature p { color: #bbc9d9; font-size: .98rem; margin: 0; }
.feature-index { font-size: .8rem; color: #749ccd; margin-bottom: 20px; display: block; }
.story-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.story-grid img { width: 100%; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.story-grid blockquote { border-left: 3px solid var(--ice); padding: 8px 20px; margin: 24px 0; color: #dce8f7; font-size: 1.12rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.path-row, .journey { display: grid; grid-template-columns: repeat(3, 1fr); gap: 45px; }
.journey article, .path-row article { padding-top: 24px; border-top: 1px solid #617c9a; background: none; }
.journey strong, .path-row b { font-family: var(--font-display); font-size: 3rem; font-weight: 400; color: var(--ice); display: block; line-height: 1; }
.journey h3, .path-row h3 { margin-top: 20px; font-size: 1.7rem; }
.journey p, .path-row p { color: var(--muted); }
.light .journey strong, .light .path-row b { color: #1262d5; }
.light .journey p, .light .path-row p { color: #46556b; }
.path-row a, .journey a { color: #1262d5; font-weight: 700; }
.preview-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.preview-strip a { display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; padding: 26px; position: relative; overflow: hidden; text-decoration: none; }
.preview-strip a img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--mop, 50% 30%); z-index: -1; transition: transform .8s var(--ease-out); }
.preview-strip a::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6,16,30,.96) 22%, rgba(6,16,30,.55) 60%, rgba(6,16,30,.15)); }
.preview-strip a:hover img { transform: scale(1.04); }
.preview-strip small { color: var(--ice); font-weight: 700; font-size: .8rem; }
.preview-strip b { font-family: var(--font-display); font-size: 1.9rem; line-height: 1; margin: 6px 0 8px; }
.preview-strip span { color: #c2ccda; font-size: .9rem; }
.closing { position: relative; isolation: isolate; overflow: hidden; padding: 120px 0; }
.closing .section-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--mop, 50% 40%); z-index: -2; }
.closing::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,16,30,.92), rgba(6,16,30,.6)); }
.closing .wrap { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.closing h2 { margin: 0; font-size: clamp(3rem, 5.5vw, 5.5rem); max-width: 14ch; }
.closing p { color: var(--muted-2); margin: 10px 0 0; }
.bridge { border-top: 1px solid var(--line); background: #081524; }
.bridge .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; flex-wrap: wrap; }
.bridge p { color: var(--muted); margin: 0; font-size: .92rem; }
.bridge p b { color: var(--white); }

/* ================= template surfaces re-skinned ================= */
.airy, .airy-run, .light-alt { background: transparent; color: var(--white); }
.airy-bg .glow { opacity: .16; filter: blur(90px); background: var(--blue) !important; }
.airy-bg .glow + .glow { opacity: .07; background: var(--ice) !important; }
.glass, .glass-dark, .intake-panel, .insights-panel, .tile, .callout, .note, .path-card, .post-card, .course-card, .tool-tile, .badge-card, .expert-card, .learning-paths, .member-expert-strip, .saved-plan-shell, .planner-shell .glass, .todo, .room-stage, .learning-path-grid li, .action-task, .course-practice, .followup-shell #followup-status {
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(23,105,237,.025)), rgba(9,32,60,.72); border: 1px solid rgba(188,215,255,.20); border-radius: var(--r-panel); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 20px 55px rgba(0,0,0,.24); backdrop-filter: blur(14px) saturate(115%); -webkit-backdrop-filter: blur(14px) saturate(115%); color: var(--white); animation: none !important; opacity: 1 !important;
}
.post-card, .course-card, .tool-tile, .badge-card, .expert-card, .learning-path-grid li, .action-task { background: linear-gradient(155deg, rgba(255,255,255,.035), rgba(11,32,61,.58)); border-color: rgba(188,215,255,.15); border-radius: var(--r-card); box-shadow: inset 0 1px 0 rgba(255,255,255,.045); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform 180ms ease, border-color 180ms ease; }
@media (hover: hover) { .post-card:hover, .course-card:hover, .tool-tile:hover, .badge-card:hover, .expert-card:hover { transform: translateY(-2px); border-color: rgba(138,202,255,.34); } }
.glass .glass, .glass .tile, .callout, .note { background: rgba(4, 14, 28, .55); border-color: rgba(188,215,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.03); backdrop-filter: none; -webkit-backdrop-filter: none; }
@supports not (backdrop-filter: blur(1px)) { .glass, .intake-panel, .post-card, .course-card, .tool-tile { background: #0c2139; } }
.glass, .intake-panel { padding: 28px; }
.callout, .note { border-left: 3px solid var(--ice); }
.field, .glass .field, input.field, select.field, textarea.field, .goal-calc input, .calc-grid input, .intake-panel input, .intake-panel textarea, .intake-panel select, .portal-main .field, #admin .field, .auth-card .field {
  width: 100%; min-height: 50px; padding: 12px 14px; background: rgba(4, 14, 28, .72) !important; border: 1px solid rgba(188,215,255,.22) !important; border-radius: 6px; color: #fff !important; font-size: 1rem; font-family: var(--font-body); box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}
.field::placeholder { color: var(--dim); }
.field:focus, .calc-grid input:focus, .portal-main .field:focus { border-color: var(--ice) !important; outline: none; box-shadow: 0 0 0 3px rgba(138,202,255,.2); }
select.field { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ice) 50%), linear-gradient(135deg, var(--ice) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
select.field option { background: #0b1a2e; color: #fff; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--blue); width: 18px; height: 18px; }
.chip, .glass .chip, .cat-tabs button, #cat-tabs button, #admin-tabs button, .vault-filters button, .seg-hero button, .glass .seg button, .seg-mini button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid rgba(188,215,255,.18) !important; border-radius: 6px; background: rgba(4,14,28,.55) !important; color: var(--muted-2) !important; font-size: .82rem; font-weight: 600; letter-spacing: 0; text-transform: none; white-space: nowrap; transition: background .18s ease, color .18s ease, border-color .18s ease; cursor: pointer; box-shadow: none;
}
.chip:hover, .cat-tabs button:hover, #cat-tabs button:hover, .vault-filters button:hover, .seg-hero button:hover { border-color: var(--ice) !important; color: #fff !important; }
.chip[aria-pressed="true"], .chip-brand, .cat-tabs button[aria-selected="true"], #cat-tabs button[aria-selected="true"], #admin-tabs button[aria-selected="true"], .vault-filters button.active, .seg-hero button[aria-pressed="true"], .glass .seg button[aria-pressed="true"], .seg-mini button[aria-pressed="true"] { background: var(--blue) !important; border-color: var(--blue) !important; color: #fff !important; }
.chip-soft { background: transparent !important; border-color: var(--line-2) !important; color: var(--ice) !important; }
.chip-deep { background: rgba(214,166,66,.16) !important; border-color: rgba(214,166,66,.5) !important; color: #f0d48a !important; }
.chip:empty, [data-level-chip]:empty { display: none; }
.cat-tabs, .seg-hero, .glass .seg { background: transparent; padding: 0; gap: 6px; border-radius: 0; box-shadow: none; flex-wrap: wrap; overflow: visible; }
.stat-v { color: var(--white); font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; }
.level-bar { background: rgba(255,255,255,.1); }
.level-bar span { background: linear-gradient(90deg, var(--blue), var(--ice)); }
.avatar { background: linear-gradient(135deg, var(--blue), #0b2340); color: #fff; font-family: var(--font-display); }
.bubble-bot { background: rgba(4,14,28,.6); border: 1px solid var(--line); color: var(--white); }
.bubble-user { background: var(--blue); color: #fff; }
.mbadge { background: var(--ice); color: var(--navy); font-weight: 800; }
.mbadge.live-dot { min-width: 10px; width: 10px; height: 10px; padding: 0; background: var(--good); box-shadow: 0 0 0 4px rgba(76,211,156,.25); }
.admin-table th { color: var(--ice); border-bottom-color: var(--line); font-size: .74rem; letter-spacing: .04em; }
.admin-table td { color: var(--white); border-bottom-color: var(--line); }
.admin-table tbody tr:hover { background: rgba(255,255,255,.04); }
.table-scroll { overflow: auto; border: 1px solid var(--line); border-radius: var(--r-inset); }
.drawer-backdrop { background: rgba(3,7,13,.7); }
.drawer-panel { background: #08172a; border-left: 1px solid var(--line); color: var(--white); }
.drawer-panel .bubble-bot { background: rgba(4,14,28,.7); }
.reward-x { background: rgba(4,14,28,.7); color: #fff; border-color: var(--line); }
.stepno { background: var(--blue); color: #fff; border-radius: 6px; }
.stepno-done { background: var(--good); color: var(--navy); }
.faq details, .light .faq details { background: linear-gradient(155deg, rgba(255,255,255,.035), rgba(11,32,61,.58)); border: 1px solid rgba(188,215,255,.15); border-radius: var(--r-card); box-shadow: none; }
.faq summary, .light .faq summary { color: var(--white); font-weight: 700; padding: 18px 22px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-family: var(--font-body); font-size: 1.02rem; letter-spacing: 0; line-height: 1.4; margin: 0; }
.faq .a, .light .faq .a { color: var(--muted-2); padding: 0 22px 20px; }
.faq summary::after, .light .faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--ice); }
.faq details[open] summary::after { content: '\2212'; }
.faq details + details { margin-top: 10px; }
.form-error, #join-err, #login-err, #reset-err, #setup-err { color: var(--bad); }
.sheen { background: linear-gradient(100deg, var(--ice) 0%, var(--blue) 40%, var(--ice) 60%, var(--blue) 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.tool-tile { display: flex; gap: 14px; align-items: flex-start; padding: 18px; }
.tool-tile b { display: block; color: var(--white); font-size: 1rem; }
.tool-tile > span:last-child > span { color: var(--muted); font-size: .84rem; }
.course-ic { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 8px; background: rgba(23,105,237,.22); color: var(--ice); }
.topic-options { display: grid; gap: 10px; margin: 16px 0 22px; }
.topic-option { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-inset); background: rgba(4,14,28,.5); color: var(--white); cursor: pointer; transition: border-color .18s ease; }
.topic-option:hover { border-color: var(--ice); }
.topic-option:has(input:checked) { border-color: var(--blue); background: rgba(23,105,237,.14); }
.topic-option > span { flex: 1; display: block; }
.topic-option > span > strong { display: block; margin-bottom: 4px; }
.topic-option > span > span { display: block; color: var(--muted); font-size: .88rem; }
.topic-option input[type="radio"] { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.steps { display: flex; gap: 12px; flex-wrap: wrap; margin: 18px 0; }
.step { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 6px; font-size: .82rem; color: var(--muted); background: rgba(4,14,28,.5); border: 1px solid var(--line); box-shadow: none; backdrop-filter: none; }
.step.ok, .step[aria-current="step"] { color: var(--white); border-color: var(--blue); }
.intake-shell { padding-top: 60px; padding-bottom: 100px; }
.intake-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; }
.learning-paths { padding: 26px; }
.learning-paths h2 { font-size: 2rem; margin: 8px 0 18px; }
.learning-path-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.learning-path-grid li { padding: 18px; }
.learning-path-grid li a { color: var(--white); text-decoration: none; display: block; }
.learning-path-grid p { color: var(--muted); font-size: .88rem; }
.room-stage { padding: 0; overflow: hidden; }
.room-screen { background: radial-gradient(ellipse at 50% 40%, rgba(23,105,237,.22), transparent 60%), #071527; border: 0; border-radius: 0; min-height: 420px; display: grid; place-items: center; padding: 40px; }
.room-k { color: var(--ice); font-size: .82rem; font-weight: 700; }
.room-t { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.room-s { color: var(--muted); }
.room-count { display: flex; gap: 10px; justify-content: center; margin-top: 22px; }
.room-count div { background: rgba(4,14,28,.6); border: 1px solid var(--line); border-radius: 8px; min-width: 76px; padding: 12px 8px; text-align: center; }
.room-count b { font-family: var(--font-display); font-size: 2rem; color: var(--ice); display: block; line-height: 1; }
.room-count span { color: var(--muted); font-size: .72rem; }
.expert-card { display: grid; gap: 18px; padding: 18px; text-decoration: none; }
.expert-card img { width: 100%; border-radius: 8px; }
.expert-card h2, .expert-card h3 { font-size: 1.8rem; margin: 6px 0; }
.expert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.expert-directory, .expert-profile { padding-top: 80px; padding-bottom: 90px; }
.founder-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.founder-photo { width: 100%; border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.profile-summary { font-size: 1.25rem; color: var(--white); margin: 18px 0; line-height: 1.5; }
.profile-bio p, .expert-profile li { color: var(--muted-2); line-height: 1.75; }
.expert-profile h2 { font-size: 1.8rem; margin: 34px 0 12px; }
.expert-profile ul { list-style: none; padding: 0; }
.expert-profile li::before { content: '\2713'; color: var(--ice); margin-right: 10px; }
.legal-page main .wrap, .people-page main .wrap { width: min(860px, calc(100% - 80px)); }
.people-page main .expert-profile.wrap { width: min(1180px, calc(100% - 80px)); }
.legal-page h1 { font-size: clamp(2.8rem, 5vw, 4.6rem); }
.legal-page h2 { font-size: 1.6rem; margin: 34px 0 10px; }
.legal-page p, .legal-page li { color: var(--muted-2); line-height: 1.75; }

/* ================= auth pages ================= */
.auth-page { position: relative; isolation: isolate; min-height: calc(100vh - var(--header-h)); display: grid; align-items: center; padding: 70px 0 100px; overflow: hidden; margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + 60px); }
.auth-page__image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--mop, 72% 30%); }
.auth-page::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,16,30,.94) 0%, rgba(6,16,30,.78) 45%, rgba(6,16,30,.3) 100%), linear-gradient(0deg, var(--navy), transparent 30%); }
.auth-grid { display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: 70px; align-items: center; }
.auth-copy h1 { font-size: clamp(3rem, 5.4vw, 5.4rem); max-width: 14ch; }
.auth-copy .lede { margin: 18px 0 30px; }
.auth-copy ul { list-style: none; padding: 0; display: grid; gap: 14px; }
.auth-copy li { display: flex; gap: 14px; color: var(--muted-2); line-height: 1.5; align-items: flex-start; }
.auth-copy li b { color: var(--white); }
.auth-copy li .ic { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 8px; background: rgba(23,105,237,.22); color: var(--ice); }
.auth-copy li .ic svg { width: 18px; height: 18px; }
.auth-card { padding: 34px; }
.auth-card h1, .auth-card .auth-title { font-size: 2.3rem; margin: 6px 0 8px; max-width: none; }
.auth-card .auth-sub { color: var(--muted); margin: 0 0 22px; }
.auth-card .grid { margin-top: 18px; }
.auth-card .consent-row { font-size: .82rem; color: var(--muted); line-height: 1.55; }
.auth-card .auth-foot { margin-top: 18px; text-align: center; font-size: .88rem; color: var(--muted); }
.auth-card .auth-foot a { color: var(--ice); font-weight: 700; }
.auth-card .auth-brand { display: block; width: 190px; margin: 0 0 18px; }
.auth-single { width: min(500px, 100%); margin: 0 auto; }
.auth-hint { color: var(--muted); font-size: .8rem; margin-top: 6px; }
.auth-preview { display: grid; gap: 10px; margin-top: 28px; }
.auth-preview span { display: flex; gap: 10px; align-items: center; color: var(--muted-2); font-size: .9rem; }
.auth-preview span::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ice); }
#join-recap { margin-top: 24px; padding: 16px 18px; }

/* ================= public resources, planner, FAQ ================= */
.resource-hero-covers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cover { position: relative; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: linear-gradient(160deg, #0f2a4a, #071527); border: 1px solid var(--line-2); box-shadow: 0 30px 60px rgba(0,0,0,.45); display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.cover::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6,16,30,.95), rgba(6,16,30,.2)); }
.cover > * { position: relative; }
.cover small { color: var(--ice); font-size: .72rem; font-weight: 700; }
.cover b { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.05; display: block; margin-top: 6px; }
.cover .type { position: absolute; top: 14px; left: 14px; padding: 4px 8px; border-radius: 4px; background: rgba(4,14,28,.7); border: 1px solid var(--line); font-size: .68rem; font-weight: 700; color: var(--muted-2); }
.res-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 46px; }
.res-cat { padding: 26px; }
.res-cat b { font-family: var(--font-display); font-size: 1.6rem; display: block; margin-bottom: 8px; }
.res-cat p { color: var(--muted); margin: 0 0 10px; font-size: .95rem; }
.res-cat span { color: var(--ice); font-size: .82rem; font-weight: 700; }
.res-list { list-style: none; padding: 0; margin: 20px 0 0; columns: 2; column-gap: 40px; }
.res-list li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--muted-2); display: flex; justify-content: space-between; gap: 12px; }
.res-list li small { color: var(--dim); }
.calc-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items: stretch; }
.calc-box { padding: 36px; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; margin-bottom: 6px; }
.calc-grid label { display: grid; gap: 8px; color: var(--muted-2); font-size: .88rem; font-weight: 600; }
.calc-results { background: #154ead; border-radius: 9px; padding: 34px; display: flex; flex-direction: column; justify-content: center; }
.results-label { font-size: .85rem; color: #cfe0fb; font-weight: 600; }
.metric { display: block; font-family: var(--font-display); font-size: 4.4rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 8px 0 14px; font-variant-numeric: tabular-nums; }
.calc-results p { font-size: .95rem; color: #e8f0ff; }
.calc-results hr { width: 100%; border: 0; border-top: 1px solid #81a8e8; margin: 20px 0; }
.faq-groups { display: grid; gap: 40px; }
.faq-groups h2 { font-size: 1.9rem; margin-bottom: 14px; }

/* ================= portal shell ================= */
.portal { display: grid; grid-template-columns: var(--portal-w) minmax(0, 1fr); min-height: calc(100vh - var(--header-h)); }
.portal-side { position: sticky; top: var(--header-h); align-self: start; height: calc(100vh - var(--header-h)); display: flex; flex-direction: column; background: linear-gradient(180deg, rgba(6,16,30,.96), rgba(4,10,20,.98)); border-right: 1px solid var(--line); padding: 22px 16px 20px; overflow-y: auto; }
.portal-side__head { display: flex; align-items: center; justify-content: space-between; padding: 0 6px 18px; }
.portal-side__brand { display: block; line-height: 0; }
.portal-side__brand .brand-logo { width: 190px; max-height: 64px; }
.portal-side__close { display: none; }
.portal-side__who { display: flex; align-items: center; gap: 12px; padding: 14px 10px; margin-bottom: 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.portal-side__avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), #0b2340); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #fff; overflow: hidden; flex: none; }
.portal-side__avatar img { width: 100%; height: 100%; object-fit: cover; }
.portal-side__who b { display: block; font-size: .92rem; line-height: 1.2; }
.portal-side__who small { display: block; color: var(--ice); font-size: .74rem; font-weight: 700; }
.portal-side .mnav { display: flex; flex-direction: column; gap: 2px; padding: 6px 0; margin: 0 !important; max-width: none; background: transparent; border: 0; box-shadow: none; border-radius: 0; overflow: visible; align-items: stretch; }
.portal-side .mnav a { display: flex; justify-content: flex-start; align-items: center; gap: 12px; min-height: 46px; padding: 0 12px; border-radius: 8px; color: var(--muted-2); font-size: .9rem; font-weight: 600; white-space: nowrap; background: transparent; box-shadow: none; border-left: 0; transition: background .18s ease, color .18s ease; text-decoration: none; }
.portal-side .mnav a svg { width: 19px; height: 19px; flex: none; opacity: .75; }
.portal-side .mnav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.portal-side .mnav a.active, .portal-side .mnav a[aria-current="page"] { color: #fff; background: linear-gradient(90deg, rgba(23,105,237,.28), rgba(23,105,237,.08)); box-shadow: inset 2px 0 0 var(--ice); font-weight: 700; }
.portal-side .mnav a.active svg, .portal-side .mnav a[aria-current="page"] svg { color: var(--ice); opacity: 1; }
.portal-side .mnav .mbadge { margin-left: auto; }
.portal-side__foot { margin-top: auto; padding: 16px 10px 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.portal-side__site { color: var(--ice); font-size: .84rem; font-weight: 700; text-decoration: none; }
.portal-side__out { text-align: left; color: var(--muted); font-size: .84rem; font-weight: 600; padding: 6px 0; background: none; border: 0; cursor: pointer; }
.portal-side__out:hover { color: #fff; }
.portal-main { min-width: 0; padding-bottom: 60px; background: radial-gradient(ellipse 60% 40% at 80% 0%, rgba(23,105,237,.14), transparent 70%); }
.portal-main > .airy, .portal-main > .member-page { padding-top: 44px; }
.portal-main .wrap { width: min(1180px, calc(100% - 72px)); }
.portal-top, .portal-bar, .portal-scrim { display: none; }
.portal-main #page-h, .portal-main h1.display, .member-head h1 { font-size: clamp(2.6rem, 4.2vw, 4.2rem); max-width: 16ch; line-height: .98; }
.portal-main h2.display { font-size: 1.9rem; }
.portal-main [data-greeting] { color: var(--ice); font-size: .88rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
.member-page { padding: 44px 0 80px; }
.member-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 34px; }
.member-head p { color: var(--muted); max-width: 52ch; margin: 8px 0 0; font-size: 1.05rem; }
.member-media { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-hero); min-height: 380px; display: flex; align-items: flex-end; padding: 34px; margin-bottom: 18px; }
.member-media img, .member-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--mop, 50% 30%); z-index: -2; }
.member-media::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,16,30,.92) 0%, rgba(6,16,30,.5) 60%, rgba(6,16,30,.15)); }
.member-media .glass-hero { max-width: 560px; padding: 28px; }
.member-media h2 { font-size: clamp(2rem, 3.2vw, 3.2rem); margin-bottom: 10px; }
.member-media p { color: #d2dce8; margin: 0 0 18px; }
.dock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.dock a { padding: 18px 20px; display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--white); }
.dock a svg { width: 22px; height: 22px; color: var(--ice); flex: none; }
.dock b { display: block; font-size: .95rem; }
.dock span { display: block; color: var(--muted); font-size: .82rem; }
.cc-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; margin: 14px 0; }
.cc-grid > article { padding: 26px; display: flex; flex-direction: column; }
.cc-grid article h3 { font-size: 1.7rem; margin: 6px 0 8px; }
.cc-grid article p { color: var(--muted); margin: 0 0 14px; }
.cc-grid article .status { color: var(--ice); font-size: .82rem; font-weight: 700; }
.cc-grid article a.more { margin-top: auto; color: var(--ice); font-weight: 700; text-decoration: none; }
.cc-live { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.cc-live div { padding: 16px 18px; }
.cc-live b { display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--ice); }
.cc-live span { color: var(--muted); font-size: .8rem; }
.res-featured { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 26px; padding: 26px; align-items: center; margin-bottom: 26px; }
.res-featured h2 { font-size: 2.2rem; margin: 6px 0 8px; }
.res-featured p { color: var(--muted); margin: 0 0 16px; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 6px 0 18px; padding: 12px; }
.toolbar input.field { max-width: 380px; min-height: 46px; }
.vault-filters { display: flex; gap: 8px; overflow: auto; padding: 2px; scrollbar-width: none; flex: 1; }
.vault-filters::-webkit-scrollbar { display: none; }
.vault-grid, .offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.vault-grid article, .offer-grid article { padding: 22px; display: flex; flex-direction: column; min-height: 210px; }
.vault-grid > article > span:first-child, .offer-grid span.cat { color: var(--ice); font-size: .76rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
.vault-grid h2, .offer-grid h2 { font-size: 1.5rem; line-height: 1.08; margin: 12px 0 8px; }
.vault-grid p, .offer-grid p { color: var(--muted); font-size: .9rem; margin: 0 0 14px; }
.vault-grid .meta { display: flex; gap: 12px; color: var(--dim); font-size: .78rem; margin-bottom: 12px; }
.vault-grid > article > a, .offer-grid footer a { margin-top: auto; color: var(--ice); font-weight: 700; text-decoration: none; }
.vault-bridge { margin: 4px 0 20px; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-left: 3px solid var(--ice); }
.vault-bridge p { margin: 0; color: var(--muted-2); font-size: .92rem; }
.vault-bridge p b { color: var(--white); }
.vault-bridge a { color: var(--ice); font-weight: 700; white-space: nowrap; }
.skeleton { position: relative; overflow: hidden; background: rgba(255,255,255,.05); border-radius: 8px; min-height: 14px; }
.skeleton::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent); animation: skel 1.4s ease-in-out infinite; }
@keyframes skel { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.skel-card { padding: 22px; display: grid; gap: 12px; min-height: 210px; align-content: start; }
.skel-card .skeleton:nth-child(1) { width: 40%; } .skel-card .skeleton:nth-child(2) { height: 28px; width: 80%; } .skel-card .skeleton:nth-child(3) { height: 44px; }
.state-box { padding: 32px; text-align: center; grid-column: 1 / -1; }
.state-box h3 { font-size: 1.6rem; margin-bottom: 6px; }
.state-box p { color: var(--muted); margin: 0 0 16px; }
.offer-paths { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 0 0 30px; }
.offer-paths button { min-height: 0; padding: 16px; text-align: left; align-items: flex-start; flex-direction: column; gap: 6px; white-space: normal; display: flex; border: 1px solid rgba(188,215,255,.15); border-radius: var(--r-card); background: linear-gradient(155deg, rgba(255,255,255,.035), rgba(11,32,61,.58)); color: var(--white); cursor: pointer; transition: border-color .18s ease, transform .18s ease; }
.offer-paths button:hover { border-color: var(--ice); transform: translateY(-2px); }
.offer-paths button.active { border-color: var(--blue); background: rgba(23,105,237,.2); }
.offer-paths button svg { width: 22px; height: 22px; color: var(--ice); }
.offer-paths button b { font-family: var(--font-display); font-size: 1.25rem; color: var(--white); line-height: 1; }
.offer-paths button small { color: var(--muted); font-size: .78rem; font-weight: 500; }
.offer-lead { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 0 0 50px; }
.offer-lead article { position: relative; min-height: 460px; border-radius: var(--r-hero); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; isolation: isolate; border: 1px solid var(--line-2); }
.offer-lead article img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; z-index: -1; transition: transform .8s var(--ease-out); }
.offer-lead article::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6,16,30,.98) 36%, rgba(6,16,30,.8) 60%, rgba(6,16,30,.15)); }
.offer-lead article:hover img { transform: scale(1.04); }
.offer-lead .cat { color: var(--ice); font-size: .8rem; font-weight: 700; }
.offer-lead h2 { font-size: 2.5rem; margin: 10px 0 8px; }
.offer-lead p { color: #c2cfe0; font-size: .95rem; max-width: 46ch; margin: 0 0 8px; }
.offer-lead .fit { color: var(--muted); font-size: .84rem; }
.offer-lead .fit b { color: var(--white); }
.offer-lead footer { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.offer-price { display: inline-flex; flex-direction: column; gap: 4px; }
.offer-price b { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.offer-price small { color: var(--muted); font-size: .74rem; }
.offer-price .pending { color: var(--ice); }
.offer-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.offer-groups { display: grid; gap: 14px; margin: 0 0 50px; }
.offer-group { padding: 24px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.offer-group .cat { color: var(--ice); font-size: .8rem; font-weight: 700; }
.offer-group h3 { font-size: 1.9rem; margin: 8px 0 6px; }
.offer-group p { color: var(--muted); font-size: .92rem; }
.offer-group ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.offer-group li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; font-size: .86rem; }
.offer-group li a { color: var(--ice); font-weight: 700; white-space: nowrap; text-decoration: none; }
.offer-group li .n { color: var(--white); }
.offer-group li .more { color: var(--muted); }
.offer-catalog-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 18px; flex-wrap: wrap; }
.offer-catalog-head h2 { font-size: 2.4rem; margin: 0; }
.offer-catalog-head p { color: var(--muted); margin: 0; max-width: 46ch; }
.offer-grid article { min-height: 250px; }
.offer-grid footer { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-top: auto; padding-top: 16px; flex-wrap: wrap; }
.offer-grid footer b { font-family: var(--font-display); font-size: 1.2rem; }
.pending-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border: 1px solid rgba(138,202,255,.45); border-radius: 4px; color: var(--ice); font-size: .68rem; font-weight: 700; }
.offer-team { margin-top: 40px; padding: 34px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }
.offer-team h2 { font-size: 2.4rem; margin: 8px 0; }
.offer-team p { color: var(--muted); max-width: 60ch; margin: 0; }
.billing-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.billing-card, .billing-help { padding: 30px; }
.billing-card h2 { font-size: 2.3rem; margin: 8px 0 10px; }
.billing-card p, .billing-help p { color: var(--muted); }
.billing-status { min-height: 24px; color: var(--warn); margin-top: 12px; font-size: .9rem; }
.billing-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.billing-facts div { padding: 14px 16px; }
.billing-facts b { display: block; font-size: .88rem; }
.billing-facts span { color: var(--muted); font-size: .8rem; }
.billing-help h3 { font-size: 1.5rem; margin-bottom: 8px; }
.billing-help + .billing-help { margin-top: 16px; }
.billing-empty { padding: 24px; display: flex; gap: 16px; align-items: center; }
.billing-empty svg { width: 30px; height: 30px; color: var(--ice); flex: none; }
.billing-empty b { display: block; }
.billing-empty span { color: var(--muted); font-size: .9rem; }
.billing-subs { display: grid; gap: 10px; }

/* ================= admin ================= */
body.admin .portal-main, body.admin .airy { padding-top: 30px; }
body.admin #page-h { font-size: clamp(2.2rem, 3.4vw, 3.2rem); }
[data-counts] > div, .stat { background: rgba(4,14,28,.55); border: 1px solid var(--line); border-radius: var(--r-inset); padding: 14px 16px; }
[data-counts] > div p:first-child { color: var(--ice); font-size: .8rem; font-weight: 700; }
body.admin .btn.btn-glass { min-height: 42px; padding: 10px 16px; font-size: .84rem; }

/* ================= footer (main-site treatment) ================= */
body footer.footer, body footer.site-footer { padding: 70px 0 44px; background: #000 !important; color: var(--muted); border-top: 1px solid #1c2636; border-radius: 0; margin-top: 0; position: relative; isolation: isolate; overflow: hidden; }
.footer::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 60% at 15% 0%, rgba(23,105,237,.14), transparent 70%); pointer-events: none; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 50px; }
.footer-brand__line { max-width: 42ch; }
.footer-brand .brand-logo { width: 229px; max-height: 60px; }
.footer-brand__line { color: #acbed3; margin: 20px 0 0; max-width: 34ch; font-size: .95rem; line-height: 1.6; }
.footer-signature { display: block; line-height: 0; margin-top: 22px; }
.footer-brand .footer-signature img { display: block; width: 640px; max-width: 100% !important; max-height: none !important; height: auto !important; aspect-ratio: 511.8 / 202; object-fit: fill; }
.footer h3, .footer .footer-h { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: #fff; margin: 0 0 14px; text-transform: none; letter-spacing: 0; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 9px 0; font-size: .9rem; color: #acbed3; }
.footer li a, .footer-out { color: #acbed3; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; min-height: 28px; transition: color .18s ease; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.footer li a:hover, .footer-out:hover { color: #fff; }
.footer li svg { width: 16px; height: 16px; flex-shrink: 0; color: #5d84b8; transition: color .18s ease; }
.footer li a:hover svg, .footer-out:hover svg { color: #8acaff; }
.ulg-social { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 22px; }
.ulg-social__link { width: 46px; height: 46px; box-sizing: border-box; display: grid; place-items: center; position: relative; border: 1px solid #354b62; border-radius: 13px; background: linear-gradient(145deg, #192635, #090f17 75%); color: #eaf3fb; box-shadow: inset 0 1px 0 #ffffff12; text-decoration: none; transition: transform 180ms var(--ease-out), border-color 180ms, color 180ms; isolation: isolate; }
.ulg-social__link svg { width: 21px; height: 21px; display: block; }
.ulg-social__link::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; box-shadow: 0 0 18px #4bafff40, inset 0 0 12px #5ec2ff12; border: 1px solid #7fceff; opacity: 0; transition: opacity 180ms; pointer-events: none; }
.ulg-social__link:hover { transform: translateY(-2px); color: #fff; border-color: #5b7d9f; }
.ulg-social__link:hover::before { opacity: 1; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid #273548; padding-top: 24px; margin-top: 45px; font-size: .8rem; color: #a6b7ca; flex-wrap: wrap; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: #a6b7ca; text-decoration: none; }
.footer-legal a:hover { color: #fff; }
.footer-disclaimer { color: #6d7f94; font-size: .76rem; max-width: 900px; margin: 18px 0 0; line-height: 1.6; }
.launch-credit { display: inline-flex; align-items: center; gap: 0; text-decoration: none; background: transparent; max-width: 100%; --credit-text: #f4f7fc; }
.launch-credit__label { color: var(--credit-text); font: 500 13px/1.2 Arial, Helvetica, sans-serif; white-space: nowrap; position: relative; z-index: 1; transform: translateY(13px); }
.launch-credit__media { position: relative; display: block; width: 186px; height: 55px; margin-left: -46px; flex: none; background: transparent; }
.launch-credit__media img, .launch-credit__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: transparent; }
.launch-credit__media video { visibility: hidden; }
.launch-credit[data-video-ready] video { visibility: visible; }
.launch-credit[data-video-ready] img { visibility: hidden; }
.launch-reactor-wrap { display: none; }
.sticky-cta { display: none; }
.toast { background: #0c2139; color: #fff; border: 1px solid var(--line-2); }

/* ================= motion preferences ================= */
@media (prefers-reduced-motion: reduce) {
  .btn::before, .ulg-btn::before { animation: none; display: none; }
  .hero h1, .hero .lede, .hero .actions { animation: none; }
  .pop[data-visible] { animation: none; }
  .skeleton::after { animation: none; }
  .glass-card, .post-card, .course-card, .tool-tile, .badge-card, .offer-lead article img, .preview-strip a img { transition: none; }
}

/* ================= responsive ================= */
@media (max-width: 1280px) {
  .portal { grid-template-columns: 232px minmax(0, 1fr); }
  .portal-side__brand .brand-logo { width: 168px; }
  .portal-main .wrap { width: min(1180px, calc(100% - 48px)); }
  .portal-main [class*="lg:grid-cols-[minmax"] { grid-template-columns: 1fr !important; }
  .portal-main .lg\:grid-cols-3 { grid-template-columns: repeat(2, 1fr) !important; }
  .portal-main .lg\:grid-cols-6 { grid-template-columns: repeat(3, 1fr) !important; }
  .vault-grid, .offer-grid { grid-template-columns: 1fr 1fr; }
  .offer-group { grid-template-columns: 1fr; }
  .offer-paths { grid-template-columns: repeat(3, 1fr); }
  .dock { grid-template-columns: 1fr 1fr; }
  .preview-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 48px); }
  .navlinks { gap: 15px; }
  .navlinks a { font-size: .8rem; }
  .brand-logo { width: 205px; max-height: 70px; }
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-grid .glass-hero { max-width: 560px; }
  .res-cats, .expert-grid { grid-template-columns: 1fr 1fr; }
  .cc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 78px; }
  .menu-toggle { display: block; }
  .navlinks, .desktop-cta { display: none; }
  body.members .header .menu-toggle, body.admin .header .menu-toggle { display: none; }
  .hero { min-height: 700px; }
  .hero > .wrap { padding-top: 65px; padding-bottom: 150px; }
  .hero-picture, .hero-video { object-position: 67% center; opacity: .7; }
  .hero::after { background: linear-gradient(90deg, #06101ed9, transparent), linear-gradient(0deg, #06101e, transparent 45%); }
  .hero h1 { font-size: 5.2rem; }
  .section { padding: 72px 0; }
  .section-head { align-items: start; flex-direction: column; gap: 24px; }
  .split, .story-grid, .founder-grid, .auth-grid, .intake-grid, .calc-split, .billing-grid { grid-template-columns: 1fr; }
  .path-row, .journey { grid-template-columns: 1fr; gap: 26px; }
  .identity-line .wrap { flex-direction: column; align-items: center; gap: 10px; text-align: center; }
  .closing .wrap { align-items: start; flex-direction: column; }
  .hero-signature { display: none; }
  .auth-page { padding-top: calc(var(--header-h) + 34px); padding-bottom: 70px; }
  .auth-page__image { opacity: .55; object-position: 70% 20%; }
  .learning-path-grid, .cc-live, .billing-facts, .res-cats { grid-template-columns: 1fr; }
  .res-list { columns: 1; }
  .offer-lead, .offer-team { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-brand { grid-column: span 2; }
  .portal { display: block; }
  .portal-side { position: fixed; top: 0; left: 0; bottom: 0; z-index: 95; width: min(330px, 88vw); height: 100dvh; transform: translateX(-104%); transition: transform .32s var(--ease-out); box-shadow: 40px 0 80px rgba(0,0,0,.6); padding: 20px 16px calc(24px + env(safe-area-inset-bottom)); background: #060f1c; }
  body.portal-open .portal-side { transform: none; }
  .portal-side__close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(4,14,28,.7); color: #fff; }
  .portal-side .mnav a { min-height: 50px; font-size: .98rem; }
  .portal-scrim { display: block; position: fixed; inset: 0; z-index: 90; background: rgba(3,7,13,.72); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .3s ease; }
  body.portal-open .portal-scrim { opacity: 1; pointer-events: auto; }
  body.portal-open { overflow: hidden; }
  .portal-top { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line); background: rgba(6,16,30,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); position: sticky; top: var(--header-h); z-index: 50; }
  .portal-top__menu { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line-2); background: rgba(4,14,28,.6); color: #fff; }
  .portal-top__current { font-family: var(--font-display); font-size: 1.3rem; }
  .portal-top__msgs { margin-left: auto; position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--line); color: var(--muted-2); }
  .portal-top__msgs svg { width: 20px; height: 20px; }
  .portal-top__msgs .mbadge { position: absolute; top: -6px; right: -6px; }
  .portal-main { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  .portal-main > .airy, .portal-main > .member-page { padding-top: 26px; }
  .portal-main .wrap { width: calc(100% - 40px); }
  .portal-bar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; background: rgba(4, 9, 17, .94); border-top: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .portal-bar a, .portal-bar button { display: grid; justify-items: center; gap: 4px; padding: 6px 2px; min-height: 52px; border-radius: 8px; color: var(--muted); font-size: .64rem; font-weight: 700; background: none; border: 0; text-decoration: none; }
  .portal-bar svg { width: 22px; height: 22px; }
  .portal-bar a.active, .portal-bar a[aria-current="page"], .portal-bar__menu[aria-expanded="true"] { color: var(--ice); }
  .member-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .member-media { min-height: 320px; padding: 22px; }
  .dock { grid-template-columns: 1fr 1fr; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .toolbar input.field { max-width: none; }
  .cat-tabs { flex-wrap: nowrap; overflow: auto; scrollbar-width: none; padding-bottom: 4px; }
}
@media (max-width: 620px) {
  .wrap, .wrap.narrow, .legal-page .wrap { width: calc(100% - 36px); }
  .hero { min-height: 760px; }
  .hero h1 { font-size: clamp(3rem, 12vw, 4.3rem); }
  .hero > .wrap { padding-top: 48px; padding-bottom: 145px; }
  .hero .lede { font-size: 1rem; max-width: 32ch; }
  .hero-picture, .hero-video { object-position: 66% center; }
  .hero::after { background: linear-gradient(180deg, #06101e55, #06101e00 60%, #06101e), linear-gradient(90deg, #06101ef0, #06101e44); }
  .hero-bottom { bottom: 20px; }
  .hero-bottom .wrap { flex-wrap: wrap; gap: 12px; align-items: flex-end; }
  .hero-bottom span { font-size: .75rem; max-width: 190px; }
  .subhero h1, .auth-copy h1 { font-size: 3.4rem; }
  .brand-logo { width: 160px; max-height: 56px; }
  .feature-grid, .preview-strip, .vault-grid, .offer-grid, .dock, .footer-grid, .offer-paths, .resource-hero-covers, .calc-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .section { padding: 58px 0; }
  .actions .btn, .ulg-actions .ulg-btn { width: 100%; }
  .auth-card { padding: 22px 18px; }
  .auth-card h1, .auth-card .auth-title { font-size: 2rem; }
  .offer-lead article { min-height: 340px; padding: 20px; }
  .offer-lead h2 { font-size: 2rem; }
  .offer-team { padding: 22px; }
  .metric { font-size: 3.4rem; }
  .calc-box, .calc-results { padding: 22px; }
  .res-featured { grid-template-columns: 1fr; }
  .res-featured .cover { max-width: 200px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .launch-credit__media { width: 162px; height: 48px; margin-left: -40px; }
  .launch-credit__label { font-size: 12px; transform: translateY(11px); }
  .portal-main #page-h, .portal-main h1.display, .member-head h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .menu__links a { font-size: 1.8rem; }
  .btn, .ulg-btn { min-height: 50px; }
}
@media print {
  .header, .menu, .footer, .portal-side, .portal-bar, .portal-top, .sticky-cta { display: none !important; }
  body, html { background: #fff; color: #111; }
  .glass, .glass-panel, .glass-card, .glass-hero { background: #fff; border: 1px solid #aaa; box-shadow: none; backdrop-filter: none; color: #111; }
}

/* ---- QA fixes: light-section lists, template stat tiles, learning-path cards ---- */
.section.light .res-list li { color: #2b3a4d; border-bottom-color: rgba(12,27,45,.14); }
.section.light .res-list li small { color: #6b7c92; }
.stat, .glass .stat, .portal-main .stat { background: rgba(4, 14, 28, .55) !important; border: 1px solid var(--line) !important; color: var(--white) !important; box-shadow: none !important; }
.stat .stat-k { color: var(--ice) !important; }
.stat .stat-v, .stat p:last-child { color: var(--white) !important; }
.learning-path-grid a { background: transparent !important; border: 0 !important; padding: 0 !important; color: var(--white); box-shadow: none !important; }
.learning-path-grid h3 { color: var(--white); font-family: var(--font-display); font-size: 1.4rem; }
.learning-path-grid p { color: var(--muted) !important; }
.portal-main [class*="bg-deep"], .portal-main [class*="bg-white"], .auth-card [class*="bg-deep"] { background: rgba(4, 14, 28, .55) !important; color: var(--white) !important; }

/* No eyebrows or breadcrumbs anywhere (Corey, 2026-09-18). Script-rendered labels above headlines are hidden here;
   BreadcrumbList schema stays in the page head for search engines. */
.eyebrow, .ulg-kicker, .section-label, [data-greeting], .breadcrumbs, nav[aria-label="Breadcrumb"] { display: none !important; }
.member-head h1, .subhero h1, .hero h1, .auth-copy h1 { margin-top: 0; }

/* ================= client edits 2026-09-21 ================= */
/* P0 contrast: result panels, badges, message bubbles. One coherent dark translucent surface with
   white primary text, ice secondary text and green only for the headline result (WCAG AA). */
.tool-out, .portal-main .tool-out, .airy .tool-out { background: rgba(4, 14, 28, .72) !important; border: 1px solid rgba(188,215,255,.22) !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important; color: #fff !important; }
.tool-out .stat-k, .tool-out [data-sub], .tool-out .text-ink-2, .tool-out p:not(.num) { color: #d2dce8 !important; }
.tool-out [data-big] { color: #6fe3b4 !important; }
.tool-out [data-rows] > * { color: #fff !important; border-color: rgba(188,215,255,.14) !important; }
.tool-out [data-rows] span:first-child { color: #c2cfe0 !important; }
.tool-out [data-note], .tool-out .note { color: #b6c3d3 !important; background: transparent !important; border-left-color: var(--ice); }
.tool .lbl-t, .tool .lbl, .tool label, .tool output { color: #fff !important; }
.tool output { color: var(--ice) !important; font-weight: 700; }
.range-pair { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 10px; align-items: center; }
.range-pair .num-twin { min-height: 42px !important; padding: 8px 10px !important; text-align: right; }
.badge-card, .portal-main .badge-card, .airy .badge-card { background: linear-gradient(155deg, rgba(255,255,255,.035), rgba(11,32,61,.66)) !important; border: 1px solid rgba(188,215,255,.18) !important; color: #fff; }
.badge-card p { color: #fff !important; }
.badge-card p + p { color: #d2dce8 !important; font-size: .86rem !important; }
.badge-card p + p + p { color: #8acaff !important; font-size: .78rem !important; letter-spacing: .02em; }
.badge-card:not(.on) { opacity: 1 !important; border-style: dashed !important; }
.badge-card:not(.on) p:first-child::after { content: ' (locked)'; color: #b6c3d3; font-weight: 500; font-size: .8rem; }
.badge-card:not(.on) .badge-ic { background: rgba(255,255,255,.08) !important; color: #b6c3d3 !important; }
.badge-card.is-claim.on { border-color: rgba(214,166,66,.6) !important; }
.level-pill, .level-pill b, .level-pill span { color: #fff !important; }
.level-pill { background: rgba(4,14,28,.55) !important; border: 1px solid rgba(188,215,255,.18) !important; }
.level-pill.on { border-color: var(--ice) !important; }
.level-pill.now { background: rgba(23,105,237,.28) !important; border-color: var(--blue) !important; }
.level-pill span { color: #d2dce8 !important; }
.airy .bubble-bot, .portal-main .bubble-bot, .drawer-panel .bubble-bot { background: rgba(4,14,28,.78) !important; border: 1px solid rgba(188,215,255,.24) !important; color: #fff !important; box-shadow: none !important; }
.airy .bubble-user, .portal-main .bubble-user, .drawer-panel .bubble-user { background: var(--blue) !important; color: #fff !important; font-weight: 500 !important; }
.bubble-bot p, .bubble-user p { color: #fff !important; }
.msg-meta { margin-top: 6px !important; font-size: .78rem !important; color: #d2dce8 !important; opacity: 1 !important; }
.bubble-user .msg-meta { color: #e6efff !important; }
.msg-topic { display: inline-block; margin-bottom: 6px; padding: 2px 8px; border-radius: 4px; background: rgba(138,202,255,.16); border: 1px solid rgba(138,202,255,.4); color: #dff0ff; font-size: .74rem; font-weight: 700; }
.msg-help, .portal-main .msg-help { color: #c2cfe0 !important; }
.msg-about { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; }
/* FAQ headline: no looping sheen on text (the animated logo's own SVG sheen is untouched); the .pop reveal runs once */
h1 .sheen, h2 .sheen, h3 .sheen, p .sheen, .display .sheen { animation: none !important; }
/* Login: keep Daniel's face clear of the form from 1024px up */
@media (min-width: 1024px) {
  .auth-grid { grid-template-columns: minmax(0, 520px) minmax(60px, 1fr) 480px; gap: 30px; }
  .auth-grid > .auth-card, .auth-grid > .auth-single { grid-column: 3; width: 100%; margin: 0; }
  /* the photo starts below the header so the face is never hidden behind the glass bar */
  .auth-page__image { top: var(--header-h); height: calc(100% - var(--header-h)); object-position: 98% 30% !important; }
  .auth-page::after { background: linear-gradient(90deg, rgba(6,16,30,.94) 0%, rgba(6,16,30,.82) 30%, rgba(6,16,30,.22) 52%, rgba(6,16,30,.28) 100%), linear-gradient(0deg, var(--navy), transparent 30%); }
  .auth-copy h1 { font-size: clamp(2.6rem, 4.2vw, 4.6rem); }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .auth-grid { grid-template-columns: minmax(0, 380px) minmax(40px, 1fr) 340px; gap: 20px; }
  .auth-copy .auth-preview { display: none; }
  .auth-card { padding: 24px; }
  .auth-page__image { object-position: 100% 30% !important; }
}
@media (min-width: 1280px) and (max-width: 1439px) {
  .auth-grid { grid-template-columns: minmax(0, 480px) minmax(40px, 1fr) 440px; gap: 24px; }
  .auth-page__image { object-position: 100% 30% !important; }
}
@media (min-width: 1700px) {
  .auth-page .wrap { width: min(1400px, calc(100% - 80px)); }
  .auth-page__image { object-position: 100% 30% !important; }
}
/* Homepage video title + story crop */
.video-title { color: var(--muted-2); font-size: .8rem; margin-left: auto; margin-right: 14px; }
.story-grid img { object-position: var(--mop, 50% 30%); }
/* Programs & Tools: stronger scrim and white text over product photography */
.offer-lead article::after { background: linear-gradient(0deg, rgba(6,16,30,.99) 42%, rgba(6,16,30,.9) 64%, rgba(6,16,30,.35)) !important; }
.offer-lead .cat, .offer-grid span.cat, .vault-grid > article > span:first-child { color: #dff0ff !important; }
.offer-lead p, .offer-lead .fit { color: #e6eef8 !important; max-width: 52ch; }
.offer-lead .fit b { color: #fff !important; }
.offer-price .pending, .pending-pill { color: #ffe3a3 !important; }
.pending-pill { background: rgba(214,166,66,.18); border: 1px solid rgba(214,166,66,.55); padding: 2px 8px; border-radius: 4px; font-size: .72rem; font-weight: 700; }
.offer-grid p, .vault-grid p { color: #d2dce8 !important; }
.offer-detail { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 34px; padding: 34px; margin-top: 18px; align-items: start; }
.offer-detail__art img { width: 100%; border-radius: var(--r-card); background: #06101e; }
.offer-detail .cat { color: var(--ice); font-weight: 700; font-size: .8rem; }
.offer-detail h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin: 8px 0 10px; }
.offer-detail .lede { color: #d2dce8; }
.offer-detail .fit { color: var(--muted-2); }
.offer-detail__price { margin: 18px 0; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: var(--r-inset); background: rgba(4,14,28,.55); display: grid; gap: 4px; }
.offer-detail__price b { font-family: var(--font-display); font-size: 1.8rem; line-height: 1; }
.offer-detail__price small { color: var(--muted-2); }
.offer-detail .inc-list li::before { content: '\2713'; color: var(--ice); margin-right: 8px; }
.offer-detail .small { font-size: .82rem; }
/* Public planner + Command Center plan */
.seg-mode { display: flex; gap: 8px; margin: 0 0 16px; flex-wrap: wrap; }
.seg-opt { position: relative; }
.seg-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg-opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid rgba(188,215,255,.22); border-radius: 6px; background: rgba(4,14,28,.55); color: #fff; font-weight: 700; cursor: pointer; }
.seg-opt input:checked + span { background: var(--blue); border-color: var(--blue); }
.seg-opt input:focus-visible + span { outline: 3px solid var(--ice); outline-offset: 2px; }
.calc-range { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 10px; align-items: center; margin-top: 6px; }
.calc-range input[type=range] { accent-color: var(--blue); width: 100%; }
.calc-range .num { min-height: 44px; text-align: right; }
.calc-help { color: var(--muted-2); font-size: .82rem; margin: 6px 0 0; }
.calc-error { color: #ffb4b4; font-weight: 600; min-height: 1.4em; margin: 8px 0 0; }
.calc-error:empty { margin: 0; }
.calc-save-status { color: var(--muted-2); font-size: .9rem; margin: 10px 0 0; min-height: 1.4em; }
.calc-save-status a { color: var(--ice); font-weight: 700; }
.calc-results { background: rgba(4,14,28,.72) !important; border: 1px solid rgba(188,215,255,.22) !important; color: #fff !important; }
.calc-results .results-label { color: var(--ice) !important; font-weight: 700; }
.period-tabs { display: flex; gap: 6px; margin: 14px 0; }
.period-tabs [role=tab] { min-height: 40px; padding: 0 14px; border: 1px solid rgba(188,215,255,.22); border-radius: 6px; background: rgba(4,14,28,.55); color: #fff; font-weight: 700; cursor: pointer; }
.period-tabs [role=tab][aria-selected="true"] { background: var(--blue); border-color: var(--blue); }
.period-tabs [role=tab]:focus-visible { outline: 3px solid var(--ice); outline-offset: 2px; }
.period-tabs.mini [role=tab] { min-height: 34px; padding: 0 10px; font-size: .82rem; }
.funnel-out { display: grid; gap: 6px; }
.funnel-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 12px; border-radius: 6px; background: rgba(255,255,255,.04); border: 1px solid rgba(188,215,255,.1); }
.funnel-row span { color: #d2dce8; }
.funnel-row strong { font-family: var(--font-display); font-size: 1.5rem; color: #fff; line-height: 1; }
.funnel-row.is-key { background: rgba(23,105,237,.16); border-color: rgba(138,202,255,.3); }
.funnel-row.is-key strong { color: #8acaff; font-size: 1.9rem; }
.funnel-row.is-income strong { color: #6fe3b4; }
.funnel-out.compact .funnel-row strong { font-size: 1.3rem; }
.funnel-out.compact .funnel-row.is-key strong { font-size: 1.5rem; }
.calc-detail { color: #d2dce8; margin: 14px 0 0; }
.calc-disclaimer { color: #c2cfe0; font-size: .84rem; }
.calc-member-note { color: var(--muted-2); font-size: .84rem; }
.calc-results hr { border-color: rgba(188,215,255,.14); }
.cc-plan-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; margin-top: 14px; }
.cc-plan { padding: 24px; }
.cc-plan__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 10px; }
.cc-plan__head h3 { font-size: 1.5rem; margin: 6px 0 0; }
.cc-plan__meta { color: var(--muted); font-size: .82rem; margin: 12px 0 14px; }
.cc-actions { padding: 24px; }
.cc-actions h3 { font-size: 1.5rem; margin: 6px 0 12px; }
.cc-action-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.cc-action-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: start; }
.cc-action-list li.muted { grid-template-columns: 1fr; color: var(--muted); }
.cc-action-list .n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 6px; background: var(--blue); color: #fff; font-family: var(--font-display); font-weight: 700; }
.cc-action-list b { color: #fff; display: block; }
.cc-action-list .why { color: #c2cfe0; font-size: .86rem; margin: 3px 0 4px; }
.cc-action-list a { color: var(--ice); font-weight: 700; text-decoration: none; font-size: .9rem; }
.cc-actions__foot { color: var(--muted); font-size: .78rem; margin: 14px 0 0; }
.cc-actions__foot a { color: var(--ice); }
.cc-event-list { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 10px; }
.cc-event-list li { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; padding: 10px 12px; border-radius: 6px; background: rgba(255,255,255,.04); border: 1px solid rgba(188,215,255,.1); }
.cc-event-list li.is-live { border-color: var(--good); }
.cc-event-list li.muted { display: block; color: var(--muted); background: transparent; border: 0; padding: 0; }
.cc-event-list b { color: #fff; display: block; }
.cc-event-list .meta { color: #c2cfe0; font-size: .82rem; }
.cc-event-list .meta em { color: #6fe3b4; font-style: normal; }
.cc-live { grid-template-columns: repeat(4, 1fr); }
/* Recommendations */
.rec-grid { display: grid; gap: 10px; margin: 0 0 16px; }
.rec-card { padding: 14px 16px; border-radius: var(--r-inset); background: rgba(4,14,28,.55); border: 1px solid var(--line); display: grid; gap: 4px; }
.rec-card .k { color: var(--ice); font-size: .74rem; font-weight: 700; }
.rec-card b { color: #fff; }
.rec-card .why { color: #c2cfe0; font-size: .86rem; margin: 0; }
.rec-card a { color: var(--ice); font-weight: 700; text-decoration: none; }
.rec-start .rec-card { min-height: 100%; }
.plan-history { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.plan-history li { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: var(--r-inset); background: rgba(4,14,28,.55); border: 1px solid var(--line); }
.plan-history li.is-current { border-color: var(--ice); }
.plan-history b { color: #fff; display: block; }
.plan-history .meta { color: var(--muted-2); font-size: .8rem; }
.plan-history .btn.small { min-height: 38px; padding: 0 12px; font-size: .82rem; }
.pref-sources legend { margin-bottom: 6px; }
.source-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; }
.source-grid label { display: flex; align-items: center; gap: 8px; color: var(--muted-2); min-height: 32px; }
/* Intake */
.target-options { border: 0; padding: 0; margin: 18px 0 20px; }
.target-options legend { color: var(--muted-2); font-size: .9rem; margin-bottom: 8px; }
.target-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.target-chip { position: relative; }
.target-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.target-chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid rgba(188,215,255,.22); border-radius: 6px; background: rgba(4,14,28,.55); color: #fff; font-size: .9rem; font-weight: 600; cursor: pointer; }
.target-chip input:checked + span { background: var(--blue); border-color: var(--blue); }
.target-chip input:focus-visible + span { outline: 3px solid var(--ice); outline-offset: 2px; }
.intake-selected { color: #d2dce8; }
/* Script practice library */
.script-cats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.script-cats [role=tab] { flex: none; min-height: 44px; padding: 0 14px; border: 1px solid rgba(188,215,255,.22); border-radius: 6px; background: rgba(4,14,28,.55); color: #fff; font-weight: 700; white-space: nowrap; cursor: pointer; }
.script-cats [role=tab][aria-selected="true"] { background: var(--blue); border-color: var(--blue); }
.script-cats [role=tab]:focus-visible { outline: 3px solid var(--ice); outline-offset: 2px; }
.script-card { padding: 18px; border-radius: var(--r-card); background: rgba(4,14,28,.55); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.script-card h3 { font-family: var(--font-display); font-size: 1.3rem; margin: 0; color: #fff; }
.script-card p { color: #e6eef8; line-height: 1.6; margin: 0; white-space: pre-line; }
.script-card .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.script-card .tags span { font-size: .72rem; color: var(--ice); border: 1px solid rgba(138,202,255,.35); border-radius: 4px; padding: 2px 6px; }
.script-card.is-locked p { color: var(--muted); }
.script-card .lock { color: #ffe3a3; font-size: .8rem; font-weight: 700; }
.script-card a.video { color: var(--ice); font-weight: 700; }
/* Achievement overlay (Car Club) on avatars */
.avatar-wrap { position: relative; display: inline-flex; flex: none; }
.ach-overlay { position: absolute; right: -4px; bottom: -4px; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 999px; background: linear-gradient(135deg, #d6a642, #9c7420); color: #06101e; font-family: var(--font-display); font-weight: 800; font-size: .66rem; display: grid; place-items: center; border: 2px solid #06101e; line-height: 1; }
.avatar-xl + .ach-overlay { min-width: 28px; height: 28px; font-size: .8rem; right: -2px; bottom: -2px; }
/* Public founder page additions */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { padding: 8px 12px; border: 1px solid rgba(188,215,255,.22); border-radius: 6px; background: rgba(4,14,28,.55); color: #fff !important; }
.tag-list li::before { content: none !important; }
.expert-title { color: var(--ice); font-weight: 700; font-size: .86rem; margin: 2px 0 6px; }
.book-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: center; margin-top: 22px; padding: 18px; }
.book-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: var(--mop, 50% 30%); border-radius: 8px; }
.book-card small { color: var(--ice); font-weight: 700; font-size: .74rem; }
.book-card b { display: block; font-family: var(--font-display); font-size: 1.4rem; line-height: 1.05; margin: 4px 0 6px; }
.book-card p { color: #2b3a4d; font-size: .9rem; margin: 0 0 10px; }
.section.light .book-card b { color: #06101e; }
/* Admin follow-up state + CRM chip */
.crm-state { margin: 0 0 22px; }
.crm-state p b { color: #fff; }
.skeleton-text { color: transparent; background: rgba(255,255,255,.08); border-radius: 6px; }
@media (max-width: 1100px) { .cc-plan-grid { grid-template-columns: 1fr; } .offer-detail { grid-template-columns: 1fr; } .cc-live { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .range-pair, .calc-range { grid-template-columns: minmax(0, 1fr) 84px; } .book-card { grid-template-columns: 90px 1fr; } .period-tabs { flex-wrap: wrap; } .cc-live { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .pop, .pop::before, .pop::after, h1 .sheen, h2 .sheen, p .sheen { animation: none !important; transition: none !important; } }

/* ================= round 2 client edits 2026-10-05 ================= */
/* Admin member drawer: light utility boxes were unreadable (light text on gray). */
.drawer-panel [class*="bg-white"] { background: rgba(4,14,28,.62) !important; border: 1px solid rgba(188,215,255,.16); color: #fff !important; }
.drawer-panel [class*="bg-white"] .stat-k, .drawer-panel .stat-k { color: #8acaff !important; }
.drawer-panel [class*="bg-white"] p, .drawer-panel [class*="bg-white"] li, .drawer-panel [class*="bg-white"] label, .drawer-panel [class*="bg-white"] span { color: #e6eef8 !important; }
.drawer-panel .text-ink-2 { color: #c2cfe0 !important; }
.drawer-panel b.text-deep, .drawer-panel .text-deep { color: #fff !important; }
.drawer-panel details summary { color: #fff !important; }
/* Lesson "next step" offer card was white with pale text. */
.context-offer, .lesson-next-step .context-offer { background: linear-gradient(155deg, rgba(255,255,255,.04), rgba(11,32,61,.82)) !important; border: 1px solid rgba(188,215,255,.22) !important; color: #fff !important; box-shadow: none !important; }
.context-offer h3 { color: #fff !important; }
.context-offer p, .context-offer .offer-disclosure { color: #d2dce8 !important; }
.context-offer .quiet-link, .context-offer a { color: #8acaff !important; }
.course-practice { background: rgba(4,14,28,.6) !important; color: #fff; }
.course-practice p, .course-practice label, .course-practice li { color: #d2dce8 !important; }
.course-practice h2, .course-practice h3, .course-practice b { color: #fff !important; }
/* Certificate stays a printable white page, with dark readable text. */
.cert-inner { background: #fff !important; }
.cert-inner, .cert-inner p, .cert-inner span, .cert-inner b, .cert-inner div { color: #1d2a3a !important; }
.cert-inner h1, .cert-inner h2, .cert-inner .hand, .cert-inner [data-cert-name] { color: #06101e !important; }
.cert-inner .text-brand, .cert-inner .text-brand-3, .cert-inner [class*="text-brand"] { color: #1554c4 !important; }
/* Saved plan page (/p/...): dark readable card on the navy page. */
body:has(.saved-plan-shell) { background: #06101e !important; }
.saved-plan-shell .result-card { background: linear-gradient(155deg, rgba(255,255,255,.035), rgba(11,32,61,.78)); border: 1px solid rgba(188,215,255,.2); border-radius: 18px; padding: 32px; color: #fff; }
.saved-plan-shell h1, .saved-plan-shell h2, .saved-plan-shell h3, .saved-plan-shell b, .saved-plan-shell summary, .saved-plan-shell dt { color: #fff !important; }
.saved-plan-shell p, .saved-plan-shell li, .saved-plan-shell dd, .saved-plan-shell .secondary, .saved-plan-shell small { color: #d2dce8 !important; }
.saved-plan-shell .action-task { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: rgba(4,14,28,.6) !important; border: 1px solid rgba(188,215,255,.18) !important; border-radius: 10px; color: #fff !important; }
.saved-plan-shell .action-task span { color: #fff !important; }
.saved-plan-shell .text-link, .saved-plan-shell a:not(.btn) { color: #8acaff !important; }
.action-tasks { list-style: none; padding: 0; display: grid; gap: 10px; }
/* Programs & Tools: category chips wrap instead of being cut off; featured copy sits on a blurred panel. */
.vault-filters { flex-wrap: wrap; overflow: visible !important; }
.offer-lead article { justify-content: flex-end; }
.offer-lead .lead-copy { position: relative; background: rgba(6,16,30,.74); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(188,215,255,.18); border-radius: 12px; padding: 20px 22px; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.offer-lead .lead-copy h2 { margin-top: 0; }
.offer-lead .lead-copy p, .offer-lead .lead-copy .fit { color: #f1f5fb !important; }
.offer-grid .fit b { color: #fff; }
.offer-detail__meta { color: #c2cfe0; margin: -2px 0 12px; font-size: .9rem; }
.tier-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 8px 0 18px; }
.tier-compare .tier { display: grid; gap: 4px; padding: 14px 16px; border-radius: 10px; border: 1px solid rgba(188,215,255,.2); background: rgba(4,14,28,.55); color: #e6eef8; text-decoration: none; }
.tier-compare .tier.is-current { border-color: #8acaff; background: rgba(23,105,237,.18); }
.tier-compare .tier b { color: #fff; font-family: var(--font-display); font-size: 1.3rem; }
.tier-compare .tier-price { color: #6fe3b4; font-weight: 700; }
.tier-compare .tier em { color: #8acaff; font-style: normal; font-weight: 700; font-size: .85rem; }
/* Founder page: proof points and expertise sit under the photo so both columns balance. */
.founder-side h2, .founder-side .side-h { font-size: 1.5rem; margin: 26px 0 10px; }
.founder-side .side-h { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; line-height: 1.02; color: var(--white); text-wrap: balance; max-width: 18ch; }
.founder-side .proof-list { list-style: none; padding: 0; display: grid; gap: 6px; }
.founder-side .proof-list li { color: #d2dce8; }
.founder-side .proof-list li::before { content: '\2713'; color: var(--ice); margin-right: 10px; }
/* Book product photo on covers. */
.cover.cover-product img { opacity: 1 !important; object-fit: cover; object-position: var(--mop, 50% 40%); }
.cover.cover-product::before { background: linear-gradient(0deg, rgba(6,16,30,.92), rgba(6,16,30,0) 55%) !important; }
.script-card .tags span:first-child { color: #fff; border-color: rgba(255,255,255,.45); }
@media (max-width: 640px) { .tier-compare { grid-template-columns: 1fr; } }
/* Lesson reader: current step, takeaway and worked example were light panels with pale text (Daniel: "hard to read in step 2 and 3"). */
.course-step { color: #d2dce8 !important; }
.course-step:hover { background: rgba(255,255,255,.06) !important; color: #fff !important; }
.course-step.now { background: rgba(23,105,237,.28) !important; color: #fff !important; box-shadow: inset 0 0 0 1px rgba(138,202,255,.5) !important; }
.course-step.done { color: #6fe3b4 !important; }
.takeaway { background: rgba(4,14,28,.66) !important; border: 1px solid rgba(138,202,255,.3) !important; }
.takeaway-k { display: none !important; }
.takeaway-t { color: #fff !important; margin-top: 0 !important; }
.practice-example, .worked, .course-practice .practice-example { background: rgba(4,14,28,.66) !important; border: 1px solid rgba(188,215,255,.18) !important; color: #e6eef8 !important; }
.practice-example p, .worked p { color: #e6eef8 !important; }
/* Forgot / reset password have a single card and no copy column: keep it on the left so Daniel's face (right of the photo) stays clear. */
@media (min-width: 900px) {
  .auth-page > .wrap > .auth-single { margin: 0 auto 0 0 !important; }
}
/* Program detail: one column when there is no product art; sane heading sizes inside the body. */
.offer-detail:not(:has(.offer-detail__art)) { grid-template-columns: 1fr; }
.offer-detail__body h2 { font-size: 1.6rem; line-height: 1.1; margin: 22px 0 10px; }
.offer-detail__body .inc-list { list-style: none; padding: 0; display: grid; gap: 6px; color: #e6eef8; }

/* ================= member area: white theme (Daniel, 2026-10-16) ================= */
/* Header, left menu and footer stay navy. Every member page content area is white with cream cards,
   dark headlines and blue accents. Photo heroes, the live room screen and tool result panels stay navy.
   To flip the page to cream instead, set --m-page to #faf7f0 and --m-card to #ffffff in the first rule. */
body.members:not(.admin) .portal-main {
  --m-page: #ffffff; --m-card: #faf7f0; --m-card-2: #f3eee2;
  --m-ink: #0a1f3d; --m-ink-2: #34465e; --m-ink-3: #52627a; --m-blue: #1254c9; --m-blue-2: #0e44a6; --m-blue-soft: rgba(23,105,237,.09);
  --m-line: rgba(10,31,61,.13); --m-line-2: rgba(10,31,61,.26);
  --white: var(--m-ink); --muted: var(--m-ink-3); --muted-2: var(--m-ink-2); --dim: var(--m-ink-3); --ice: var(--m-blue);
  --line: var(--m-line); --line-2: var(--m-line-2); --good: #0b7a53; --warn: #8a5a00; --bad: #b3261e;
  /* platform tokens from site.css are navy-theme values (deep is the light text colour); flip them here so text-deep, border-deep/8, bg-deep/10 and the .stat-k labels read on white */
  --color-deep: #0a1f3d; --color-deep-2: #12305c; --color-deep-3: #1b4278; --color-brand: #1254c9; --color-brand-2: #1769ed; --color-brand-3: #1254c9;
  --color-surface: #ffffff; --color-surface-2: #faf7f0; --color-muted: #52627a; --color-ink: #0a1f3d; --color-ink-2: #52627a;
  --color-good: #0b7a53; --color-good-2: #0b7a53; --color-good-3: #0b7a53; --color-warn: #8a5a00; --color-gold-ink: #8a5a00;
  --portal-line: rgba(10,31,61,.12); --portal-shadow: 0 10px 35px rgba(10,31,61,.06);
  background: var(--m-page); color: var(--m-ink);
}
/* surfaces that keep the navy look restore the original tokens */
body.members:not(.admin) .portal-main :is(.member-media, .glass-hero, .portal-top, .room-stage, .offer-lead article, .tool-out, .calc-results, .cover) {
  --white: #f6f8fd; --muted: #b6c3d3; --muted-2: #c2ccda; --dim: #7f97b3; --ice: #8acaff;
  --line: rgba(188,215,255,.16); --line-2: rgba(216,234,255,.28); --good: #4cd39c; --warn: #e0b04c; --bad: #ff8686; color: #f6f8fd;
  --color-deep: #EAF2FF; --color-deep-2: #EDF4FF; --color-deep-3: #EFF5FF; --color-brand: #168BFF; --color-brand-2: #58ADFF; --color-brand-3: #8CC8FF;
  --color-surface: #07111F; --color-surface-2: #0D1B2D; --color-muted: #BECBDB; --color-ink: #EAF2FF; --color-ink-2: #9BAFC8;
  --color-good: #82E0BA; --color-good-2: #67DAAB; --color-good-3: #35946D; --color-warn: #C1953B; --color-gold-ink: #D6A642;
}
body.members:not(.admin) .portal-main .pop { background-image: linear-gradient(120deg, #0e44a6 0%, #1769ed 45%, #2f86ff 55%, #0e44a6 100%); }
body.members:not(.admin) .portal-main :is(.member-media, .glass-hero, .room-stage) .pop { background-image: linear-gradient(120deg, #1769ed 0%, #8acaff 35%, #eef5ff 50%, #8acaff 65%, #1769ed 100%); }
body.members:not(.admin) .portal-main .lede { color: var(--m-ink-2); }
body.members:not(.admin) .portal-main .mbadge { background: var(--m-blue); color: #fff; }
body.members:not(.admin) .portal-main .mbadge.live-dot { background: var(--good); box-shadow: 0 0 0 4px rgba(11,122,83,.18); }
body.members:not(.admin) .portal-main .portal-top .mbadge { background: #8acaff; color: #06101e; }
body.members:not(.admin) .portal-main .level-bar { background: rgba(10,31,61,.1); }
body.members:not(.admin) .portal-main .level-bar span { background: linear-gradient(90deg, #1254c9, #2f86ff); }
body.members:not(.admin) .portal-main .skeleton { background: rgba(10,31,61,.06); }
body.members:not(.admin) .portal-main .skeleton::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent); }
body.members:not(.admin) .portal-main .skeleton-text { background: rgba(10,31,61,.07); }
body.members:not(.admin) .portal-main .avatar { color: #fff; }
body.members:not(.admin) .portal-main hr { border-color: var(--m-line) !important; }

/* cards: cream on the white page */
body.members:not(.admin) .portal-main :is(.glass, .glass-dark, .glass-panel, .glass-card, .intake-panel, .insights-panel, .tile, .path-card, .post-card, .course-card, .tool-tile, .badge-card, .expert-card, .learning-paths, .member-expert-strip, .saved-plan-shell, .todo, .learning-path-grid li, .action-task, .course-practice, .context-offer) {
  background: var(--m-card) !important; border: 1px solid var(--m-line) !important; box-shadow: 0 1px 2px rgba(10,31,61,.04), 0 10px 28px rgba(10,31,61,.05) !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important; color: var(--m-ink);
}
@media (hover: hover) {
  body.members:not(.admin) .portal-main :is(.post-card, .course-card, .tool-tile, .badge-card, .expert-card, .glass-card):hover { border-color: rgba(18,84,201,.45) !important; box-shadow: 0 2px 4px rgba(10,31,61,.05), 0 16px 36px rgba(10,31,61,.09) !important; }
}
/* white insets inside cards, cream insets straight on the page */
body.members:not(.admin) .portal-main :is(.glass-inset, .stat, .callout, .note, .rec-card, .plan-history li, .script-card, .funnel-row, .cc-event-list li, .tier-compare .tier, .topic-option, .step, .level-pill, .takeaway, .practice-example, .worked, .offer-detail__price, .glass .glass, .glass .tile, [data-counts] > div, .reward-x, .toolbar) {
  background: #fff !important; border: 1px solid var(--m-line) !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; color: var(--m-ink) !important;
}
body.members:not(.admin) .portal-main :is(.cc-live, .dock) .glass-inset { background: var(--m-card) !important; }
body.members:not(.admin) .portal-main :is(.callout, .note) { border-left: 3px solid var(--m-blue) !important; }
body.members:not(.admin) .portal-main .funnel-row.is-key { background: var(--m-blue-soft) !important; border-color: rgba(18,84,201,.3) !important; }
body.members:not(.admin) .portal-main .plan-history li.is-current, body.members:not(.admin) .portal-main .step.ok, body.members:not(.admin) .portal-main .step[aria-current="step"], body.members:not(.admin) .portal-main .level-pill.on { border-color: var(--m-blue) !important; }
body.members:not(.admin) .portal-main .level-pill.now, body.members:not(.admin) .portal-main .topic-option:has(input:checked) { background: var(--m-blue-soft) !important; border-color: var(--m-blue) !important; }
body.members:not(.admin) .portal-main .cc-event-list li.is-live { border-color: var(--good) !important; }
body.members:not(.admin) .portal-main .cc-event-list li.muted { background: transparent !important; border: 0 !important; }
body.members:not(.admin) .portal-main .tier-compare .tier.is-current { border-color: var(--m-blue) !important; background: var(--m-blue-soft) !important; }
body.members:not(.admin) .portal-main [data-new-member-banner] { border-style: dashed !important; }

/* hard-coded light text from the navy theme, flipped */
body.members:not(.admin) .portal-main .funnel-row span, body.members:not(.admin) .portal-main .calc-detail, body.members:not(.admin) .portal-main .calc-disclaimer, body.members:not(.admin) .portal-main .intake-selected, body.members:not(.admin) .portal-main .offer-detail .lede, body.members:not(.admin) .portal-main .offer-detail__meta, body.members:not(.admin) .portal-main .rec-card .why, body.members:not(.admin) .portal-main .cc-action-list .why, body.members:not(.admin) .portal-main .cc-event-list .meta, body.members:not(.admin) .portal-main .msg-help, body.members:not(.admin) .portal-main .offer-grid p, body.members:not(.admin) .portal-main .vault-grid p, body.members:not(.admin) .portal-main .tier-compare .tier, body.members:not(.admin) .portal-main .offer-detail__body .inc-list, body.members:not(.admin) .portal-main .context-offer p, body.members:not(.admin) .portal-main .context-offer .offer-disclosure, body.members:not(.admin) .portal-main .course-practice p, body.members:not(.admin) .portal-main .course-practice label, body.members:not(.admin) .portal-main .course-practice li, body.members:not(.admin) .portal-main .practice-example p, body.members:not(.admin) .portal-main .worked p, body.members:not(.admin) .portal-main .takeaway-t, body.members:not(.admin) .portal-main .script-card p { color: var(--m-ink-2) !important; }
body.members:not(.admin) .portal-main .funnel-row strong, body.members:not(.admin) .portal-main .cc-action-list b, body.members:not(.admin) .portal-main .cc-event-list b, body.members:not(.admin) .portal-main .rec-card b, body.members:not(.admin) .portal-main .plan-history b, body.members:not(.admin) .portal-main .script-card h3, body.members:not(.admin) .portal-main .tier-compare .tier b, body.members:not(.admin) .portal-main .crm-state p b, body.members:not(.admin) .portal-main .context-offer h3, body.members:not(.admin) .portal-main .course-practice h2, body.members:not(.admin) .portal-main .course-practice h3, body.members:not(.admin) .portal-main .course-practice b, body.members:not(.admin) .portal-main .takeaway-t { color: var(--m-ink) !important; }
body.members:not(.admin) .portal-main .funnel-row.is-key strong, body.members:not(.admin) .portal-main .cc-action-list a, body.members:not(.admin) .portal-main .tier-compare .tier em, body.members:not(.admin) .portal-main .context-offer .quiet-link, body.members:not(.admin) .portal-main .context-offer a, body.members:not(.admin) .portal-main .offer-lead .cat { color: var(--m-blue) !important; }
body.members:not(.admin) .portal-main .offer-lead article .cat, body.members:not(.admin) .portal-main .offer-lead article p, body.members:not(.admin) .portal-main .offer-lead article .fit { color: #e6eef8 !important; }
body.members:not(.admin) .portal-main .offer-lead article h2, body.members:not(.admin) .portal-main .offer-lead article .fit b { color: #fff !important; }
body.members:not(.admin) .portal-main .offer-grid .fit b, body.members:not(.admin) .portal-main .offer-grid .fit { color: var(--m-ink-2); }
body.members:not(.admin) .portal-main .offer-grid .fit b { color: var(--m-ink); }
body.members:not(.admin) .portal-main .funnel-row.is-income strong, body.members:not(.admin) .portal-main .cc-event-list .meta em, body.members:not(.admin) .portal-main .tier-compare .tier-price { color: var(--good) !important; }
body.members:not(.admin) .portal-main .calc-error { color: var(--bad); }
body.members:not(.admin) .portal-main .script-card .lock, body.members:not(.admin) .portal-main .pending-pill, body.members:not(.admin) .portal-main .offer-price .pending { color: #6b4500 !important; }
body.members:not(.admin) .portal-main .pending-pill { background: rgba(214,166,66,.2); border-color: rgba(138,90,0,.5); }
body.members:not(.admin) .portal-main .offer-grid span.cat, body.members:not(.admin) .portal-main .vault-grid > article > span:first-child { color: var(--m-blue) !important; }
body.members:not(.admin) .portal-main .offer-lead article .offer-price .pending, body.members:not(.admin) .portal-main .offer-lead article .pending-pill { color: #ffe3a3 !important; }
body.members:not(.admin) .portal-main .script-card .tags span:first-child { color: var(--m-ink); border-color: var(--m-line-2); }
body.members:not(.admin) .portal-main .script-card .tags span { color: var(--m-blue); border-color: rgba(18,84,201,.35); }
body.members:not(.admin) .portal-main .tool-out, body.members:not(.admin) .portal-main .tool-out p:not(.num), body.members:not(.admin) .portal-main .tool-out .stat-k { color: #d2dce8 !important; }
body.members:not(.admin) .portal-main .tool .lbl-t, body.members:not(.admin) .portal-main .tool .lbl, body.members:not(.admin) .portal-main .tool label, body.members:not(.admin) .portal-main .tool output { color: var(--m-ink) !important; }
body.members:not(.admin) .portal-main .tool output { color: var(--m-blue) !important; }
body.members:not(.admin) .portal-main .tool-out .lbl-t, body.members:not(.admin) .portal-main .tool-out label, body.members:not(.admin) .portal-main .tool-out output { color: #fff !important; }

/* course reader */
body.members:not(.admin) .portal-main .course-step { color: var(--m-ink-2) !important; }
body.members:not(.admin) .portal-main .course-step:hover { background: var(--m-card-2) !important; color: var(--m-ink) !important; }
body.members:not(.admin) .portal-main .course-step.now { background: var(--m-blue-soft) !important; color: var(--m-ink) !important; box-shadow: inset 0 0 0 1px rgba(18,84,201,.45) !important; }
body.members:not(.admin) .portal-main .course-step.done { color: var(--good) !important; }
body.members:not(.admin) .portal-main .course-practice { border-left: 4px solid var(--m-blue) !important; }
body.members:not(.admin) .portal-main .course-ic { background: var(--m-blue-soft); color: var(--m-blue); }

/* Programs: the five path buttons */
body.members:not(.admin) .portal-main .offer-paths button { background: #fff !important; border: 1px solid var(--m-line-2) !important; color: var(--m-ink) !important; box-shadow: none; }
body.members:not(.admin) .portal-main .offer-paths button:hover { border-color: var(--m-blue) !important; }
body.members:not(.admin) .portal-main .offer-paths button.active { background: var(--m-blue-soft) !important; border-color: var(--m-blue) !important; }
body.members:not(.admin) .portal-main .offer-paths button b { color: var(--m-ink) !important; }
body.members:not(.admin) .portal-main .offer-paths button small { color: var(--m-ink-3) !important; }

/* messages */
body.members:not(.admin) .portal-main .bubble-bot { background: #fff !important; border: 1px solid var(--m-line-2) !important; color: var(--m-ink) !important; box-shadow: none !important; }
body.members:not(.admin) .portal-main .bubble-bot p { color: var(--m-ink) !important; }
body.members:not(.admin) .portal-main .bubble-user { background: var(--m-blue) !important; color: #fff !important; }
body.members:not(.admin) .portal-main .bubble-user p { color: #fff !important; }
body.members:not(.admin) .portal-main .msg-meta { color: var(--m-ink-3) !important; }
body.members:not(.admin) .portal-main .bubble-user .msg-meta { color: #e6efff !important; }
body.members:not(.admin) .portal-main .msg-topic { background: var(--m-blue-soft); border-color: rgba(18,84,201,.35); color: var(--m-blue-2); }

/* badges and levels */
body.members:not(.admin) .portal-main .badge-card, body.members:not(.admin) .portal-main .level-pill, body.members:not(.admin) .portal-main .level-pill b, body.members:not(.admin) .portal-main .level-pill span { color: var(--m-ink) !important; }
body.members:not(.admin) .portal-main .badge-card p { color: var(--m-ink) !important; }
body.members:not(.admin) .portal-main .badge-card p + p, body.members:not(.admin) .portal-main .level-pill span { color: var(--m-ink-2) !important; }
body.members:not(.admin) .portal-main .badge-card p + p + p { color: var(--m-blue) !important; }
body.members:not(.admin) .portal-main .badge-card:not(.on) p:first-child::after { color: var(--m-ink-3); }
body.members:not(.admin) .portal-main .badge-card:not(.on) .badge-ic { background: rgba(10,31,61,.07) !important; color: var(--m-ink-3) !important; }
body.members:not(.admin) .portal-main .badge-card.is-claim.on { border-color: rgba(138,90,0,.55) !important; }

/* form controls */
body.members:not(.admin) .portal-main :is(.field, input.field, select.field, textarea.field, .goal-calc input, .calc-grid input, .intake-panel input, .intake-panel textarea, .intake-panel select) {
  background-color: #fff !important; border: 1px solid var(--m-line-2) !important; color: var(--m-ink) !important; box-shadow: none;
}
body.members:not(.admin) .portal-main .field::placeholder { color: #5f6f86; }
body.members:not(.admin) .portal-main .field:focus, body.members:not(.admin) .portal-main .calc-grid input:focus { border-color: var(--m-blue) !important; box-shadow: 0 0 0 3px rgba(23,105,237,.2); }
body.members:not(.admin) .portal-main select.field { background-image: linear-gradient(45deg, transparent 50%, var(--m-blue) 50%), linear-gradient(135deg, var(--m-blue) 50%, transparent 50%); }
body.members:not(.admin) .portal-main select.field option { background: #fff; color: var(--m-ink); }
body.members:not(.admin) .portal-main .seg-opt span, body.members:not(.admin) .portal-main .target-chip span { background: #fff; border-color: var(--m-line-2); color: var(--m-ink); }
body.members:not(.admin) .portal-main .seg-opt input:checked + span, body.members:not(.admin) .portal-main .target-chip input:checked + span { background: var(--m-blue); border-color: var(--m-blue); color: #fff; }
body.members:not(.admin) .portal-main :is(.chip, .glass .chip, .cat-tabs button, #cat-tabs button, .vault-filters button, .seg-hero button, .glass .seg button, .seg-mini button, .period-tabs [role=tab], .script-cats [role=tab]) {
  background: #fff !important; border: 1px solid var(--m-line-2) !important; color: var(--m-ink-2) !important;
}
body.members:not(.admin) .portal-main :is(.chip, .cat-tabs button, #cat-tabs button, .vault-filters button, .seg-hero button, .script-cats [role=tab], .period-tabs [role=tab]):hover { border-color: var(--m-blue) !important; color: var(--m-ink) !important; }
body.members:not(.admin) .portal-main :is(.chip[aria-pressed="true"], .chip-brand, .cat-tabs button[aria-selected="true"], #cat-tabs button[aria-selected="true"], .vault-filters button.active, .seg-hero button[aria-pressed="true"], .glass .seg button[aria-pressed="true"], .seg-mini button[aria-pressed="true"], .period-tabs [role=tab][aria-selected="true"], .script-cats [role=tab][aria-selected="true"]) {
  background: var(--m-blue) !important; border-color: var(--m-blue) !important; color: #fff !important;
}
body.members:not(.admin) .portal-main .chip-soft { background: transparent !important; border-color: var(--m-line-2) !important; color: var(--m-blue) !important; }
body.members:not(.admin) .portal-main .chip-deep { background: rgba(214,166,66,.2) !important; border-color: rgba(138,90,0,.45) !important; color: #6b4500 !important; }

/* secondary buttons are white with a navy outline here; they stay navy on photo and navy panels */
body.members:not(.admin) .portal-main :is(.btn.secondary, .ulg-btn.ghost, .btn-glass, .btn-ghost-dark, .btn-link) { background: #fff; border-color: var(--m-line-2); color: var(--m-ink) !important; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.members:not(.admin) .portal-main :is(.btn.secondary, .ulg-btn.ghost, .btn-glass, .btn-ghost-dark, .btn-link):hover { background: var(--m-card-2); border-color: var(--m-blue); }
body.members:not(.admin) .portal-main :is(.member-media, .glass-hero, .room-screen, .offer-lead article, .tool-out, .calc-results) :is(.btn.secondary, .ulg-btn.ghost, .btn-glass, .btn-ghost-dark, .btn-link) { background: rgba(6,16,30,.55); border-color: #68778b; color: #fff !important; }
body.members:not(.admin) .portal-main :is(.member-media, .glass-hero, .room-screen, .offer-lead article, .tool-out, .calc-results) :is(.btn.secondary, .ulg-btn.ghost, .btn-glass, .btn-ghost-dark, .btn-link):hover { background: #26364b; border-color: #8aa0bb; }
body.members:not(.admin) .portal-main .textlink:hover { color: var(--m-blue-2); }
body.members:not(.admin) .portal-main :is(.member-media, .glass-hero, .room-screen, .offer-lead article) .textlink:hover { color: #fff; }
body.members:not(.admin) .portal-main .quiet-link, body.members:not(.admin) .portal-main .text-link, body.members:not(.admin) .portal-main .foot-link { color: var(--m-blue); }

body.members:not(.admin) .portal-main .cc-grid > article > .btn { margin-top: auto; }

/* phone: the closed menu drawer must not leak its shadow onto the white page; the top bar stays solid navy */
body.members:not(.admin) .portal-main .portal-top { background: #0a1626; }
@media (max-width: 900px) { body.members:not(.admin):not(.portal-open) .portal-side { box-shadow: none; } }

/* ================= video training: course cards, course page, video lesson, comments (Daniel's wireframe, 2026-10-16) ================= */
/* Lives inside the white member theme above. Progress shows as a colored band over the bottom of the photo that fills to the
   percent complete and turns green with a check mark when finished. */
.tp-section { margin: 30px 0 6px; }
.tp-section__h { max-width: none; font-size: 2rem; margin: 0 0 14px; }
.tp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; align-items: stretch; }
.tp-card { display: flex; flex-direction: column; background: var(--m-card); border: 1px solid var(--m-line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--m-ink); box-shadow: 0 1px 2px rgba(10,31,61,.04), 0 10px 28px rgba(10,31,61,.05); transition: transform .18s var(--ease-out), box-shadow .18s ease, border-color .18s ease; }
@media (hover: hover) { .tp-card:hover { transform: translateY(-3px); border-color: rgba(18,84,201,.45); box-shadow: 0 2px 4px rgba(10,31,61,.05), 0 16px 36px rgba(10,31,61,.1); } }
.tp-card:focus-visible { outline: 3px solid var(--m-blue); outline-offset: 3px; }
.tp-card__media { position: relative; display: block; aspect-ratio: 16 / 9; background: #0a1f3d; overflow: hidden; }
.tp-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tp-card__body { display: flex; flex-direction: column; flex: 1; gap: 8px; padding: 18px 20px 20px; }
.tp-card__body h3 { margin: 0; max-width: none; font-size: 1.7rem; line-height: 1.05; color: var(--m-ink); }
.tp-card__body p { margin: 0; color: var(--m-ink-2); font-size: .93rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tp-card__meta { margin-top: auto; padding-top: 6px; color: var(--m-ink-3); font-size: .84rem; font-weight: 600; }

.tp-band { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 12px 0 14px; background: rgba(6,16,30,.84); color: #fff; overflow: hidden; }
.tp-band__fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--pct); background: linear-gradient(90deg, #1254c9, #1769ed); transition: width .5s var(--ease-out); }
.tp-band__text { position: relative; font-size: .86rem; font-weight: 800; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.tp-band.is-complete .tp-band__fill { background: linear-gradient(90deg, #0b7a53, #11956a); }
.tp-check { position: relative; display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #0b7a53; }
.tp-check svg { width: 16px; height: 16px; }

.cp-head h1, .lp-head h1 { margin: 0 0 18px; line-height: 1; }
.portal-main .cp-head #page-h, .portal-main .lp-head #page-h { font-size: clamp(2.1rem, 3.6vw, 3.4rem); max-width: 26ch; }
.cp-hero { position: relative; margin: 0; aspect-ratio: 21 / 9; overflow: hidden; border-radius: 18px; background: #0a1f3d; box-shadow: 0 14px 40px rgba(10,31,61,.14); }
.cp-hero img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.cp-hero .tp-band { height: 52px; padding: 0 16px 0 18px; }
.cp-hero .tp-band__text { font-size: 1rem; }
.cp-hero .tp-check { width: 34px; height: 34px; }
.cp-hero .tp-check svg { width: 19px; height: 19px; }
.cp-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin: 20px 0 6px; }
.cp-count { color: var(--m-ink-3); font-size: .92rem; font-weight: 600; }
.cp-desc { max-width: 68ch; margin: 14px 0 34px; color: var(--m-ink-2); font-size: 1.08rem; line-height: 1.7; }
.cp-h2 { margin: 0 0 16px; max-width: none; font-size: 2rem; }
.cp-chapters { display: grid; gap: 20px; }
.cp-chapter { display: grid; grid-template-columns: minmax(240px, 340px) minmax(0, 1fr); overflow: hidden; background: var(--m-card); border: 1px solid var(--m-line); border-radius: 18px; box-shadow: 0 1px 2px rgba(10,31,61,.04), 0 10px 28px rgba(10,31,61,.05); }
.cp-chapter__media { position: relative; margin: 0; min-height: 240px; background: #0a1f3d; }
.cp-chapter__media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.cp-chapter__body { min-width: 0; padding: 24px 28px 14px; }
.cp-chapter__body h3 { margin: 0 0 8px; max-width: none; font-size: 2rem; }
.cp-chapter__body > p { max-width: 62ch; margin: 0 0 14px; color: var(--m-ink-2); }

.cp-modules { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--m-line); }
.cp-modules li + li { border-top: 1px solid var(--m-line); }
.cp-mod { display: grid; grid-template-columns: 34px minmax(0, 1fr) 26px; align-items: center; gap: 14px; min-height: 56px; padding: 13px 8px; border-radius: 8px; color: var(--m-ink); text-decoration: none; }
.cp-mod:hover { background: var(--m-blue-soft); }
.cp-mod:focus-visible { outline: 3px solid var(--m-blue); outline-offset: -2px; }
.cp-mod__n { text-align: center; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--m-ink-3); }
.cp-mod__t { font-size: .98rem; font-weight: 700; line-height: 1.3; }
.cp-mod__t small { display: block; margin-top: 2px; font-size: .8rem; font-weight: 600; color: var(--m-ink-3); }
.cp-mod__s { display: grid; place-items: center; width: 26px; height: 26px; border: 2px solid #8493a8; border-radius: 50%; color: #fff; }
.cp-mod__s svg { width: 14px; height: 14px; }
.cp-mod.is-done .cp-mod__s { background: var(--m-blue); border-color: var(--m-blue); }
.cp-mod.is-current { background: var(--m-blue-soft); box-shadow: inset 3px 0 0 var(--m-blue); }

.lp { max-width: 1040px; }
.lp-head { margin-bottom: 6px; }
.lp-sub { margin: 0; color: var(--m-ink-2); font-size: 1.02rem; }
.lp-progress { display: grid; gap: 8px; margin: 18px 0 22px; }
.lp-progress__bar { display: block; height: 10px; overflow: hidden; border-radius: 99px; background: rgba(10,31,61,.1); }
.lp-progress__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1254c9, #2f86ff); transition: width .5s var(--ease-out); }
.lp-progress__text { font-size: .9rem; color: var(--m-ink-2); }
.lp-progress__text b { color: var(--m-ink); }
.lp-stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 18px; background: #0a1f3d; box-shadow: 0 18px 50px rgba(10,31,61,.22); }
.lp-video, .lp-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; object-fit: contain; }
.lp-doc { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 24px; text-align: center; color: #fff; background: radial-gradient(ellipse at 50% 0, rgba(23,105,237,.38), transparent 70%), #0a1f3d; }
.lp-doc__ic { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 18px; background: rgba(255,255,255,.1); color: #8acaff; }
.lp-doc__ic svg { width: 36px; height: 36px; }
.lp .lp-doc h2 { margin: 6px 0 0; max-width: 20ch; font-size: clamp(1.8rem, 3vw, 2.6rem); color: #fff; }
.lp .lp-doc p { margin: 0 0 8px; color: #d2dce8; }
.lp-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 18px 0 8px; }
.lp-actions__right { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.lp-complete { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid rgba(11,122,83,.45); border-radius: 6px; background: rgba(11,122,83,.08); color: #0b7a53; font-size: .92rem; font-weight: 800; }
.lp-complete svg { width: 18px; height: 18px; }
.lp-finish { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin: 18px 0 8px; padding: 20px 24px; border: 1px solid rgba(11,122,83,.35); border-radius: 16px; background: rgba(11,122,83,.08); }
.lp-finish__ic { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: #0b7a53; color: #fff; }
.lp-finish__ic svg { width: 26px; height: 26px; }
.lp .lp-finish h2 { margin: 0 0 2px; max-width: none; font-size: 1.7rem; }
.lp-finish p { margin: 0; color: var(--m-ink-2); }
.lp-finish .btn { margin-left: auto; }
.lp-block { margin-top: 38px; }
.lp-block > h2 { margin: 0 0 14px; max-width: none; font-size: 1.9rem; }
.lp-actions .btn, .cp-actions .btn, .lp-doc .btn { white-space: nowrap; }
.lp-actions .btn svg, .cp-actions .btn svg, .lp-doc .btn svg { width: 18px; height: 18px; flex: none; }

.cm-form { display: grid; gap: 10px; padding: 18px; border: 1px solid var(--m-line); border-radius: 14px; background: var(--m-card); }
.cm-form textarea { min-height: 92px; resize: vertical; }
.cm-form__row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.cm-kind { display: flex; gap: 8px; margin: 0; padding: 0; border: 0; }
.cm-kind__opt { position: relative; }
.cm-kind__opt input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.cm-kind__opt span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--m-line-2); border-radius: 6px; background: #fff; color: var(--m-ink-2); font-size: .88rem; font-weight: 700; cursor: pointer; }
.cm-kind__opt input:checked + span { border-color: var(--m-blue); background: var(--m-blue); color: #fff; }
.cm-kind__opt input:focus-visible + span { outline: 3px solid var(--m-blue); outline-offset: 2px; }
.cm-count { margin-left: auto; color: var(--m-ink-3); font-size: .82rem; }
.cm-err { min-height: 1.2em; margin: 0; color: var(--bad); font-size: .9rem; font-weight: 600; }
.cm-list { display: grid; margin: 22px 0 0; padding: 0; list-style: none; }
.cm-post { padding: 18px 2px; border-top: 1px solid var(--m-line); }
.cm-head { display: flex; align-items: center; gap: 12px; }
.cm-head .cm-av { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; font-size: .82rem; }
.cm-who { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.cm-who b { color: var(--m-ink); font-size: .95rem; }
.cm-who time { color: var(--m-ink-3); font-size: .82rem; }
.cm-who .chip { min-height: 24px; padding: 0 8px; border-radius: 4px; font-size: .72rem; }
.cm-text { margin: 8px 0 0 50px; color: var(--m-ink); line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; }
.cm-replies { display: grid; gap: 14px; margin: 12px 0 0 50px; padding: 0 0 0 16px; list-style: none; border-left: 3px solid var(--m-line-2); }
.cm-replies:empty { display: none; }
.cm-replies .cm-text { margin-left: 50px; }
.cm-actions { margin: 6px 0 0 50px; }
.cm-link { min-height: 32px; padding: 6px 2px; border: 0; background: none; color: var(--m-blue); font-size: .86rem; font-weight: 800; cursor: pointer; }
.cm-link:hover { text-decoration: underline; }
.cm-link:focus-visible { outline: 3px solid var(--m-blue); outline-offset: 2px; border-radius: 4px; }
.cm-replyform { display: grid; gap: 10px; margin: 10px 0 0 50px; }
.cm-replyform[hidden] { display: none; }
.cm-empty { margin: 22px 0 0; color: var(--m-ink-2); }

@media (max-width: 760px) {
  .cp-hero { aspect-ratio: 16 / 10; }
  .cp-chapter { grid-template-columns: 1fr; }
  .cp-chapter__media { min-height: 0; aspect-ratio: 16 / 9; }
  .cp-chapter__body { padding: 20px 18px 8px; }
  .cp-chapter__body h3 { font-size: 1.7rem; }
  .lp-actions { flex-direction: column-reverse; align-items: stretch; }
  .lp-actions__right { flex-direction: column; align-items: stretch; }
  .lp-actions .btn, .lp-actions .lp-complete { width: 100%; justify-content: center; }
  .lp-finish .btn { width: 100%; margin-left: 0; }
  .cm-text, .cm-actions, .cm-replyform { margin-left: 0; }
  .cm-replies { margin-left: 6px; }
  .cm-replies .cm-text { margin-left: 0; }
  .cm-count { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .tp-card, .tp-band__fill, .lp-progress__bar span { transition: none; } .tp-card:hover { transform: none; } }

/* video training: libraries, access badges, locked modules (real catalog from Daniel's spreadsheet) */
.tp-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.tp-lib + .tp-lib { margin-top: 34px; }
.tp-lib__h { margin: 0; max-width: none; font-size: 2rem; }
.tp-lib__sub { margin: 2px 0 14px; color: var(--m-ink-3); font-size: .92rem; font-weight: 600; }
.tp-badge { position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 0 11px; border-radius: 99px; background: rgba(6,16,30,.88); color: #fff; font-size: .78rem; font-weight: 800; }
.tp-badge svg { width: 14px; height: 14px; flex: none; }
.tp-badge--free { background: #0b7a53; }
.cp-gap { height: 22px; }
.cp-flat { padding: 4px 18px; border: 1px solid var(--m-line); border-radius: 18px; background: var(--m-card); box-shadow: 0 1px 2px rgba(10,31,61,.04), 0 10px 28px rgba(10,31,61,.05); }
.cp-flat .cp-modules { border-top: 0; }
.cp-mod.is-locked .cp-mod__t { color: var(--m-ink-2); }
.cp-mod.is-locked .cp-mod__s { border-color: transparent; color: var(--m-ink-3); }
.cp-mod.is-locked .cp-mod__s svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .cp-flat { padding: 2px 10px; } .tp-lib__h { font-size: 1.7rem; } }

/* ================= hero reel (2026-10-17): three silent clips cross-fading in the home hero ================= */
.hero.has-reel { --reel-top: var(--header-h, 87px); }
.hero.has-reel .hero-picture,
.hero-reel { position: absolute; top: var(--reel-top); left: 0; right: 0; bottom: auto; width: 100%; height: calc(100% - var(--reel-top)); }
.hero-reel { z-index: -3; overflow: hidden; pointer-events: none; }
.hero.has-reel .hero-picture { object-position: 60% 30%; }
.hero-reel .reel-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos-d, 60% 30%); opacity: 0; transition: opacity .7s ease; background: transparent; }
.hero-reel .reel-clip.is-on { opacity: 1; z-index: 2; }
.hero-reel.is-failed { display: none; }
.hero.has-reel::after { background: linear-gradient(90deg, rgba(6,16,30,.92) 0%, rgba(6,16,30,.8) 40%, rgba(6,16,30,.14) 78%), linear-gradient(0deg, #06101e, transparent 28%); }
.hero.has-reel .video-control { display: inline-flex; align-items: center; min-height: 40px; cursor: pointer; }
/* "Your first 20 minutes" now sits right under the hero instead of over the video, so Daniel is never covered. */
.first20-band { padding: 40px 0 8px; }
.first20-band .glass-hero.first-20 { max-width: none; padding: 30px 34px; }
@media (min-width: 901px) {
  .first20-band .first-20 { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 2.25fr); column-gap: 44px; row-gap: 8px; align-items: start; }
  .first20-band .first-20 > h2, .first20-band .first-20 > p, .first20-band .first-20 > .textlink { grid-column: 1; }
  .first20-band .first-20 > ol { grid-column: 2; grid-row: 1 / span 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; margin: 0; }
}
@media (max-width: 900px) {
  .hero.has-reel { --reel-h: min(64vw, 440px); align-items: flex-start; }
  .hero.has-reel .hero-picture, .hero-reel { top: var(--reel-top); height: var(--reel-h); opacity: 1; }
  .hero.has-reel .hero-picture { object-position: 50% 30%; }
  .hero-reel .reel-clip { object-position: var(--pos-m, 50% 30%); }
  .hero.has-reel > .wrap { padding-top: calc(var(--reel-h) + 20px); }   /* the hero's own top padding already clears the header */
  .hero.has-reel::after { background: linear-gradient(180deg, rgba(6,16,30,0) 0, rgba(6,16,30,0) calc(var(--reel-top) + var(--reel-h) - 80px), #06101e calc(var(--reel-top) + var(--reel-h) + 2px)), linear-gradient(0deg, #06101e, transparent 30%); }
}
/* ================= end hero reel ================= */

/* ================= accessibility fixes (2026-10-17) ================= */
/* site.css removes the focus ring from range sliders, and the lesson video frame had none. */
input[type="range"]:focus-visible { outline: 3px solid var(--ice); outline-offset: 4px; }
body.members:not(.admin) .portal-main input[type="range"]:focus-visible { outline-color: var(--m-blue); }
/* Tabbing into a video player focuses the frame itself, where :focus-visible does not match, so use :focus. */
.lp-frame:focus { outline: 3px solid var(--m-blue); outline-offset: -3px; }
/* A link inside running text must not rely on colour alone. */
.cc-actions__foot a { text-decoration: underline; text-underline-offset: 3px; }
/* The Live pill stays hidden unless a session is live (the plain .room-live display beat the .hidden utility) and meets 4.5:1. */
.room-live.hidden { display: none; }
.room-live { color: #7a4f00; }
/* ================= end accessibility fixes ================= */

/* ================= planner hero (2026-10-17): new-look photo of Daniel with a client ================= */
.subhero:has(> img[src*="hero-calculator"])::after { background: linear-gradient(90deg, rgba(6,16,30,.93) 0%, rgba(6,16,30,.74) 46%, rgba(6,16,30,.2) 76%), linear-gradient(0deg, #06101e, transparent 40%); }
@media (max-width: 620px) {
  /* Phone: the photo is a band under the header and the headline sits on solid navy, never over his face. */
  .subhero:has(> img[src*="hero-calculator"]) { --band-h: min(64vw, 300px); align-items: flex-start; min-height: 0; padding-top: calc(var(--header-h) + var(--band-h) + 22px); }
  .subhero:has(> img[src*="hero-calculator"]) .section-photo { top: var(--header-h); height: var(--band-h); object-position: 62% 30%; }
  .subhero:has(> img[src*="hero-calculator"])::after { background: linear-gradient(180deg, rgba(6,16,30,0) 0, rgba(6,16,30,0) calc(var(--header-h) + var(--band-h) - 70px), #06101e calc(var(--header-h) + var(--band-h) + 2px)); }
}
/* ================= end planner hero ================= */

/* Phone field (form-playbook section 12): one field, not two boxes. The wrapper carries the border,
   radius and focus ring like every other input; the dial code is a full-height prefix sized to the
   code actually chosen (phone-field.js), and a short inset hairline separates it from the number.
   The !important lines undo the dark-theme input rules above that would redraw a box inside it. */
.ph-tel { display: flex; align-items: stretch; margin-top: .375rem; min-height: 50px; background: rgba(4, 14, 28, .72); border: 1px solid rgba(188,215,255,.22); border-radius: 6px; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255,255,255,.03); transition: border-color .18s cubic-bezier(.25,1,.5,1), box-shadow .18s cubic-bezier(.25,1,.5,1); }
.ph-tel:focus-within { border-color: var(--ice); box-shadow: 0 0 0 3px rgba(138,202,255,.2); }
.ph-tel:has(input[aria-invalid="true"]) { border-color: #ff8f8f; }
.ph-tel .ph-cc { flex: 0 0 auto; -webkit-appearance: none; appearance: none; margin: 0; min-height: 48px; padding: 0 24px 0 12px; font-family: var(--font-body); font-size: .95rem; font-weight: 600; font-variant-numeric: tabular-nums; color: #fff; cursor: pointer; border: 0; border-radius: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%238acaff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 9px center / 9px 6px; transition: color .15s ease; }
.ph-tel .ph-cc:hover, .ph-tel .ph-cc:focus-visible { color: var(--ice); }
.ph-tel .ph-cc:focus { outline: 0; }
.ph-tel .ph-cc option { background: #0b1a2e; color: #fff; }
.ph-tel input, .ph-tel input.field, .ph-tel input.field:focus { flex: 1 1 auto; width: auto; min-width: 0; min-height: 48px; margin: 0; padding-left: 13px; border: 0 !important; border-radius: 0; box-shadow: none !important; background: transparent linear-gradient(rgba(188,215,255,.28), rgba(188,215,255,.28)) left center / 1px 52% no-repeat !important; }
@media (prefers-reduced-motion: reduce) { .ph-tel, .ph-tel .ph-cc { transition: none; } }
